On Wed, 28 Oct 2020, Zack Weinberg wrote:
On Mon, Oct 26, 2020 at 10:18 AM Jannick <thirdedition@xxxxxxx> wrote:
Attached for your consideration a patch such that MSYS2 and CYGWIN are
treated the same.
Merged, thank you.
--- a/lib/autoconf/fortran.m4
+++ b/lib/autoconf/fortran.m4
@@ -666,7 +666,7 @@ while test $[@%:@] != 1; do
;;
-lkernel32)
case $host_os in
- *cygwin*) ;;
+ *cygwin* | *msys* ) ;;
*) ac_cv_[]_AC_LANG_ABBREV[]_libs="$ac_cv_[]_AC_LANG_ABBREV[]_libs
$ac_arg"
Should we have mingw* here too?
MinGW seems like a bare compiler whereas Cygwin and MSYS provide a
compiler plus a rather-similar Unix-like run-time environment.
I recommend against it.
Bob
--
Bob Friesenhahn
bfriesen@xxxxxxxxxxxxxxxxxxx, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/
Public Key, http://www.simplesystems.org/users/bfriesen/public-key.txt