X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/7eb8d18a999f4323aaa3306cbe2507608266920d..2d6dbe290c1ccc52b550753c4f9240ac716d5a24:/configure.in diff --git a/configure.in b/configure.in index 7dec3e32..1a941840 100644 --- a/configure.in +++ b/configure.in @@ -5,7 +5,7 @@ AC_CONFIG_SRCDIR([byteorder.h]) AC_CONFIG_HEADER(config.h) AC_PREREQ(2.52) -RSYNC_VERSION=2.5.0 +RSYNC_VERSION=2.5.1pre2 AC_SUBST(RSYNC_VERSION) AC_MSG_NOTICE([Configuring rsync $RSYNC_VERSION]) @@ -284,6 +284,14 @@ AC_CHECK_MEMBER([struct sockaddr.sa_len], #include ]) +AC_MSG_CHECKING(struct sockaddr_storage) +AC_TRY_COMPILE([#include +#include ], +[struct sockaddr_storage x;], + AC_MSG_RESULT(yes) + AC_DEFINE(HAVE_SOCKADDR_STORAGE), + AC_MSG_RESULT(no)) + # if we can't find strcasecmp, look in -lresolv (for Unixware at least) # AC_CHECK_FUNCS(strcasecmp)