Read version info from VERSION file

Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
Janos SUTO
2020-02-23 11:47:05 +01:00
parent 228f2bf61c
commit e5062a22d8
5 changed files with 14 additions and 4 deletions

7
configure vendored
View File

@ -4513,6 +4513,13 @@ _ACEOF
fi
read -r version < VERSION
cat >>confdefs.h <<_ACEOF
#define VERSION "$version"
_ACEOF
# Check whether --with-piler-user was given.