mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-22 01:49:48 +00:00
[137-improve-kea-compilation-time-2] Second try
This commit is contained in:
parent
3d0ecb950d
commit
413cb59e22
@ -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
1
kea_version.h.in
Normal file
@ -0,0 +1 @@
|
||||
#define EXTENDED_VERSION "@KEA_SRCID@"
|
Loading…
x
Reference in New Issue
Block a user