Commit 0949ea9c authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Fix variable names in res_search check.

parent 42ac550d
...@@ -2800,7 +2800,7 @@ else ...@@ -2800,7 +2800,7 @@ else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
fi fi
if test "$ac_cv_libac_cv_lib_bind_res_search" = "yes" ; then if test "$ac_cv_lib_bind_res_search" = "yes" ; then
cat >> confdefs.h <<\EOF cat >> confdefs.h <<\EOF
#define HAVE_RES_SEARCH 1 #define HAVE_RES_SEARCH 1
EOF EOF
...@@ -2853,7 +2853,7 @@ else ...@@ -2853,7 +2853,7 @@ else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
fi fi
if test "$ac_cv_libac_cv_lib_resolv_res_search" = "yes" ; then if test "$ac_cv_lib_resolv_res_search" = "yes" ; then
cat >> confdefs.h <<\EOF cat >> confdefs.h <<\EOF
#define HAVE_RES_SEARCH 1 #define HAVE_RES_SEARCH 1
EOF EOF
......
...@@ -277,11 +277,11 @@ dnl Check for resolver routines ...@@ -277,11 +277,11 @@ dnl Check for resolver routines
AC_CHECK_FUNCS(res_search) AC_CHECK_FUNCS(res_search)
if test $ac_cv_func_res_search = "no" ; then if test $ac_cv_func_res_search = "no" ; then
AC_CHECK_LIB(bind, res_search) AC_CHECK_LIB(bind, res_search)
if test "$ac_cv_libac_cv_lib_bind_res_search" = "yes" ; then if test "$ac_cv_lib_bind_res_search" = "yes" ; then
AC_DEFINE(HAVE_RES_SEARCH,1) AC_DEFINE(HAVE_RES_SEARCH,1)
else else
AC_CHECK_LIB(resolv, res_search) AC_CHECK_LIB(resolv, res_search)
if test "$ac_cv_libac_cv_lib_resolv_res_search" = "yes" ; then if test "$ac_cv_lib_resolv_res_search" = "yes" ; then
AC_DEFINE(HAVE_RES_SEARCH,1) AC_DEFINE(HAVE_RES_SEARCH,1)
fi fi
fi fi
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment