summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2014-01-24 13:45:40 +0100
committerStefano Karapetsas <[email protected]>2014-01-24 13:45:40 +0100
commit945fe4ba74e07befe1ef300949773270db87d0ef (patch)
tree2a90c83bfeccf31796e76be1d795fc36bca8297f /configure.ac
parent04caf5f569533871e975aca51164a4fa6065b27f (diff)
downloadmarco-945fe4ba74e07befe1ef300949773270db87d0ef.tar.bz2
marco-945fe4ba74e07befe1ef300949773270db87d0ef.tar.xz
Build marco-theme-viewer only with GTK2
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 5ae9b9f5..2cdee949 100644
--- a/configure.ac
+++ b/configure.ac
@@ -126,6 +126,8 @@ case "$with_gtk" in
CANBERRA_GTK=libcanberra-gtk3
;;
esac
+AM_CONDITIONAL([HAVE_GTK2], [test "x$with_gtk" = "x2.0"])
+AM_CONDITIONAL([HAVE_GTK3], [test "x$with_gtk" = "x3.0"])
GIO_MIN_VERSION=2.25.10
MARCO_PC_MODULES="gtk+-$GTK_API_VERSION >= $GTK_MIN_VERSION gio-2.0 >= $GIO_MIN_VERSION pango >= 1.2.0 $CANBERRA_GTK"