X-Git-Url: https://git.wpitchoune.net/gitweb/?a=blobdiff_plain;f=configure.ac;h=dd31058f0ee65cf4775b197a7cc02ea8eb95c2e2;hb=2344c5aa70cf8a220ee3270bbd1046525f9778ef;hp=8883d1037071db76af5945bbbe53e0a68227b846;hpb=e27cd0a70c5ed37621312b117606d8db535fc59e;p=ptask.git diff --git a/configure.ac b/configure.ac index 8883d10..dd31058 100644 --- a/configure.ac +++ b/configure.ac @@ -42,11 +42,7 @@ AC_SUBST(GTK_LIBS) # Check JSON JSON_LIBS= -PKG_CHECK_MODULES(JSON, - json, - [AC_DEFINE([HAVE_JSON],[1],[Use JSON])], - [AC_MSG_WARN("Remote monitoring disabled, json missing")]) -AM_CONDITIONAL(JSON, test -n "$JSON_LIBS") +PKG_CHECK_MODULES(JSON, json) AC_SUBST(JSON_CFLAGS) AC_SUBST(JSON_LIBS)