Require _AS_CR_PREPARE where appropriate and fix ChangeLog.

* lib/m4sugar/m4sh.m4 (_AS_PREPARE): Call _AS_CR_PREPARE.
(AS_PREPARE): Require _AS_CR_PREPARE.
This commit is contained in:
Paolo Bonzini 2008-10-30 13:54:27 +01:00
parent 4298bf09e4
commit c55740c463
2 changed files with 19 additions and 0 deletions

View File

@ -1,3 +1,20 @@
2008-10-30 Paolo Bonzini <bonzini@gnu.org>
Require _AS_CR_PREPARE where appropriate.
* lib/m4sugar/m4sh.m4 (_AS_PREPARE): Call _AS_CR_PREPARE.
(AS_PREPARE): Require _AS_CR_PREPARE.
Avoid walking the entire PATH when looking for a better shell.
* lib/m4sugar/m4sh.m4 (_AS_SHELL_SANITIZE): Test shell characteristics
as the PATH is walked.
Add third argument to _AS_PATH_WALK
* lib/m4sugar/m4sh.m4 (_AS_SHELL_SANITIZE): Do not call _AS_CR_PREPARE.
(_AS_PATH_WALK): Add third optional argument.
Trim down the length of the shell function test.
* lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Condense.
2008-10-29 Eric Blake <ebb9@byu.net>
Fix LINENO detection to work around bash and pdksh limitations.

View File

@ -295,6 +295,7 @@ _AS_EXPR_PREPARE
_AS_BASENAME_PREPARE
_AS_DIRNAME_PREPARE
_AS_ME_PREPARE
_AS_CR_PREPARE
_AS_LINENO_PREPARE
_AS_ECHO_N_PREPARE
_AS_LN_S_PREPARE
@ -316,6 +317,7 @@ AS_REQUIRE([_AS_EXPR_PREPARE])
AS_REQUIRE([_AS_BASENAME_PREPARE])
AS_REQUIRE([_AS_DIRNAME_PREPARE])
AS_REQUIRE([_AS_ME_PREPARE])
AS_REQUIRE([_AS_CR_PREPARE])
AS_REQUIRE([_AS_LINENO_PREPARE])
AS_REQUIRE([_AS_ECHO_N_PREPARE])
AS_REQUIRE([_AS_LN_S_PREPARE])