[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AC_PROG_CC & user supplied CC

From: Ralf Corsepius
Subject: Re: AC_PROG_CC & user supplied CC
Date: 04 Aug 2003 12:46:53 +0200

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]