From: Ezra Peisach Date: Wed, 26 Jun 2002 22:39:02 +0000 (+0000) Subject: * configure.in: Modify test for in6addr_any definition in C X-Git-Tag: krb5-1.3-alpha1~631 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=768cb4b982362c99a4f5d342d8e333986e9f3683;p=krb5.git * configure.in: Modify test for in6addr_any definition in C library. Original test was stripped out by optimizing gcc compiler. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14588 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/include/ChangeLog b/src/include/ChangeLog index 5f338fc9d..a972daf05 100644 --- a/src/include/ChangeLog +++ b/src/include/ChangeLog @@ -1,3 +1,9 @@ +2002-06-26 Ezra Peisach + + * 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 * fake-addrinfo.h (GET_SERV_BY_PORT) [HAVE_GETSERVBYNAME_R && diff --git a/src/include/configure.in b/src/include/configure.in index 16117afe7..9c9199e7e 100644 --- a/src/include/configure.in +++ b/src/include/configure.in @@ -77,7 +77,7 @@ dnl 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 @@ -93,6 +93,7 @@ AC_CACHE_CHECK([For in6addr_any definition in library], ],[ 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])