Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Put the new address family option into an options struct. We have too
[rsync/rsync.git]
/
configure.in
diff --git
a/configure.in
b/configure.in
index
16b188a
..
eb0fc34
100644
(file)
--- a/
configure.in
+++ b/
configure.in
@@
-92,8
+92,8
@@
fi
-AC_DEFINE(ss_family, __ss_family, [KAME hack])
-AC_DEFINE(ss_len, __ss_len, [KAME hack])
+
dnl
AC_DEFINE(ss_family, __ss_family, [KAME hack])
+
dnl
AC_DEFINE(ss_len, __ss_len, [KAME hack])
CFLAGS="$CFLAGS"
AC_ARG_ENABLE(ipv6,
CFLAGS="$CFLAGS"
AC_ARG_ENABLE(ipv6,
@@
-224,16
+224,6
@@
if test "$ipv6" = "yes" -a "$ipv6lib" != "none"; then
fi
fi
fi
fi
-AC_REPLACE_FUNCS(getaddrinfo getnameinfo)
-
-AC_CHECK_MEMBER([struct sockaddr.sa_len],
- [ AC_DEFINE(HAVE_SOCKADDR_LEN) ],
- [],
- [
-#include <sys/types.h>
-#include <sys/socket.h>
-])
-
AC_C_BIGENDIAN
AC_HEADER_DIRENT
AC_HEADER_TIME
AC_C_BIGENDIAN
AC_HEADER_DIRENT
AC_HEADER_TIME
@@
-305,7
+295,17
@@
if test x"$ac_cv_func_connect" = x"no"; then
fi
fi
fi
fi
-#
+AC_MSG_NOTICE([Looking in libraries: $LIBS])
+AC_REPLACE_FUNCS(getaddrinfo getnameinfo)
+
+AC_CHECK_MEMBER([struct sockaddr.sa_len],
+ [ AC_DEFINE(HAVE_SOCKADDR_LEN) ],
+ [],
+ [
+#include <sys/types.h>
+#include <sys/socket.h>
+])
+
# if we can't find strcasecmp, look in -lresolv (for Unixware at least)
#
AC_CHECK_FUNCS(strcasecmp)
# if we can't find strcasecmp, look in -lresolv (for Unixware at least)
#
AC_CHECK_FUNCS(strcasecmp)