AC_INIT([jq], m4_esyscmd([tr -d '\n' @])], [], [enable_devel=no] ) AC_MSG_RESULT($enable_devel) AM_CONDITIONAL([DEVELOPMENT_ENABLED], [test x$enable_devel = xyes]) dnl dnl these program checks should probably be deleted dnl dnl Check for sed AC_CHECK_PROGS(regex_cmd, sed) if test x$regex_cmd = "x" ; then AC_MSG_NOTICE([sed is required to patch jq.]) fi dnl Check for flex AC_CHECK_PROGS(flex_cmd, flex) if test x$flex_cmd = "x" ; then AC_MSG_NOTICE([flex is required to patch jq.]) fi dnl Check for bison AC_CHECK_PROGS(bison_cmd, bison) if test x$bison_cmd = "x" ; then AC_MSG_NOTICE([bison is required to patch jq.]) fi dnl Check for python AC_CHECK_PROGS(python_cmd, python) if test x$python_cmd = "x" ; then AC_MSG_NOTICE([python is required to patch jq.]) fi dnl Check for valgrind AC_CHECK_PROGS(valgrind_cmd, valgrind) if test x$valgrind_cmd = "x" ; then AC_MSG_NOTICE([valgrind is required to test jq.]) fi dnl AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_HEADERS(config.h) AM_INIT_AUTOMAKE([-Wall dist-bzip2 dist-zip]) AC_CONFIG_FILES([Makefile]) AC_OUTPUT