diff options
author | Roland McGrath <roland@gnu.org> | 2002-09-29 09:35:35 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-09-29 09:35:35 +0000 |
commit | 70d633a059d1e4560cd703e0d8bc3545a3226e7c (patch) | |
tree | 981b09ae01ad156d8063efd4f1da446a28a6e7c1 /aclocal.m4 | |
parent | 1b80b4f1c9ae11818ebc7f501048a39561776c3e (diff) | |
download | glibc-70d633a059d1e4560cd703e0d8bc3545a3226e7c.tar.gz glibc-70d633a059d1e4560cd703e0d8bc3545a3226e7c.tar.xz glibc-70d633a059d1e4560cd703e0d8bc3545a3226e7c.zip |
2002-09-28 Roland McGrath <roland@redhat.com>
* aclocal.m4 (LIBC_PROG_BINUTILS): Don't clobber $RANLIB with ranlib before we check it.
Diffstat (limited to 'aclocal.m4')
-rw-r--r-- | aclocal.m4 | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/aclocal.m4 b/aclocal.m4 index ba9ca30e74..d2d08bad5b 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -121,11 +121,13 @@ AR=`$CC -print-prog-name=ar` AC_SUBST(AR) # ranlib has to be treated a bit differently since it might not exist at all. -RANLIB=`$CC -print-prog-name=ranlib` -if test $RANLIB = ranlib; then +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) |