-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Bruno Haible on 6/1/2009 4:07 AM: > Hi, > > The first argument passed to AC_DEFINE or AC_DEFINE_UNQUOTED is subject > to m4 macro expansion.
My feeling is that it should be, for consistency with most other single-quoted arguments. > > So it appears that the unexpanded argument is put into config.h.in Thus, that looks like a bug in autoheader. > but > 1) the expanded argument is used in confdefs.h at configure time, > 2) the expanded argument is used in config.status (which has no > effect because the config.h.in contains the unexpanded argument). The fact that it has no effect is a knock-on effect that autoheader didn't put the right thing in config.h.in in the first place. > Should the unexpanded argument be used everywhere, or should the expanded > argument be used everywhere? > > This is a long-standing bug. It exists at least since autoconf 2.53. Thanks for the report. I'll see if I can find a way to make autoheader also do the expansion (it tends to be more simplistic in how it parses, because it is intentionally bypassing a lot of autoconf's complexities). - -- Don't work too hard, make some time for fun as well! Eric Blake [email protected] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkos/38ACgkQ84KuGfSFAYA86ACePzkBtM1ebaV5LAYcOx5aou5e qNwAnj+A9U7rpu5JdjrSp/BwHHkUA2XT =dAks -----END PGP SIGNATURE-----
