-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Christopher Key on 9/24/2007 5:15 AM: > Hence, what I'd like to do is to be able to > detect whether autoconf has been used, and act appropriately Why not just a simple AC_DEFINE using a macro name of your choice, that you know will not be injected into your compilation if you didn't run autoconf? > > Secondly, I'm also wanting to detect whether there an arithmetic right > shift available. I've found a test that does this, and have put it in > package/m4/asr.m4. What I'm wondering is how to ensure that this file > is included. The only way I've found to achieve this is to add > 'ACLOCAL_AMFLAGS = -I m4' to package/Makefile.am, but this doesn't seem > quite right. Actually, it is the documented way to do things if you use both autoconf and automake. > I've seen adding 'AC_SUBST(ACLOCAL_AMFLAGS, "-I m4")' to > configure.ac suggested online, but this didn;t seem to do the trick. Nor is that approach recommended (not to mention it is underquoted). - -- Don't work too hard, make some time for fun as well! Eric Blake ebb9@xxxxxxx -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFG96sB84KuGfSFAYARApn1AJ40dk0JYVMXrTL6sDWFMdZuC7/CyQCfatRw yMfDQS+vErnWI5aFb/yJJt4= =KYdi -----END PGP SIGNATURE----- _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf