[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Can the AC_DEFINE'd macros be prefixed?
From: |
Yves Arrouye |
Subject: |
Can the AC_DEFINE'd macros be prefixed? |
Date: |
Fri, 26 Apr 2002 11:56:10 -0700 |
Hi,
I am running into a case where different Autoconf-based packages define the
same macros, giving me plenty of warnings. Is there a way to prefix the
AC_DEFINE'd names with some unique string (or maybe just the ones defined by
Autoconf, such as the HAVE_xxxx, the PACKAGE and VERSION, ...)? If not,
wouldn't that be useful?
Also, it would be nice if AC_OUTPUT() would do the same as
AC_CONFIG_HEADER(), i.e. not overwrite the file if it hasn't changed (or
maybe a new kind of AC_OUTPUT macro). Packages like ICU for example work
around the multiple definition problems by using AC_SUBST(ICU_xxx) for each
defined thing they care about, and AC_OUTPUT(theconfheader.h). As a result,
each time configure is run, all the dependencies go boink and everything has
to be rebuilt :(
YA
--
Sailing is harder than flying. It's amazing that man learned how to sail
first. -- Burt Rutan.
- Can the AC_DEFINE'd macros be prefixed?,
Yves Arrouye <=