]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix #489: Compile using MSYS2 MinGW 64-bit.
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Mon, 17 May 2021 06:43:46 +0000 (08:43 +0200)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Mon, 17 May 2021 06:43:46 +0000 (08:43 +0200)
acx_nlnetlabs.m4
configure
configure.ac
doc/Changelog

index dd8d8c32985153b7e95aa0101cf07aeea24beb5f..ad8fb50073767e68a65fc8f0c55b7c0800cbe731 100644 (file)
@@ -2,7 +2,9 @@
 # Copyright 2009, Wouter Wijngaards, NLnet Labs.   
 # BSD licensed.
 #
-# Version 38
+# Version 39
+# 2021-05-17 fix nonblocking socket test from grep on mingw32 to mingw for
+#           64bit compatibility.
 # 2021-03-24 fix ACX_FUNC_DEPRECATED to use CPPFLAGS and CFLAGS.
 # 2021-01-05 fix defun for aclocal
 # 2021-01-05 autoconf 2.70 autoupdate and fixes, no AC_TRY_COMPILE
@@ -915,7 +917,7 @@ dnl a nonblocking socket do not work, a new call to select is necessary.
 AC_DEFUN([ACX_CHECK_NONBLOCKING_BROKEN],
 [
 AC_MSG_CHECKING([if nonblocking sockets work])
-if echo $target | grep mingw32 >/dev/null; then 
+if echo $target | grep mingw >/dev/null; then
        AC_MSG_RESULT([no (windows)])
        AC_DEFINE([NONBLOCKING_IS_BROKEN], 1, [Define if the network stack does not fully support nonblocking io (causes lower performance).])
 else
index fb3bcffe2f529d7e0a1d010eb96f5478784c0842..d0050b1e6f1ddda630da01190616ff788aa4497c 100755 (executable)
--- a/configure
+++ b/configure
@@ -4204,9 +4204,9 @@ case "$exec_prefix" in
 esac
 
 # are we on MinGW?
-if uname -s 2>&1 | grep MINGW32 >/dev/null; then on_mingw="yes"
+if uname -s 2>&1 | grep MINGW >/dev/null; then on_mingw="yes"
 else
-       if echo $host $target | grep mingw32 >/dev/null; then on_mingw="yes"
+       if echo $host $target | grep mingw >/dev/null; then on_mingw="yes"
        else on_mingw="no"; fi
 fi
 
@@ -15927,7 +15927,7 @@ fi
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if nonblocking sockets work" >&5
 $as_echo_n "checking if nonblocking sockets work... " >&6; }
-if echo $target | grep mingw32 >/dev/null; then
+if echo $target | grep mingw >/dev/null; then
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (windows)" >&5
 $as_echo "no (windows)" >&6; }
 
index 62bcee1df3db897c8e62634fe1b853811e659ad2..9abf2299fcb5c1becd13a09d6f181aa18324c6ed 100644 (file)
@@ -147,9 +147,9 @@ case "$exec_prefix" in
 esac
 
 # are we on MinGW?
-if uname -s 2>&1 | grep MINGW32 >/dev/null; then on_mingw="yes"
+if uname -s 2>&1 | grep MINGW >/dev/null; then on_mingw="yes"
 else 
-       if echo $host $target | grep mingw32 >/dev/null; then on_mingw="yes"
+       if echo $host $target | grep mingw >/dev/null; then on_mingw="yes"
        else on_mingw="no"; fi
 fi
 
index aaa1561e03605195aa1306e8ee2af4584ab19620..3b30b6f077fba3df6529e6c442ce20bd1f565279 100644 (file)
@@ -1,3 +1,6 @@
+15 May 2021: Wouter
+       - Fix #489: Compile using MSYS2 MinGW 64-bit.
+
 12 May 2021: Wouter
        - Fix that auth-zone zonefiles use last TTL if no TTL is specified.