On Oct 21, 2007, at 7:13 PM, NightStrike wrote:
If I wanted -pipe passed in to gcc all the time, do I put that in AM_CPPFLAGS or AM_CFLAGS?
I usually do this in my configure.ac: AC_PROG_CXX # Speed GCC compilation up. if test "$GXX" = yes; then CXXFLAGS="$CXXFLAGS -pipe" fi -or- AC_PROG_CC # Speed GCC compilation up. if test "$GCC" = yes; then CFLAGS="$CFLAGS -pipe" fi (the $GCC and $GXX variables are set by AC_PROG_{CC,CXX}) Cheers, -- Benoit Sigoure aka Tsuna EPITA Research and Development Laboratory
PGP.sig
Description: This is a digitally signed message part