## $Id$
##
## Written by Keith Marshall <keithmarshall@users.sourceforge.net>
-## Copyright (C) 2014, 2016, MinGW.org Project
+## Copyright (C) 2014, 2016-2018, MinGW.org Project
##
##
m4_include([VERSION.m4])
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
}dnl
])
+# MINGW_AC_SET_DLLVERSION( TAG, IMPLIB, DLLVERSION )
+# --------------------------------------------------
+# Create a configuration time substitution for MAP_[TAG]_A_DLLVERSION,
+# such that it will define a target specific makefile variable assignment
+# for target IMPLIB, with specified value assigned to DLLVERSION.
+#
+AC_DEFUN([MINGW_AC_SET_DLLVERSION],dnl
+[AC_SUBST([MAP_][$1][_A_DLLVERSION],['$2: DLLVERSION = "$3"'])dnl
+])
+
# $RCSfile$: end of file