Solaris' sh doesn't like empty if's
H.Merijn Brand [Fri, 30 Jun 2006 13:17:59 +0000 (13:17 +0000)]
p4raw-id: //depot/perl@28458

hints/solaris_2.sh

index ea6d897..4eb2c72 100644 (file)
@@ -556,12 +556,13 @@ EOM
                    ccflags="$ccflags -mcpu=v9"
                fi 
                ccflags="$ccflags -m64"
-               if test $processor = sparc -a X`getconf XBS5_LP64_OFF64_CFLAGS 2>/dev/null` != X; then
-                   # This adds in -Wa,-xarch=v9.  I suspect that's superfluous,
-                   # since the -m64 above should do that already.  Someone
-                   # with gcc-3.x.x, please test with gcc -v.   A.D. 20-Nov-2003
-                   # ccflags="$ccflags -Wa,`getconf XBS5_LP64_OFF64_CFLAGS 2>/dev/null`"
-               fi
+
+               # This adds in -Wa,-xarch=v9.  I suspect that's superfluous,
+               # since the -m64 above should do that already.  Someone
+               # with gcc-3.x.x, please test with gcc -v.   A.D. 20-Nov-2003
+#              if test $processor = sparc -a X`getconf XBS5_LP64_OFF64_CFLAGS 2>/dev/null` != X; then
+#                  ccflags="$ccflags -Wa,`getconf XBS5_LP64_OFF64_CFLAGS 2>/dev/null`"
+#              fi
                ldflags="$ldflags -m64"
                lddlflags="$lddlflags -G -m64"
                ;;