On Sun, Apr 15, 2007 at 04:33:31PM +0100, Ross Paterson wrote:
> On Fri, Apr 06, 2007 at 11:32:01AM -0700, Ian Lynagh wrote:
> > Fri Apr  6 08:18:56 PDT 2007  Ian Lynagh <[EMAIL PROTECTED]>
> >   * 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.

Bother, sorry about that.

> Isn't the environment variable CC the usual way to specify the C
> compiler to configure?

Is there a portable way to set CC in Haskell code (Setup.hs)?

Perhaps just setting CC in the conditional and then calling AC_PROG_CC()
unconditionally would work, though.


Thanks
Ian

_______________________________________________
Cvs-libraries mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-libraries

Reply via email to