Tony Asleson
2014-02-19 15:58:42 UTC
Added more verbose output for what is required when
json-c is not present on system to make it easier to
identify what is indeed needed to build.
Signed-off-by: Tony Asleson <***@redhat.com>
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index df3457a..100bfdf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -141,7 +141,7 @@ AC_ARG_WITH([rest-api],
[with_rest_api=yes])
if test "x$with_rest_api" = "xyes"; then
PKG_CHECK_MODULES([LIBMICROHTTPD], [libmicrohttpd >= 0.9])
- PKG_CHECK_MODULES([JSON], [json >= 0.10])
+ PKG_CHECK_MODULES([JSON], [json >= 0.10], [], AC_MSG_ERROR([json-c development libraries 0.10 or later required]))
fi
AM_CONDITIONAL([WITH_REST_API], [test "x$with_rest_api" = "xyes"])
json-c is not present on system to make it easier to
identify what is indeed needed to build.
Signed-off-by: Tony Asleson <***@redhat.com>
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index df3457a..100bfdf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -141,7 +141,7 @@ AC_ARG_WITH([rest-api],
[with_rest_api=yes])
if test "x$with_rest_api" = "xyes"; then
PKG_CHECK_MODULES([LIBMICROHTTPD], [libmicrohttpd >= 0.9])
- PKG_CHECK_MODULES([JSON], [json >= 0.10])
+ PKG_CHECK_MODULES([JSON], [json >= 0.10], [], AC_MSG_ERROR([json-c development libraries 0.10 or later required]))
fi
AM_CONDITIONAL([WITH_REST_API], [test "x$with_rest_api" = "xyes"])
--
1.8.2.1
1.8.2.1