Blind MacOSX -lresolv fix

This commit is contained in:
Kurt Zeilenga 2004-06-18 03:56:33 +00:00
parent ef0a404729
commit 755522df80
2 changed files with 658 additions and 602 deletions

1255
configure vendored

File diff suppressed because it is too large Load diff

View file

@ -971,6 +971,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_9_query)
ac_cv_func_res_query=$ac_cv_lib_resolv_res_9_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()])