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. --- sysdeps/generic/bits/byteswap.h | 6 +++--- sysdeps/generic/configure | 2 +- sysdeps/unix/common/configure | 6 +++--- sysdeps/unix/configure | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) (limited to 'sysdeps') diff --git a/sysdeps/generic/bits/byteswap.h b/sysdeps/generic/bits/byteswap.h index 73189cfe5c..6b5115658b 100644 --- a/sysdeps/generic/bits/byteswap.h +++ b/sysdeps/generic/bits/byteswap.h @@ -29,9 +29,9 @@ ((((__bsx) >> 8) & 0xff) | (((__bsx) & 0xff) << 8)); })) #else static __inline unsigned short int -__bswap16 (unsigned short int x) +__bswap_16 (unsigned short int __bsx) { - return ((((x) >> 8) & 0xff) | (((x) & 0xff) << 8)); + return ((((__bsx) >> 8) & 0xff) | (((__bsx) & 0xff) << 8)); } #endif @@ -44,7 +44,7 @@ __bswap16 (unsigned short int x) (((__bsx) & 0x0000ff00) << 8) | (((__bsx) & 0x000000ff) << 24)); })) #else static __inline unsigned int -__bswap32 (unsigned int x) +__bswap_32 (unsigned int __bsx) { return ((((__bsx) & 0xff000000) >> 24) | (((__bsx) & 0x00ff0000) >> 8) | (((__bsx) & 0x0000ff00) << 8) | (((__bsx) & 0x000000ff) << 24)); diff --git a/sysdeps/generic/configure b/sysdeps/generic/configure index 574808f5e8..ddfa2cff80 100755 --- a/sysdeps/generic/configure +++ b/sysdeps/generic/configure @@ -32,7 +32,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:36: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:36: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else diff --git a/sysdeps/unix/common/configure b/sysdeps/unix/common/configure index acd4ef23fe..9e26b276f2 100755 --- a/sysdeps/unix/common/configure +++ b/sysdeps/unix/common/configure @@ -15,7 +15,7 @@ int main() { extern char *sys_siglist[]; puts(*sys_siglist); ; return 0; } EOF -if { (eval echo configure:19: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:19: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* ac_cv_check_symbol_sys_siglist=yes else @@ -48,7 +48,7 @@ int main() { extern char *_sys_siglist[]; puts(*_sys_siglist); ; return 0; } EOF -if { (eval echo configure:52: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:52: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* ac_cv_check_symbol__sys_siglist=yes else @@ -85,7 +85,7 @@ int main() { $ctype[13]; ; return 0; } EOF -if { (eval echo configure:89: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:89: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* libc_cv_ctype_glue="$ctype"; break else diff --git a/sysdeps/unix/configure b/sysdeps/unix/configure index b7eff0368d..6398735140 100755 --- a/sysdeps/unix/configure +++ b/sysdeps/unix/configure @@ -33,7 +33,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:37: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:37: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else -- cgit v1.2.3