warnings: fix compilation with old autoconf
[gnulib/ericb.git] / modules / dup2
blob2ad65d1dc11b63dc249ea689280722f9bec7b82c
1 Description:
2 dup2() function: duplicate an open file descriptor.
4 Files:
5 lib/dup2.c
6 m4/dup2.m4
8 Depends-on:
9 unistd
10 dup2-obsolete
11 msvc-inval      [test $HAVE_DUP2 = 0 || test $REPLACE_DUP2 = 1]
12 msvc-nothrow    [test $HAVE_DUP2 = 0 || test $REPLACE_DUP2 = 1]
14 configure.ac:
15 gl_FUNC_DUP2
16 if test $HAVE_DUP2 = 0 || test $REPLACE_DUP2 = 1; then
17   AC_LIBOBJ([dup2])
18   gl_PREREQ_DUP2
20 gl_UNISTD_MODULE_INDICATOR([dup2])
22 Makefile.am:
24 Include:
25 <unistd.h>
27 License:
28 LGPLv2+
30 Maintainer:
31 Paul Eggert, Jim Meyering