]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
build: Revert unneeded change.
authorBruno Haible <bruno@clisp.org>
Sun, 20 Jun 2021 14:06:04 +0000 (16:06 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 20 Jun 2021 14:09:51 +0000 (16:09 +0200)
* autogen.sh: Do the automake invocations bottom-up, as before.

autogen.sh

index 4c8ce9506a5e3408b2ab7b9f0c73e4fcc165f86e..0eccb1a08f193faa970a1b396e1b107bcba6f70e 100755 (executable)
@@ -430,11 +430,6 @@ fi
 # The aclocal and autoconf invocations need to be done bottom-up
 # (subdirs first), so that 'configure --help' shows also the options
 # that matter for the subdirs.
-# The automake invocations need to be done top-down (subdirs last), however,
-# because otherwise the invocation of automake in gettext-runtime/ overwrites
-# gettext-runtime/intl/Makefile.in with one that lists the wrong *.m4 files
-# and thus produces an endless recursion when invoked through 'make'. Seen
-# with automake 1.16.3.
 dir0=`pwd`
 
 echo "$0: generating configure in gettext-runtime/intl..."
@@ -443,6 +438,7 @@ aclocal -I ../../m4 -I ../m4 -I gnulib-m4 \
   && autoconf \
   && autoheader && touch config.h.in \
   && touch ChangeLog \
+  && automake --add-missing --copy \
   && rm -rf autom4te.cache \
   || exit $?
 cd "$dir0"
@@ -453,6 +449,7 @@ aclocal -I ../../m4 -I ../m4 -I gnulib-m4 \
   && autoconf \
   && autoheader && touch config.h.in \
   && touch ChangeLog \
+  && automake --add-missing --copy \
   && rm -rf autom4te.cache \
   || exit $?
 cd "$dir0"
@@ -463,6 +460,7 @@ aclocal -I m4 -I ../m4 -I gnulib-m4 \
   && autoconf \
   && autoheader && touch config.h.in \
   && touch ChangeLog \
+  && automake --add-missing --copy \
   && rm -rf autom4te.cache \
   || exit $?
 cd "$dir0"
@@ -479,6 +477,7 @@ cd gettext-tools/examples
 aclocal -I ../../gettext-runtime/m4 -I ../../m4 \
   && autoconf \
   && touch ChangeLog \
+  && automake --add-missing --copy \
   && rm -rf autom4te.cache \
   || exit $?
 cd "$dir0"
@@ -513,6 +512,7 @@ aclocal -I m4 -I ../gettext-runtime/m4 -I ../m4 -I gnulib-m4 -I libgrep/gnulib-m
   && autoconf \
   && autoheader && touch config.h.in \
   && touch ChangeLog \
+  && automake --add-missing --copy \
   && rm -rf autom4te.cache \
   || exit $?
 cd "$dir0"
@@ -531,39 +531,4 @@ aclocal -I m4 \
             gettext-tools/examples/autom4te.cache \
   || exit $?
 
-echo "$0: generating Makefile.in in gettext-tools..."
-cd gettext-tools
-automake --add-missing --copy \
-  && rm -rf autom4te.cache \
-  || exit $?
-cd "$dir0"
-
-echo "$0: generating Makefile.in in gettext-tools/examples..."
-cd gettext-tools/examples
-automake --add-missing --copy \
-  && rm -rf autom4te.cache \
-  || exit $?
-cd "$dir0"
-
-echo "$0: generating Makefile.in in gettext-runtime..."
-cd gettext-runtime
-automake --add-missing --copy \
-  && rm -rf autom4te.cache \
-  || exit $?
-cd "$dir0"
-
-echo "$0: generating Makefile.in in gettext-runtime/libasprintf..."
-cd gettext-runtime/libasprintf
-automake --add-missing --copy \
-  && rm -rf autom4te.cache \
-  || exit $?
-cd "$dir0"
-
-echo "$0: generating Makefile.in in gettext-runtime/intl..."
-cd gettext-runtime/intl
-automake --add-missing --copy \
-  && rm -rf autom4te.cache \
-  || exit $?
-cd "$dir0"
-
 echo "$0: done.  Now you can run './configure'."