changeset 13752:68e7104b03e2

gnulib-tool: In testdirs, use the newest available config.{guess.sub}. * gnulib-tool (func_create_testdir): Use config.guess and config.sub from gnulib, not from Automake.
author Bruno Haible <bruno@clisp.org>
date Sat, 02 Oct 2010 16:00:39 +0200
parents 0bf7f277a1af
children 3d497ee2707b
files ChangeLog gnulib-tool
diffstat 2 files changed, 11 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-10-02  Bruno Haible  <bruno@clisp.org>
+
+	gnulib-tool: In testdirs, use the newest available config.{guess.sub}.
+	* gnulib-tool (func_create_testdir): Use config.guess and config.sub
+	from gnulib, not from Automake.
+
 2010-10-02  Bruno Haible  <bruno@clisp.org>
 
 	New module 'system-posix'.
--- a/gnulib-tool
+++ b/gnulib-tool
@@ -4951,6 +4951,11 @@
     echo "File list:"
     echo "$files" | sed -e 's/^/  /'
   fi
+  # Add files for which the copy in gnulib is newer than the one that
+  # "automake --add-missing --copy" would provide.
+  files="$files build-aux/config.guess"
+  files="$files build-aux/config.sub"
+  files=`for f in $files; do echo $f; done | LC_ALL=C sort -u`
 
   rewritten='%REWRITTEN%'
   sed_rewrite_files="\