--- Configure.orig 2010-12-12 19:46:54 +0000 +++ Configure.orig 2010-12-12 19:47:16 +0000 @@ -5164,11 +5164,6 @@ # is to add the flag to the flags passed to the compiler at link time, # as that way the compiler can do the right implementation dependant # thing. (NWC) - case "$gccversion" in - ?*) set stack-protector -fstack-protector - eval $checkccflag - ;; - esac ;; esac @@ -5307,15 +5302,6 @@ ;; *) 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 @@ -8107,16 +8093,6 @@ ''|' ') dflt='none' ;; esac - case "$ldflags" in - *-fstack-protector*) - case "$dflt" in - *-fstack-protector*) ;; # Don't add it again - *) dflt="$dflt -fstack-protector" ;; - esac - ;; - esac - - rp="Any special flags to pass to $ld to create a dynamically loaded library?" . ./myread case "$ans" in