diff options
author | Eric Blake <eblake@redhat.com> | 2012-02-24 21:09:34 -0700 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2012-02-24 21:46:26 -0700 |
commit | 8798792f568d7cdfb0815d249fe6a718d6877708 (patch) | |
tree | bc4292f3cb1d84b375e19bdf8ff5199898c1a38a /NEWS | |
parent | fed83ed994ecc931769de2fa579ab4aec89028bd (diff) | |
download | autoconf-8798792f568d7cdfb0815d249fe6a718d6877708.tar.gz |
m4sh: require that 'test -x' works
4.3BSD is no longer a reasonable portability target; and we are
pretty sure that these days we can find at least one shell on any
platform that supports 'test -x'. Drop a horribly unsafe use of
eval as a result. :)
Libtool still uses $as_executable_p without so much as calling
either AS_TEST_X or AS_EXECUTABLE_P; even though the latter has
existed, although undocumented, since at least 2.59; furthermore,
libtool uses it in a context where filtering out directories
would have been desirable. Shame on them.
* lib/m4sugar/m4sh.m4 (_AS_TEST_X_WORKS): New probe.
(AS_SHELL_SANITIZE, AS_INIT): Use it in shell searching.
(AS_TEST_X, AS_EXECUTABLE_P): Simplify.
Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'NEWS')
0 files changed, 0 insertions, 0 deletions