keep local-to-NTP patch up to date with event-config.h s/_EVENT/EVENT_/
bk: 4fda710cZvYSSiGeZa-X5nTkPdXXSQ
# 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.)
+AH_TEMPLATE(HAVE_GETHOSTBYNAME_R,
+ [Define this if you have any gethostbyname_r()])
+
AC_CHECK_FUNC(gethostbyname_r, [
AC_MSG_CHECKING([how many arguments gethostbyname_r() wants])
OLD_CFLAGS=$CFLAGS
#include "mm-internal.h"
#include "evthread-internal.h"
-#if _EVENT_HAVE_PTHREADS < 5 /* HP-UX 10.20 has 4, needs this */
+#if EVENT__HAVE_PTHREADS < 5 /* HP-UX 10.20 has 4, needs this */
# define pthread_mutex_init(m, a) \
pthread_mutex_init(m, (a) \
? *(const pthread_mutexattr_t *)(a) \