From 0104a1c6f331ff4103f584a63c86a283a4e0bf06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Fri, 22 Aug 2014 21:17:05 -0700 Subject: [PATCH] check for JSON perl module and if not found ask developer to install it partial fix for #74 --- autogen.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/autogen.sh b/autogen.sh index c57ba81e7..fc504dca2 100755 --- a/autogen.sh +++ b/autogen.sh @@ -5,3 +5,5 @@ set -e autoreconf -f -i || { echo "autoreconf failed: $?"; exit 1; } find . \( -name '*-private.h' -o -name '*-protos.h' \) | xargs rm -f +perl -MJSON -e 'print foo;' || \ + { echo "you must install JSON perl module (cpan install JSON)"; exit 1; }