summaryrefslogtreecommitdiff
path: root/gnulib-tool
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2010-10-02 16:00:39 +0200
committerBruno Haible <bruno@clisp.org>2010-10-02 16:00:39 +0200
commit045e60181da39f5468053eb92efa9af187188c3b (patch)
tree5808a029fd242361e41de0ea0bc37854830e5348 /gnulib-tool
parent479f291727987aeda01eb0554f5e9b28c7a9ce0b (diff)
downloadgnulib-045e60181da39f5468053eb92efa9af187188c3b.tar.gz
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.
Diffstat (limited to 'gnulib-tool')
-rwxr-xr-xgnulib-tool5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnulib-tool b/gnulib-tool
index 8e71d9ac0d..eff054a448 100755
--- a/gnulib-tool
+++ b/gnulib-tool
@@ -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="\