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 361d1f3..1f3700d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 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'.
        * modules/system-posix: New file.
        * lib/stdlib.in.h: Include <sys/wait.h> only when the 'system-posix'
index 8e71d9a..eff054a 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="\