m4-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 2/5] configury: append $EXEEXT suffix to the executable, /bin/sh


From: KO Myung-Hun
Subject: [PATCH 2/5] configury: append $EXEEXT suffix to the executable, /bin/sh
Date: Mon, 22 Sep 2014 18:00:19 +0900

---
 build-aux/m4/m4-syscmd.m4 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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.7.3.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]