[Xfce4-commits] <terminal:master> Abort when compiling with --enable-gen-doc but missing deps.

Nick Schermer noreply at xfce.org
Sun Mar 7 15:16:01 CET 2010


Updating branch refs/heads/master
         to dbbd2f0ecea15f0a5360be784d59fe4b71530fbc (commit)
       from 77a67f9d7321b98e6b101b936f42f356516b7890 (commit)

commit dbbd2f0ecea15f0a5360be784d59fe4b71530fbc
Author: Nick Schermer <nick at xfce.org>
Date:   Sun Mar 7 15:13:23 2010 +0100

    Abort when compiling with --enable-gen-doc but missing deps.

 configure.ac.in |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/configure.ac.in b/configure.ac.in
index 6ab37d9..2702782 100644
--- a/configure.ac.in
+++ b/configure.ac.in
@@ -122,6 +122,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"])
 
@@ -199,5 +203,11 @@ else
 echo "* D-Bus support:           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/html"; then
+echo "* Documentation:           yes (in tarball)"
+else
+echo "* Documentation:           no"
+fi
 echo



More information about the Xfce4-commits mailing list