curl-functions.m4: update detection logic of getaddrinfo() thread-safeness
authorYang Tse <yangsita@gmail.com>
Wed, 21 Mar 2012 00:02:58 +0000 (01:02 +0100)
committerYang Tse <yangsita@gmail.com>
Wed, 21 Mar 2012 00:02:58 +0000 (01:02 +0100)
commitdddcd3b0423efa3371c569ade15744669d745e40
treeda6090f186979e337e5b32de608412aa39209ff7
parentc6825b7a6b5e8798bc861b3d280430e8149e7298
curl-functions.m4: update detection logic of getaddrinfo() thread-safeness

Take in account that POSIX standard Issue 7 drops h_errno support. Now, we also
consider getaddrinfo() to be thread-safe when (_POSIX_C_SOURCE >= 200809L) or
(_XOPEN_SOURCE >= 700) independently of whether h_errno exists or not.
m4/curl-functions.m4