diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2015-05-15 02:59:35 -0300 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2015-05-15 02:59:35 -0300 |
commit | f7a4ecf2add403c8b078658406fcfed5486fdd2c (patch) | |
tree | e0ea1862e0ef3bc9445dbf49d14637c279f0d968 /configure.ac | |
parent | ae6443e44a2a6e242cf97d58e608e6f21dcdc464 (diff) | |
download | blogc-f7a4ecf2add403c8b078658406fcfed5486fdd2c.tar.gz blogc-f7a4ecf2add403c8b078658406fcfed5486fdd2c.tar.bz2 blogc-f7a4ecf2add403c8b078658406fcfed5486fdd2c.zip |
added initial man pages
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 20 |
1 files changed, 20 insertions, 0 deletions
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} ") |