summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2013-11-30 13:49:54 -0800
committerStefano Karapetsas <[email protected]>2013-11-30 13:49:54 -0800
commit49a08abd4e47acea66d5588b8141703ddb31f22e (patch)
treeb20e6bee1dceb8271fd1eb74e1dd2ea746c734bb /configure.ac
parent0de8bb6132dc03846dd2b5dbc24faef7f1b917b4 (diff)
parent225f4493f47f035d706309f715d049789cbfb2c3 (diff)
downloadeom-49a08abd4e47acea66d5588b8141703ddb31f22e.tar.bz2
eom-49a08abd4e47acea66d5588b8141703ddb31f22e.tar.xz
Merge pull request #32 from eyelash/gtk3
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"