X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=configure.ac;h=40ec87ff5155e90c8b5ee910dd3336c952638441;hb=4f67454e8017252fe17fb3c0bb30938acf00007c;hp=1fdfd125bc3b835162479c6047ca1af4fe74302e;hpb=a608f147289d14c60764562962bde04053a0ad55;p=ghc-hetmet.git diff --git a/configure.ac b/configure.ac index 1fdfd12..40ec87f 100644 --- a/configure.ac +++ b/configure.ac @@ -1134,7 +1134,11 @@ AC_CHECK_LIB(iberty, xmalloc) AC_CHECK_LIB(bfd, bfd_init) dnl ** check for wide-char classifications -AC_CHECK_HEADERS(wctype.h) +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)] +) dnl ** check for readline, for Hugs and hslibs' Readline dnl ncurses supersedes termcap and curses, but for compatibility,