From 7bd008dfd40d230e08d24b80014644974b663e28 Mon Sep 17 00:00:00 2001 From: Keith Marshall Date: Tue, 4 Sep 2018 12:58:11 +0100 Subject: [PATCH] Pre-empt default EXEEXT use before its determination. --- ChangeLog | 8 ++++++++ aclocal.m4 | 5 +++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 09accc5..56b3e87 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2018-09-04 Keith Marshall + + Pre-empt default EXEEXT use before its determination. + + * aclocal.m4 (MINGW_AC_NO_EXECUTABLES): Assign an initial assumed + $ac_exeext value of ".xyz"; it will be updated appropriately, when + an actual EXEEXT determination has been completed. + 2018-09-03 Keith Marshall Adjust repository version following WSL-5.1.1 release. diff --git a/aclocal.m4 b/aclocal.m4 index caff4d4..32a451c 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -5,7 +5,7 @@ ## $Id$ ## ## Written by Keith Marshall -## Copyright (C) 2014, 2016, 2017, MinGW.org Project +## Copyright (C) 2014, 2016-2018, MinGW.org Project ## ## m4_include([VERSION.m4]) @@ -62,7 +62,8 @@ AC_DEFUN_ONCE([MINGW_AC_CONFIG_EXTRA_SRCDIR], AC_DEFUN_ONCE([MINGW_AC_NO_EXECUTABLES], [AC_BEFORE([$0],[AC_PROG_CC])dnl cannot let this use... m4_rename([_AC_COMPILER_EXEEXT],[_MINGW_AC_COMPILER_EXEEXT])dnl so... - m4_define([_AC_COMPILER_EXEEXT])dnl move it away quickly! + m4_define([_AC_COMPILER_EXEEXT])dnl move it away before it can be used! + ac_exeext=".xyz"dnl arbitrarily pre-empt link before EXEEXT is known ]) # MINGW_AC_PROG_CC_COMPILE_ONLY -- 2.11.0