From 5edb938769a98985e6d0d2ddc9ffcae7860f8b9e Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 20 Nov 1998 17:27:07 +0000 Subject: Update. 1998-11-20 Ulrich Drepper * aclocal.m4 (LIBC_PROG_BINUTILS): Also add AR and RANLIB using the same method. * configure.in: Don't define AR and RANLIB here. * inet/gethstbyad_r.c: Define NEED__RES_HCONV and POSTPROCESS for host name res_hconf code. * inet/gethstbynm_r.c: Likewise. * nss/getXXbyYY_r.c: Include resolv/res_hconf.h if NEED__RES_HCONF is defined. Call res_hconf_init if necessary. If POSTPROCESS is defined execute the code. * resolv/Makefile (routines): Add res_hconf. (headers): Add res_hconf.h. * resolv/res_hconf.c: Pretty print. * resolv/res_hconf.h: Likewise. 1998-11-20 Ulrich Drepper * sysdeps/generic/bits/byteswap.h: Fix typos in non-GCC definitions. Reported by Scott Bambrough . 1998-11-20 1998 Andreas Schwab * math/libm-test.c: Raise some epsilons a bit. 1998-11-20 Andreas Schwab * Makeconfig ($(common-objpfx)sysd-sorted): Fix portability problems. 1998-11-20 Ulrich Drepper * Makefile (distribute): Add scripts/gen-sorted.awk. --- aclocal.m4 | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'aclocal.m4') diff --git a/aclocal.m4 b/aclocal.m4 index 4da7ef89b4..8a1819d6f9 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -116,6 +116,17 @@ if test -n "$path_binutils"; then fi AS=`$CC -print-prog-name=as` LD=`$CC -print-prog-name=ld` +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 +# 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, :) +fi +AC_SUBST(RANLIB) # Determine whether we are using GNU binutils. AC_CACHE_CHECK(whether $AS is GNU as, libc_cv_prog_as_gnu, -- cgit v1.2.3