
$FreeBSD: ports/x11/gnomecore/files/patch-configure,v 1.3 2002/06/10 15:09:58 sobomax Exp $

--- configure.orig	Mon Jun 10 15:26:35 2002
+++ configure	Mon Jun 10 15:27:34 2002
@@ -5723,6 +5723,7 @@
 
 # This can be used to rebuild libtool when needed
 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
+$ac_aux_dir/ltconfig $LIBTOOL_DEPS
 
 # Always use our own libtool.
 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
@@ -9299,7 +9300,7 @@
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   ac_save_LIBS="$LIBS"
-LIBS="-lXinerama $GTK_LIBS $LIBS"
+LIBS="-lXinerama -lXext $GTK_LIBS $LIBS"
 cat > conftest.$ac_ext <<EOF
 #line 9305 "configure"
 #include "confdefs.h"
@@ -9332,7 +9333,7 @@
 #define HAVE_LIBXINERAMA 1
 EOF
 
-		     	XINERAMA_LIBS="-lXinerama"
+		     	XINERAMA_LIBS="-lXinerama -lXext"
 		     	XINERAMA_SUPPORT=yes
 else
   echo "$ac_t""no" 1>&6
