Ralf Wildenhues <[EMAIL PROTECTED]> writes:

> AH_TEMPLATE([
> /* #undef FOO */
> ])
> AC_DEFINE([FOO], [1], [Foo])

But the old code didn't do that.  It did this:

AH_VERBATIM([WORDS_BIGENDIAN],
[/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
   significant byte first (like Motorola and SPARC, unlike Intel and VAX). */
#if defined __BIG_ENDIAN__
# define WORDS_BIGENDIAN 1
#elif ! defined __LITTLE_ENDIAN__
/* #undef WORDS_BIGENDIAN */
#endif])dnl
...
AC_DEFINE([WORDS_BIGENDIAN], 1)


Autoconf 2.61 rejects this with:

autoheader: warning: missing template: WORDS_BIGENDIAN
autoheader: Use AC_DEFINE([WORDS_BIGENDIAN], [], [Description])

I don't offhand know why the snapshot accepted it.  Maybe some other
change affected things too?  I suppose we could investigate this
further but I'm a bit pressed for time right now, and the bug is fixed
now anyway.


Reply via email to