summaryrefslogtreecommitdiffstats
path: root/lib/replace/libreplace.m4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-11-01 03:58:14 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-11-01 03:58:14 +0100
commit5a56c0adf2c63602b819d052644cb14caf732438 (patch)
tree37c6725a0ed7cfcf9708de335e21b52fc2a46c20 /lib/replace/libreplace.m4
parentdf766a303a9114969caa7c51e5e0e29d8e0e3850 (diff)
downloadsamba-5a56c0adf2c63602b819d052644cb14caf732438.tar.gz
samba-5a56c0adf2c63602b819d052644cb14caf732438.tar.xz
samba-5a56c0adf2c63602b819d052644cb14caf732438.zip
Use dup2() replacement from libreplace.
Diffstat (limited to 'lib/replace/libreplace.m4')
-rw-r--r--lib/replace/libreplace.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/replace/libreplace.m4 b/lib/replace/libreplace.m4
index 6f1543863a..6c72cf8a2c 100644
--- a/lib/replace/libreplace.m4
+++ b/lib/replace/libreplace.m4
@@ -107,7 +107,7 @@ AC_CHECK_HEADERS(stropts.h)
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 initgroups memmove strdup)
-AC_CHECK_FUNCS(pread pwrite strndup strcasestr strtok_r mkdtemp)
+AC_CHECK_FUNCS(pread pwrite strndup strcasestr strtok_r mkdtemp dup2)
AC_CHECK_FUNCS(isatty)
AC_HAVE_DECL(setresuid, [#include <unistd.h>])
AC_HAVE_DECL(setresgid, [#include <unistd.h>])