Skip to content

Commit

Permalink
configure: drop vte-2.90 check
Browse files Browse the repository at this point in the history
All currently supported distros have vte 0.37 or newer, which is where the
ABI changed from 2.90 to 2.91.  So drop support for the older ABI.

Suggested-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
  • Loading branch information
bonzini committed Jul 6, 2021
1 parent 48e5c98 commit f08b65b
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions configure
Expand Up @@ -2803,19 +2803,13 @@ fi
# VTE probe

if test "$vte" != "no"; then
vteminversion="0.32.0"
if $pkg_config --exists "vte-2.91"; then
vtepackage="vte-2.91"
else
vtepackage="vte-2.90"
fi
if $pkg_config --exists "$vtepackage >= $vteminversion"; then
vte_cflags=$($pkg_config --cflags $vtepackage)
vte_libs=$($pkg_config --libs $vtepackage)
vteversion=$($pkg_config --modversion $vtepackage)
vte_cflags=$($pkg_config --cflags vte-2.91)
vte_libs=$($pkg_config --libs vte-2.91)
vteversion=$($pkg_config --modversion vte-2.91)
vte="yes"
elif test "$vte" = "yes"; then
feature_not_found "vte" "Install libvte-2.90/2.91 devel"
feature_not_found "vte" "Install libvte-2.91 devel"
else
vte="no"
fi
Expand Down

0 comments on commit f08b65b

Please sign in to comment.