move sa_len test to before test for broken getnameinfo

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9376 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
2000-12-12 15:28:41 +00:00
parent 9f1d9d8cee
commit 2e945a98d5

View File

@@ -317,6 +317,13 @@ AC_BROKEN([ \
writev \ writev \
]) ])
dnl
dnl Check for sa_len in struct sockaddr,
dnl needs to come before the getnameinfo test
dnl
AC_HAVE_STRUCT_FIELD(struct sockaddr, sa_len, [#include <sys/types.h>
#include <sys/socket.h>])
if test "$ac_cv_func_getnameinfo" = "yes"; then if test "$ac_cv_func_getnameinfo" = "yes"; then
rk_BROKEN_GETNAMEINFO rk_BROKEN_GETNAMEINFO
if test "$ac_cv_func_getnameinfo_broken" = yes; then if test "$ac_cv_func_getnameinfo_broken" = yes; then
@@ -525,13 +532,6 @@ dnl
AC_KRB_STRUCT_SPWD AC_KRB_STRUCT_SPWD
dnl
dnl Check for sa_len in struct sockaddr
dnl
AC_HAVE_STRUCT_FIELD(struct sockaddr, sa_len, [#include <sys/types.h>
#include <sys/socket.h>])
dnl won't work with automake dnl won't work with automake
dnl moved to AC_OUTPUT in configure.in dnl moved to AC_OUTPUT in configure.in
dnl AC_CONFIG_FILES($1/Makefile) dnl AC_CONFIG_FILES($1/Makefile)