summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2000-09-22 15:38:21 (GMT)
committerGuido van Rossum <guido@python.org>2000-09-22 15:38:21 (GMT)
commitff555e383d41e1069e9943dbabad227a1d9065bb (patch)
tree232669af8a2d7aad15a34f03ad26becf8b008114 /configure.in
parentef5f2b9dbbfade547daf1e360371a59e80006462 (diff)
downloadcpython-ff555e383d41e1069e9943dbabad227a1d9065bb.zip
cpython-ff555e383d41e1069e9943dbabad227a1d9065bb.tar.gz
cpython-ff555e383d41e1069e9943dbabad227a1d9065bb.tar.bz2
Address Bug #115057: add a --with-suffix option to set the EXE
variable in the Makefiles from the configure script. Usefil for Cygwin and Mac OS X builds.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 4dd8e72..c881890 100644
--- a/configure.in
+++ b/configure.in
@@ -193,6 +193,15 @@ then
fi
AC_PROG_CC
+AC_SUBST(EXE)
+AC_MSG_CHECKING(for --with-suffix)
+AC_ARG_WITH(suffix, [ --with-suffix=.exe set executable suffix],[
+ case $withval in
+ no) EXE=;;
+ yes) EXE=.exe;;
+ *) EXE=$withval;;
+ esac])
+AC_MSG_RESULT($EXE)
case $MACHDEP in
bsdos*)