if BUILD_WITH_LIBCURL
if BUILD_WITH_LIBSSL
-if BUILD_WITH_LIBYAJL
+if BUILD_WITH_LIBYAJL2
noinst_LTLIBRARIES += liboauth.la
liboauth_la_SOURCES = \
src/utils_oauth.c \
$(BUILD_WITH_LIBCURL_LIBS)
endif
-if BUILD_WITH_LIBYAJL
+if BUILD_WITH_LIBYAJL2
noinst_LTLIBRARIES += libformat_gcm.la
libformat_gcm_la_SOURCES = \
src/utils_format_gcm.c \
AC_SUBST([BUILD_WITH_LIBYAJL_LIBS])
AM_CONDITIONAL([BUILD_WITH_LIBYAJL], [test "x$with_libyajl" = "xyes"])
+AM_CONDITIONAL([BUILD_WITH_LIBYAJL2], [test "x$with_libyajl$with_libyajl2" = "xyesyes"])
# }}}
# --with-mic {{{
if test "x$with_libcurl" = "xyes" && test "x$with_libyajl" = "xyes"; then
plugin_curl_json="yes"
+fi
+
+if test "x$with_libcurl" = "xyes" && test "x$with_libssl" = "xyes" && test "x$with_libyajl" = "xyes" && test "x$with_libyajl2" = "xyes"; then
plugin_write_gcm="yes"
fi