Add additional __res_query check

This commit is contained in:
Kurt Zeilenga 2001-10-23 17:32:53 +00:00
parent aee598dba7
commit 2e9983ca08
2 changed files with 566 additions and 510 deletions

1071
configure vendored

File diff suppressed because it is too large Load diff

View file

@ -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()])