As suggested by njtaylor0101 [AT] gmail.com: we (always) check for the gthread
module when checking glib so there's no need to check for it when checking GTK.
This prevents us, when configuring with gtk3, for checking for gthread-2.0
version 3.0.0 or later.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@40684
f5534014-38df-0310-8fa8-
9805f1628bb7
pkg_config_args=gtk+-2.0
for module in . $4
do
- case "$module" in
- gthread)
- pkg_config_args="$pkg_config_args gthread-2.0"
- ;;
- esac
+ # No modules to check for now
+ :
done
no_gtk=""
pkg_config_args=gtk+-3.0
for module in . $4
do
- case "$module" in
- gthread)
- pkg_config_args="$pkg_config_args gthread-2.0"
- ;;
- esac
+ # No modules to check for now
+ :
done
no_gtk=""
have_gtk=yes
AC_DEFINE(HAVE_GTK, 1,
[Define to 1 if compiling with GTK])
- ], have_gtk=no, gthread)
+ ], have_gtk=no)
else
AM_PATH_GTK_2_0(2.12.0,
have_gtk=yes
AC_DEFINE(HAVE_GTK, 1,
[Define to 1 if compiling with GTK])
- ], have_gtk=no, gthread)
+ ], have_gtk=no)
fi
else
have_gtk=no