X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=configure.ac;h=232ebf1f7697f0130449ab9f2332dd0b7cf1e8fa;hb=51f27f26931c97ab4965806ef08842be4465e83c;hp=eb944edd5e8d1f9faca9dff79be94199e7c7b1cc;hpb=5e57abaf6eeb52f5fe8966fceb1f918fb5e2c045;p=ghc-base.git diff --git a/configure.ac b/configure.ac index eb944ed..232ebf1 100644 --- a/configure.ac +++ b/configure.ac @@ -20,6 +20,10 @@ 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)]) +AC_CHECK_FUNCS([ftime gmtime_r localtime_r lstat readdir_r]) + +AC_CHECK_FUNCS([_chsize ftruncate]) + # map standard C types and ISO types to Haskell types FPTOOLS_CHECK_HTYPE(char) FPTOOLS_CHECK_HTYPE(signed char)