This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Do not test for gccish things in non-gccish platforms.
authorJarkko Hietaniemi <jhi@iki.fi>
Mon, 20 Sep 1999 09:53:15 +0000 (09:53 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Mon, 20 Sep 1999 09:53:15 +0000 (09:53 +0000)
p4raw-id: //depot/metaconfig@4206

U/compline/ccflags.U

index c1f32cf..7ed4e3a 100644 (file)
@@ -142,7 +142,7 @@ default|recommended)
        case "$gccversion" in
        1*) ;;
        2.[0-8]*) ;;
-       *)      echo " "
+       ?*)     echo " "
                echo "Checking if your compiler accepts -fno-strict-aliasing" 2>&1
                echo 'int main(void) { return 0; }' > gcctest.c
                if $cc -O2 -fno-strict-aliasing -o gcctest gcctest.c; then