patch applied (packages/base): Allow additional options to pass
on to ./configure to be given
Ross Paterson
ross at soi.city.ac.uk
Sun Apr 15 11:33:31 EDT 2007
On Fri, Apr 06, 2007 at 11:32:01AM -0700, Ian Lynagh wrote:
> Fri Apr 6 08:18:56 PDT 2007 Ian Lynagh <igloo at earth.li>
> * Allow additional options to pass on to ./configure to be given
>
> M ./Setup.hs -8 +23
> M ./configure.ac +11
configure now fails if no --with-cc option is given. The problem is
that AC_PROG_CC doesn't work in conditionals: the first occurrence does
the sole expansions of _AC_COMPILER_EXEEXT and _AC_COMPILER_OBJEXT, and
the other branch misses out on the definitions they contain, so the C
compiler tests all fail.
Isn't the environment variable CC the usual way to specify the C
compiler to configure?
More information about the Cvs-libraries
mailing list