aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2011-02-15 14:52:29 -0500
committerUlrich Drepper <drepper@gmail.com>2011-02-15 14:52:29 -0500
commite9433893258aef145c4101a458ac908383757430 (patch)
treef062455a4a4c256c266f33650b69db72f0ea2dd4 /configure.in
parentc1d0e639a95d6d3d3f1c1f70cf97d596bd5a24ec (diff)
downloadglibc-e9433893258aef145c4101a458ac908383757430.zip
glibc-e9433893258aef145c4101a458ac908383757430.tar.gz
glibc-e9433893258aef145c4101a458ac908383757430.tar.bz2
Remove use of ranlib.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in22
1 files changed, 2 insertions, 20 deletions
diff --git a/configure.in b/configure.in
index 7e46990..e5ff6bd 100644
--- a/configure.in
+++ b/configure.in
@@ -1095,26 +1095,8 @@ fi
AC_SUBST(SYSINCLUDES)
AC_SUBST(CXX_SYSINCLUDES)
-# check if ranlib is necessary
-AC_CACHE_CHECK(whether ranlib is necessary, libc_cv_ranlib_necessary, [dnl
-cat > conftest.c <<EOF
-int a;
-char b;
-void c(void) {}
-EOF
-$CC $CFLAGS $CPPFLAGS -c conftest.c
-$AR cr conftest.a conftest.o
-cp conftest.a conftest2.a
-$RANLIB conftest.a
-if cmp -s conftest.a conftest2.a; then
- libc_cv_ranlib_necessary=no
-else
- libc_cv_ranlib_necessary=yes
-fi
-rm -rf conftest*])
-if test "$libc_cv_ranlib_necessary" = no; then
- RANLIB=:
-fi
+# ranlib is never necessary on Linux and Hurd systems
+RANLIB=:
# Test if LD_LIBRARY_PATH contains the notation for the current directory
# since this would lead to problems installing/building glibc.