[vte] Update gladeui for glade 4.0 (3.9.x)
- From: Maciej Marcin Piechotka <mpiechotka src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vte] Update gladeui for glade 4.0 (3.9.x)
- Date: Sun, 27 Feb 2011 17:38:19 +0000 (UTC)
commit 227fc807a536041178696c5d8cdccfb416d3c67a
Author: Maciej Piechotka <uzytkownik2 gmail com>
Date: Sun Feb 13 15:43:55 2011 +0000
Update gladeui for glade 4.0 (3.9.x)
configure.in | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/configure.in b/configure.in
index a35eda1..b2f3697 100644
--- a/configure.in
+++ b/configure.in
@@ -57,6 +57,7 @@ case "$with_gtk" in
VTE_SEAL_CFLAGS=
GTK_API_VERSION=2.0
GTK_REQUIRED=2.20.0
+ GLADE_API_VERSION=1.0
;;
3.0) VTE_API_VERSION=2.90
VTE_API_MAJOR_VERSION=2
@@ -66,6 +67,7 @@ case "$with_gtk" in
VTE_SEAL_CFLAGS="-DVTE_SEAL_ENABLE"
GTK_API_VERSION=3.0
GTK_REQUIRED=3.0.0
+ GLADE_API_VERSION=2.0
;;
esac
@@ -540,12 +542,12 @@ AC_ARG_ENABLE([glade-catalogue],
AC_MSG_RESULT([$enable_glade_catalogue])
if test "$enable_glade_catalogue" = "yes"; then
- GLADE_CATALOGUE_DIR="$($PKG_CONFIG --variable=catalogdir gladeui-1.0)"
- GLADE_ICON_DIR="$($PKG_CONFIG --variable=pixmapdir gladeui-1.0)"
- GLADE_MODULE_DIR="$($PKG_CONFIG --variable=moduledir gladeui-1.0)"
+ GLADE_CATALOGUE_DIR="$($PKG_CONFIG --variable=catalogdir gladeui-$GLADE_API_VERSION)"
+ GLADE_ICON_DIR="$($PKG_CONFIG --variable=pixmapdir gladeui-$GLADE_API_VERSION)"
+ GLADE_MODULE_DIR="$($PKG_CONFIG --variable=moduledir gladeui-$GLADE_API_VERSION)"
if test -z "$GLADE_CATALOGUE_DIR" -o -z "$GLADE_MODULE_DIR"; then
- AC_MSG_ERROR([gladeui-1.0 not found])
+ AC_MSG_ERROR([gladeui-$GLADE_API_VERSION not found])
fi
AC_SUBST([GLADE_CATALOGUE_DIR])
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]