summaryrefslogtreecommitdiff
path: root/server/external
diff options
context:
space:
mode:
Diffstat (limited to 'server/external')
-rw-r--r--server/external/libpcre.m47
1 files changed, 7 insertions, 0 deletions
diff --git a/server/external/libpcre.m4 b/server/external/libpcre.m4
new file mode 100644
index 00000000..ed744f36
--- /dev/null
+++ b/server/external/libpcre.m4
@@ -0,0 +1,7 @@
+PCRE_OBJ=""
+AC_SUBST(PCRE_OBJ)
+AC_SUBST(PCRE_LIBS)
+AC_SUBST(PCRE_CFLAGS)
+
+AC_CHECK_HEADERS(pcre.h)
+AC_CHECK_LIB(pcre, pcre_compile, [ PCRE_LIBS="-lpcre" ])