aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2013-02-22 08:40:30 -0600
committerAnthony Liguori <aliguori@us.ibm.com>2013-02-22 09:53:56 -0600
commit5cbb08283789caf7dbfd0890dcff47124ad766c2 (patch)
tree33431eb95136161ccc1936fd3d88d3b9c28505a5
parent82fb0c8908ccbf775be749be9eb3fc0a5813ceaa (diff)
downloadqemu-5cbb08283789caf7dbfd0890dcff47124ad766c2.zip
qemu-5cbb08283789caf7dbfd0890dcff47124ad766c2.tar.gz
qemu-5cbb08283789caf7dbfd0890dcff47124ad766c2.tar.bz2
ui/gtk: require at least GTK 2.18 and VTE 0.26
This gives us the bare amount of features we need. We can add work arounds for older versions and lower the requirement but this should be a good starting point. Suggested-by: Daniel Berrange <berrange@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> --- v1 -> v2 - tremendous simplification suggested by danpb
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 0dadd31..0eb25dd 100755
--- a/configure
+++ b/configure
@@ -1644,8 +1644,8 @@ fi
# GTK probe
if test "$gtk" != "no"; then
- if $pkg_config gtk+-2.0 --modversion >/dev/null 2>/dev/null && \
- $pkg_config vte --modversion >/dev/null 2>/dev/null; then
+ if $pkg_config --exists 'gtk+-2.0 >= 2.18.0' && \
+ $pkg_config --exists 'vte >= 0.26.0'; then
gtk_cflags=`$pkg_config --cflags gtk+-2.0 2>/dev/null`
gtk_libs=`$pkg_config --libs gtk+-2.0 2>/dev/null`
vte_cflags=`$pkg_config --cflags vte 2>/dev/null`