Hello Christopher, * Christopher Key wrote on Mon, Sep 24, 2007 at 02:56:45PM CEST: > Eric Blake wrote: > >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? > > > Will do, I just didn't want to reinvent the wheel! Had there been a > standard way of doing this (or a standard name for the define),[...] You can use PACKAGE_NAME or one of the other PACKAGE* macros for this if you like, provided that you have used the modern AC_INIT invocation with two or more arguments. Hope that helps. Cheers, Ralf _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf