-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Rasmus Lerdorf on 11/28/2009 12:07 PM: > ok, the docs only say that it has to come before AC_ARG_ENABLE/AC_ARG_WITH > > http://www.gnu.org/software/hello/manual/autoconf/Help-.html > > and it worked fine in 2.64/2.65 before the AC_INIT, but you are right. > Putting it after the AC_INIT fixed it for 2.61 and 2.62. In general, AC_INIT should always be first. Over recent releases, I've tried to make other macros work earlier as well, but the manual documents that only AC_PREREQ and AC_DEFUN are guaranteed to work prior to AC_INIT (and anything else in the AC_ namespace is luck of the draw if invoked before initialization). - -- Don't work too hard, make some time for fun as well! Eric Blake ebb9@xxxxxxx -----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/ iEYEARECAAYFAksRd9YACgkQ84KuGfSFAYBHpwCbBCrMl6OEXjPbAP9s0zMmNnxg wsoAn0dLNXZ9BjiZFyxfYGn3uRbzd+ue =0pKu -----END PGP SIGNATURE----- _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf