diff options
author | Guido van Rossum <guido@python.org> | 2000-09-22 15:38:21 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2000-09-22 15:38:21 (GMT) |
commit | ff555e383d41e1069e9943dbabad227a1d9065bb (patch) | |
tree | 232669af8a2d7aad15a34f03ad26becf8b008114 /configure.in | |
parent | ef5f2b9dbbfade547daf1e360371a59e80006462 (diff) | |
download | cpython-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.in | 9 |
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*) |