Index: macros2/gnome-autogen.sh
===================================================================
RCS file: /cvs/gnome/gnome-common/macros2/gnome-autogen.sh,v
retrieving revision 1.29
diff -U5 -p -r1.29 gnome-autogen.sh
--- macros2/gnome-autogen.sh	20 Oct 2006 13:48:21 -0000	1.29
+++ macros2/gnome-autogen.sh	19 Nov 2006 22:22:16 -0000
@@ -249,11 +249,16 @@ want_glib_gettext=false
 want_intltool=false
 want_pkg_config=false
 want_gtk_doc=false
 want_gnome_doc_utils=false
 
-configure_files="`find $srcdir -name '{arch}' -prune -o -name '_darcs' -prune -o -name '.??*' -prune -o -name configure.ac -print -o -name configure.in -print`"
+if [ -z "$CONFIGURE_FILES" ]; then
+  configure_files="`find $srcdir -name '{arch}' -prune -o -name '_darcs' -prune -o -name '.??*' -prune -o -name configure.ac -print -o -name configure.in -print`"
+else
+  configure_files="$CONFIGURE_FILES"
+fi
+
 for configure_ac in $configure_files; do
     if grep "^A[CM]_PROG_LIBTOOL" $configure_ac >/dev/null ||
        grep "^LT_INIT" $configure_ac >/dev/null; then
 	want_libtool=true
     fi
