[gnome-games] build: Just disable the PackageKit integration on non-LSB distros



commit c913fd5ac74615a24dcd9707f6fcc139f9cd7cb2
Author: Christian Persch <chpe gnome org>
Date:   Tue May 25 21:13:38 2010 +0200

    build: Just disable the PackageKit integration on non-LSB distros
    
    No PackageKit goodness for crappy distros!
    
    Bug #619621.

 configure.in |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/configure.in b/configure.in
index 0263168..c4ea6f5 100644
--- a/configure.in
+++ b/configure.in
@@ -549,7 +549,8 @@ PKG_CHECK_MODULES([GIO],[gio-2.0 >= $GIO_REQUIRED],
   AC_SUBST([GLIB_COMPILE_SCHEMAS],["$($PKG_CONFIG --variable glib_compile_schemas gio-2.0)]")
 
   if test -z "$LSB_DISTRIBUTOR" -o -z "$LSB_DISTRIBUTION"; then
-    AC_MSG_ERROR([couldn't determine the distribution information using lsb_release])
+    AC_MSG_WARN([couldn't determine the distribution information using lsb_release; PackageKit integration disabled])
+    have_gio_2_26=no
   fi
 ],[
   have_gio_2_26=no



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