## aclocal.m4 -*- Autoconf -*- vim: filetype=config
##
-## Autoconf macros for MinGW.org Runtime Library Package
+## Autoconf macros for MinGW.OSDN Runtime Library Package
##
## $Id$
##
## Written by Keith Marshall <keithmarshall@users.sourceforge.net>
-## Copyright (C) 2014, 2016, MinGW.org Project
+## Copyright (C) 2014, 2016-2018, 2022, MinGW.OSDN Project
##
##
m4_include([VERSION.m4])
-m4_define([__BUG_REPORT_URL__],[http://mingw.org/Reporting_Bugs])
+m4_define([__BUG_REPORT_URL__],[https://MinGW.OSDN.io/reporting_bugs])
##
##
## Permission is hereby granted, free of charge, to any person obtaining a
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