summaryrefslogtreecommitdiff
path: root/source4/lib/replace
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-10-16 21:39:07 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:21:14 -0500
commitc2d6fad69bc42c0d7c261282797ca8baf9e9aad2 (patch)
tree383d9289c1927ec2315dae90c4290c44ef48919d /source4/lib/replace
parentd490e27304d7754d7a069afe6b9fb180b108999c (diff)
downloadsamba-c2d6fad69bc42c0d7c261282797ca8baf9e9aad2.tar.gz
samba-c2d6fad69bc42c0d7c261282797ca8baf9e9aad2.tar.bz2
samba-c2d6fad69bc42c0d7c261282797ca8baf9e9aad2.zip
r19347: Add socketpair()
(This used to be commit 8a8e974d2150d00855ccafef02b7ef2607921ea0)
Diffstat (limited to 'source4/lib/replace')
-rw-r--r--source4/lib/replace/README1
-rw-r--r--source4/lib/replace/libreplace.m42
2 files changed, 2 insertions, 1 deletions
diff --git a/source4/lib/replace/README b/source4/lib/replace/README
index 182a276116..a313984c8e 100644
--- a/source4/lib/replace/README
+++ b/source4/lib/replace/README
@@ -52,6 +52,7 @@ readline (the library)
inet_ntoa
strtoll
strtoull
+socketpair
Types:
bool
diff --git a/source4/lib/replace/libreplace.m4 b/source4/lib/replace/libreplace.m4
index d74ee6ed1e..b63c0fd471 100644
--- a/source4/lib/replace/libreplace.m4
+++ b/source4/lib/replace/libreplace.m4
@@ -150,7 +150,7 @@ AC_TRY_COMPILE([
AC_CHECK_FUNCS(seteuid setresuid setegid setresgid chroot bzero strerror)
AC_CHECK_FUNCS(vsyslog setlinebuf mktime ftruncate chsize rename)
AC_CHECK_FUNCS(waitpid strlcpy strlcat innetgr initgroups memmove strdup)
-AC_CHECK_FUNCS(pread pwrite strndup strcasestr strtok_r mkdtemp)
+AC_CHECK_FUNCS(pread pwrite strndup strcasestr strtok_r mkdtemp socketpair)
AC_HAVE_DECL(setresuid, [#include <unistd.h>])
AC_HAVE_DECL(setresgid, [#include <unistd.h>])
AC_HAVE_DECL(errno, [#include <errno.h>])