Fix #if/#else bug introduced with MACOS_TRADITIONAL patches in change 9479.
[p5sagit/p5-mst-13.2.git] / hints / svr5.sh
index ff08fcc..ef1d7d5 100644 (file)
@@ -12,7 +12,7 @@ case "$cc" in
     #  "$gccversion" not set yet
     if [ "X$gccversion" = "X" ]; then
        # Done too late in Configure if hinted
-       gccversion=`$cc --version | sed 's/.*(GCC) *//'`
+       gccversion=`$cc -dumpversion`
     fi
     case $gccversion in
     *2.95*)