Make the test for the sync extension more robust. (#347315, Tommi

2006-07-16  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Make the test for the sync extension
	more robust.  (#347315, Tommi Komulainen)
This commit is contained in:
Matthias Clasen 2006-07-17 02:57:44 +00:00 committed by Matthias Clasen
parent c48afeca8a
commit 74dc7e5a01
3 changed files with 20 additions and 0 deletions

View File

@ -1,3 +1,11 @@
2006-07-16 Matthias Clasen <mclasen@redhat.com>
* configure.in: Make the test for the sync extension
more robust. (#347315, Tommi Komulainen)
* gtk/gtktextiter.c: Declare GtkTextRealIter as a type that
may alias. (#347585, Ed Catmur)
2006-07-13 Michael Emmel <mike.emmel@gmail.com>
* gdk/directfb/gdkdrawable-directfb.c

View File

@ -1,3 +1,11 @@
2006-07-16 Matthias Clasen <mclasen@redhat.com>
* configure.in: Make the test for the sync extension
more robust. (#347315, Tommi Komulainen)
* gtk/gtktextiter.c: Declare GtkTextRealIter as a type that
may alias. (#347585, Ed Catmur)
2006-07-13 Michael Emmel <mike.emmel@gmail.com>
* gdk/directfb/gdkdrawable-directfb.c

View File

@ -1192,12 +1192,16 @@ if test "x$gdktarget" = "xx11"; then
AC_DEFINE(HAVE_SHAPE_EXT))
# X SYNC check
gtk_save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $x_cflags"
AC_CHECK_FUNC(XSyncQueryExtension,
[AC_CHECK_HEADER(X11/extensions/sync.h,
AC_DEFINE(HAVE_XSYNC, 1, Have the SYNC extension library),
:, [#include <X11/Xlib.h>])])
CFLAGS="$gtk_save_CFLAGS"
# Xshm checks
if test "x$enable_shm" = "xyes"; then