X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=configure.ac;h=349f44577df700d1fc3dcad3b8c7aa99b83dc282;hb=ad2464d7646b2b0745615f4a23967444e23fea40;hp=570ad366b9bfecfc47b272a092d50dadca2f2cf2;hpb=9846058c21cf4eae3d5b4b3b977db2b85342771e;p=ghc-base.git diff --git a/configure.ac b/configure.ac index 570ad36..349f445 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 POSIX regex +HavePosixRegex=NO +AC_CHECK_HEADERS([regex.h], [AC_CHECK_FUNCS(regcomp, [HavePosixRegex=YES])]) +AC_SUBST(HavePosixRegex) + 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. @@ -85,6 +90,6 @@ case "$target" in esac AC_SUBST([EXTRA_LIBS]) -AC_CONFIG_FILES([base.buildinfo]) +AC_CONFIG_FILES([config.mk base.buildinfo]) AC_OUTPUT