Cope with whitespace in $MISSING and $install_sh.
commite9a942a19485b83690596cc8ae375b86777eaf9e
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Thu, 27 Nov 2008 20:46:36 +0000 (27 21:46 +0100)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Thu, 27 Nov 2008 21:00:33 +0000 (27 22:00 +0100)
treeefec20b24e2f6f4bbd803d1f53bd207effdac864
parent21072002ed61ffc230faab3fa3f0ef720b436965
Cope with whitespace in $MISSING and $install_sh.

* configure.ac (am_AUTOHEADER): New substitution, save the value
of $AUTOHEADER before AM_INIT_AUTOMAKE may add $MISSING.
* tests/defs.in: Use am_AUTOHEADER.
* lib/am/install.am: Fix typo.
* m4/install-sh.m4 (AM_PROG_INSTALL_SH): Add suitable
single-quote quoting to install_sh, but only if needed.
* m4/missing.m4 (AM_MISSING_HAS_RUN): Add suitable double-quote
quoting to MISSING, but only if needed.
* m4/sanity.m4 (AM_SANITY_CHECK): Abort configure if `pwd` or
$srcdir contain shell meta-characters that cannot be handled;
space and tab are allowed in the former only.
* tests/sanity.test: New test.
* tests/Makefile.am: Adjust.
* NEWS: Update.
Reports by Jim Meyering and others.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
19 files changed:
ChangeLog
Makefile.in
NEWS
configure
configure.ac
doc/Makefile.in
lib/Automake/Makefile.in
lib/Automake/tests/Makefile.in
lib/Makefile.in
lib/am/Makefile.in
lib/am/install.am
m4/Makefile.in
m4/install-sh.m4
m4/missing.m4
m4/sanity.m4
tests/Makefile.am
tests/Makefile.in
tests/defs.in
tests/sanity.test [new file with mode: 0755]