[gnome-control-center] build: Make iso-codes a hard-dependency



commit 6d04352c1fb07ef3b5b63b23e56ac51bbaa43105
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Feb 3 14:02:11 2011 +0000

    build: Make iso-codes a hard-dependency
    
    Otherwise the region panel, and the user-accounts panel would
    crash on startup, or when showing a list of languages.

 configure.ac |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 65fc2f1..79a0456 100644
--- a/configure.ac
+++ b/configure.ac
@@ -133,6 +133,9 @@ if test x$have_cheese = xyes ; then
         AC_DEFINE(HAVE_CHEESE, 1, [Define to 1 to enable cheese webcam support])
 fi
 
+# This is a hard-dependency for the region and user-accounts panels
+PKG_CHECK_MODULES(ISOCODES, iso-codes)
+
 AC_DEFINE_UNQUOTED([ISO_CODES_PREFIX],["`$PKG_CONFIG --variable=prefix iso-codes`"],[ISO codes prefix])
 ISO_CODES=iso-codes
 



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