diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2022-02-16 16:35:41 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2022-02-16 16:35:41 +0900 |
commit | 7acd85d65ef52b08be9cf5cdf057239aa7a21e85 (patch) | |
tree | 6c8c969bc080bf31ed2add004568fc1d4d17199f /m4 | |
parent | f06790ac116291bcef7fd6c9057b17306fc8f74b (diff) | |
download | rsync-7acd85d65ef52b08be9cf5cdf057239aa7a21e85.tar.gz rsync-7acd85d65ef52b08be9cf5cdf057239aa7a21e85.tar.bz2 rsync-7acd85d65ef52b08be9cf5cdf057239aa7a21e85.zip |
Imported Upstream version 3.1.3upstream/3.1.3
Diffstat (limited to 'm4')
-rw-r--r-- | m4/socklen_t.m4 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/m4/socklen_t.m4 b/m4/socklen_t.m4 index 831820ca..99ca6d4e 100644 --- a/m4/socklen_t.m4 +++ b/m4/socklen_t.m4 @@ -18,15 +18,15 @@ AC_DEFUN([TYPE_SOCKLEN_T], rsync_cv_socklen_t_equiv= for arg2 in "struct sockaddr" void; do for t in int size_t unsigned long "unsigned long"; do - AC_TRY_COMPILE([ + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include <sys/types.h> #include <sys/socket.h> int getpeername (int, $arg2 *, $t *); - ],[ + ]],[[ $t len; getpeername(0,0,&len); - ],[ + ]])],[ rsync_cv_socklen_t_equiv="$t" break ]) |