summaryrefslogtreecommitdiff
path: root/lib/gnulib.mk
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2011-06-25 01:40:38 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2011-06-25 01:40:38 -0700
commit7a7ef429182915745380c3074771d9f747dab964 (patch)
treed3bff619b8eef19d5f508473926f495dee4f1737 /lib/gnulib.mk
parentcd3520a41df21d80a9d894c58af2daba23c8dd24 (diff)
Use gnulib's dup2 module instead of rolling our own.
* Makefile.in (GNULIB_MODULES): Add dup2. * configure.in: Do not check for dup2; gnulib does that now. * lib/dup2.c, m4/dup2.m4: New files, from gnulib. * src/sysdep.c (dup2) [!HAVE_DUP2]: Remove; gnulib now does this.
Diffstat (limited to 'lib/gnulib.mk')
-rw-r--r--lib/gnulib.mk11
1 files changed, 10 insertions, 1 deletions
diff --git a/lib/gnulib.mk b/lib/gnulib.mk
index 0fd7f520ac..18abe4536f 100644
--- a/lib/gnulib.mk
+++ b/lib/gnulib.mk
@@ -9,7 +9,7 @@
# the same distribution terms as the rest of that program.
#
# Generated by gnulib-tool.
-# Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=. --makefile-name=gnulib.mk --conditional-dependencies --no-libtool --macro-prefix=gl --no-vc-files alloca-opt careadlinkat crypto/md5 crypto/sha1 crypto/sha256 crypto/sha512 dtoastr filemode getloadavg getopt-gnu ignore-value intprops lstat mktime readlink socklen stdarg stdio strftime strtoumax symlink sys_stat
+# Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=. --makefile-name=gnulib.mk --conditional-dependencies --no-libtool --macro-prefix=gl --no-vc-files alloca-opt careadlinkat crypto/md5 crypto/sha1 crypto/sha256 crypto/sha512 dtoastr dup2 filemode getloadavg getopt-gnu ignore-value intprops lstat mktime readlink socklen stdarg stdio strftime strtoumax symlink sys_stat
MOSTLYCLEANFILES += core *.stackdump
@@ -159,6 +159,15 @@ EXTRA_libgnu_a_SOURCES += ftoastr.c
## end gnulib module dtoastr
+## begin gnulib module dup2
+
+
+EXTRA_DIST += dup2.c
+
+EXTRA_libgnu_a_SOURCES += dup2.c
+
+## end gnulib module dup2
+
## begin gnulib module filemode
libgnu_a_SOURCES += filemode.c