summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorPerberos <[email protected]>2011-12-08 12:58:23 -0300
committerPerberos <[email protected]>2011-12-08 12:58:23 -0300
commit46a8d42095a30a1b62b7f24658f4886941b54800 (patch)
tree9862712c41c8187f74f6e1c7786eaf679a51571c /configure.in
parent731006ad7b3c6c47a52b8ef16e29e2d5ea9e1ea5 (diff)
downloadlibmatekbd-46a8d42095a30a1b62b7f24658f4886941b54800.tar.bz2
libmatekbd-46a8d42095a30a1b62b7f24658f4886941b54800.tar.xz
GDK_ key constants was renamed to GDK_KEY_ on GTK+-3.0
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index 2a1609d..3a2f439 100644
--- a/configure.in
+++ b/configure.in
@@ -36,9 +36,11 @@ AC_MSG_RESULT([$with_gtk])
case "$with_gtk" in
2.0) GTK_API_VERSION=2.0
GTK_REQUIRED=2.18
+ GDK_REQUIRED=2.18
;;
3.0) GTK_API_VERSION=3.0
GTK_REQUIRED=3.0.0
+ GDK_REQUIRED=3.0
;;
esac
@@ -47,7 +49,7 @@ dnl *** Minimum library versions for libmatekbd ***
dnl ***************************************************************************
GLIB_REQUIRED=2.18
MATECONF_REQUIRED=2.14.0
-GDK_REQUIRED=2.18
+
LIBXKLAVIER_REQUIRED=5.0
AC_SUBST([MATECONF_REQUIRED])
@@ -91,7 +93,7 @@ PKG_CHECK_MODULES(MATECONF, mateconf-2.0 >= $MATECONF_REQUIRED)
AC_SUBST(MATECONF_CFLAGS)
AC_SUBST(MATECONF_LIBS)
-PKG_CHECK_MODULES(GDK, gdk-2.0 >= $GDK_REQUIRED)
+PKG_CHECK_MODULES(GDK, gdk-$GTK_API_VERSION >= $GDK_REQUIRED)
AC_SUBST(GDK_CFLAGS)
AC_SUBST(GDK_LIBS)