? macros2/t
Index: macros2/gnome-autogen.sh
===================================================================
RCS file: /cvs/gnome/gnome-common/macros2/gnome-autogen.sh,v
retrieving revision 1.30
diff -U5 -p -r1.30 gnome-autogen.sh
--- macros2/gnome-autogen.sh	1 Dec 2006 12:29:19 -0000	1.30
+++ macros2/gnome-autogen.sh	2 Dec 2006 08:18:00 -0000
@@ -249,11 +249,22 @@ 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_AC_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
+  for configure_ac in $CONFIGURE_AC_FILES; do
+    if [ ! -f $configure_ac ]; then
+      printerr "Removing $configure_ac from CONFIGURE_AC_FILES: it does not exist"
+    else
+      configure_files="$configure_files $configure_ac"
+    fi
+  done
+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
