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
Matt's executability test with a few tweaks (e.g. to avoid using
[rsync/rsync.git]
/
aclocal.m4
diff --git
a/aclocal.m4
b/aclocal.m4
index
7f252ee
..
ebe754a
100644
(file)
--- a/
aclocal.m4
+++ b/
aclocal.m4
@@
-43,8
+43,8
@@
AC_DEFUN([TYPE_SOCKLEN_T],
for arg2 in "struct sockaddr" void; do
for t in int size_t unsigned long "unsigned long"; do
AC_TRY_COMPILE([
for arg2 in "struct sockaddr" void; do
for t in int size_t unsigned long "unsigned long"; do
AC_TRY_COMPILE([
-
#include <sys/types.h>
-
#include <sys/socket.h>
+#include <sys/types.h>
+#include <sys/socket.h>
int getpeername (int, $arg2 *, $t *);
],[
int getpeername (int, $arg2 *, $t *);
],[
@@
-67,3
+67,5
@@
AC_DEFUN([TYPE_SOCKLEN_T],
[#include <sys/types.h>
#include <sys/socket.h>])
])
[#include <sys/types.h>
#include <sys/socket.h>])
])
+
+