summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-07-26 07:01:35 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:10:24 -0500
commit308abfefb900b510be968784ad60f7900e44ee14 (patch)
tree11a9074210e4277506e9bbc81439175d7b5381b6 /source4/lib
parent04d776a4090de08deb9c4912636bdb56082ce9d2 (diff)
downloadsamba-308abfefb900b510be968784ad60f7900e44ee14.tar.gz
samba-308abfefb900b510be968784ad60f7900e44ee14.tar.bz2
samba-308abfefb900b510be968784ad60f7900e44ee14.zip
r17253: add configure checks for writev/readv to see how portable they're
metze (This used to be commit b5c06d5b4ca4da6d1b582a33830471443a62d842)
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/socket/config.m43
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/lib/socket/config.m4 b/source4/lib/socket/config.m4
index cb593ea184..7ea7e2b809 100644
--- a/source4/lib/socket/config.m4
+++ b/source4/lib/socket/config.m4
@@ -1,5 +1,8 @@
AC_CHECK_HEADERS(sys/socket.h sys/sockio.h sys/un.h)
+AC_CHECK_FUNCS(writev)
+AC_CHECK_FUNCS(readv)
+
AC_CACHE_CHECK([for sin_len in sock],samba_cv_HAVE_SOCK_SIN_LEN,[
AC_TRY_COMPILE([#include <sys/types.h>
#include <sys/socket.h>