summaryrefslogtreecommitdiff
path: root/libmudflap/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'libmudflap/configure.in')
-rw-r--r--libmudflap/configure.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/libmudflap/configure.in b/libmudflap/configure.in
index 67bc2d4261a..6e03ed5bbbb 100644
--- a/libmudflap/configure.in
+++ b/libmudflap/configure.in
@@ -63,7 +63,7 @@ AC_TRY_COMPILE([
enable_shared=no])
AC_CHECK_HEADERS(stdint.h execinfo.h signal.h dlfcn.h \
- netdb.h sys/ipc.h sys/sem.h sys/shm.h sys/wait.h sys/socket.h)
+ netdb.h sys/ipc.h sys/sem.h sys/shm.h sys/wait.h sys/socket.h ctype.h)
AC_CHECK_FUNCS(backtrace backtrace_symbols gettimeofday signal)
dnl Check for 64-bit stdio calls related to Large File Support
@@ -72,6 +72,9 @@ AC_CHECK_FUNCS(fopen64 fseeko64 ftello64 stat64)
dnl Check for nonstandard functions
AC_CHECK_FUNCS(strnlen memrchr strncpy memmem sethostname)
+dnl Check for glibc ctype functions
+AC_CHECK_FUNCS(__ctype_b_loc __ctype_tolower_loc __ctype_toupper_loc)
+
AC_TRY_COMPILE([#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/sem.h>],[union semun foo;], [mf_have_semun=1], [mf_have_semun=0])