From: Jarkko Hietaniemi Date: Fri, 4 Aug 2000 21:23:27 +0000 (+0000) Subject: gcc versions might have (parentheses) in them. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=10b4ebb56b5e3d07893570debc8adbb08d0ff62d;p=p5sagit%2Fp5-mst-13.2.git gcc versions might have (parentheses) in them. p4raw-id: //depot/perl@6526 --- diff --git a/Configure b/Configure index d615f52..dbeaef3 100755 --- a/Configure +++ b/Configure @@ -20,7 +20,7 @@ # $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $ # -# Generated on Fri Aug 4 23:16:51 EET DST 2000 [metaconfig 3.0 PL70] +# Generated on Sat Aug 5 00:21:09 EET DST 2000 [metaconfig 3.0 PL70] # (with additional metaconfig patches by perlbug@perl.com) cat >/tmp/c1$$ <&1|grep '/specs$'|sed 's!.*/[^-]*-[^-]*-\([^/]*\)/'$gccversion'/specs'$!\1!'` +*) gccshortvers=`echo "$gccversion"|sed 's/ .*//'` + gccosandvers=`$cc -v 2>&1|grep '/specs$'|sed "s!.*/[^-/]*-[^-/]*-\([^-/]*\)/$gccshortvers/specs!\1!"` + gccshortvers='' case "$gccosandvers" in $osname) gccosandvers='' ;; # linux gccs seem to have no linux osvers, grr $osname$osvers) ;; # looking good