From: Erik Johansson Date: Fri, 18 Oct 2019 17:25:44 +0000 (+0200) Subject: Fix warning during configure in out of tree build (#479) X-Git-Tag: v4.0~744 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=27f7a9c28823933a88b140b5ec35aad2d078b20a;p=thirdparty%2Fccache.git Fix warning during configure in out of tree build (#479) ../configure: line 2250: src/version.cpp: No such file or directory --- diff --git a/configure.ac b/configure.ac index 35c2c66e1..df57c5a86 100644 --- a/configure.ac +++ b/configure.ac @@ -12,6 +12,7 @@ if test ! -f $srcdir/dev_mode_disabled; then AC_CONFIG_FILES([dev.mk]) include_dev_mk='include dev.mk' version=`(git --git-dir=$srcdir/.git describe --dirty 2>/dev/null || echo vunknown) | sed -e 's/v//' -e 's/-/+/' -e 's/-/_/g'` + mkdir -p src echo "extern const char CCACHE_VERSION@<:@@:>@; const char CCACHE_VERSION@<:@@:>@ = \"$version\";" >src/version.cpp else dev_mode=no