summaryrefslogtreecommitdiffstats
path: root/sqwebmail/configure.ac
diff options
context:
space:
mode:
authorSam Varshavchik2021-11-28 10:17:28 -0500
committerSam Varshavchik2021-11-28 10:17:28 -0500
commitba64de5232d3b0124e540124fcded55f8c4d42ab (patch)
tree173228a2e920eacd129240909851f6871a135063 /sqwebmail/configure.ac
parent00664cc3ece7c29843771561fe2890b635f2b74e (diff)
downloadcourier-libs-ba64de5232d3b0124e540124fcded55f8c4d42ab.tar.bz2
Convert to PCRE2.
Diffstat (limited to 'sqwebmail/configure.ac')
-rw-r--r--sqwebmail/configure.ac7
1 files changed, 7 insertions, 0 deletions
diff --git a/sqwebmail/configure.ac b/sqwebmail/configure.ac
index 05dc3d7..55a7c5e 100644
--- a/sqwebmail/configure.ac
+++ b/sqwebmail/configure.ac
@@ -88,6 +88,13 @@ else
fi
AC_SUBST(pkglibexecdir)
+AC_CHECK_PROG(PCRE2, pcre2-config, yes, no)
+
+if test "$PCRE2" = "no"
+then
+ AC_MSG_ERROR([pcre2-config was not found, please install PCRE2])
+fi
+
AC_ARG_WITH(ispell,
[ --without-ispell Do not compile ispell support
--with-ispell=prog Pathname to ispell (if not in default path)],