diff options
author | Andy Dougherty <doughera@lafayette.edu> | 2005-07-26 08:03:37 -0400 |
---|---|---|
committer | H.Merijn Brand <h.m.brand@xs4all.nl> | 2005-08-10 20:34:03 +0000 |
commit | 002c7b694395003db50bd9ad796f4b9ec7e0973f (patch) | |
tree | 2855c2ef8bf4e63c6df96ab00ce36563aa932516 /hints | |
parent | 3dd43144814f745bf49c14c0667bcc87206dc13f (diff) | |
download | perl-002c7b694395003db50bd9ad796f4b9ec7e0973f.tar.gz |
Re: [perl #36235] perl + gcc-4.0.0 + solaris + gnu binutils
Message-ID: <Pine.SOC.4.62.0507261131300.8774@maxwell.phys.lafayette.edu>
p4raw-id: //depot/perl@25282
Diffstat (limited to 'hints')
-rw-r--r-- | hints/solaris_2.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/hints/solaris_2.sh b/hints/solaris_2.sh index fd774869b3..a322ac0e17 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. # |