summaryrefslogtreecommitdiff
path: root/hints/dec_osf.sh
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>1999-10-26 08:12:27 +0000
committerJarkko Hietaniemi <jhi@iki.fi>1999-10-26 08:12:27 +0000
commit8d5a0f9fbd38e20ea7253de2fce1dd0ead05c656 (patch)
tree5192ea8ab7769c67fcb3e2717f97b3de4806c6b3 /hints/dec_osf.sh
parentd524f05e684895bf1859d14b59a7fe4fbf00d06f (diff)
downloadperl-8d5a0f9fbd38e20ea7253de2fce1dd0ead05c656.tar.gz
Massive multitypo in #4446.
p4raw-id: //depot/cfgperl@4455
Diffstat (limited to 'hints/dec_osf.sh')
-rw-r--r--hints/dec_osf.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/hints/dec_osf.sh b/hints/dec_osf.sh
index 65c6cb3441..33aa652845 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" ;;