diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2004-08-15 20:57:30 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2004-08-15 20:57:30 +0000 |
commit | 0951c1365ea6fa493d6700b51f12c6b11ac37062 (patch) | |
tree | 96fa31f490d7140360d01cea34d16ba85230cc72 | |
parent | 1d0bd1d4f5f9281322bd3cbb489bf9f6bee6bdba (diff) |
Don't check for -fno-delete-null-pointer-checks on gcc 2; the resulting
message from gcc at Configure time confuses some people...
-rw-r--r-- | gnu/usr.bin/perl/Configure | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/gnu/usr.bin/perl/Configure b/gnu/usr.bin/perl/Configure index c5284b90f98..1b4c5cf91a6 100644 --- a/gnu/usr.bin/perl/Configure +++ b/gnu/usr.bin/perl/Configure @@ -18,7 +18,7 @@ # you may fetch it yourself from your nearest archive site.) # -# $Id: Configure,v 1.14 2004/08/09 18:08:53 millert Exp $ +# $Id: Configure,v 1.15 2004/08/14 00:12:22 millert Exp $ # # Generated on Wed May 12 13:00:30 METDST 2004 [metaconfig 3.0 PL70] # (with additional metaconfig patches by perlbug@perl.org) @@ -4730,7 +4730,12 @@ default|recommended) else echo "Nope, it doesn't, but that's ok." 2>&1 fi - echo " " + ;; + esac + case "$gccversion" in + 1*) ;; + 2*) ;; + ?*) echo " " echo "Checking if your compiler accepts -fno-delete-null-pointer-checks" 2>&1 echo 'int main(void) { return 0; }' > gcctest.c if $cc -O2 -fno-delete-null-pointer-checks -o gcctest gcctest.c; then |