[jhbuild] autogen.sh: check if gnome-doc-prepare is installed (GNOME 664231)
- From: Craig Keogh <cskeogh src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [jhbuild] autogen.sh: check if gnome-doc-prepare is installed (GNOME 664231)
- Date: Fri, 18 Nov 2011 10:01:27 +0000 (UTC)
commit bdbccacd60089845b817b483a0efed1f94975138
Author: Craig Keogh <cskeogh adam com au>
Date: Fri Nov 18 20:23:34 2011 +1030
autogen.sh: check if gnome-doc-prepare is installed (GNOME 664231)
If gnome-doc-prepare is not installed, configure without autotools
autogen.sh | 13 +++++++++++--
1 files changed, 11 insertions(+), 2 deletions(-)
---
diff --git a/autogen.sh b/autogen.sh
index 42a770b..89a8e71 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -191,14 +191,19 @@ fi
hash gnome-autogen.sh 2>&-
gnome_autogen_available=$?
-# Check gnome-doc-tool package is installed.
+# Check gnome-doc-tool is installed.
hash gnome-doc-tool 2>&-
gnome_doc_tool_available=$?
+# Check gnome-doc-prepare is installed.
+hash gnome-doc-prepare 2>&-
+gnome_doc_prepare_available=$?
+
parse_commandline $*
if [ $gnome_autogen_available -eq 0 -a \
$gnome_doc_tool_available -eq 0 -a \
+ $gnome_doc_prepare_available -eq 0 -a \
$enable_autotools -eq 1 ]; then
configure_with_autotools $*
else
@@ -206,7 +211,11 @@ else
gettext "gnome-autogen.sh not available"; echo
fi
if [ $gnome_doc_tool_available -ne 0 ]; then
- gettext "gnome-doc-tools not available"; echo
+ gettext "gnome-doc-tool not available"; echo
+ elif [ $gnome_doc_prepare_available -ne 0 ]; then
+ # OpenSuSe splits gnome-doc-prepare into separate gnome-doc-utils-devel
+ # package
+ gettext "gnome-doc-prepare not available"; echo
fi
configure_without_autotools
fi
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]