From: chris@broadband.att.com Date: Sat, 26 Aug 2000 00:17:27 +0000 (-0600) Subject: grep -e isn't portable. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=9636b992a7d7ba5e5905596f806181b1ab792886;p=p5sagit%2Fp5-mst-13.2.git grep -e isn't portable. Subject: [ID 20000825.027] let me (perlbug@perl.com) know how I blew it Message-Id: <200008260617.AAA10219@lazlo.tci.com> p4raw-id: //depot/perl@6840 --- diff --git a/hints/solaris_2.sh b/hints/solaris_2.sh index 4e5d6fa..96df529 100644 --- a/hints/solaris_2.sh +++ b/hints/solaris_2.sh @@ -428,16 +428,17 @@ EOM case "$cc -v 2>/dev/null" in *gcc*) echo 'main() { return 0; }' > try.c - if ${cc:-cc} -mcpu=v9 -m64 -S try.c 2>&1 | grep -e \ - '-m64 is not supported by this configuration'; then + case "`${cc:-cc} -mcpu=v9 -m64 -S try.c 2>&1 | grep 'm64 is not supported by this configuration'`" in + *"m64 is not supported"*) cat >&4 </dev/null` != X; then ccflags="$ccflags -Wa,`getconf XBS5_LP64_OFF64_CFLAGS 2>/dev/null`"