summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 1b1ef3d..24f66d2 100644
--- a/configure.in
+++ b/configure.in
@@ -327,6 +327,7 @@ AC_ARG_ENABLE([emulate-getaddrinfo],
327 [enable getaddrinfo emulation (default=no)]), 327 [enable getaddrinfo emulation (default=no)]),
328 , 328 ,
329 enable_emulate_getaddrinfo=no) 329 enable_emulate_getaddrinfo=no)
330
330AC_ARG_WITH(lwres, 331AC_ARG_WITH(lwres,
331 ACX_HELP_STRING([--with-lwres=DIR], 332 ACX_HELP_STRING([--with-lwres=DIR],
332 [use lwres library for getaddrinfo (default=no)]), 333 [use lwres library for getaddrinfo (default=no)]),
@@ -384,7 +385,9 @@ if test x$have_getaddrinfo != xno ; then
384 [Does system provide RFC 2553/Posix getaddrinfo?]) 385 [Does system provide RFC 2553/Posix getaddrinfo?])
385else 386else
386 if test x$enable_emulate_getaddrinfo != xyes ; then 387 if test x$enable_emulate_getaddrinfo != xyes ; then
387 AC_MSG_ERROR([getaddrinfo not found: try --with-lwres or --enable-emulate-getaddrinfo]) 388dnl AC_MSG_ERROR([getaddrinfo not found: try --with-lwres or --enable-emulate-getaddrinfo])
389 enable_emulate_getaddrinfo=yes
390 AC_MSG_WARN([enabling getaddrinfo emulation])
388 fi 391 fi
389 EXTRA_NETOBJS="$EXTRA_NETOBJS getaddrinfo.o" 392 EXTRA_NETOBJS="$EXTRA_NETOBJS getaddrinfo.o"
390fi 393fi