]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
build: use gnulib's freopen module
authorJim Meyering <meyering@redhat.com>
Wed, 30 Sep 2009 07:26:58 +0000 (09:26 +0200)
committerJim Meyering <meyering@redhat.com>
Wed, 30 Sep 2009 07:39:48 +0000 (09:39 +0200)
* bootstrap.conf (gnulib_modules): Add freopen, strsignal, fsync.
Exposed via make CFLAGS=-DGNULIB_POSIXCHECK 2>&1 \
|perl -lne '/.* use gnulib module (\S+).*/ and print $1' \
|sort |uniq -c|sort -nr
(avoided_gnulib_modules): Don't avoid the "lock" module.
Now it's required, as a dependency of the strsignal module.

bootstrap.conf

index 726092c7f27e71e9f6d4aa348dd3874642ec7ce9..5a2f28ebd142543bbc31f8be9efcec64b95a01ed 100644 (file)
@@ -20,7 +20,6 @@
 avoided_gnulib_modules='
   --avoid=canonicalize-lgpl
   --avoid=dummy
-  --avoid=lock
 '
 
 # These modules are obsolete and can probably be removed soon,
@@ -90,8 +89,10 @@ gnulib_modules="
   fnmatch-gnu
   fopen-safer
   fprintftime
+  freopen
   fseeko
   fsusage
+  fsync
   ftello
   ftruncate
   fts
@@ -201,6 +202,7 @@ gnulib_modules="
   strdup-posix
   strftime
   strpbrk
+  strsignal
   strtoimax
   strtoumax
   strverscmp