From b6ddeef190bd0aa549599a85c6321bb558956bc9 Mon Sep 17 00:00:00 2001 From: "Erlend E. Aasland" Date: Mon, 21 Oct 2024 10:49:23 +0200 Subject: [PATCH 1/2] gh-125698: Autoconf: Sync EXEEXT and ac_exeext --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index d5bc739c34c90f..1534144bab3400 100644 --- a/configure.ac +++ b/configure.ac @@ -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]) From b08792563aa6be7b7ba5b873b8570a086a049ba0 Mon Sep 17 00:00:00 2001 From: "Erlend E. Aasland" Date: Fri, 25 Oct 2024 23:24:35 +0200 Subject: [PATCH 2/2] Regen configure --- configure | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure b/configure index b11f41d5379958..a4f253d7cff294 100755 --- 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