From: Jarkko Hietaniemi Date: Tue, 26 Oct 1999 08:12:27 +0000 (+0000) Subject: Massive multitypo in #4446. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=8d5a0f9fbd38e20ea7253de2fce1dd0ead05c656;p=p5sagit%2Fp5-mst-13.2.git Massive multitypo in #4446. p4raw-id: //depot/cfgperl@4455 --- diff --git a/hints/dec_osf.sh b/hints/dec_osf.sh index 65c6cb3..33aa652 100644 --- a/hints/dec_osf.sh +++ b/hints/dec_osf.sh @@ -62,7 +62,7 @@ # Configure Black Magic (TM) # reset _DEC_cc_style= -case "$cc -v 2>&1 | grep cc" in +case "`$cc -v 2>&1 | grep cc`" in *gcc*) ;; # pass *) # compile something small: taint.c is fine for this. # the main point is the '-v' flag of 'cc'. @@ -80,7 +80,7 @@ case "$cc -v 2>&1 | grep cc" in esac # be nauseatingly ANSI -case "$cc -v 2>&1 | grep gcc" in +case "`$cc -v 2>&1 | grep gcc`" in *gcc*) ccflags="$ccflags -ansi" ;; *) ccflags="$ccflags -std" @@ -93,7 +93,7 @@ esac # we want optimisation case "$optimize" in -'') case "$cc -v 2>&1 | grep gcc" in +'') case "`$cc -v 2>&1 | grep gcc`" in *gcc*) optimize='-O3' ;; *) case "$_DEC_cc_style" in @@ -208,7 +208,7 @@ cat > UU/usethreads.cbu <<'EOCBU' case "$usethreads" in $define|true|[yY]*) # Threads interfaces changed with V4.0. - case "$cc -v 2>&1 | grep gcc" in + case "`$cc -v 2>&1 | grep gcc`" in *gcc*)ccflags="-D_REENTRANT $ccflags" ;; *) case "`uname -r`" in *[123].*) ccflags="-threads $ccflags" ;;