[gnome-terminal] Fix vte pkg-config check on gtk3



commit 7d8a9880996427ac40f2e64b3fd03be31461d6d1
Author: Christian Persch <chpe gnome org>
Date:   Tue Jun 15 16:45:11 2010 +0200

    Fix vte pkg-config check on gtk3

 configure.ac |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 9412ad3..e4436cf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -58,9 +58,11 @@ AC_MSG_RESULT([$with_gtk])
 case "$with_gtk" in
   2.0) GTK_API_VERSION=2.0
        GTK_REQUIRED=2.18.0
+       VTE_PC_VERSION=
        ;;
   3.0) GTK_API_VERSION=3.0
        GTK_REQUIRED=2.90.0
+       VTE_PC_VERSION=-2.90
        ;;
 esac
 
@@ -72,7 +74,7 @@ case "$GDK_TARGET" in
 esac
 
 PKG_CHECK_MODULES([TERM],
-  [vte >= $VTE_REQUIRED
+  [vte$VTE_PC_VERSION >= $VTE_REQUIRED
    glib-2.0 >= $GLIB_REQUIRED
    gthread-2.0
    gio-2.0 >= $GIO_REQUIRED



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