gnulib-tool: In testdirs, use the newest available config.{guess.sub}.
authorBruno Haible <bruno@clisp.org>
Sat, 2 Oct 2010 14:00:39 +0000 (16:00 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 2 Oct 2010 14:00:39 +0000 (16:00 +0200)
* gnulib-tool (func_create_testdir): Use config.guess and config.sub
from gnulib, not from Automake.

ChangeLog
gnulib-tool

index 361d1f3f91bdd940320cfe5b062e07a9dff3b564..1f3700dea2ec789d5af13832ddadcc7528f27b57 100644 (file)
--- 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'.
index 8e71d9ac0df13c7c656d639233ff2d8b77b15f9e..eff054a448bbdfedfc735870d19a29aa2a130e79 100755 (executable)
@@ -4951,6 +4951,11 @@ func_create_testdir ()
     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="\