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

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

index 1c75810d9e8c4bd69b1fc432a0ac11dda94c8d9b..8cca82b6bc87b4a5acf96159eeb4a930f84b6a5a 100755 (executable)
--- a/configure
+++ b/configure
@@ -7252,6 +7252,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 d0d54050286cd849a3207b670bddb931ea93716c..d3f0fb4d88f3893877aca8b0feae792740accd31 100644 (file)
@@ -1308,6 +1308,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])