Fix checking for GTK+ 3.0 in configure.

Update gtk-3.0.m4 to work correctly with gthread module and regenerate
configure using the new version of this file.

Closes #15319.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2013-07-10 20:48:48 +00:00
parent 46629a0a1c
commit 497b4e64ce
2 changed files with 11 additions and 9 deletions

9
configure vendored
View File

@@ -23646,12 +23646,14 @@ else
fi
pkg_config_args=gtk+-3.0
pkg_gtk_version=gtk+-3.0
pkg_config_args=$pkg_gtk_version
for module in . $GTK_MODULES
do
case "$module" in
gthread)
pkg_config_args="$pkg_config_args gthread-2.0"
pkg_gthread_version=gthread-2.0
pkg_config_args="$pkg_config_args $pkg_gthread_version"
;;
esac
done
@@ -23722,8 +23724,7 @@ $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
enable_gtktest=no
fi
if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_gtk_version ; then
:
else
no_gtk=yes