summaryrefslogtreecommitdiffstats
path: root/server/external/libpcre.m4
diff options
context:
space:
mode:
Diffstat (limited to 'server/external/libpcre.m4')
-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 0000000..ed744f3
--- /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" ])