--- configure.orig	2012-09-24 17:27:21.000000000 -0700
+++ configure	2013-04-04 11:31:38.000000000 -0700
@@ -3358,12 +3358,6 @@
 _ACEOF
 
 
-if type -p stow > /dev/null && test -d /usr/local/stow ; then
-        { $as_echo "$as_me:${as_lineno-$LINENO}: *** Found /usr/local/stow: default install prefix set to /usr/local/stow/${PACKAGE_NAME}-${PACKAGE_VERSION} ***" >&5
-$as_echo "$as_me: *** Found /usr/local/stow: default install prefix set to /usr/local/stow/${PACKAGE_NAME}-${PACKAGE_VERSION} ***" >&6;}
-        ac_default_prefix="/usr/local/stow/${PACKAGE_NAME}-${PACKAGE_VERSION}"
-fi
-
 #### Checks for programs. ####
 
 
@@ -6460,9 +6454,7 @@
 
 
 
-  for flag in \
-        -Wl,--as-needed \
-        -Wl,--gc-sections; do
+  for flag in ; do
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports flag $flag in envvar LDFLAGS" >&5
 $as_echo_n "checking if $CC supports flag $flag in envvar LDFLAGS... " >&6; }
