autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Accessing AC_DEFINE'd var


From: Guido Draheim
Subject: Re: Accessing AC_DEFINE'd var
Date: Sat, 02 Aug 2003 00:04:49 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030313



Frank A. Uepping wrote:
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.)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

me too. Even more bad here, some macros require literals instead of
varnames which is definitly SEVERELY MISGUIDED, IMNSHO.

-- guido                                  http://AC-Archive.sf.net
GCS/E/S/P C++/++++$ ULHS L++w- N++@ d(+-) s+a- r+@>+++ y++ 5++X-





reply via email to

[Prev in Thread] Current Thread [Next in Thread]