diff options
author | Omar Polo <op@omarpolo.com> | 2021-07-10 09:19:44 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2021-07-10 09:19:44 +0000 |
commit | f361f7997917a42a7b377d2764c5fb7467cccb62 (patch) | |
tree | d222e3ae549533e275d685302d897406245e6be5 /configure | |
parent | a82d4dfa25d30d3c512bd1fc15821186bf4d35c4 (diff) |
move version number to configure script
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -34,6 +34,8 @@ echo "file config.log: writing..." # default settings: initialize all vars here such that nothing is # leaked from the environment except for CC, CFLAGS and LDFLAGS +VERSION=1.6 + CC=`printf "all:\\n\\t@echo \\\$(CC)\\n" | make ${MAKE_FLAGS} -sf -` if [ -z "${CFLAGS}" ]; then @@ -305,6 +307,7 @@ echo "#include <imsg.h>" cat <<__HEREDOC__ +#define VERSION "${VERSION}" #define DISABLE_SANDBOX ${DISABLE_SANDBOX} #define HAVE_ERR ${HAVE_ERR} @@ -428,6 +431,8 @@ INSTALL_LIB = ${INSTALL_LIB} INSTALL_MAN = ${INSTALL_MAN} INSTALL_DATA = ${INSTALL_DATA} +VERSION = ${VERSION} + __HEREDOC__ printf "COMPAT =" |