Mention the changes in the "patches" dir.
[rsync/rsync.git] / configure.in
index 4bf4803..ad1abde 100644 (file)
@@ -388,9 +388,16 @@ else
        AC_LIBOBJ(lib/getnameinfo)
 fi
 
-
 AC_CHECK_MEMBER([struct sockaddr.sa_len],
-               [ AC_DEFINE(HAVE_SOCKADDR_LEN) ],
+               [ AC_DEFINE(HAVE_SOCKADDR_SA_LEN, 1, [Do we have sockaddr.sa_len?]) ],
+               [],
+               [
+#include <sys/types.h>
+#include <sys/socket.h>
+])
+
+AC_CHECK_MEMBER([struct sockaddr.sin_len],
+               [ AC_DEFINE(HAVE_SOCKADDR_SIN_LEN, 1, [Do we have sockaddr.sin_len?]) ],
                [],
                [
 #include <sys/types.h>
@@ -407,7 +414,7 @@ AC_TRY_COMPILE([#include <sys/types.h>
        AC_MSG_RESULT(no))
 
 AC_CHECK_MEMBER([struct sockaddr_in6.sin6_scope_id],
-               [ AC_DEFINE(HAVE_SOCKADDR_IN6_SCOPE_ID) ],
+               [ AC_DEFINE(HAVE_SOCKADDR_IN6_SCOPE_ID, 1, [Do we have sockaddr_in6.sin6_scope_id?]) ],
                [],
                [
 #include <sys/types.h>