+2002-06-26 Ezra Peisach <epeisach@bu.edu>
+
+ * configure.in: Modify test for in6addr_any definition in C
+ library. Original test was stripped out by optimizing gcc
+ compiler.
+
2002-06-25 Ken Raeburn <raeburn@mit.edu>
* fake-addrinfo.h (GET_SERV_BY_PORT) [HAVE_GETSERVBYNAME_R &&
dnl If compiling with IPv6 support, test if in6addr_any functions.
dnl Irix 6.5.16 defines it, but lacks support in the C library.
if test $krb5_cv_inet6 = yes ; then
-AC_CACHE_CHECK([For in6addr_any definition in library],
+AC_CACHE_CHECK([for in6addr_any definition in library],
krb5_cv_var_in6addr_any,
[AC_TRY_LINK([
#ifdef HAVE_SYS_TYPES_H
],[
struct sockaddr_in6 in;
in.sin6_addr = in6addr_any;
+ printf("%x", &in);
],krb5_cv_var_in6addr_any=yes, krb5_cv_var_in6addr_any=no)])
if test $krb5_cv_var_in6addr_any = no; then
AC_DEFINE(NEED_INSIXADDR_ANY,1,[Define if in6addr_any is not defined in libc])