commit 55859eec403f7921419bb870cfe004b83ae376ee
parent 22e0169a42dd1f99a045d715631ed49eb84c3fcc
Author: Özgür Kesim <oec-taler@kesim.org>
Date: Tue, 5 Sep 2023 08:18:03 +0200
added test for jq to configure.ac
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git 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: