]> git.ipfire.org Git - thirdparty/autoconf.git/commit
m4sh: make AS_EXECUTABLE_P public
authorEric Blake <eblake@redhat.com>
Sat, 25 Feb 2012 04:54:39 +0000 (21:54 -0700)
committerEric Blake <eblake@redhat.com>
Sat, 25 Feb 2012 05:12:07 +0000 (22:12 -0700)
commit9e4e0a37d7b7200f671c2eadb3478a77d2dd7c9c
tree5f55e14c9955633b4c98848a99db6612bb6a0a18
parent8798792f568d7cdfb0815d249fe6a718d6877708
m4sh: make AS_EXECUTABLE_P public

In the process of making it public, factor it into a reusable
function.  This makes constructs like AC_CHECK_PROGRAM smaller,
as well as making libtool's naughty use of $as_executable_p safer.

* lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Add a shell function.
(AS_EXECUTABLE_P): Forward to shell function.
* doc/autoconf.texi (Common Shell Constructs): Document it.
* NEWS: Mention this.

Signed-off-by: Eric Blake <eblake@redhat.com>
NEWS
doc/autoconf.texi
lib/m4sugar/m4sh.m4