summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Persch <chpe@gnome.org>2012-08-19 19:25:05 +0200
committerChristian Persch <chpe@gnome.org>2012-08-19 19:27:17 +0200
commite0763e1466d899191ca8bf77441070139ace7e18 (patch)
tree13583be4920261d145000a9b1327288bbbf573ca
parentfb068f190f71a52fbc7aff2d9e5118c32af9e179 (diff)
downloadgnome-common-e0763e1466d899191ca8bf77441070139ace7e18.tar.gz
Revert "Trace AC_CONFIG_SUBDIRS with autoconf"
This reverts commit 646fa962712313aadacaaf58c8fd5dd57edc5882. The change broke calling autogen from outside the source directory.
-rw-r--r--macros2/gnome-autogen.sh19
1 files changed, 1 insertions, 18 deletions
diff --git a/macros2/gnome-autogen.sh b/macros2/gnome-autogen.sh
index de36d60..845bbc8 100644
--- a/macros2/gnome-autogen.sh
+++ b/macros2/gnome-autogen.sh
@@ -265,24 +265,7 @@ want_gtk_doc=false
want_gnome_doc_utils=false
want_maintainer_mode=false
-find_configure_files() {
- configure_ac=
- if test -f "$1/configure.ac"; then
- configure_ac="$1/configure.ac"
- elif test -f "$1/configure.in"; then
- configure_ac="$1/configure.in"
- fi
- if test "x$configure_ac" != x; then
- echo "$configure_ac"
- # TODO We have not detected the right autoconf yet!
- autoconf -t 'AC_CONFIG_SUBDIRS:$1' "$configure_ac" | while read dir; do
- find_configure_files "$1/$dir"
- done
- fi
-}
-
-configure_files="`find_configure_files .`"
-
+configure_files="`find $srcdir -name '{arch}' -prune -o -name '_darcs' -prune -o -name '.??*' -prune -o -name configure.ac -print -o -name configure.in -print`"
for configure_ac in $configure_files; do
dirname=`dirname $configure_ac`
if [ -f $dirname/NO-AUTO-GEN ]; then