diff options
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 1b1ef3d7..24f66d20 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 | |||
330 | AC_ARG_WITH(lwres, | 331 | AC_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?]) |
385 | else | 386 | else |
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]) | 388 | dnl 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" |
390 | fi | 393 | fi |