[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 2/3] AC_SITE_LOAD: add '.exe' to ac_executable_extensions on OS/2
From: |
KO Myung-Hun |
Subject: |
[PATCH 2/3] AC_SITE_LOAD: add '.exe' to ac_executable_extensions on OS/2 |
Date: |
Fri, 7 Nov 2014 23:40:21 +0900 |
Many codes searching the executables depend on
ac_executable_extensions and $EXEEXT. But without this patch, the
searches fail.
* lib/autoconf/general.m4 (AC_SITE_LOAD): Add '.exe' to
ac_executable_extensions on OS/2.
---
lib/autoconf/general.m4 | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/lib/autoconf/general.m4 b/lib/autoconf/general.m4
index c18b162..1773d46 100644
--- a/lib/autoconf/general.m4
+++ b/lib/autoconf/general.m4
@@ -1971,6 +1971,12 @@ if test -n "$OS2_SHELL"; then
done
export PATH="$ac_TEMP_PATH"
unset ac_TEMP_PATH
+
+ # add .exe to ac_executable_extensions
+ if test -z "$ac_executable_extensions"; then
+ AC_MSG_WARN([ac_executable_extensions not set, assuming .exe])
+ fi
+ ac_executable_extensions="$ac_executable_extensions .exe"
fi
])
--
1.8.5.2