mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-20 22:59:34 -05:00
Add check for __res_query in default libraries
This commit is contained in:
parent
7e1c4f272d
commit
125165ff97
2 changed files with 582 additions and 524 deletions
|
|
@ -858,8 +858,15 @@ fi
|
||||||
|
|
||||||
dnl ----------------------------------------------------------------
|
dnl ----------------------------------------------------------------
|
||||||
dnl Check for resolver routines
|
dnl Check for resolver routines
|
||||||
|
dnl need to check for both res_query and __res_query
|
||||||
|
dnl need to check -lc, -lbind, and -lresolv
|
||||||
ol_link_dnssrv=no
|
ol_link_dnssrv=no
|
||||||
AC_CHECK_FUNC(res_query,:)
|
AC_CHECK_FUNC(res_query,:)
|
||||||
|
if test $ac_cv_func_res_query = no ; then
|
||||||
|
AC_CHECK_FUNC(__res_query,:)
|
||||||
|
ac_cv_func_res_query=$ac_cv_func___res_query
|
||||||
|
fi
|
||||||
|
|
||||||
if test $ac_cv_func_res_query = no ; then
|
if test $ac_cv_func_res_query = no ; then
|
||||||
AC_CHECK_LIB(bind, res_query)
|
AC_CHECK_LIB(bind, res_query)
|
||||||
ac_cv_func_res_query=$ac_cv_lib_bind_res_query
|
ac_cv_func_res_query=$ac_cv_lib_bind_res_query
|
||||||
|
|
@ -2283,6 +2290,7 @@ AC_CHECK_FUNCS( \
|
||||||
strtoul \
|
strtoul \
|
||||||
strspn \
|
strspn \
|
||||||
sysconf \
|
sysconf \
|
||||||
|
usleep \
|
||||||
waitpid \
|
waitpid \
|
||||||
wait4 \
|
wait4 \
|
||||||
write \
|
write \
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue