From 5e6e144e096c83beefb5bd50ea22da7266e72aee Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Mon, 12 Sep 2005 07:10:59 +0000 Subject: Updated to fedora-glibc-20050912T0656 --- configure | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'configure') diff --git a/configure b/configure index a449415c01..00733b2486 100755 --- a/configure +++ b/configure @@ -5361,7 +5361,7 @@ if test "${libc_cv_have_sdata_section+set}" = set; then else echo "int i;" > conftest.c libc_cv_have_sdata_section=no - if ${CC-cc} $LDFLAGS -shared -Wl,--verbose conftest.c -o conftest.so 2>&1 \ + if ${CC-cc} $LDFLAGS -fPIC -shared -Wl,--verbose conftest.c -o conftest.so 2>&1 \ | grep '\.sdata' >/dev/null; then libc_cv_have_sdata_section=yes fi @@ -5453,7 +5453,7 @@ else int _start (void) { return 42; } EOF if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS - -shared -o conftest.so conftest.c + -fPIC -shared -o conftest.so conftest.c -nostartfiles -nostdlib -Wl,--enable-new-dtags,-z,nodelete 1>&5' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 @@ -5481,7 +5481,7 @@ else int _start (void) { return 42; } EOF if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS - -shared -o conftest.so conftest.c + -fPIC -shared -o conftest.so conftest.c -nostartfiles -nostdlib -Wl,--enable-new-dtags,-z,nodlopen 1>&5' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 @@ -5509,7 +5509,7 @@ else int _start (void) { return 42; } EOF if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS - -shared -o conftest.so conftest.c + -fPIC -shared -o conftest.so conftest.c -nostartfiles -nostdlib -Wl,--enable-new-dtags,-z,initfirst 1>&5' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 @@ -5571,7 +5571,7 @@ else int _start (void) { return 42; } EOF if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS - -shared -o conftest.so conftest.c + -fPIC -shared -o conftest.so conftest.c -Wl,-Bgroup -nostdlib 1>&5' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 @@ -5598,7 +5598,7 @@ else int main (void) { return 0; } EOF libc_cv_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \ - -shared -shared-libgcc -o conftest.so \ + -fPIC -shared -shared-libgcc -o conftest.so \ conftest.c -v 2>&1 >/dev/null \ | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'` rm -f conftest* @@ -5616,7 +5616,7 @@ else int main (void) { return 0; } EOF if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS - -shared -o conftest.so conftest.c + -fPIC -shared -o conftest.so conftest.c -lgcc_s$libc_cv_libgcc_s_suffix -Wl,--as-needed -nostdlib 1>&5' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 @@ -5684,7 +5684,7 @@ extern int mumble; int foo (void) { return bar (mumble); } EOF if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS - -shared -o conftest.so conftest.c + -fPIC -shared -o conftest.so conftest.c -nostdlib -nostartfiles -Wl,-z,combreloc 1>&5' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 @@ -5722,7 +5722,7 @@ else int _start (void) { return 42; } EOF if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS - -shared -o conftest.so conftest.c + -fPIC -shared -o conftest.so conftest.c -Wl,-z,execstack -nostdlib 1>&5' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 -- cgit 1.4.1