mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 18:05:06 -05:00
Set version string in config.h
This commit is contained in:
6
configure
vendored
6
configure
vendored
@@ -501,6 +501,12 @@ fi
|
||||
|
||||
add_def DEFAULT_CONF_DIR "\"$SYSCONFDIR\""
|
||||
|
||||
if [ -f version.txt ]; then
|
||||
add_def CHRONY_VERSION "\"`cat version.txt`\""
|
||||
else
|
||||
add_def CHRONY_VERSION "\"DEVELOPMENT\""
|
||||
fi
|
||||
|
||||
sed -e "s%@EXTRA_OBJECTS@%${EXTRA_OBJECTS}%;\
|
||||
s%@CC@%${MYCC}%;\
|
||||
s%@CFLAGS@%${MYCFLAGS}%;\
|
||||
|
||||
Reference in New Issue
Block a user