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:
d706e88
)
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:23:04 +0000
(11:23 -0700)
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index 86f179338681c0621c3c048f1209075a9e0f198c..21a609846aeae08812f9ee00be773a6718ca2d66 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-675,7
+675,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