OSDN Git Service

Pre-empt default EXEEXT use before its determination.
authorKeith Marshall <keith@users.osdn.me>
Tue, 4 Sep 2018 11:58:11 +0000 (12:58 +0100)
committerKeith Marshall <keith@users.osdn.me>
Tue, 4 Sep 2018 11:58:11 +0000 (12:58 +0100)
ChangeLog
aclocal.m4

index 09accc5..56b3e87 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2018-09-04  Keith Marshall  <keith@users.osdn.me>
+
+       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  <keith@users.osdn.me>
 
        Adjust repository version following WSL-5.1.1 release.
index caff4d4..32a451c 100644 (file)
@@ -5,7 +5,7 @@
 ## $Id$
 ##
 ## Written by Keith Marshall <keithmarshall@users.sourceforge.net>
-## 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