OSDN Git Service

Correct project name references in mingwrt source files.
[mingw/mingw-org-wsl.git] / aclocal.m4
index acdf9fa..e0f6223 100644 (file)
@@ -1,15 +1,15 @@
 ## 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
@@ -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
@@ -166,4 +167,14 @@ AC_DEFUN([MINGW_AC_PROG_COMPILE_SX],
   }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