]> Savannah Git Hosting - m4.git/commitdiff

Savannah Git Hosting - m4.git/commitdiff

git git@sv / m4.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4b572bf)
configury: append $EXEEXT suffix to /bin/sh.
2014年11月19日 14:06:12 +0000 (14:06 +0000)
2014年11月20日 20:46:10 +0000 (20:46 +0000)
Without $EXEEXT, /bin/sh cannot be located on OS/2.
* build-aux/m4/m4-syscmd.m4 (M4_SYSCMD): append $EXEEXT suffix
to /bin/sh.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>

diff --git a/build-aux/m4/m4-syscmd.m4 b/build-aux/m4/m4-syscmd.m4
index 514201fa7a7917c1e06b2216a9f9adc9289bb3d5..fc934242c5d3fb7e545cf6fdc611512c098a6104 100644 (file)
--- 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
GNU M4 source repository
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /