summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorElias Aebi <[email protected]>2013-11-30 14:54:52 +0100
committerElias Aebi <[email protected]>2013-11-30 14:54:52 +0100
commit225f4493f47f035d706309f715d049789cbfb2c3 (patch)
treee0a17c1a65374c03a8cb3ab5442b684cd63fefb4 /configure.ac
parenteaa7cd921ab30dcf38bb29e71fae22f3970515c0 (diff)
downloadeom-225f4493f47f035d706309f715d049789cbfb2c3.tar.bz2
eom-225f4493f47f035d706309f715d049789cbfb2c3.tar.xz
improve the GTK3 support
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 9163fdc..eade83b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -98,9 +98,11 @@ AC_MSG_RESULT([$with_gtk])
case "$with_gtk" in
2.0) GTK_API_VERSION=2.0
GTK_REQUIRED=2.18.0
+ GTK_PRINT_REQUIRED=2.10.0
;;
3.0) GTK_API_VERSION=3.0
GTK_REQUIRED=3.0.0
+ GTK_PRINT_REQUIRED=3.0.0
;;
esac
@@ -108,7 +110,6 @@ GLIB_REQUIRED=2.25.9
GIO_REQUIRED=2.25.9
MATE_DESKTOP_REQUIRED=1.5.0
GDKPIXBUF_REQUIRED=2.4.0
-GTK_PRINT_REQUIRED=2.10.0
MATE_ICON_THEME_REQUIRED=1.1.0
SHARED_MIME_INFO_REQUIRED=0.20
EXEMPI_REQUIRED=1.99.5
@@ -122,7 +123,7 @@ EOM_MODULES="gtk+-$GTK_API_VERSION >= $GTK_REQUIRED \
mate-desktop-2.0 >= $MATE_DESKTOP_REQUIRED \
gdk-pixbuf-2.0 >= $GDKPIXBUF_REQUIRED \
gio-2.0 >= $GIO_REQUIRED \
- gtk+-unix-print-2.0 >= $GTK_PRINT_REQUIRED \
+ gtk+-unix-print-$GTK_API_VERSION >= $GTK_PRINT_REQUIRED \
mate-icon-theme >= $MATE_ICON_THEME_REQUIRED \
shared-mime-info >= $SHARED_MIME_INFO_REQUIRED"