1.1 --- a/configure.in Sat Jul 31 11:16:44 2010 +1000
1.2 +++ b/configure.in Fri Sep 17 20:04:02 2010 +1000
1.4 AC_CHECK_FUNC(gdk_x11_display_get_xdisplay, [
1.6 AC_DEFINE([HAVE_GTK_X11],1,[Building with GTK+X11]) ], [])
1.7 + dnl Add -lX11 explicitly as some pkg-configs get it wrong
1.8 + GTK_LIBS="$GTK_LIBS -lX11"
1.10 AC_CHECK_FUNC(gdk_quartz_window_get_nsview, [
1.12 AC_DEFINE([HAVE_GTK_OSX],1,[Building with GTK+Cocoa]) ], [])
1.13 + if test "x$HAVE_GTK_X11$HAVE_GTK_OSX" = "x"; then
1.14 + AC_MSG_FAILURE( [Unable to identify GTK platform] )
1.18 AM_CONDITIONAL(GUI_GTK, [test "$HAVE_GTK" = 'yes'])