]> git.ipfire.org Git - thirdparty/autoconf.git/commit
Avoid shell parse errors after interrupt due to empty ``.
authorJim Meyering <jim@meyering.net>
Tue, 19 Aug 2008 21:00:09 +0000 (23:00 +0200)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Tue, 19 Aug 2008 21:00:51 +0000 (23:00 +0200)
commitf5de6cdf5a23b5696f88b2cc981347c892e663cf
tree2726a8854d34df0bb98ef77c946f96922e5b1127
parentf49bad90e7cf2d48e6bd9c9b003fe8d417f0ab39
Avoid shell parse errors after interrupt due to empty ``.

* doc/autoconf.texi (Shell Substitutions): Document the issue.
* lib/m4sugar/m4sh.m4 (AS_VAR_IF): New function.
* lib/autoconf/functions.m4 (AC_CHECK_FUNC): Use it in place of
"test AS_VAR_GET([...]) = yes"
* lib/autoconf/general.m4 (AC_CHECK_FILE, AC_CHECK_DECL): Likewise.
* lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Likewise.
(_AC_CHECK_HEADER_NEW, _AC_CHECK_HEADER_OLD): Likewise.
(_AC_CHECK_HEADER_DIRENT): Likewise.
* lib/autoconf/libs.m4 (AC_CHECK_LIB): Likewise.
* lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW, AC_CHECK_MEMBER): Likewise.
* lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Use
temporary variable to work around the issue.
* tests/foreign.at (Libtool): Quote result of command
substitution.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
ChangeLog
doc/autoconf.texi
lib/autoconf/functions.m4
lib/autoconf/general.m4
lib/autoconf/headers.m4
lib/autoconf/libs.m4
lib/autoconf/status.m4
lib/autoconf/types.m4
lib/m4sugar/m4sh.m4
tests/foreign.at