diff options
author | Andy Dougherty <doughera@lafayette.edu> | 2008-05-20 07:21:14 -0400 |
---|---|---|
committer | H.Merijn Brand <h.m.brand@xs4all.nl> | 2008-05-20 15:30:30 +0000 |
commit | b2f871edc35e5f084fd4b5abd0a57506c09d66c8 (patch) | |
tree | 177d2eed6b9099ba4bff5c1301537165ff173e5e /Configure | |
parent | ace56ae50476eeb045e2f78e4b9550922f258fde (diff) | |
download | perl-b2f871edc35e5f084fd4b5abd0a57506c09d66c8.tar.gz |
Re: Change 33843: [perl #54120] [PATCH] [metaconfig] Need more -fstack-protector
Message-ID: <Pine.LNX.4.64.0805201102040.767@fractal.phys.lafayette.edu>
p4raw-id: //depot/perl@33887
Diffstat (limited to 'Configure')
-rwxr-xr-x | Configure | 61 |
1 files changed, 33 insertions, 28 deletions
@@ -25,7 +25,7 @@ # $Id: Head.U 6 2006-08-25 22:21:46Z rmanfredi $ # -# Generated on Sat May 17 16:03:30 CEST 2008 [metaconfig 3.5 PL0] +# Generated on Tue May 20 17:29:22 CEST 2008 [metaconfig 3.5 PL0] # (with additional metaconfig patches by perlbug@perl.org) cat >c1$$ <<EOF @@ -5261,13 +5261,18 @@ case "$ldflags" in case "$ccflags" in *-posix*) dflt="$dflt -posix" ;; esac - # See note above about -fstack-protector - case "$ccflags" in - *-fstack-protector*) dflt="$dflt -fstack-protector" ;; - esac ;; *) dflt="$ldflags";; esac +# See note above about -fstack-protector +case "$ccflags" in +*-fstack-protector*) + case "$dflt" in + *-fstack-protector*) ;; # Don't add it again + *) dflt="$dflt -fstack-protector" ;; + esac + ;; +esac : Try to guess additional flags to pick up local libraries. for thislibdir in $libpth; do @@ -20797,29 +20802,6 @@ val="$t_gdbm" set i_gdbm eval $setvar -: see if this is a ieeefp.h system -case "$i_ieeefp" in -'' ) set ieeefp.h i_ieeefp - eval $inhdr - ;; -esac - -: see if this is a libutil.h system -set libutil.h i_libutil -eval $inhdr - -: see if mach cthreads are available -if test "X$usethreads" = "X$define"; then - set mach/cthreads.h i_machcthr - eval $inhdr -else - i_machcthr="$undef" -fi - -: see if this is a mntent.h system -set mntent.h i_mntent -eval $inhdr - : see if ndbm.h is available set ndbm.h i_ndbm eval $inhdr @@ -20849,6 +20831,29 @@ fi set d_ndbm eval $setvar +: see if this is a ieeefp.h system +case "$i_ieeefp" in +'' ) set ieeefp.h i_ieeefp + eval $inhdr + ;; +esac + +: see if this is a libutil.h system +set libutil.h i_libutil +eval $inhdr + +: see if mach cthreads are available +if test "X$usethreads" = "X$define"; then + set mach/cthreads.h i_machcthr + eval $inhdr +else + i_machcthr="$undef" +fi + +: see if this is a mntent.h system +set mntent.h i_mntent +eval $inhdr + : see if net/errno.h is available val='' set net/errno.h val |