From: Andy Dougherty Date: Tue, 26 Jul 2005 12:03:37 +0000 (-0400) Subject: Re: [perl #36235] perl + gcc-4.0.0 + solaris + gnu binutils X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=002c7b694395003db50bd9ad796f4b9ec7e0973f;p=p5sagit%2Fp5-mst-13.2.git Re: [perl #36235] perl + gcc-4.0.0 + solaris + gnu binutils Message-ID: p4raw-id: //depot/perl@25282 --- diff --git a/hints/solaris_2.sh b/hints/solaris_2.sh index fd77486..a322ac0 100644 --- a/hints/solaris_2.sh +++ b/hints/solaris_2.sh @@ -211,7 +211,10 @@ echo 'int main() { return 0; }' > try.c # Indent to avoid propagation to config.sh verbose=`${cc:-cc} -v -o try try.c 2>&1` -if echo "$verbose" | grep '^Reading specs from' >/dev/null 2>&1; then +# XXX TODO: 'specs' output changed from 'Reading specs from' in gcc-[23] to 'Using +# built-in specs' in gcc-4. Perhaps we should just use the same gcc test as +# in Configure to see if we're using gcc. +if echo "$verbose" | egrep '(Reading specs from)|(Using built-in specs)' >/dev/null 2>&1; then # # Using gcc. #