summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-08-07 14:14:31 +0200
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-08-26 19:50:40 +0200
commitc813eefb86359c1fa58fbeaa77b53267c405d60e (patch)
tree828f9f5b88a61cc099eb3b8bf2f1f751063b276a /configure.ac
parentc59b1c1597dce447014faed03ba9857abdac24e1 (diff)
Split out the lynx documentation generation autoconf code to an m4 macro.
As many 0pointer projects use the same code, move it out on its own macro, and use that. The macro can then be shared across projects.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac19
1 files changed, 1 insertions, 18 deletions
diff --git a/configure.ac b/configure.ac
index 86df833..2172791 100644
--- a/configure.ac
+++ b/configure.ac
@@ -95,24 +95,7 @@ AC_CHECK_FUNC(res_query, ,
ACX_PTHREAD
-# LYNX documentation generation
-AC_ARG_ENABLE(lynx,
- AS_HELP_STRING([--disable-lynx],[Turn off lynx usage for documentation generation]),
-[case "${enableval}" in
- yes) lynx=yes ;;
- no) lynx=no ;;
- *) AC_MSG_ERROR(bad value ${enableval} for --disable-lynx) ;;
-esac],[lynx=yes])
-
-if test x$lynx = xyes ; then
- AC_CHECK_PROG(have_lynx, lynx, yes, no)
-
- if test x$have_lynx = xno ; then
- AC_MSG_WARN([*** lynx not found, plain text README will not be built ***])
- fi
-fi
-
-AM_CONDITIONAL([USE_LYNX], [test "x$lynx" = xyes])
+ZP_LYNX_DOC
AC_CONFIG_FILES([Makefile libasyncns/Makefile doc/Makefile doc/README.html doxygen/Makefile doxygen/doxygen.conf libasyncns.pc])
AC_OUTPUT