+2005-07-19 Tom Yu <tlyu@mit.edu>
+
+ * aclocal.m4 (AC_LIBRARY_NET): Special-case AIX 5.x due to broken
+ res_ninit(), or more precisely, incorrect size of struct
+ __res_state.
+
2005-03-25 Ken Raeburn <raeburn@mit.edu>
* configure.in: Don't check for getpwnam_r and getpwuid_r in the
# We assume that if libresolv exists we can link against it.
# This may get us a gethostby* that doesn't respect nsswitch.
AC_CHECK_LIB(resolv, main)
+
+ case $krb5_cv_host in
+ *-*-aix5*)
+ # AIX 5 has broken res_ninit due to resolv.h not having the correct
+ # size of struct __res_state; since we switch off of res_nsearch()
+ # rather than res_ninit(), pretend res_nsearch() is not available.
+ krb5_cv_func_res_nsearch=no
+ ;;
+ esac
_KRB5_AC_CHECK_RES_FUNCS(res_nsearch res_search ns_initparse dnl
ns_name_uncompress dn_skipname res_ndestroy)
if test $krb5_cv_func_res_nsearch = no \