On Fri, 2003-08-01 at 15:17, Frank A. Uepping wrote: > The AC_PROG_CC/CXX are searching for a compiler. > Will the found compiler being used to compile the feature tests? > E.g.: does AC_CHECK_HEADER(...) use the compiler determined by AC_PROG_CC? > > What about when the user supplies a compiler via `./configure CC=mygcc'; > is that compiler used instead of the compiler found by AC_PROG_CC/CXX? > AC_PROG_CC/CXX try to provide defaults for your system by performing some guesses on your system.
If you specify CC rsp. CXX from the environment, these values will override AC_PROG_CC/CXX's "guesses" and will be used instead for subsequent checks. Ralf