From f7a4ecf2add403c8b078658406fcfed5486fdd2c Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Fri, 15 May 2015 02:59:35 -0300 Subject: added initial man pages --- configure.ac | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index a2cace4..d79fc47 100644 --- a/configure.ac +++ b/configure.ac @@ -18,6 +18,25 @@ AS_IF([test "x$ac_cv_prog_cc_c99" = "xno"], [ AC_MSG_ERROR([no C99 compiler found, blogc requires a C99 compiler.]) ]) +AC_ARG_ENABLE([ronn], AS_HELP_STRING([--disable-ronn], + [ignore presence of ronn and disable man pages generation])) +AS_IF([test "x$enable_ronn" != "xno"], [ + AC_PATH_PROG([ronn], [ronn]) + AS_IF([test "x$ac_cv_path_ronn" = "x"], [ + have_ronn=no + ], [ + have_ronn=yes + ]) +]) +AS_IF([test "x$have_ronn" = "xyes"], , [ + AS_IF([test "x$enable_ronn" = "xyes"], [ + AC_MSG_ERROR([ronn requested but not found]) + ]) +]) +AM_CONDITIONAL([USE_RONN], [test "x$have_ronn" = "xyes"]) +RONN="$ac_cv_path_ronn" +AC_SUBST(RONN) + AC_ARG_ENABLE([valgrind], AS_HELP_STRING([--disable-valgrind], [ignore presence of valgrind])) AS_IF([test "x$enable_valgrind" != "xno"], [ @@ -93,5 +112,6 @@ AS_ECHO(" tests: ${TESTS} + ronn: ${RONN} valgrind: ${VALGRIND} ") -- cgit v1.2.3-18-g5258