]> granicus.if.org Git - libevent/commitdiff
Check for getservbyname even if not on win32.
authorHarlan Stenn <stenn@ntp.org>
Sun, 13 Feb 2011 06:42:58 +0000 (01:42 -0500)
committerNick Mathewson <nickm@torproject.org>
Tue, 22 Feb 2011 05:25:30 +0000 (00:25 -0500)
configure.in

index 33084e75c30cd992e1a3d8528171b6fe028832e1..53701368db5db1d3e0502944d6eadc11e93a680f 100644 (file)
@@ -228,6 +228,7 @@ if test "$libevent_cv_getaddrinfo" = "yes" ; then
     AC_DEFINE([HAVE_GETADDRINFO], [1], [Do we have getaddrinfo()?])
 else
 
+AC_CHECK_FUNCS([getservbyname])
 # Check for gethostbyname_r in all its glorious incompatible versions.
 #   (This is cut-and-pasted from Tor, which based its logic on
 #   Python's configure.in.)