[gnome-games] build: Fix glib-genmarshal --internal check



commit a2bd27f70bb2fd5adcdbcde3241fb47081edd579
Author: Christian Persch <chpe gnome org>
Date:   Wed Jul 8 13:56:28 2009 +0200

    build: Fix glib-genmarshal --internal check
    
    Use pkg-config --exists to check for glib 2.14 instead of just
    hardcoding this for hildon.

 configure.in |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/configure.in b/configure.in
index 887279c..442d249 100644
--- a/configure.in
+++ b/configure.in
@@ -755,11 +755,11 @@ AM_CONDITIONAL([WITH_SMCLIENT_QUARTZ],[test "$with_smclient" = "quartz"])
 
 AC_PATH_PROG([GLIB_GENMARSHAL],[glib-genmarshal])
 
-# Maemo's (OS2007 & OS2008) glib-genmarshal breaks on --internal
-if test "$with_platform" = "hildon"; then
-  GLIB_GENMARSHAL_INTERNAL=
-else
+# glib-genmarshal --internal only exists since 2.14
+if $PKG_CONFIG --exists "glib-2.0 >= 2.14.0" ; then
   GLIB_GENMARSHAL_INTERNAL="--internal"
+else
+  GLIB_GENMARSHAL_INTERNAL=
 fi
 AC_SUBST([GLIB_GENMARSHAL_INTERNAL])
 



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