2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-22 09:57:41 +00:00

[137-improve-kea-compilation-time-2] Second try

This commit is contained in:
Francis Dupont 2018-09-26 00:21:37 +02:00
parent 3d0ecb950d
commit 413cb59e22
2 changed files with 4 additions and 1 deletions

View File

@ -47,7 +47,8 @@ fi
# horribly. When building different branches, the commit-id is different
# and since the config.h is included in most files *and* has a different
# content, ccache can't use cached content and thus has to do full compilation.
echo "#define EXTENDED_VERSION \"${KEA_SRCID}\"" > kea_version.h
# Now it is in kea_version.h and config.status substitutes it.
AC_SUBST(KEA_SRCID)
# Find a separator for path_replacer
for sep in "+" "," ";" "&" "__NONE__"; do
@ -1463,6 +1464,7 @@ AC_CONFIG_FILES([Makefile
doc/version.ent
ext/Makefile
ext/gtest/Makefile
kea_version.h
m4macros/Makefile
src/Makefile
src/bin/Makefile

1
kea_version.h.in Normal file
View File

@ -0,0 +1 @@
#define EXTENDED_VERSION "@KEA_SRCID@"