Update.
[glibc.git] / sysdeps / unix / common / configure.in
blob807c44619e73077f8b9c9e701f0df0de8c025d3d
1 sinclude(./aclocal.m4)dnl
2 GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
4 if test -z "$inhibit_glue"; then
6 # Find out what this system calls `sys_siglist'.
7 AC_CHECK_SYMBOL(sys_siglist)
8 AC_CHECK_SYMBOL(_sys_siglist)
10 # Find out the name of the table the system's <ctype.h> uses for character
11 # classification.  This is used by sysdeps/unix/common/glue-ctype.c.
12 AC_MSG_CHECKING(ctype array name for glue)
13 AC_CACHE_VAL(libc_cv_ctype_glue, [dnl
14 for ctype in _ctype_ __ctype_ __ctype _ctype__ _ctype _locp; do
15 AC_TRY_LINK([#include <ctype.h>],
16             [$ctype[13];],
17             [libc_cv_ctype_glue="$ctype"; break])
18 done])
19 AC_MSG_RESULT($libc_cv_ctype_glue)
20 AC_DEFINE_UNQUOTED(HAVE_`echo $libc_cv_ctype_glue | tr '[a-z]' '[A-Z]'`)