autoconf
[Top][All Lists]
Advanced

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

Re: Expressions evaluation order using AC_PROG_CXX and AC_PROG_CC?


From: David Svoboda
Subject: Re: Expressions evaluation order using AC_PROG_CXX and AC_PROG_CC?
Date: Thu, 29 May 2003 08:46:00 +0200

On 28 May 2003, Assar Westerlund wrote:

> David Svoboda <address@hidden> writes:
> > In the lines 57-77 the choice of compiler, the user wants to use, is done.
> > When the ./configure (generated from this file) is executed without any
> > parameters, "config.log" is full of errors about corrent compiler setting.
> > When these lines (57-77) are deleted, everythig is OK. Why? What happens
> > with the compiler setting, when using AC_PROG_CXX, AC_PROG_CC macros in
> > different places of the "configure.in" file?
> 
> You cannot have several calls to AC_PROG_CC under different
> conditionals in your configure.in.

Very, very thanks for your advice! I didn't know it. Now it's o.k.

In addition - why it is not possible to have several calls to AC_PROG_CC
under different conditiionals? Does it mean, than even there are
conditionals, all the expressions (macros) are valuated?

-- ds





reply via email to

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