7 Sep
2015
7 Sep
'15
2:38 p.m.
This way it can be used in automake conditionals. --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index 739cf06..2ce2456 100644 --- a/configure.ac +++ b/configure.ac @@ -1072,6 +1072,7 @@ PKG_CHECK_MODULES([YAJL], [yajl >= 2.0.4], [ AC_SUBST([YAJL_LIBS]) AC_DEFINE([HAVE_YAJL],[1],[Define to 1 if you have yajl.]) ],[AC_MSG_WARN([yajl not found, some features will be disabled])]) +AM_CONDITIONAL([HAVE_YAJL],[test "x$YAJL_LIBS" != "x"]) dnl Check for C++ (optional, we just use this to test the header works). AC_PROG_CXX -- 2.1.0