]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-125698: Autoconf: Sync EXEEXT and ac_exeext (#125995)
authorErlend E. Aasland <erlend@python.org>
Sat, 26 Oct 2024 15:11:42 +0000 (17:11 +0200)
committerGitHub <noreply@github.com>
Sat, 26 Oct 2024 15:11:42 +0000 (17:11 +0200)
configure
configure.ac

index b11f41d53799587c16aa53d06bcbb7c315ad21ef..a4f253d7cff294a80c4cef966ea577e7ced159cf 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 d5bc739c34c90f008e8915a43e771e5751727a21..1534144bab3400b81c321e73879e7be0e2ce464b 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])