summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorLucas Holt <luke@foolishgames.com>2021-10-04 17:15:07 -0400
committerDaniel Stenberg <daniel@haxx.se>2021-10-05 08:35:24 +0200
commit18480f71be0685ee6becaa85c762c6b7956a2402 (patch)
tree3f20a0801f4b3dd6bcbd12d45653e18aaa0f54ad /m4
parent5ce380d65a183f6d9358c3c4df71a880fcf5c736 (diff)
downloadcurl-18480f71be0685ee6becaa85c762c6b7956a2402.tar.gz
misc: fix a few issues on MidnightBSD
Closes #7812
Diffstat (limited to 'm4')
-rw-r--r--m4/curl-functions.m44
-rw-r--r--m4/xc-lt-iface.m42
2 files changed, 5 insertions, 1 deletions
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