diff options
author | Soeren Sandmann <sandmann@daimi.au.dk> | 2004-07-18 15:14:05 +0000 |
---|---|---|
committer | Søren Sandmann Pedersen <ssp@src.gnome.org> | 2004-07-18 15:14:05 +0000 |
commit | 19523008962b2e7ab6fa3580169241ba034f87e5 (patch) | |
tree | 83a13e9513ff2ddfe82831e1dc0ec7adc408c016 /configure.in | |
parent | 3ef03cd68c385f913c9dba69ed209ce6aeaf3a4f (diff) | |
download | gtk+-19523008962b2e7ab6fa3580169241ba034f87e5.tar.gz |
Create an empty target list if targets is NULL.
Sun Jul 18 15:28:24 2004 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtkdnd.c (gtk_drag_source_set, gtk_drag_dest_set): Create an
empty target list if targets is NULL.
* configure.in: Add check for X11/extensions/sync.h. (#147416,
Morten Welinder)
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/configure.in b/configure.in index c011f343a2..b485ca91c5 100644 --- a/configure.in +++ b/configure.in @@ -1210,9 +1210,11 @@ if test "x$gdktarget" = "xx11"; then # X SYNC check AC_CHECK_LIB(Xext, XSyncQueryExtension, - [GTK_ADD_LIB(x_extra_libs,Xext) - AC_DEFINE([HAVE_XSYNC], [], [Have SYNC extension])], - ,$x_libs_for_checks) + [AC_CHECK_HEADER(X11/extensions/sync.h, + [GTK_ADD_LIB(x_extra_libs, Xext) + AC_DEFINE(HAVE_XSYNC, 1, Have the SYNC extension library)], + :, [#include <X11/Xlib.h>])], : , + $X_LIBS -lXext -lX11 $X_EXTRA_LIBS) # Checks for XFixes extension |