Hi Karel,
On Thu, Mar 10, 2011 at 07:51:45PM +0100, Karel Gardas wrote:
>
> this patch attempts to fix configure breakage on Solaris. I hope the
> code still runs well on apple/xcode.
>
> ] hunk ./configure.ac 443
> if test "$XCodeVersion1" -lt 3
> then
> SplitObjsBroken=YES
> - elif test "$XCodeVersion1" -eq 3 && test "$XCodeVersion2" -lt 2
> + elif [ "$XCodeVersion1" -eq 3 ] && [ "$XCodeVersion2" -lt 2 ]
> then
> SplitObjsBroken=YES
> fi
Hmm, why doesn't the current code work?
Does this variant work?:
if test "$XCodeVersion1" -lt 3
then
SplitObjsBroken=YES
else
if test "$XCodeVersion1" -eq 3 && test "$XCodeVersion2" -lt
then
SplitObjsBroken=YES
fi
fi
Generally, test is used in configure scripts rather than [ ] as [ ] have
a special meaning in m4.
Thanks
Ian
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc