HP-UX 11.11 and later have threadsafe getaddrinfo

This commit is contained in:
Yang Tse 2009-11-12 20:29:28 +00:00
parent 05a4abea04
commit d26a92493a
2 changed files with 14 additions and 2 deletions

View File

@ -16,7 +16,7 @@
#***************************************************************************
# File version for 'aclocal' use. Keep it a single number.
# serial 33
# serial 34
dnl CARES_INCLUDES_ARPA_INET
@ -1026,6 +1026,12 @@ AC_DEFUN([CARES_CHECK_FUNC_GETADDRINFO], [
freebsd*)
tst_tsafe_getaddrinfo="yes"
;;
hpux[[123456789]].* | hpux10.* | hpux11.0* | hpux11.10*)
tst_tsafe_getaddrinfo="no"
;;
hpux*)
tst_tsafe_getaddrinfo="yes"
;;
linux*)
tst_tsafe_getaddrinfo="yes"
;;

View File

@ -22,7 +22,7 @@
#***************************************************************************
# File version for 'aclocal' use. Keep it a single number.
# serial 55
# serial 56
dnl CURL_INCLUDES_ARPA_INET
@ -1650,6 +1650,12 @@ AC_DEFUN([CURL_CHECK_FUNC_GETADDRINFO], [
freebsd*)
tst_tsafe_getaddrinfo="yes"
;;
hpux[[123456789]].* | hpux10.* | hpux11.0* | hpux11.10*)
tst_tsafe_getaddrinfo="no"
;;
hpux*)
tst_tsafe_getaddrinfo="yes"
;;
linux*)
tst_tsafe_getaddrinfo="yes"
;;