From 18480f71be0685ee6becaa85c762c6b7956a2402 Mon Sep 17 00:00:00 2001 From: Lucas Holt Date: Mon, 4 Oct 2021 17:15:07 -0400 Subject: misc: fix a few issues on MidnightBSD Closes #7812 --- m4/curl-functions.m4 | 4 ++++ m4/xc-lt-iface.m4 | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'm4') diff --git a/m4/curl-functions.m4 b/m4/curl-functions.m4 index b21bbd1e2..575454d44 100644 --- a/m4/curl-functions.m4 +++ b/m4/curl-functions.m4 @@ -2050,6 +2050,10 @@ AC_DEFUN([CURL_CHECK_FUNC_GETADDRINFO], [ dnl hpux 11.11 and newer tst_tsafe_getaddrinfo="yes" ;; + midnightbsd*) + dnl all MidnightBSD versions + tst_tsafe_getaddrinfo="yes" + ;; netbsd[[123]].*) dnl netbsd 3.X and older tst_tsafe_getaddrinfo="no" diff --git a/m4/xc-lt-iface.m4 b/m4/xc-lt-iface.m4 index 465767fc3..8cec91098 100644 --- a/m4/xc-lt-iface.m4 +++ b/m4/xc-lt-iface.m4 @@ -119,7 +119,7 @@ if test "x$xc_lt_want_with_pic" = 'xdefault'; then case $host_cpu in @%:@ ( x86_64 | amd64 | ia64) case $host_os in @%:@ ( - linux* | freebsd*) + linux* | freebsd* | midnightbsd*) xc_lt_want_with_pic='yes' ;; esac -- cgit v1.2.1