On May 15, 2008, at 9:54 AM, Karel Gardas wrote:

> zooko wrote:
>> I couldn't figure out which instruction in darcs's configure.ac
>> causes the resulting configure to do this test of a C compiler,
>> before giving up in despair.
>
> AC_PROG_CC
> AC_PROG_CPP
>
> tests for C compiler first and then for C++ compiler.

Thanks for your help, Karel.

I already tried removing those lines from the configure.ac.  It  
appears not to change the behavior -- the script still ends with:

configure: error: no acceptable C compiler found in $PATH

This is why I began to think that autoconf just has the idea that it  
will use a C compiler hardwired into it.

(I also applied Pekka Pessi's patch to test compiling C code with  
ghc, although that patch still doesn't come into play since the  
configure scripts doesn't get that far.)

Regards,

Zooko

_______________________________________________
darcs-users mailing list
[email protected]
http://lists.osuosl.org/mailman/listinfo/darcs-users

Reply via email to