[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 2/6] m4-syscmd: append $EXEEXT suffix to the executable, /bin/sh
From: |
KO Myung-Hun |
Subject: |
[PATCH 2/6] m4-syscmd: append $EXEEXT suffix to the executable, /bin/sh |
Date: |
Wed, 19 Nov 2014 13:06:47 +0900 |
Without $EXEEXT, /bin/sh cannot be located.
* build-aux/m4/m4-syscmd.m4 (M4_SYSCMD): append $EXEEXT suffix to
/bin/sh.
---
build-aux/m4/m4-syscmd.m4 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/build-aux/m4/m4-syscmd.m4 b/build-aux/m4/m4-syscmd.m4
index 514201f..fc93424 100644
--- a/build-aux/m4/m4-syscmd.m4
+++ b/build-aux/m4/m4-syscmd.m4
@@ -35,7 +35,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])], [],
[if (cmd /c) 2>/dev/null; then with_syscmd_shell=cmd; fi])
dnl Too bad _AS_PATH_WALK is not public.
M4_save_IFS=$IFS; IFS=$PATH_SEPARATOR
--
1.8.5.2
- [PATCH] OS/2 patches for master branch, KO Myung-Hun, 2014/11/18
- [PATCH 1/6] bootstrap: set and use PATH_SEPARATOR, KO Myung-Hun, 2014/11/18
- [PATCH 5/6] configury: avoid version-info for modules on OS/2, KO Myung-Hun, 2014/11/18
- [PATCH 4/6] configure: add -Zargs-resp and -no-undefined to LDFLAGS on OS/2, KO Myung-Hun, 2014/11/18
- [PATCH 3/6] m4: support to load modules on OS/2, KO Myung-Hun, 2014/11/18
- [PATCH 2/6] m4-syscmd: append $EXEEXT suffix to the executable, /bin/sh,
KO Myung-Hun <=
- [PATCH 6/6] esyscmd: fdopen() in text mode explicitly on OS/2, KO Myung-Hun, 2014/11/18