[project @ 2004-11-12 12:34:52 by stolz]
authorstolz <unknown>
Fri, 12 Nov 2004 12:34:52 +0000 (12:34 +0000)
committerstolz <unknown>
Fri, 12 Nov 2004 12:34:52 +0000 (12:34 +0000)
Push FreeBSD-unicode-detection into package

configure.ac

index 8dc5507..eb944ed 100644 (file)
@@ -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)