From: David Schleef Date: Sat, 16 Aug 2003 00:15:15 +0000 (+0000) Subject: update version. switch back to using docbook2xxx, and test for X-Git-Tag: r0_7_21~19 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7dec44588034992bdfc77ebda7b92725dc9e34a1;p=comedilib.git update version. switch back to using docbook2xxx, and test for each one. Jade/jw doesn't really have a way to test for backends. --- diff --git a/configure.ac b/configure.ac index 4210617..a432d10 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ AC_INIT AC_CANONICAL_TARGET([]) -AS_VERSION(comedilib, COMEDILIB, 0, 7, 19, 1) +AS_VERSION(comedilib, COMEDILIB, 0, 7, 20, 1) #COMEDILIB_DEBUG="-Wall -Werror" COMEDILIB_DEBUG="-Wall" AM_INIT_AUTOMAKE($PACKAGE,$VERSION) @@ -35,11 +35,23 @@ AS_COMPILER_FLAG([-fno-strict-aliasing],[PYTHON_QUIET="$PYTHON_QUIET -fno-strict AS_COMPILER_FLAG([-Wno-unused-function],[PYTHON_QUIET="$PYTHON_QUIET -Wno-unused-function"], true ) AC_SUBST(PYTHON_QUIET) -AC_PATH_PROG(JW_PATH, jw, no) -if test x$JW_PATH = xno ; then - AC_MSG_WARN([docbook-tools (jw) not found, disabling documentation]) +AC_PATH_PROG(DOCBOOK2MAN, docbook2man, no) +if test x$DOCBOOK2MAN = xno ; then + AC_MSG_WARN([docbook2man not found, disabling documentation]) fi -AM_CONDITIONAL(HAVE_DOCBOOK, [test "x$JW_PATH" != xno]) +AM_CONDITIONAL(HAVE_DOCBOOK2MAN, [test "x$DOCBOOK2MAN" != xno]) + +AC_PATH_PROG(DOCBOOK2PDF, docbook2pdf, no) +if test x$DOCBOOK2PDF = xno ; then + AC_MSG_WARN([docbook2pdf not found, disabling documentation]) +fi +AM_CONDITIONAL(HAVE_DOCBOOK2PDF, [test "x$DOCBOOK2PDF" != xno]) + +AC_PATH_PROG(DOCBOOK2HTML, docbook2html, no) +if test x$DOCBOOK2HTML = xno ; then + AC_MSG_WARN([docbook2html not found, disabling documentation]) +fi +AM_CONDITIONAL(HAVE_DOCBOOK2HTML, [test "x$DOCBOOK2HTML" != xno]) AC_CONFIG_FILES( @@ -47,6 +59,8 @@ Makefile comedi_calibrate/Makefile comedi_config/Makefile doc/Makefile +doc/html/Makefile +doc/man/Makefile demo/Makefile include/Makefile lib/Makefile