2 if test -z "$inhibit_glue"; then
4 # Find out what this system calls `sys_siglist'.
5 echo $ac_n "checking for sys_siglist""... $ac_c" 1>&6
6 echo "configure:7: checking for sys_siglist" >&5
7 if eval "test \"`echo '$''{'ac_cv_check_symbol_sys_siglist'+set}'`\" = set"; then
8 echo $ac_n "(cached) $ac_c" 1>&6
10 cat > conftest.$ac_ext <<EOF
15 extern char *sys_siglist[]; puts(*sys_siglist);
18 if { (eval echo configure:19: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
20 ac_cv_check_symbol_sys_siglist=yes
22 echo "configure: failed program was:" >&5
23 cat conftest.$ac_ext >&5
25 ac_cv_check_symbol_sys_siglist=no
30 if test "$ac_cv_check_symbol_sys_siglist" = yes; then
31 ac_tr_symbol=`echo sys_siglist | tr '[a-z]' '[A-Z]'`
32 cat >> confdefs.h <<EOF
33 #define HAVE_${ac_tr_symbol} 1
37 echo "$ac_t""$ac_cv_check_symbol_sys_siglist" 1>&6
38 echo $ac_n "checking for _sys_siglist""... $ac_c" 1>&6
39 echo "configure:40: checking for _sys_siglist" >&5
40 if eval "test \"`echo '$''{'ac_cv_check_symbol__sys_siglist'+set}'`\" = set"; then
41 echo $ac_n "(cached) $ac_c" 1>&6
43 cat > conftest.$ac_ext <<EOF
48 extern char *_sys_siglist[]; puts(*_sys_siglist);
51 if { (eval echo configure:52: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
53 ac_cv_check_symbol__sys_siglist=yes
55 echo "configure: failed program was:" >&5
56 cat conftest.$ac_ext >&5
58 ac_cv_check_symbol__sys_siglist=no
63 if test "$ac_cv_check_symbol__sys_siglist" = yes; then
64 ac_tr_symbol=`echo _sys_siglist | tr '[a-z]' '[A-Z]'`
65 cat >> confdefs.h <<EOF
66 #define HAVE_${ac_tr_symbol} 1
70 echo "$ac_t""$ac_cv_check_symbol__sys_siglist" 1>&6
72 # Find out the name of the table the system's <ctype.h> uses for character
73 # classification. This is used by sysdeps/unix/common/glue-ctype.c.
74 echo $ac_n "checking ctype array name for glue""... $ac_c" 1>&6
75 echo "configure:76: checking ctype array name for glue" >&5
76 if eval "test \"`echo '$''{'libc_cv_ctype_glue'+set}'`\" = set"; then
77 echo $ac_n "(cached) $ac_c" 1>&6
79 for ctype in _ctype_ __ctype_ __ctype _ctype__ _ctype _locp; do
80 cat > conftest.$ac_ext <<EOF
88 if { (eval echo configure:89: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
90 libc_cv_ctype_glue="$ctype"; break
92 echo "configure: failed program was:" >&5
93 cat conftest.$ac_ext >&5
99 echo "$ac_t""$libc_cv_ctype_glue" 1>&6
100 cat >> confdefs.h <<EOF
101 #define HAVE_`echo $libc_cv_ctype_glue | tr 'a-z' 'A-Z'` 1