aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 681e620a..46e6214c 100644
--- a/configure.in
+++ b/configure.in
@@ -84,7 +84,7 @@ AC_CHECK_FUNCS(tcsetattr stty setsid seteuid gethostbyname res_search herror \
AC_CHECK_FUNC(res_search,
AC_MSG_RESULT(using libc's resolver functions),
AC_CHECK_LIB(resolv,res_search,
- [AC_DEFINE(HAVE_RES_SEARCH) AC_MSG_RESULT(found resolver functions in libresolv)], AC_MSG_RESULT(no resolver calls found)))
+ [AC_DEFINE(HAVE_RES_SEARCH) AC_MSG_RESULT(found resolver functions in libresolv); LIBS="$LIBS -lresolv"], AC_MSG_RESULT(no resolver calls found)))
dnl AC_FUNC_SETVBUF_REVERSED