-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Andreas Schwab on 6/27/2008 7:06 AM: | When AC_USE_SYSTEM_EXTENSIONS is expanded from a macro that also expands | AC_PROG_CC for the first time then expansion order is wrong: | | $ cat configure.ac | AC_INIT | AC_DEFUN([FOO],[ | AC_PROG_CC | AC_USE_SYSTEM_EXTENSIONS | ]) | FOO | AC_OUTPUT
I'm wondering if adding an AC_REQUIRE([AC_PROG_CC]) inside AC_USE_SYSTEM_EXTENSIONS is sufficient, since it indeed attempts a compile run. I'm experimenting with that idea now. - -- 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 iEYEARECAAYFAkiW/ZcACgkQ84KuGfSFAYDtpACgsyq20SpRt7VcE/hIq+afeD6y cpAAoLgdU5zN6omBDPX0SvJ+3DLlpuKk =66/R -----END PGP SIGNATURE-----