From: Todd C. Miller Date: Tue, 15 Jun 2010 12:42:17 +0000 (-0400) Subject: Remove dup2() check, it is not optional. X-Git-Tag: SUDO_1_8_0~464 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=59718c32e4541d7f6f43da57e94a52fc5bfac240;p=sudo Remove dup2() check, it is not optional. --- diff --git a/config.h.in b/config.h.in index 623cd4a2f..d50bbeecb 100644 --- a/config.h.in +++ b/config.h.in @@ -104,9 +104,6 @@ /* Define to 1 if you have the header file. */ #undef HAVE_DLFCN_H -/* Define to 1 if you have the `dup2' function. */ -#undef HAVE_DUP2 - /* Define to 1 if your glob.h defines the GLOB_BRACE and GLOB_TILDE flags. */ #undef HAVE_EXTENDED_GLOB diff --git a/configure b/configure index da73d0c40..5f57f4c57 100755 --- a/configure +++ b/configure @@ -14569,7 +14569,7 @@ $as_echo "#define HAVE_GETGROUPS 1" >>confdefs.h fi LIBS=$ac_save_LIBS -for ac_func in dup2 strchr strrchr memchr memcpy memset sysconf tzset \ +for ac_func in strchr strrchr memchr memcpy memset sysconf tzset \ strftime setrlimit initgroups fstat gettimeofday \ regcomp setlocale getaddrinfo setsid setenv vhangup \ mbr_check_membership setrlimit64 diff --git a/configure.in b/configure.in index d27a711ee..4e0a145dd 100644 --- a/configure.in +++ b/configure.in @@ -1912,7 +1912,7 @@ dnl dnl Function checks dnl AC_FUNC_GETGROUPS -AC_CHECK_FUNCS(dup2 strchr strrchr memchr memcpy memset sysconf tzset \ +AC_CHECK_FUNCS(strchr strrchr memchr memcpy memset sysconf tzset \ strftime setrlimit initgroups fstat gettimeofday \ regcomp setlocale getaddrinfo setsid setenv vhangup \ mbr_check_membership setrlimit64)