[gtksourceview] Fix the check for gladeui-2.0



commit 4452854721b2573d6f55f13aa9fe8ca89e083563
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Mon May 13 17:26:02 2013 +0200

    Fix the check for gladeui-2.0
    
    When we add the option --enable-glade-catalog, but gladeui-2.0 is not
    installed, there was no errors.

 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index ec2b0d9..c653cb8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -141,7 +141,7 @@ AC_ARG_ENABLE([glade-catalog],
 AM_CONDITIONAL([GLADE_CATALOG], [ test "$glade_catalog" = "yes" ])
 
 AS_IF([ test "$glade_catalog" = "yes" ],
-       [PKG_CHECK_EXISTS(GLADE, [gladeui-2.0 >= $GLADE_UI_REQUIRED])
+       [PKG_CHECK_MODULES(GLADE, [gladeui-2.0 >= $GLADE_UI_REQUIRED])
         AC_MSG_CHECKING([for Glade catalog dir])
         GLADE_CATALOG_DIR=`$PKG_CONFIG --variable=catalogdir gladeui-2.0 2>&AS_MESSAGE_LOG_FD`
         AC_MSG_RESULT([$GLADE_CATALOG_DIR])


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