autoconf
[Top][All Lists]
Advanced

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

Re: PACKAGE_FOO macros


From: Guido Draheim
Subject: Re: PACKAGE_FOO macros
Date: Fri, 25 Oct 2002 01:03:11 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020826

Jeff Squyres wrote:
prefixes.  But autoconf isn't even giving the user the option to do that
-- these macros will be named PACKAGE_FOO, regardless of what the user
wants.

Please please please give us a way to turn off (or put a prefix in front
of) these macros.


btw, has anyone tried to use a configure script without CONFIG_HEADER ?
Just try it - I remember a time that only -DCONFIG_H was added to the
CFLAGS, now look at what you get today...


here's an example from a very minimal configure.ac

gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"xmlg\"
-DVERSION=\"0.1.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-DHAVE_DLFCN_H=1 [...]






reply via email to

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