diff options
author | Roland McGrath <roland@gnu.org> | 1995-02-18 01:27:10 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1995-02-18 01:27:10 +0000 |
commit | 28f540f45bbacd939bfd07f213bcad2bf730b1bf (patch) | |
tree | 15f07c4c43d635959c6afee96bde71fb1b3614ee /sysdeps/unix/common/configure.in | |
download | glibc-28f540f45bbacd939bfd07f213bcad2bf730b1bf.tar glibc-28f540f45bbacd939bfd07f213bcad2bf730b1bf.tar.gz glibc-28f540f45bbacd939bfd07f213bcad2bf730b1bf.tar.bz2 glibc-28f540f45bbacd939bfd07f213bcad2bf730b1bf.zip |
initial import
Diffstat (limited to 'sysdeps/unix/common/configure.in')
-rw-r--r-- | sysdeps/unix/common/configure.in | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/sysdeps/unix/common/configure.in b/sysdeps/unix/common/configure.in new file mode 100644 index 0000000000..807c44619e --- /dev/null +++ b/sysdeps/unix/common/configure.in @@ -0,0 +1,22 @@ +sinclude(./aclocal.m4)dnl +GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory. + +if test -z "$inhibit_glue"; then + +# Find out what this system calls `sys_siglist'. +AC_CHECK_SYMBOL(sys_siglist) +AC_CHECK_SYMBOL(_sys_siglist) + +# 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. +AC_MSG_CHECKING(ctype array name for glue) +AC_CACHE_VAL(libc_cv_ctype_glue, [dnl +for ctype in _ctype_ __ctype_ __ctype _ctype__ _ctype _locp; do +AC_TRY_LINK([#include <ctype.h>], + [$ctype[13];], + [libc_cv_ctype_glue="$ctype"; break]) +done]) +AC_MSG_RESULT($libc_cv_ctype_glue) +AC_DEFINE_UNQUOTED(HAVE_`echo $libc_cv_ctype_glue | tr '[a-z]' '[A-Z]'`) + +fi |