diff options
author | Matthias Clasen <mclasen@redhat.com> | 2006-07-17 02:57:44 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2006-07-17 02:57:44 +0000 |
commit | 74dc7e5a015c5d19b19ea48819f51922cb36dcaa (patch) | |
tree | 4680a0465db01d621d4cf3055107c1294ba5b028 /configure.in | |
parent | c48afeca8a7dcfdd397afbe1b11996af82cbaf9f (diff) | |
download | gtk+-74dc7e5a015c5d19b19ea48819f51922cb36dcaa.tar.gz |
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)
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 5c8eeea4e8..cc25445f15 100644 --- a/configure.in +++ b/configure.in @@ -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 |