bob@xxxxxxxxxx (Bob Proulx) writes: > Edward L Platt wrote: >> Peter O'Gorman wrote: >> >Probably like this instead: >> >./configure CPPFLAGS="-I/sw/include" LDFLAGS="-L/sw/lib" >> >> Thanks for the help everybody. It looks like the problem I was >> really having was that I'm compiling for os x and gnu gettext and >> related functions are in a separate library (libintl) so needed to >> use the following environment: >> >> export CFLAGS="-I/sw/include" >> export LDFLAGS="-L/sw/lib -lintl" >> export CXXFLAGS=$CFLAGS >> export CPPFLAGS=$CXXFLAGS > > It is much better to pass those as arguments to configure rather than > as environment variables. Because then they will be used during > recheck operations and things like that. Better to do it the way > Peter's example showed: > Excuse me, but what are "recheck operations?" I have to give advice to a wide user base about how to do this, so I want to make sure I understand why doing this on the configure command line is better than setting environment variables. And what about the case where you set the value before ./configure? CPPFLAGS=-Dsomething ./configure Thanks! Ed -- Ed Hartnett -- ed@xxxxxxxxxxxxxxxx _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf