On 28 May 2003, Assar Westerlund wrote: > David Svoboda <[EMAIL PROTECTED]> 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
