]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] gh-125698: Autoconf: Sync EXEEXT and ac_exeext (GH-125995) (#126006)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 26 Oct 2024 15:36:03 +0000 (17:36 +0200)
committerGitHub <noreply@github.com>
Sat, 26 Oct 2024 15:36:03 +0000 (15:36 +0000)
(cherry picked from commit 8b7cdc5e0c3ee9903d41a2bfc494148db32dc379)

Co-authored-by: Erlend E. Aasland <erlend@python.org>
configure
configure.ac

index a33b401d1cdecc324765875145efb70a69db8fcf..9057cebd16d6dbe15f0ff89dad3a45864f329183 100755 (executable)
--- a/configure
+++ b/configure
@@ -7323,6 +7323,9 @@ fi
 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $EXEEXT" >&5
 printf "%s\n" "$EXEEXT" >&6; }
 
+# Make sure we keep EXEEXT and ac_exeext sync'ed.
+ac_exeext=$EXEEXT
+
 # Test whether we're running on a non-case-sensitive system, in which
 # case we give a warning if no ext is given
 
index d1f8e8e8733ed8b9c5a2cb1745a114e579e6bdf1..0fc039e3d6141695f478b3fca8e2de866a02babf 100644 (file)
@@ -1339,6 +1339,9 @@ AC_ARG_WITH([suffix],
 ])
 AC_MSG_RESULT([$EXEEXT])
 
+# Make sure we keep EXEEXT and ac_exeext sync'ed.
+AS_VAR_SET([ac_exeext], [$EXEEXT])
+
 # Test whether we're running on a non-case-sensitive system, in which
 # case we give a warning if no ext is given
 AC_SUBST([BUILDEXEEXT])