]> git.ipfire.org Git - thirdparty/rrdtool-1.x.git/commitdiff
when meaning to check for pcre_compile, we should actually be doing that
authorTobias Oetiker <tobi@oetiker.ch>
Thu, 6 Nov 2014 13:38:21 +0000 (14:38 +0100)
committerTobias Oetiker <tobi@oetiker.ch>
Thu, 6 Nov 2014 13:38:21 +0000 (14:38 +0100)
configure.ac

index 92002600d67e39a384859d3a6f1be1ddaca8f6c5..acee8e9cd2e4d7f15e4793d2e5ae0b4426627af8 100644 (file)
@@ -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.])