mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +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
1 changed files with 8 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue