Digital UNIX hints
Jarkko Hietaniemi [Sat, 15 Feb 1997 19:06:33 +0000 (21:06 +0200)]
Subject: Re: Digital UNIX style patch

p5p-msgid: <199702181749.TAA08255@alpha.hut.fi>
private-msgid: <199702151906.VAA22999@alpha.hut.fi>

hints/dec_osf.sh

index f0b380b..4ded53b 100644 (file)
@@ -59,6 +59,21 @@ case "$optimize" in
        ;;
 esac
 
+# we want optimisation
+
+case "$optimize" in
+'')    case "$cc" in 
+       *gcc*)  
+               optimize='-O3'                          ;;
+       *)      case "$_DEC_cc_style" in
+               new)    optimize='-O4'                  ;;
+               old)    optimize='-O2 -Olimit 3200'     ;;
+               esac
+               ;;
+       esac
+       ;;
+esac
+
 # all compilers are ANSI
 ccflags="$ccflags -DSTANDARD_C"
 
@@ -91,8 +106,21 @@ case "$optimize" in
 esac
 
 #
+# Unset temporary variables no more needed.
+#
+
+unset _DEC_cc_style
+    
+#
 # History:
 #
+# perl5.003_27:
+#
+#      18-Feb-1997 Jarkko Hietaniemi <jhi@iki.fi>
+#
+#      * unset _DEC_cc_style and more commentary on -std1.
+#
+#
 # perl5.003_24:
 #
 #      30-Jan-1997 Jarkko Hietaniemi <jhi@iki.fi>