test for _res

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11174 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
2002-08-20 16:37:09 +00:00
parent 86ae7dc7d0
commit 03b9deab6b

View File

@@ -144,6 +144,22 @@ AC_FIND_FUNC(dn_expand, resolv,
],
[0,0,0,0,0])
rk_CHECK_VAR(_res,
[#include <stdio.h>
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_NETINET_IN_H
#include <netinet/in.h>
#endif
#ifdef HAVE_ARPA_NAMESER_H
#include <arpa/nameser.h>
#endif
#ifdef HAVE_RESOLV_H
#include <resolv.h>
#endif])
AC_BROKEN_SNPRINTF
AC_BROKEN_VSNPRINTF