[Xfce4-commits] <xfce4-panel:master> Fail when compiling with --enable-gen-doc, but checks failed.
Nick Schermer
noreply at xfce.org
Sun Mar 7 15:12:01 CET 2010
Updating branch refs/heads/master
to 1d006afc7ce4c38eadf75c4e5b1ae01539289a04 (commit)
from 99127d1d3cd31ba138c0f94ccd35a92c8163f936 (commit)
commit 1d006afc7ce4c38eadf75c4e5b1ae01539289a04
Author: Nick Schermer <nick at xfce.org>
Date: Sun Mar 7 15:09:11 2010 +0100
Fail when compiling with --enable-gen-doc, but checks failed.
Also improve the configure output if there are html docs
supplied in the package.
configure.ac.in | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
diff --git a/configure.ac.in b/configure.ac.in
index 7395883..7690abe 100644
--- a/configure.ac.in
+++ b/configure.ac.in
@@ -145,6 +145,10 @@ if test x"$enable_gen_doc" = x"yes"; then
[
enable_gen_doc=no
])
+
+ if test x"$enable_gen_doc" = x"no"; then
+ AC_MSG_ERROR([Compiling with --enable-gen-doc but no suitable gnome-doc-utils found.])
+ fi
fi
AM_CONDITIONAL([GENERATE_DOCUMENTATION], [test x"$enable_gen_doc" = x"yes"])
@@ -261,5 +265,11 @@ echo "Build Configuration:"
echo
echo "* Debug Support: $enable_debug"
echo "* GNU Visibility: $have_gnuc_visibility"
-echo "* Generate Documentation: $enable_gen_doc"
+if test x"$enable_gen_doc" = x"yes"; then
+echo "* Documentation: yes (generate)"
+elif test -d "${srcdir}/docs/manual/html"; then
+echo "* Documentation: yes (in tarball)"
+else
+echo "* Documentation: no"
+fi
echo
More information about the Xfce4-commits
mailing list