autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] similar treatment for CYGWIN and MSYS2


From: Bob Friesenhahn
Subject: Re: [PATCH] similar treatment for CYGWIN and MSYS2
Date: Wed, 28 Oct 2020 13:33:13 -0500 (CDT)
User-agent: Alpine 2.20 (GSO 67 2015-01-07)

On Wed, 28 Oct 2020, Zack Weinberg wrote:

On Mon, Oct 26, 2020 at 10:18 AM Jannick <thirdedition@gmx.net> 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@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/
Public Key,     http://www.simplesystems.org/users/bfriesen/public-key.txt



reply via email to

[Prev in Thread] Current Thread [Next in Thread]