mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-03 08:11:08 +00:00
2002-09-28 Roland McGrath <roland@redhat.com>
* aclocal.m4 (LIBC_PROG_BINUTILS): Don't clobber $RANLIB with ranlib before we check it.
This commit is contained in:
parent
1b80b4f1c9
commit
70d633a059
6
aclocal.m4
vendored
6
aclocal.m4
vendored
@ -121,11 +121,13 @@ AR=`$CC -print-prog-name=ar`
|
|||||||
AC_SUBST(AR)
|
AC_SUBST(AR)
|
||||||
|
|
||||||
# ranlib has to be treated a bit differently since it might not exist at all.
|
# ranlib has to be treated a bit differently since it might not exist at all.
|
||||||
RANLIB=`$CC -print-prog-name=ranlib`
|
ac_ranlib=`$CC -print-prog-name=ranlib`
|
||||||
if test $RANLIB = ranlib; then
|
if test "x$ac_ranlib" = xranlib; then
|
||||||
# This extra check has to happen since gcc simply echos the parameter in
|
# This extra check has to happen since gcc simply echos the parameter in
|
||||||
# case it cannot find the value in its own directories.
|
# case it cannot find the value in its own directories.
|
||||||
AC_CHECK_TOOL(RANLIB, ranlib, :)
|
AC_CHECK_TOOL(RANLIB, ranlib, :)
|
||||||
|
else
|
||||||
|
RANLIB=$ac_ranlib
|
||||||
fi
|
fi
|
||||||
AC_SUBST(RANLIB)
|
AC_SUBST(RANLIB)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user