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:
@@ -317,6 +317,13 @@ AC_BROKEN([ \
|
||||
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
|
||||
rk_BROKEN_GETNAMEINFO
|
||||
if test "$ac_cv_func_getnameinfo_broken" = yes; then
|
||||
@@ -525,13 +532,6 @@ dnl
|
||||
|
||||
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 moved to AC_OUTPUT in configure.in
|
||||
dnl AC_CONFIG_FILES($1/Makefile)
|
||||
|
Reference in New Issue
Block a user