[gnome-characters] build: Check gperf in autogen.sh



commit 980cde5d99fefe1002024583393835489347694b
Author: Anders Jonsson <anders jonsson norsjovallen se>
Date:   Sat Aug 1 09:02:44 2015 +0900

    build: Check gperf in autogen.sh
    
    https://bugzilla.gnome.org/show_bug.cgi?id=753113

 autogen.sh |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/autogen.sh b/autogen.sh
index 87ee94f..b352eec 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -18,6 +18,13 @@ which gnome-autogen.sh || {
     exit 1
 }
 
+# gllib/unictype contains gperf generated source code
+: ${GPERF=gperf}
+"$GPERF" --version 2>&1 >/dev/null || {
+    echo "You need to install gperf."
+    exit 1
+}
+
 (cd "$srcdir" ;
 test -d m4 || mkdir m4/ ;
 git submodule update --init --recursive ;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]