From d26a92493a94c8af3d01f9e71a51a5b93ad5e6da Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Thu, 12 Nov 2009 20:29:28 +0000 Subject: [PATCH] HP-UX 11.11 and later have threadsafe getaddrinfo --- ares/m4/cares-functions.m4 | 8 +++++++- m4/curl-functions.m4 | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/ares/m4/cares-functions.m4 b/ares/m4/cares-functions.m4 index 0169cf77e..6a4eb05dc 100644 --- a/ares/m4/cares-functions.m4 +++ b/ares/m4/cares-functions.m4 @@ -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" ;; diff --git a/m4/curl-functions.m4 b/m4/curl-functions.m4 index 8cd99b07b..5cab3c0b2 100644 --- a/m4/curl-functions.m4 +++ b/m4/curl-functions.m4 @@ -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" ;;