Remove dup2() check, it is not optional.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 15 Jun 2010 12:42:17 +0000 (08:42 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 15 Jun 2010 12:42:17 +0000 (08:42 -0400)
config.h.in
configure
configure.in

index 623cd4a2f59201ae2df1bbf9d12b3b768dca3d98..d50bbeecbe503d2517d452b97e803c1c50c43d0a 100644 (file)
 /* Define to 1 if you have the <dlfcn.h> 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
 
index da73d0c4039e5629ab09b4e95261a1b04dba33e4..5f57f4c57a7b44920831756b655d26022b07a968 100755 (executable)
--- 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
index d27a711ee21268ed56ae69fa82710b2f3727c3da..4e0a145dde69e77c47f70282d926f7f372169005 100644 (file)
@@ -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)