On Sat, 22 Apr 2006, Russ Allbery wrote:

Ralf Wildenhues <[EMAIL PROTECTED]> writes:
* Olivier Boudeville wrote on Sat, Apr 22, 2006 at 11:51:41PM CEST:

it is an interesting solution indeed but I would rather not rely on my
hand-crafted stripped-down config.h maintaining ! I will try the
prefix-adding first.

There's an easy solution to the maintenance problem: in your test suite,
use the stripped-down hand-crafted header only, just as users of your
library would.

Even your stripped-down version should rename the defines, since they may
otherwise conflict with other Autoconf-using software.  (Yes, usually they
will end up with the same values, but not always.)

Renaming the defines would be problematic since my library shares a configuration file with libtool's libldtl and configures once rather than twice. I am not interested in modifying libldtl to use my own naming scheme.

Lucky for me, the header files only require four definitions, one definition is usually disabled, and another maybe could be elminated with a bit of work. Only one of those definitions (WORDS_BIGENDIAN) is from autoconf!

Bob
======================================
Bob Friesenhahn
[EMAIL PROTECTED], http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/


_______________________________________________
Autoconf mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to