mirror of
https://github.com/python/cpython
synced 2024-09-15 22:48:24 +00:00
Restore --with-suffix option. AC_EXEEXT doesn't aways do what the user wants
and an option is more friendly then manually setting a variable.
This commit is contained in:
parent
547397c45b
commit
3ae1d0aa84
|
@ -171,6 +171,14 @@ fi
|
|||
|
||||
AC_PROG_CC
|
||||
AC_EXEEXT
|
||||
AC_MSG_CHECKING(for --with-suffix)
|
||||
AC_ARG_WITH(suffix, [ --with-suffix=.exe set executable suffix],[
|
||||
case $withval in
|
||||
no) EXEEXT=;;
|
||||
yes) EXEEXT=.exe;;
|
||||
*) EXEEXT=$withval;;
|
||||
esac])
|
||||
AC_MSG_RESULT($EXEEXT)
|
||||
|
||||
case $MACHDEP in
|
||||
bsdos*)
|
||||
|
|
Loading…
Reference in a new issue