* Boggis, Antony wrote on Fri, Oct 24, 2008 at 11:28:28PM CEST: > > >Remains the question: does anything in your Makefile.am files use > >$(PURIFY)? > > No. > > There is a "if PURIFY" though... Well, Automake conditionals only work if you declare them using AM_CONDITIONAL in configure.ac; see <http://www.gnu.org/software/automake/manual/html_node/Conditionals.html>. > >One hack I'd try would be to, after your snippet, and after AC_PROG_CC, > >but before AC_PROG_LIBTOOL, set > > CC="$PURIFY $CC" > > Only trouble with that is that it ends up causing all the configure > tests to use a purify'd binary... not really desired. Well, you can also just try to do that very late in the script, right before AC_OUTPUT. That way, the tests will be run without puriy (and will thus possibly have wrong results), and the effect is the same as not specifying purify in configure.ac at all and using env CC="purify gcc" make -e (so all it does is save you from modifying CC on the make command line). BTW, if you use GNU make, then above simplifies to make CC="purify gcc" > Unfortunately vanguard is not an option for us (SPARC, Solaris 10, Sun > Studio 12). There's also the possibility to invest the next license fees in somebody doing a valgrind port for sparc-solaris. ;-) (AFAIR it's been ported to powerpc-aix, so presumably the code base is in shape for portability now.) Cheers, Ralf _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf