Avoid walking the entire PATH when looking for a better shell.
commitc29ca1d13b98eb1791ba5b7365327c91ccca6c13
authorPaolo Bonzini <bonzini@gnu.org>
Thu, 30 Oct 2008 08:52:22 +0000 (30 09:52 +0100)
committerPaolo Bonzini <bonzini@gnu.org>
Thu, 30 Oct 2008 08:52:22 +0000 (30 09:52 +0100)
tree62fced76d60feeba7b4d3e86c34327bbc5ceb5b8
parent3fb0b9566748e8ade6fc22e3e7b9ab71fdfcc5c1
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.
lib/m4sugar/m4sh.m4