From: Neil Schemenauer Date: Sat, 27 Jan 2001 06:54:42 +0000 (+0000) Subject: Restore --with-suffix option. AC_EXEEXT doesn't aways do what the user wants X-Git-Tag: v2.1a2~140 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3ae1d0aa84e06214f50c6984ed6816e1659b2d28;p=thirdparty%2FPython%2Fcpython.git 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. --- diff --git a/configure.in b/configure.in index 78c07d67042a..554aa936997f 100644 --- a/configure.in +++ b/configure.in @@ -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*)