HP-UX 11.11 and later have threadsafe getaddrinfo
authorYang Tse <yangsita@gmail.com>
Thu, 12 Nov 2009 20:29:28 +0000 (20:29 +0000)
committerYang Tse <yangsita@gmail.com>
Thu, 12 Nov 2009 20:29:28 +0000 (20:29 +0000)
m4/cares-functions.m4

index 0169cf7..6a4eb05 100644 (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"
         ;;