[gir-repository] build: Fix test when building without GTK+



commit 32633b78cd114181b93d843712dfb79fd1b21938
Author: Damien Lespiau <damien lespiau intel com>
Date:   Tue Feb 16 22:59:50 2010 +0100

    build: Fix test when building without GTK+
    
    GIR_CHECK() defines have_$1 where $1 is the first argument given to
    the macro. The check should use $have_Gtk then.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=610205

 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index d98f238..d001e39 100644
--- a/configure.ac
+++ b/configure.ac
@@ -55,7 +55,7 @@ dnl gtk+ - has upstream support since 2.19.2
 GIR_CHECK(Gtk, gtk+-2.0 >= 1.12.0)
 GDK_TARGET=
 GDK_TARGET_GIRS=
-if $have_gtk; then
+if $have_Gtk; then
     PKG_CHECK_MODULES(GDKPIXBUF, gdk-pixbuf-2.0)
     PKG_CHECK_MODULES(GDK, gdk-2.0)
 



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