From 8ca4506ee9ad4bfd490d1e9a7ab2cfb02f1ba3d7 Mon Sep 17 00:00:00 2001 From: Haru Date: Sat, 6 Feb 2016 18:13:03 +0100 Subject: Changed PCRE to properly use the system-provided pcre.h Signed-off-by: Haru --- configure.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 9dd53ab95..729a8f38e 100644 --- a/configure.in +++ b/configure.in @@ -1304,7 +1304,8 @@ AC_SUBST([MYSQL_LIBS]) # AC_MSG_CHECKING([PCRE library]) -AC_CHECK_LIB(pcre, pcre_study, , AC_MSG_ERROR([PCRE not found or incompatible])) +AC_CHECK_HEADER([pcre.h], [], [AC_MSG_ERROR([PCRE header not found])]) +AC_SEARCH_LIBS([pcre_study], [pcre], [], AC_MSG_ERROR([PCRE not found or incompatible])) # # static Support test -- cgit v1.2.3-60-g2f50