Depend on gtk-x11 explicitly.

Fixes the build on OSX if gtk+-quartz is installed.
This commit is contained in:
Alessandro Decina 2009-10-05 15:28:47 +02:00
parent a789d14f8d
commit e35db71cb8

View file

@ -203,7 +203,7 @@ AC_SUBST(GSTPB_PREFIX)
dnl GTK is optional and used in examples
HAVE_GTK=NO
PKG_CHECK_MODULES(GTK, gtk+-2.0 >= 2.8.0, HAVE_GTK=yes, HAVE_GTK=no)
PKG_CHECK_MODULES(GTK, gtk+-x11-2.0 >= 2.8.0, HAVE_GTK=yes, HAVE_GTK=no)
AM_CONDITIONAL(HAVE_GTK, test "x$HAVE_GTK" = "xyes")
dnl libglade is optional and only used in examples