Re: [PATCH 2/4] configure: append $EXEEXT suffix to /bin/sh

Eric Blake <[email protected]> Wed, 19 Nov 2014 08:29:53 -0700
Newsgroups gmane.comp.gnu.m4.patches
Organization Red Hat, Inc.
Message-ID <[email protected]>
On 11/18/2014 08:54 PM, KO Myung-Hun wrote:
> Without $EXEEXT, /bin/sh cannot be located on OS/2.
> 
> * configure.ac (with_syscmd_shell): append $EXEEXT suffix to /bin/sh.
> ---
>  configure.ac | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/configure.ac b/configure.ac
> index cd83878..6dca663 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -191,7 +191,7 @@ if test "$with_syscmd_shell" = no ; then
>    with_syscmd_shell=/bin/sh
>    if test "$cross_compiling" != yes ; then
>  dnl Give mingw a default that is more likely to be available.
> -    AS_IF([AS_EXECUTABLE_P([/bin/sh])], [],
> +    AS_IF([AS_EXECUTABLE_P([/bin/sh$EXEEXT])], [],

ACK.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

_______________________________________________
M4-patches mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/m4-patches
signature.asc (application/pgp-signature, 539 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Public key at http://people.redhat.com/eblake/eblake.gpg

iQEcBAEBCAAGBQJUbLdxAAoJEKeha0olJ0NqETwH/0P5g514JLsAINEmr4lsHXgp
o5fuHmthbyhv7CLmSuHBKfxPJFL9lx0puqrvIO6sItrODPB0bf6viesUbgV3o0v6
LSTdcFmuyWbgQdxSP+EzOOx2XDMCYQ+mSVt8s5fpstLgf5X+ADlfEgqPOsgsbmoT
4L0eiVDBqcDnkVW4qHt5l9Erqc1+iRHuSqpRlxe1HiJ+JQyZGUOKVoTiEEvetTSW
y1niakgsVEoC1Oxd7Y9L4EXG9D6ZtJJLPHEprETwkNWhy58egV0jrvA0sDDVSQHU
Ax5V1jXT7uFv1qgnuHhsmuUc3C/jIj8uHuDAsu3yNteK6HTBIUfjYco9u3q0iSI=
=qUbS
-----END PGP SIGNATURE-----