[Python-checkins] bpo-45723: Remove obsolete AC_EXEEXT from configure.ac (GH-29486)

miss-islington webhook-mailer at python.org
Tue Nov 9 10:33:11 EST 2021


https://github.com/python/cpython/commit/185533639d6eddd42a28f9e3517067bd877e34c5
commit: 185533639d6eddd42a28f9e3517067bd877e34c5
branch: main
author: Erlend Egeberg Aasland <erlend.aasland at innova.no>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2021-11-09T07:32:59-08:00
summary:

bpo-45723: Remove obsolete AC_EXEEXT from configure.ac (GH-29486)



>From the autoconf docs *Obsolete Macros* section:

    Defined the output variable EXEEXT based on the output of the 
    compiler, which is now done automatically. Typically set to empty
    string if Posix and ‘.exe’ if a DOS variant.

files:
M configure
M configure.ac

diff --git a/configure b/configure
index 76d9c49936134..45ac189f72752 100755
--- a/configure
+++ b/configure
@@ -5738,7 +5738,6 @@ atheos*|Linux*/1*)
    exit 1;;
 esac
 
-
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-suffix" >&5
 $as_echo_n "checking for --with-suffix... " >&6; }
 
diff --git a/configure.ac b/configure.ac
index 8ea5d491a9674..7361d89a69016 100644
--- a/configure.ac
+++ b/configure.ac
@@ -947,7 +947,6 @@ atheos*|Linux*/1*)
    exit 1;;
 esac
 
-AC_EXEEXT
 AC_MSG_CHECKING(for --with-suffix)
 AC_ARG_WITH(suffix,
             AS_HELP_STRING([--with-suffix=SUFFIX], [set executable suffix to SUFFIX (default is '.exe')]),



More information about the Python-checkins mailing list