[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AM_INIT_AUTOMAKE - > AC_INIT
From: |
Peter Eisentraut |
Subject: |
Re: AM_INIT_AUTOMAKE - > AC_INIT |
Date: |
Mon, 13 Jan 2003 22:18:05 +0100 (CET) |
Jan Vermaete writes:
> AC_INIT([mcas], $VERSION , address@hidden)
> 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 address@hidden