mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-21 07:09:34 -05:00
Add additional __res_query check
This commit is contained in:
parent
aee598dba7
commit
2e9983ca08
2 changed files with 566 additions and 510 deletions
|
|
@ -882,6 +882,11 @@ if test $ac_cv_func_res_query = no ; then
|
||||||
ac_cv_func_res_query=$ac_cv_lib_resolv_res_query
|
ac_cv_func_res_query=$ac_cv_lib_resolv_res_query
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if test $ac_cv_func_res_query = no ; then
|
||||||
|
AC_CHECK_LIB(resolv, __res_query)
|
||||||
|
ac_cv_func_res_query=$ac_cv_lib_resolv___res_query
|
||||||
|
fi
|
||||||
|
|
||||||
if test "$ac_cv_func_res_query" = yes ; then
|
if test "$ac_cv_func_res_query" = yes ; then
|
||||||
AC_DEFINE(HAVE_RES_QUERY,1,
|
AC_DEFINE(HAVE_RES_QUERY,1,
|
||||||
[define if you have res_query()])
|
[define if you have res_query()])
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue