summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rwxr-xr-xautogen.sh2
-rw-r--r--build-aux/.gitignore1
3 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 0593b4d..de891ae 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2019-01-28 Bruno Haible <bruno@clisp.org>
+
+ Accommodate a shell that is not in /bin/sh.
+ * autogen.sh: Patch build-aux/test-driver with a patch from gnulib.
+
2018-10-23 Bruno Haible <bruno@clisp.org>
Support for per-thread locales on systems with HAVE_NAMELESS_LOCALES.
diff --git a/autogen.sh b/autogen.sh
index 3792b35..7d284bc 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -458,6 +458,7 @@ if test $skip_gnulib = false; then
&& mv lib/unicase.in.h.tmp lib/unicase.in.h
$GNULIB_TOOL --copy-file build-aux/config.guess; chmod a+x build-aux/config.guess
$GNULIB_TOOL --copy-file build-aux/config.sub; chmod a+x build-aux/config.sub
+ $GNULIB_TOOL --copy-file build-aux/test-driver.diff
# If we got no texinfo.tex so far, take the snapshot from gnulib.
if test ! -f build-aux/texinfo.tex; then
$GNULIB_TOOL --copy-file build-aux/texinfo.tex build-aux/texinfo.tex
@@ -471,5 +472,6 @@ autoheader && touch config.h.in
# 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)
automake --add-missing --copy
+patch build-aux/test-driver < build-aux/test-driver.diff
# Get rid of autom4te.cache directory.
rm -rf autom4te.cache
diff --git a/build-aux/.gitignore b/build-aux/.gitignore
index bd2f56d..7998cc8 100644
--- a/build-aux/.gitignore
+++ b/build-aux/.gitignore
@@ -13,5 +13,6 @@
# Other files brought in by autogen.sh:
/config.guess
/config.sub
+/test-driver.diff
/texinfo.tex