aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-04-25 17:02:33 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-04-25 17:02:33 +0000
commita3cc4f48e94f32c9532ee36982ac00eb1e5719b0 (patch)
tree872a98e0d9f8dab827dc11b1ac61c8be4b5a879f /configure
parentceab42c380901dee40dc8b1fda0453b8ca918cc8 (diff)
downloadglibc-a3cc4f48e94f32c9532ee36982ac00eb1e5719b0.tar
glibc-a3cc4f48e94f32c9532ee36982ac00eb1e5719b0.tar.gz
glibc-a3cc4f48e94f32c9532ee36982ac00eb1e5719b0.tar.bz2
glibc-a3cc4f48e94f32c9532ee36982ac00eb1e5719b0.zip
Remove --as-needed configure test.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure29
1 files changed, 0 insertions, 29 deletions
diff --git a/configure b/configure
index 9cfccb2f9f..7fd47c17c0 100755
--- a/configure
+++ b/configure
@@ -650,7 +650,6 @@ libc_cv_fpie
libc_cv_z_execstack
libc_cv_z_combreloc
ASFLAGS_config
-libc_cv_as_needed
libc_cv_Bgroup
libc_cv_cc_with_libunwind
VERSIONING
@@ -6304,34 +6303,6 @@ fi
$as_echo "$libc_cv_Bgroup" >&6; }
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for --as-needed option" >&5
-$as_echo_n "checking for --as-needed option... " >&6; }
-if ${libc_cv_as_needed+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- cat > conftest.c <<EOF
-int main (void) { return 0; }
-EOF
-if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
- -fPIC -shared -o conftest.so conftest.c
- -lgcc_s -Wl,--as-needed
- -nostdlib 1>&5'
- { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }; }
-then
- libc_cv_as_needed=yes
-else
- libc_cv_as_needed=no
-fi
-rm -f conftest*
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_as_needed" >&5
-$as_echo "$libc_cv_as_needed" >&6; }
-
-
ASFLAGS_config=
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --noexecstack is desirable for .S files" >&5
$as_echo_n "checking whether --noexecstack is desirable for .S files... " >&6; }