Index: configure.ac =================================================================== RCS file: /cvsroot/gaim/gaim/configure.ac,v retrieving revision 1.268 diff -u -p -r1.268 configure.ac --- configure.ac 8 Aug 2004 03:39:26 -0000 1.268 +++ configure.ac 16 Aug 2004 15:44:07 -0000 @@ -989,6 +989,15 @@ if test "$enable_gtkspell" = yes ; then fi fi +PKG_CHECK_MODULES(COMPOSITEEXT, compositeext, +[ + AC_DEFINE(HAVE_COMPOSITEEXT, 1, [Define if the Composite extension exists.]) + enable_compositeext=yes +], +[ + enable_compositeext=no +]) + if test "$enable_nas" = yes ; then AC_DEFINE(USE_NAS_AUDIO, 1, [Define if we have NAS sound support.]) SOUND_LIBS="$SOUND_LIBS -laudio -lXt" Index: src/gtkblist.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/gtkblist.c,v retrieving revision 1.160 diff -u -p -r1.160 gtkblist.c --- src/gtkblist.c 15 Aug 2004 19:34:15 -0000 1.160 +++ src/gtkblist.c 16 Aug 2004 15:44:07 -0000 @@ -56,7 +56,7 @@ #include #include -#if (GTK_CHECK_VERSION(2,2,0) && !(defined(__APPLE__) && defined(__MACH__))) +#if (GTK_CHECK_VERSION(2,2,0) && !(defined(__APPLE__) && defined(__MACH__)) && !HAVE_COMPOSITE_EXT) #define WANT_DROP_SHADOW #endif