David Svoboda <[EMAIL PROTECTED]> writes: > 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?
There are two phases, one during m4 processing (while running m4), and at that point all code is expanded and there is no way of knowing if the code will actually be run or not. The other is when running configure through sh. You could argue that this is a bug and that it should be possible to have AC_PROG_CC in conditionals, but it's a bit of work to fix this and I don't think you need it.
