]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Always use the newest released copies of files brought in from Automake.
authorBruno Haible <bruno@clisp.org>
Sun, 4 Dec 2016 16:12:24 +0000 (17:12 +0100)
committerBruno Haible <bruno@clisp.org>
Sun, 4 Dec 2016 16:12:24 +0000 (17:12 +0100)
* autogen.sh: Make sure to get new versions of files brought in by automake.

autogen.sh

index f1a13a5b2a4ecda2db2f55f864cc8280d255a9b1..178371a7d3d8d9e95a9b3413c8ff8afb8a85fa74 100755 (executable)
@@ -432,6 +432,9 @@ if ! test -f gettext-tools/misc/archive.dir.tar; then
   test $retval -eq 0 || exit $retval
 fi
 
+## Make sure we get new versions of files brought in by automake.
+#(cd build-aux && rm -f ar-lib compile depcomp install-sh mdate-sh missing test-driver)
+
 # Generate configure script in each subdirectories.
 dir0=`pwd`
 
@@ -498,6 +501,10 @@ aclocal -I m4 -I ../gettext-runtime/m4 -I ../m4 -I gnulib-m4 -I libgrep/gnulib-m
   || exit $?
 cd "$dir0"
 
-aclocal -I m4 && autoconf && touch ChangeLog && automake || exit $?
+aclocal -I m4 \
+  && autoconf \
+  && touch ChangeLog \
+  && automake --add-missing --copy \
+  || exit $?
 
 echo "$0: done.  Now you can run './configure'."