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