From: stolz Date: Fri, 12 Nov 2004 12:34:52 +0000 (+0000) Subject: [project @ 2004-11-12 12:34:52 by stolz] X-Git-Tag: nhc98-1-18-release~194 X-Git-Url: http://git.megacz.com/?p=ghc-base.git;a=commitdiff_plain;h=5e57abaf6eeb52f5fe8966fceb1f918fb5e2c045 [project @ 2004-11-12 12:34:52 by stolz] Push FreeBSD-unicode-detection into package --- diff --git a/configure.ac b/configure.ac index 8dc5507..eb944ed 100644 --- a/configure.ac +++ b/configure.ac @@ -15,6 +15,11 @@ AC_CHECK_HEADERS([ctype.h fcntl.h signal.h sys/resource.h termios.h time.h]) # rlim_t, because it will affect the result of that test. AC_SYS_LARGEFILE +dnl ** check for wide-char classifications +dnl FreeBSD has an emtpy wctype.h, so test one of the affected +dnl functions if it's really there. +AC_CHECK_HEADERS([wctype.h], [AC_CHECK_FUNCS(iswspace)]) + # map standard C types and ISO types to Haskell types FPTOOLS_CHECK_HTYPE(char) FPTOOLS_CHECK_HTYPE(signed char)