3 Commits

Author SHA1 Message Date
Markus Mützel
0c6b09d83e autoconf2.72: Don't strip MinGW libraries from Fortran linker flags
Stripping `-lmingwex` from the Fortran standard linker flags can lead to
a situation where the first `-lmsvcrt` can appear before the first
`-lmingwex` for a library that consists of Fortran and C++ sources.
That means that the linker picks some functions from the Windows CRT that
should instead be picked from `libmingwex.a`.

It took quite some time to figure out an odd behavior when calling
`std::asin` with a complex double precision value with a real part larger
than 1 in such a library.
See also: https://octave.discourse.group/t/6026/75

Also don't strip `-lmoldname` from these flags because there is no reason
to do that as far as I can tell.

This essentially reverts the upstream changes from:
https://lists.gnu.org/r/autoconf-patches/2021-09/msg00000.html
2024-12-11 20:53:52 +01:00
Markus Mützel
49610ad2db autoconf: Treat Flang as GNU-compatible Fortran compiler.
This allows building more projects with LLVM Flang as the Fortran
compiler without needing additional (obscure) configure flags.
2024-10-31 18:04:09 +01:00
Christoph Reiter
1e012af1a5 autoconf: Add autoconf 2.72
All the removed patches (compared to 2.71) are included in this new release
2023-12-23 12:05:45 +01:00