X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;ds=sidebyside;f=configure.ac;h=a5e4c4bb03c51e005b4008be2d5bbb17810fb78e;hb=6432be6834f9009e85aa89bdf9ab72edda16a976;hp=1fdfd125bc3b835162479c6047ca1af4fe74302e;hpb=055a40adee30885bdb7340d9fbfe9770a9036412;p=ghc-hetmet.git diff --git a/configure.ac b/configure.ac index 1fdfd12..a5e4c4b 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,