From: Todd C. Miller Date: Tue, 15 Jun 2010 12:43:24 +0000 (-0400) Subject: Remove dup2 check, it is not optional. X-Git-Tag: SUDO_1_7_3~64 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a99acb0af2fa4f62cfecb4c15069afcc8b50346e;p=sudo Remove dup2 check, it is not optional. --HG-- branch : 1.7 --- diff --git a/config.h.in b/config.h.in index 776ad8a47..ce47eb5f8 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 9fb1a6592..a2bf03478 100755 --- a/configure +++ b/configure @@ -14550,7 +14550,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 getgroups fstat gettimeofday \ regcomp setlocale getaddrinfo setsid setenv vhangup \ mbr_check_membership setrlimit64 diff --git a/configure.in b/configure.in index d57cff0c6..98da3fddb 100644 --- a/configure.in +++ b/configure.in @@ -1881,7 +1881,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 getgroups fstat gettimeofday \ regcomp setlocale getaddrinfo setsid setenv vhangup \ mbr_check_membership setrlimit64)