This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Configure: gcc 5 exists.
authorJarkko Hietaniemi <jhi@iki.fi>
Mon, 16 Nov 2015 00:45:06 +0000 (19:45 -0500)
committerJarkko Hietaniemi <jhi@iki.fi>
Mon, 16 Nov 2015 11:44:45 +0000 (06:44 -0500)
Configure

index 18bab85..07f0bc1 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -23258,7 +23258,7 @@ fi
 
 : add -D_FORTIFY_SOURCE if feasible and not already there
 case "$gccversion" in
-4.*)   case "$optimize$ccflags" in
+[45].*)        case "$optimize$ccflags" in
        *-O*)   case "$ccflags$cppsymbols" in
                *_FORTIFY_SOURCE=*) # Don't add it again.
                        echo "You seem to have -D_FORTIFY_SOURCE already, not adding it." >&4
@@ -23268,11 +23268,11 @@ case "$gccversion" in
                        ;;
                esac
                ;;
-       *)      echo "You have gcc 4.* but not optimizing, not adding -D_FORTIFY_SOURCE." >&4
+       *)      echo "You have gcc 4.* or later but not optimizing, not adding -D_FORTIFY_SOURCE." >&4
                ;;
        esac
        ;;
-*)     echo "You seem not to have gcc 4.*, not adding -D_FORTIFY_SOURCE." >&4
+*)     echo "You seem not to have gcc 4.* or later, not adding -D_FORTIFY_SOURCE." >&4
        ;;
 esac