[Xfce4-commits] <thunar:master> bort when compiling with --enable-gen-doc and missing deps.
Nick Schermer
noreply at xfce.org
Sun Mar 7 15:18:01 CET 2010
Updating branch refs/heads/master
to 8a5d3098ec8c68c3984faee1305e8f9f8059500f (commit)
from 9ff2626c35209dcab2bd308e0153990679324ad2 (commit)
commit 8a5d3098ec8c68c3984faee1305e8f9f8059500f
Author: Nick Schermer <nick at xfce.org>
Date: Sun Mar 7 15:16:20 2010 +0100
bort when compiling with --enable-gen-doc and missing deps.
configure.in.in | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
diff --git a/configure.in.in b/configure.in.in
index b4fc97e..5e6ff69 100644
--- a/configure.in.in
+++ b/configure.in.in
@@ -196,6 +196,10 @@ if test x"$enable_gen_doc" = x"yes"; then
if test x"$XML2PO" = x"no"; then
enable_gen_doc=no
fi
+
+ if test x"$enable_gen_doc" = x"no"; then
+ AC_MSG_ERROR([Compiling with --enable-gen-doc but one of xml2po, xsltproc or xmllint not found.])
+ fi
fi
AM_CONDITIONAL([GENERATE_DOCUMENTATION], [test x"$enable_gen_doc" = x"yes"])
@@ -303,7 +307,13 @@ else
echo "* Startup Notification: no"
fi
echo "* Debug Support: $enable_debug"
-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
echo "Additional Plugins:"
echo
More information about the Xfce4-commits
mailing list