1995-02-18 01:27:10 +00:00
|
|
|
|
|
|
|
if test -z "$inhibit_glue"; then
|
|
|
|
|
|
|
|
# Find out what this system calls `sys_siglist'.
|
1996-05-09 23:13:21 +00:00
|
|
|
echo $ac_n "checking for sys_siglist""... $ac_c" 1>&6
|
1997-05-26 23:01:17 +00:00
|
|
|
echo "configure:7: checking for sys_siglist" >&5
|
2001-06-12 00:57:11 +00:00
|
|
|
if eval "test \"`echo '$''{'ac_cv_check_symbol_sys_siglist'+set}'`\" = set"; then
|
1996-05-09 23:13:21 +00:00
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
1995-02-18 01:27:10 +00:00
|
|
|
else
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
1997-05-26 23:01:17 +00:00
|
|
|
#line 12 "configure"
|
1995-02-18 01:27:10 +00:00
|
|
|
#include "confdefs.h"
|
|
|
|
|
1997-05-26 23:01:17 +00:00
|
|
|
int main() {
|
1995-02-18 01:27:10 +00:00
|
|
|
extern char *sys_siglist[]; puts(*sys_siglist);
|
|
|
|
; return 0; }
|
|
|
|
EOF
|
1999-05-06 23:17:13 +00:00
|
|
|
if { (eval echo configure:19: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
1995-02-18 01:27:10 +00:00
|
|
|
rm -rf conftest*
|
|
|
|
ac_cv_check_symbol_sys_siglist=yes
|
|
|
|
else
|
1997-05-26 23:01:17 +00:00
|
|
|
echo "configure: failed program was:" >&5
|
|
|
|
cat conftest.$ac_ext >&5
|
1995-02-18 01:27:10 +00:00
|
|
|
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
|
1996-05-09 23:13:21 +00:00
|
|
|
echo "$ac_t""$ac_cv_check_symbol_sys_siglist" 1>&6
|
|
|
|
echo $ac_n "checking for _sys_siglist""... $ac_c" 1>&6
|
1997-05-26 23:01:17 +00:00
|
|
|
echo "configure:40: checking for _sys_siglist" >&5
|
2001-06-12 00:57:11 +00:00
|
|
|
if eval "test \"`echo '$''{'ac_cv_check_symbol__sys_siglist'+set}'`\" = set"; then
|
1996-05-09 23:13:21 +00:00
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
1995-02-18 01:27:10 +00:00
|
|
|
else
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
1997-05-26 23:01:17 +00:00
|
|
|
#line 45 "configure"
|
1995-02-18 01:27:10 +00:00
|
|
|
#include "confdefs.h"
|
|
|
|
|
1997-05-26 23:01:17 +00:00
|
|
|
int main() {
|
1995-02-18 01:27:10 +00:00
|
|
|
extern char *_sys_siglist[]; puts(*_sys_siglist);
|
|
|
|
; return 0; }
|
|
|
|
EOF
|
1999-05-06 23:17:13 +00:00
|
|
|
if { (eval echo configure:52: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
1995-02-18 01:27:10 +00:00
|
|
|
rm -rf conftest*
|
|
|
|
ac_cv_check_symbol__sys_siglist=yes
|
|
|
|
else
|
1997-05-26 23:01:17 +00:00
|
|
|
echo "configure: failed program was:" >&5
|
|
|
|
cat conftest.$ac_ext >&5
|
1995-02-18 01:27:10 +00:00
|
|
|
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
|
1996-05-09 23:13:21 +00:00
|
|
|
echo "$ac_t""$ac_cv_check_symbol__sys_siglist" 1>&6
|
1995-02-18 01:27:10 +00:00
|
|
|
|
|
|
|
# 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.
|
1996-05-09 23:13:21 +00:00
|
|
|
echo $ac_n "checking ctype array name for glue""... $ac_c" 1>&6
|
1997-05-26 23:01:17 +00:00
|
|
|
echo "configure:76: checking ctype array name for glue" >&5
|
2001-06-12 00:57:11 +00:00
|
|
|
if eval "test \"`echo '$''{'libc_cv_ctype_glue'+set}'`\" = set"; then
|
1996-05-09 23:13:21 +00:00
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
1995-02-18 01:27:10 +00:00
|
|
|
else
|
|
|
|
for ctype in _ctype_ __ctype_ __ctype _ctype__ _ctype _locp; do
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
1997-05-26 23:01:17 +00:00
|
|
|
#line 82 "configure"
|
1995-02-18 01:27:10 +00:00
|
|
|
#include "confdefs.h"
|
|
|
|
#include <ctype.h>
|
1997-05-26 23:01:17 +00:00
|
|
|
int main() {
|
1995-02-18 01:27:10 +00:00
|
|
|
$ctype[13];
|
|
|
|
; return 0; }
|
|
|
|
EOF
|
1999-05-06 23:17:13 +00:00
|
|
|
if { (eval echo configure:89: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
1995-02-18 01:27:10 +00:00
|
|
|
rm -rf conftest*
|
|
|
|
libc_cv_ctype_glue="$ctype"; break
|
1997-05-26 23:01:17 +00:00
|
|
|
else
|
|
|
|
echo "configure: failed program was:" >&5
|
|
|
|
cat conftest.$ac_ext >&5
|
1995-02-18 01:27:10 +00:00
|
|
|
fi
|
|
|
|
rm -f conftest*
|
|
|
|
done
|
|
|
|
fi
|
|
|
|
|
1996-05-09 23:13:21 +00:00
|
|
|
echo "$ac_t""$libc_cv_ctype_glue" 1>&6
|
1995-02-18 01:27:10 +00:00
|
|
|
cat >> confdefs.h <<EOF
|
|
|
|
#define HAVE_`echo $libc_cv_ctype_glue | tr 'a-z' 'A-Z'` 1
|
|
|
|
EOF
|
|
|
|
|
|
|
|
|
|
|
|
fi
|