- added configure option: --disable-doc
This commit is contained in:
parent
61ff15fa21
commit
1ca2e8ac16
@ -2,6 +2,7 @@
|
|||||||
=====
|
=====
|
||||||
28-Feb-2009: - make install: install docu as well
|
28-Feb-2009: - make install: install docu as well
|
||||||
- properly handle some "--disable-*" configure options
|
- properly handle some "--disable-*" configure options
|
||||||
|
- added configure option: --disable-doc
|
||||||
22-Feb-2009: - Reworked handling of plugin mechanism (libltdl "static"
|
22-Feb-2009: - Reworked handling of plugin mechanism (libltdl "static"
|
||||||
inclusion of plugins should work now). Building under
|
inclusion of plugins should work now). Building under
|
||||||
Windows (with Cygwin) does work (build with
|
Windows (with Cygwin) does work (build with
|
||||||
|
|||||||
30
configure.in
30
configure.in
@ -136,6 +136,33 @@ for each in $extra_libs; do
|
|||||||
done
|
done
|
||||||
|
|
||||||
|
|
||||||
|
dnl **********************************************
|
||||||
|
dnl * Building doc
|
||||||
|
dnl **********************************************
|
||||||
|
|
||||||
|
dnl
|
||||||
|
dnl --enable-doc
|
||||||
|
dnl
|
||||||
|
|
||||||
|
build_docs="yes";
|
||||||
|
AC_MSG_CHECKING(build documentation)
|
||||||
|
AC_ARG_ENABLE(doc,
|
||||||
|
[ --disable-doc build pdf/html doc (default=enabled)],
|
||||||
|
if test "x$enableval" = "xno"; then
|
||||||
|
build_docs="no";
|
||||||
|
fi
|
||||||
|
AC_MSG_RESULT($build_docs), AC_MSG_RESULT($build_docs))
|
||||||
|
if test "x$build_docs" = "xyes"; then
|
||||||
|
AC_CHECK_PROG(docbook2pdf,docbook2pdf,yes,)
|
||||||
|
AM_CONDITIONAL(have_docbook2pdf,test "$docbook2pdf" = "yes")
|
||||||
|
AC_CHECK_PROG(docbook2html,docbook2html,yes,)
|
||||||
|
AM_CONDITIONAL(have_docbook2html,test "$docbook2html" = "yes")
|
||||||
|
else
|
||||||
|
AM_CONDITIONAL(have_docbook2pdf,false)
|
||||||
|
AM_CONDITIONAL(have_docbook2html,false)
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
dnl **********************************************
|
dnl **********************************************
|
||||||
dnl * Selection of static build variants
|
dnl * Selection of static build variants
|
||||||
dnl **********************************************
|
dnl **********************************************
|
||||||
@ -154,9 +181,10 @@ dnl
|
|||||||
dnl **********************************************
|
dnl **********************************************
|
||||||
dnl * Debugging helps
|
dnl * Debugging helps
|
||||||
dnl **********************************************
|
dnl **********************************************
|
||||||
|
|
||||||
dnl
|
dnl
|
||||||
dnl add
|
|
||||||
dnl --enable-dmalloc
|
dnl --enable-dmalloc
|
||||||
|
dnl
|
||||||
AC_MSG_CHECKING(building with DMALLOC support)
|
AC_MSG_CHECKING(building with DMALLOC support)
|
||||||
AC_ARG_ENABLE(dmalloc,
|
AC_ARG_ENABLE(dmalloc,
|
||||||
[ --enable-dmalloc build with DMALLOC support],
|
[ --enable-dmalloc build with DMALLOC support],
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user