From 28f540f45bbacd939bfd07f213bcad2bf730b1bf Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sat, 18 Feb 1995 01:27:10 +0000 Subject: initial import --- sysdeps/unix/common/configure | 101 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 101 insertions(+) create mode 100755 sysdeps/unix/common/configure (limited to 'sysdeps/unix/common/configure') diff --git a/sysdeps/unix/common/configure b/sysdeps/unix/common/configure new file mode 100755 index 0000000000..b01c547c60 --- /dev/null +++ b/sysdeps/unix/common/configure @@ -0,0 +1,101 @@ + +if test -z "$inhibit_glue"; then + +# Find out what this system calls `sys_siglist'. +echo $ac_n "checking for sys_siglist""... $ac_c" 1>&4 +if eval "test \"`echo '${'ac_cv_check_symbol_sys_siglist'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&4 +else + cat > conftest.$ac_ext <> confdefs.h <&4 +echo $ac_n "checking for _sys_siglist""... $ac_c" 1>&4 +if eval "test \"`echo '${'ac_cv_check_symbol__sys_siglist'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&4 +else + cat > conftest.$ac_ext <> confdefs.h <&4 + +# Find out the name of the table the system's 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>&4 +if eval "test \"`echo '${'libc_cv_ctype_glue'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&4 +else + for ctype in _ctype_ __ctype_ __ctype _ctype__ _ctype _locp; do +cat > conftest.$ac_ext < +int main() { return 0; } +int t() { +$ctype[13]; +; return 0; } +EOF +if eval $ac_link; then + rm -rf conftest* + libc_cv_ctype_glue="$ctype"; break +fi +rm -f conftest* + +done +fi + +echo "$ac_t""$libc_cv_ctype_glue" 1>&4 +cat >> confdefs.h <