[gnome-builder] build: check for libappstream-glib-devel during autogen
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] build: check for libappstream-glib-devel during autogen
- Date: Thu, 1 Jan 2015 05:47:00 +0000 (UTC)
commit 382678d52d03cfed06040afde104b7a7c4bed5e3
Author: Christian Hergert <christian hergert me>
Date: Wed Dec 31 21:46:21 2014 -0800
build: check for libappstream-glib-devel during autogen
We need this to check for APPSTREAM_XML. We'll just put this in
autogen.sh so it get's checked before generating bad configure/makefiles.
https://bugzilla.gnome.org/show_bug.cgi?id=742155
autogen.sh | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/autogen.sh b/autogen.sh
index a3262f9..44ac5ea 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -22,6 +22,12 @@ if test -z "${AUTORECONF}"; then
exit 1
fi
+# Check for libappstream-glib-devel so we don't get APPSTREAM_XML_RULES failures.
+if ! pkg-config appstream-glib; then
+ echo "*** libappstream-glib-devel not found, please install it."
+ exit 1
+fi
+
# Generate m4 sub-configure scripts for inclusion by configure.ac.
for group in ac am config lt output print; do
for mode in pre post; do
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]