[aisleriot] build: Don't fail configure if gconf macros are not installed



commit e5d9a75450c8c254436106deed10b9b1c5dd902e
Author: Christian Persch <chpe gnome org>
Date:   Sun Feb 14 10:50:57 2016 +0100

    build: Don't fail configure if gconf macros are not installed
    
    https://bugzilla.gnome.org/show_bug.cgi?id=701754

 configure.ac |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 4780f56..2f4df39 100644
--- a/configure.ac
+++ b/configure.ac
@@ -304,8 +304,13 @@ GLIB_GSETTINGS
 
 # Check for GNOME modules
 
-AM_GCONF_SOURCE_2
-AC_PATH_PROG([GCONFTOOL],[gconftool-2])
+m4_ifdef([AM_GCONF_SOURCE_2],
+  [AM_GCONF_SOURCE_2
+   AC_PATH_PROG([GCONFTOOL],[gconftool-2])
+  ],
+  [AM_CONDITIONAL([GCONF_SCHEMAS_INSTALL],[false])
+   with_platform=gtk-only]
+)
 
 if test "$with_platform" = "gnome"; then
   PKGS="$PKGS gconf-2.0 >= $GCONF_REQUIRED"


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