mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-21 18:30:05 +00:00
5edb938769
1998-11-20 Ulrich Drepper <drepper@cygnus.com> * 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 <drepper@cygnus.com> * sysdeps/generic/bits/byteswap.h: Fix typos in non-GCC definitions. Reported by Scott Bambrough <scottb@corelcomputer.com>. 1998-11-20 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * math/libm-test.c: Raise some epsilons a bit. 1998-11-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * Makeconfig ($(common-objpfx)sysd-sorted): Fix portability problems. 1998-11-20 Ulrich Drepper <drepper@cygnus.com> * Makefile (distribute): Add scripts/gen-sorted.awk.
106 lines
2.8 KiB
Plaintext
Executable File
106 lines
2.8 KiB
Plaintext
Executable File
|
|
if test -z "$inhibit_glue"; then
|
|
|
|
# Find out what this system calls `sys_siglist'.
|
|
echo $ac_n "checking for sys_siglist""... $ac_c" 1>&6
|
|
echo "configure:7: checking for sys_siglist" >&5
|
|
if eval "test \"`echo '$''{'ac_cv_check_symbol_sys_siglist'+set}'`\" = set"; then
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
else
|
|
cat > conftest.$ac_ext <<EOF
|
|
#line 12 "configure"
|
|
#include "confdefs.h"
|
|
|
|
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; then
|
|
rm -rf conftest*
|
|
ac_cv_check_symbol_sys_siglist=yes
|
|
else
|
|
echo "configure: failed program was:" >&5
|
|
cat conftest.$ac_ext >&5
|
|
rm -rf conftest*
|
|
ac_cv_check_symbol_sys_siglist=no
|
|
fi
|
|
rm -f conftest*
|
|
fi
|
|
|
|
if test "$ac_cv_check_symbol_sys_siglist" = yes; then
|
|
ac_tr_symbol=`echo sys_siglist | tr '[a-z]' '[A-Z]'`
|
|
cat >> confdefs.h <<EOF
|
|
#define HAVE_${ac_tr_symbol} 1
|
|
EOF
|
|
|
|
fi
|
|
echo "$ac_t""$ac_cv_check_symbol_sys_siglist" 1>&6
|
|
echo $ac_n "checking for _sys_siglist""... $ac_c" 1>&6
|
|
echo "configure:40: checking for _sys_siglist" >&5
|
|
if eval "test \"`echo '$''{'ac_cv_check_symbol__sys_siglist'+set}'`\" = set"; then
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
else
|
|
cat > conftest.$ac_ext <<EOF
|
|
#line 45 "configure"
|
|
#include "confdefs.h"
|
|
|
|
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; then
|
|
rm -rf conftest*
|
|
ac_cv_check_symbol__sys_siglist=yes
|
|
else
|
|
echo "configure: failed program was:" >&5
|
|
cat conftest.$ac_ext >&5
|
|
rm -rf conftest*
|
|
ac_cv_check_symbol__sys_siglist=no
|
|
fi
|
|
rm -f conftest*
|
|
fi
|
|
|
|
if test "$ac_cv_check_symbol__sys_siglist" = yes; then
|
|
ac_tr_symbol=`echo _sys_siglist | tr '[a-z]' '[A-Z]'`
|
|
cat >> confdefs.h <<EOF
|
|
#define HAVE_${ac_tr_symbol} 1
|
|
EOF
|
|
|
|
fi
|
|
echo "$ac_t""$ac_cv_check_symbol__sys_siglist" 1>&6
|
|
|
|
# Find out the name of the table the system's <ctype.h> uses for character
|
|
# classification. This is used by sysdeps/unix/common/glue-ctype.c.
|
|
echo $ac_n "checking ctype array name for glue""... $ac_c" 1>&6
|
|
echo "configure:76: checking ctype array name for glue" >&5
|
|
if eval "test \"`echo '$''{'libc_cv_ctype_glue'+set}'`\" = set"; then
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
else
|
|
for ctype in _ctype_ __ctype_ __ctype _ctype__ _ctype _locp; do
|
|
cat > conftest.$ac_ext <<EOF
|
|
#line 82 "configure"
|
|
#include "confdefs.h"
|
|
#include <ctype.h>
|
|
int main() {
|
|
$ctype[13];
|
|
; return 0; }
|
|
EOF
|
|
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
|
|
echo "configure: failed program was:" >&5
|
|
cat conftest.$ac_ext >&5
|
|
fi
|
|
rm -f conftest*
|
|
done
|
|
fi
|
|
|
|
echo "$ac_t""$libc_cv_ctype_glue" 1>&6
|
|
cat >> confdefs.h <<EOF
|
|
#define HAVE_`echo $libc_cv_ctype_glue | tr 'a-z' 'A-Z'` 1
|
|
EOF
|
|
|
|
|
|
fi
|