m4-patches
[Top][All Lists]
Advanced

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

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


From: KO Myung-Hun
Subject: [PATCH 2/4] configure: append $EXEEXT suffix to /bin/sh
Date: Wed, 19 Nov 2014 12:54:15 +0900

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])], [],
       [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




reply via email to

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