summaryrefslogtreecommitdiff
path: root/server/external/libpcre.m4
blob: 32cfbcf80bf2a71fec13dea2554332c71489e654 (plain)
1
2
3
4
5
6
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" ], [AC_MSG_ERROR([PCRE is required])])