With AC_DEFINE I can define cpp definitions.
Is that legal/supposed-to to access the underlying var in configure.ac?
Same for AC_SUBST.

E.g.:
## configure.ac
AC_INIT([foo], [1.0])  ## AC_DEFINE: PACKAGE_TARNAME/VERSION...
AM_INIT_AUTOMAKE([$PACKAGE_TARNAME], [$PACKAGE_VERSION])
## eof configure.ac
BTW: Is the version of AC_INIT meant to be the package version or that of 
configure.ac?
(I am wondering that AM_INIT_AUTOMAKE doesn't use PACKAGE_* by default.)

/FAU


Reply via email to