aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorÖzgür Kesim <oec-taler@kesim.org>2023-09-05 08:18:03 +0200
committerÖzgür Kesim <oec-taler@kesim.org>2023-09-05 08:18:03 +0200
commit55859eec403f7921419bb870cfe004b83ae376ee (patch)
treedc9a582728fc52f92f4fed4e3915b5ade0fdebeb /configure.ac
parent22e0169a42dd1f99a045d715631ed49eb84c3fcc (diff)
added test for jq to configure.ac
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 793e31bed..e9a9cf8e3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -397,6 +397,11 @@ AS_IF([test "x$enableval" = "xno"], [enable_dev=0])
AC_CHECK_DECL([MHD_OPTION_NOTIFY_CONNECTION],,[enable_dev=0],[[#include <microhttpd.h>]])
AC_DEFINE_UNQUOTED([HAVE_DEVELOPER],[$enable_dev],[1 if developer logic is enabled, 0 otherwise])
+AC_PATH_PROG([JQ], [jq], [no])
+if test "$JQ" = "no"; then
+ AC_MSG_ERROR([jq is required but not found. Please install jq.])
+fi
+
# Adam shostack suggests the following for Windows: