git.samba.org
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64fa23a
)
Ignore socketpair() on cygwin. Fixes bug 8356.
author
Wayne Davison
<wayned@samba.org>
Sat, 6 Aug 2011 18:18:54 +0000
(11:18 -0700)
committer
Wayne Davison
<wayned@samba.org>
Sat, 6 Aug 2011 18:19:00 +0000
(11:19 -0700)
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index b822d099c460d6b348d3921308f4ffdda63eb71f..9e6da5e56a898eacf446c25d31c4fb464ffb199a 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-730,7
+730,11
@@
AC_TRY_RUN([
main() {
int fd[2];
+#ifdef __CYGWIN__
+ exit(1);
+#else
exit((socketpair(AF_UNIX, SOCK_STREAM, 0, fd) != -1) ? 0 : 1);
+#endif
}],
rsync_cv_HAVE_SOCKETPAIR=yes,rsync_cv_HAVE_SOCKETPAIR=no,rsync_cv_HAVE_SOCKETPAIR=cross)])
if test x"$rsync_cv_HAVE_SOCKETPAIR" = x"yes"; then