mirror of
https://github.com/libevent/libevent.git
synced 2025-01-20 05:02:55 +08:00
6d54be2cc0
`AC_CHECK_FUNCS` can not properly check `getaddrinfo` because this function requires some special headers on mingw. Using `AC_CHECK_DECL` can effectively solve this issue. Same for - getnameinfo - getprotobynumber - getservbyname - inet_ntop - inet_pton