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 if eval "test \"`echo '$''{'ac_cv_check_symbol_sys_siglist'+set}'`\" = set"; then
7 echo $ac_n "(cached) $ac_c" 1>&6
9 cat > conftest.$ac_ext <<EOF
13 int main() { return 0; }
15 extern char *sys_siglist[]; puts(*sys_siglist);
18 if eval $ac_link; then
20 ac_cv_check_symbol_sys_siglist=yes
23 ac_cv_check_symbol_sys_siglist=no
29 if test "$ac_cv_check_symbol_sys_siglist" = yes; then
30 ac_tr_symbol=`echo sys_siglist | tr '[a-z]' '[A-Z]'`
31 cat >> confdefs.h <<EOF
32 #define HAVE_${ac_tr_symbol} 1
36 echo "$ac_t""$ac_cv_check_symbol_sys_siglist" 1>&6
37 echo $ac_n "checking for _sys_siglist""... $ac_c" 1>&6
38 if eval "test \"`echo '$''{'ac_cv_check_symbol__sys_siglist'+set}'`\" = set"; then
39 echo $ac_n "(cached) $ac_c" 1>&6
41 cat > conftest.$ac_ext <<EOF
45 int main() { return 0; }
47 extern char *_sys_siglist[]; puts(*_sys_siglist);
50 if eval $ac_link; then
52 ac_cv_check_symbol__sys_siglist=yes
55 ac_cv_check_symbol__sys_siglist=no
61 if test "$ac_cv_check_symbol__sys_siglist" = yes; then
62 ac_tr_symbol=`echo _sys_siglist | tr '[a-z]' '[A-Z]'`
63 cat >> confdefs.h <<EOF
64 #define HAVE_${ac_tr_symbol} 1
68 echo "$ac_t""$ac_cv_check_symbol__sys_siglist" 1>&6
70 # Find out the name of the table the system's <ctype.h> uses for character
71 # classification. This is used by sysdeps/unix/common/glue-ctype.c.
72 echo $ac_n "checking ctype array name for glue""... $ac_c" 1>&6
73 if eval "test \"`echo '$''{'libc_cv_ctype_glue'+set}'`\" = set"; then
74 echo $ac_n "(cached) $ac_c" 1>&6
76 for ctype in _ctype_ __ctype_ __ctype _ctype__ _ctype _locp; do
77 cat > conftest.$ac_ext <<EOF
81 int main() { return 0; }
86 if eval $ac_link; then
88 libc_cv_ctype_glue="$ctype"; break
95 echo "$ac_t""$libc_cv_ctype_glue" 1>&6
96 cat >> confdefs.h <<EOF
97 #define HAVE_`echo $libc_cv_ctype_glue | tr 'a-z' 'A-Z'` 1