about summary refs log tree commit diff
path: root/configure.in
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2006-07-11 08:13:12 +0000
committerJakub Jelinek <jakub@redhat.com>2006-07-11 08:13:12 +0000
commitdf8843c5a803743714e1b0b53ea8e4e8f8c95f42 (patch)
treec99ce2859df2a645c744596a999aa870a0490f6d /configure.in
parentac7609f7998add41673e8428cf0bc824a40a1361 (diff)
downloadglibc-df8843c5a803743714e1b0b53ea8e4e8f8c95f42.tar.gz
glibc-df8843c5a803743714e1b0b53ea8e4e8f8c95f42.tar.xz
glibc-df8843c5a803743714e1b0b53ea8e4e8f8c95f42.zip
Updated to fedora-glibc-20060710T2206 cvs/fedora-glibc-2_4_90-13
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in16
1 files changed, 16 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 79fa32ec2b..924b0406cb 100644
--- a/configure.in
+++ b/configure.in
@@ -1589,6 +1589,22 @@ EOF
   rm -f conftest*])
 
   AC_SUBST(libc_cv_fpie)
+
+  AC_CACHE_CHECK(for --hash-style option,
+		 libc_cv_hashstyle, [dnl
+  cat > conftest.c <<EOF
+int _start (void) { return 42; }
+EOF
+  if AC_TRY_COMMAND([${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
+			      -fPIC -shared -o conftest.so conftest.c
+			      -Wl,--hash-style=both -nostdlib 1>&AS_MESSAGE_LOG_FD])
+  then
+    libc_cv_hashstyle=yes
+  else
+    libc_cv_hashstyle=no
+  fi
+  rm -f conftest*])
+  AC_SUBST(libc_cv_hashstyle)
 fi
 
 AC_CACHE_CHECK(for -fno-toplevel-reorder, libc_cv_fno_toplevel_reorder, [dnl