mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-26 09:39:45 -05:00
Fix variable names in res_search check.
This commit is contained in:
parent
42ac550d46
commit
0949ea9c10
2 changed files with 4 additions and 4 deletions
4
configure
vendored
4
configure
vendored
|
|
@ -2800,7 +2800,7 @@ else
|
|||
echo "$ac_t""no" 1>&6
|
||||
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
|
||||
#define HAVE_RES_SEARCH 1
|
||||
EOF
|
||||
|
|
@ -2853,7 +2853,7 @@ else
|
|||
echo "$ac_t""no" 1>&6
|
||||
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
|
||||
#define HAVE_RES_SEARCH 1
|
||||
EOF
|
||||
|
|
|
|||
|
|
@ -277,11 +277,11 @@ dnl Check for resolver routines
|
|||
AC_CHECK_FUNCS(res_search)
|
||||
if test $ac_cv_func_res_search = "no" ; then
|
||||
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)
|
||||
else
|
||||
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)
|
||||
fi
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue