From e6494857fc188f50808fcf64e4f43188a455f264 Mon Sep 17 00:00:00 2001 From: Stephen Dolan Date: Thu, 9 May 2013 20:27:12 +0100 Subject: Add some build instructions for how to install doc dependencies. jq can now build without Ruby, but you won't get a nice manpage. --- configure.ac | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 32ecdf7b..0ad893af 100644 --- a/configure.ac +++ b/configure.ac @@ -34,19 +34,28 @@ fi dnl Don't attempt to build docs if there's no Ruby lying around -AC_ARG_ENABLE([docs], +AC_ARG_ENABLE([docs], AC_HELP_STRING([--disable-docs], [don't build docs])) AS_IF([test "x$enable_docs" != "xno"],[ - AC_CHECK_PROG(bundle_cmd, bundle) + AC_CHECK_PROGS(bundle_cmd, bundle) AS_IF([test "x$bundle_cmd" = "x" || \ - ! ( cd ${srcdir}/docs; bundle check 2>/dev/null )],[ + ! ( cd ${srcdir}/docs; "$bundle_cmd" check 2>/dev/null )],[ AC_MSG_WARN([no bundler]) + cat <