Jan Vermaete writes: > AC_INIT([mcas], $VERSION , [[EMAIL PROTECTED]]) > But autoheader give me following error: > configure.in:27: warning: AC_INIT: not a literal: $VERSION
You can use the esyscmd macro to make calls to shell commands at the time configure is run and compute the version number. For example: AC_INIT([xxx], esyscmd([echo -n `date +%Y%m%d`]), [yyy]) (Extra work needed to remove the newline.) -- Peter Eisentraut [EMAIL PROTECTED]