diff options
author | Haru <haru@dotalux.com> | 2016-02-06 18:13:03 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2016-02-06 18:51:22 +0100 |
commit | 8ca4506ee9ad4bfd490d1e9a7ab2cfb02f1ba3d7 (patch) | |
tree | 65d9aaa4c0c0695fe71c0aaa047d3eb4dafc49e0 /configure.in | |
parent | 730fede2da1ca573ff716c77a5d9b1d0989adc6e (diff) | |
download | hercules-8ca4506ee9ad4bfd490d1e9a7ab2cfb02f1ba3d7.tar.gz hercules-8ca4506ee9ad4bfd490d1e9a7ab2cfb02f1ba3d7.tar.bz2 hercules-8ca4506ee9ad4bfd490d1e9a7ab2cfb02f1ba3d7.tar.xz hercules-8ca4506ee9ad4bfd490d1e9a7ab2cfb02f1ba3d7.zip |
Changed PCRE to properly use the system-provided pcre.h
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 3 |
1 files changed, 2 insertions, 1 deletions
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 |