summaryrefslogtreecommitdiff
path: root/aclocal.m4
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 /aclocal.m4
parentc1d0e639a95d6d3d3f1c1f70cf97d596bd5a24ec (diff)
Remove use of ranlib.
Diffstat (limited to 'aclocal.m4')
-rw-r--r--aclocal.m413
1 files changed, 1 insertions, 12 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index 06adbaaae6..6ad3c87af2 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -57,7 +57,7 @@ else
AC_MSG_CHECKING([version of [$]$1])
changequote(<<,>>)dnl
ac_prog_version=`<<$>>$1 $3 2>&1 ifelse(<<$4>>,,,
- <<| sed -n 's/^.*patsubst(<<$4>>,/,\/).*$/\1/p'>>)`
+ <<| sed -n 's/^.*patsubst(<<$4>>,/,\/).*$/\1/p'>>)`
case $ac_prog_version in
'') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
<<$5>>)
@@ -102,17 +102,6 @@ AC_SUBST(AR)
OBJDUMP=`$CC -print-prog-name=objdump`
AC_SUBST(OBJDUMP)
-# ranlib has to be treated a bit differently since it might not exist at all.
-ac_ranlib=`$CC -print-prog-name=ranlib`
-if test "x$ac_ranlib" = xranlib; then
-# This extra check has to happen since gcc simply echos the parameter in
-# case it cannot find the value in its own directories.
-AC_CHECK_TOOL(RANLIB, ranlib, :)
-else
- RANLIB=$ac_ranlib
-fi
-AC_SUBST(RANLIB)
-
# Determine whether we are using GNU binutils.
AC_CACHE_CHECK(whether $AS is GNU as, libc_cv_prog_as_gnu,
[LIBC_PROG_FOO_GNU($AS, libc_cv_prog_as_gnu=yes, libc_cv_prog_as_gnu=no)])