mirror of
https://github.com/reactos/ccache.git
synced 2024-10-07 09:03:32 +00:00
Support running configure in non-dev-mode in a git-less dev environment
This commit is contained in:
parent
70d7e3d98b
commit
0925411475
@ -294,6 +294,9 @@ mv config.h.tmp config.h
|
||||
if test "x$ccache_dev" = "xyes"; then
|
||||
version=`(git describe --dirty 2>/dev/null || echo vunknown) | sed -e 's/v//' -e 's/-/+/' -e 's/-/_/g'`
|
||||
echo "const char CCACHE_VERSION@<:@@:>@ = \"$version\";" >version.c
|
||||
elif test ! -f version.c; then
|
||||
AC_MSG_WARN(unable to determine ccache version)
|
||||
echo "const char CCACHE_VERSION@<:@@:>@ = \"unknown\";" >version.c
|
||||
fi
|
||||
|
||||
mkdir -p .deps
|
||||
|
Loading…
Reference in New Issue
Block a user