patch applied (ghc): Improve the XCode version detection

Karel Gardas karel.gardas at centrum.cz
Wed Mar 9 17:43:39 CET 2011


Hello,

this patch breaks build on Solaris. The error is caught by opensolaris 
builder here:

http://darcs.haskell.org/ghcBuilder/builders/kgardas-opensolaris-x86-head/153.html

concretely the error shows like:

[...]
checking for __mingw_vfprintf... no
configure: creating ./config.status
./config.status: line 718: syntax error at line 758: `<<' unmatched
----------------------------------------------------------------------
Configure completed successfully.
[...]


I'm using autoconf (GNU Autoconf) 2.63 here.

However the problem does not seems to be in config.status directly, in 
fact it's in configure.ac since I'm able to duplicate the issue even if 
I switch config.status from known well configuration (with the patch 
unpulled). Interesting workaround for this issue is running generated 
configure in bash, then the issue does not happen. If I used default 
/bin/sh then it does, so my idea is that the patch is using some 
bashism, but since I don't have darwin here I cannot verify this fact by 
patch modification.

Do you have any idea how to proceed with this?

Thanks,
Karel


On 03/ 8/11 12:50 AM, Ian Lynagh wrote:
> Mon Mar  7 14:58:23 PST 2011  Ian Lynagh<igloo at earth.li>
>    * Improve the XCode version detection
>    Amongst other improvements, we now handle 3-component versions
>    (like "3.1.4") correctly.
>
>      M ./configure.ac -11 +18
>
> View patch online:
> http://darcs.haskell.org/cgi-bin/darcsweb.cgi?r=ghc;a=darcs_commitdiff;h=20110307225823-3fd76-0ef15b2a283577ccfab6b85b290c7d9645b717d7.gz
>
> _______________________________________________
> Cvs-ghc mailing list
> Cvs-ghc at haskell.org
> http://www.haskell.org/mailman/listinfo/cvs-ghc
>
>




More information about the Cvs-ghc mailing list