From: Tobias Oetiker Date: Thu, 6 Nov 2014 13:38:21 +0000 (+0100) Subject: when meaning to check for pcre_compile, we should actually be doing that X-Git-Tag: v1.5.0-rc1~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8743b41dbaf8a605c240a5024514283a45f1abdb;p=thirdparty%2Frrdtool-1.x.git when meaning to check for pcre_compile, we should actually be doing that --- diff --git a/configure.ac b/configure.ac index 92002600..acee8e9c 100644 --- a/configure.ac +++ b/configure.ac @@ -558,7 +558,7 @@ AC_CHECK_FUNC(g_regex_new,[ AC_MSG_CHECKING(if pcre is available to supply the missing regex support in glib) AC_MSG_RESULT(checking now ...) EX_CHECK_ALL(pcre, pcre_compile, pcre.h, pcre, x.x.x, [get a newer glib and you will not need pcre at all],"") - AC_CHECK_FUNC(g_regex_new,[ + AC_CHECK_FUNC(pcre_compile,[ AC_DEFINE(HAVE_PCRE_COMPILE,[1],[we have pcre to replace missing regexp support form glib]) ],[ AC_MSG_ERROR([you need either glib with g_regex support or libpcre to compile rrdtool.])