diff options
author | Pavel Grunt <pgrunt@redhat.com> | 2017-01-11 21:28:23 +0100 |
---|---|---|
committer | Pavel Grunt <pgrunt@redhat.com> | 2017-01-13 09:36:22 +0100 |
commit | 6c882bf7f0279179997ce4357524f6e6c6676e19 (patch) | |
tree | 4afab2da2927af70e79712a46e12eb37ce130357 /configure.ac | |
parent | 8a74deb9ac047808ae2613f49580ba9ceb49f701 (diff) |
Allow to compile with gtk3
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index eb1a88f..cee7ec3 100644 --- a/configure.ac +++ b/configure.ac @@ -8,7 +8,8 @@ PKG_CHECK_MODULES(SHM, xcb-shm) PKG_CHECK_MODULES(UTIL, xcb-util) PKG_CHECK_MODULES(XKB, xcb-xkb) PKG_CHECK_MODULES(XFIXES, xcb-xfixes) -PKG_CHECK_MODULES(GTK2, gtk+-2.0) +PKG_CHECK_EXISTS(gtk+-2.0, GTK_VERSION=2.0, GTK_VERSION=3.0) +PKG_CHECK_MODULES(GTK, gtk+-$GTK_VERSION) PKG_CHECK_MODULES(SPICE, spice-server) PKG_CHECK_MODULES(SPICE_PROTOCOL, spice-protocol) PKG_CHECK_MODULES(GLIB2, glib-2.0) |