projects
/
ghc-base.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 2005-02-23 06:31:22 by dons]
[ghc-base.git]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index
570ad36
..
349f445
100644
(file)
--- 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
# 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.
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])
esac
AC_SUBST([EXTRA_LIBS])
-AC_CONFIG_FILES([base.buildinfo])
+AC_CONFIG_FILES([config.mk base.buildinfo])
AC_OUTPUT
AC_OUTPUT