libposix: Revert the unreviewed part of yesterday's big merge.
authorBruce Korb <bkorb@gnu.org>
Sun, 6 Feb 2011 20:11:40 +0000 (21:11 +0100)
committerBruno Haible <bruno@clisp.org>
Sun, 6 Feb 2011 20:15:53 +0000 (21:15 +0100)
Back out yesterday's big merge from the libposix branch, except for the
openat-die.c change that was reviewed and approved by Paul Eggert.
Put the ChangeLog entry at the top, to reflect the order of changes in the
master branch.

61 files changed:
.gitignore
ChangeLog
gnulib-tool
lib/xalloc-die.c
modules/alloca-opt
modules/arg-nonnull
modules/argz
modules/arpa_inet
modules/byteswap
modules/c++defs
modules/ctype
modules/dirent
modules/errno
modules/fcntl-h
modules/float
modules/fnmatch
modules/getopt-posix
modules/glob
modules/iconv-h
modules/iconv_open
modules/inttypes
modules/langinfo
modules/link-warning
modules/locale
modules/math
modules/netdb
modules/netinet_in
modules/poll-h
modules/pthread
modules/pty
modules/sched
modules/search
modules/selinux-h
modules/signal
modules/spawn
modules/stdarg
modules/stdbool
modules/stddef
modules/stdint
modules/stdio
modules/stdlib
modules/string
modules/strings
modules/sys_file
modules/sys_ioctl
modules/sys_select
modules/sys_socket
modules/sys_stat
modules/sys_time
modules/sys_times
modules/sys_utsname
modules/sys_wait
modules/sysexits
modules/termios
modules/time
modules/unistd
modules/unitypes
modules/unused-parameter
modules/warn-on-use
modules/wchar
modules/wctype

index 92cb9b5..b95fb40 100644 (file)
@@ -6,5 +6,3 @@
 allsnippets.tmp
 amsnippet.tmp
 testdir*
-*.diff
-*.patch
index eb17b6d..039d140 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,14 @@
        * m4/setenv.m4 (gl_FUNC_UNSETENV): Also detect Haiku issue.
        * doc/posix-functions/unsetenv.texi (unsetenv): Document it.
 
+2010-12-30  Bruce Korb  <bkorb@gnu.org>
+
+       libposix: avoid calling error() within libposix
+       * lib/openat-die.c: remove error module stuff when GNULIB_LIBPOSIX
+       is defined.
+
+2011-02-05  Eric Blake  <eblake@redhat.com>
+
        strerror_r-posix: port to cygwin
        * lib/strerror_r.c (strerror_r) [__CYGWIN__]: Add cygwin
        implementation.
        * doc/posix-functions/gmtime_r.texi: Document the HP-UX 11 problem.
        * doc/posix-functions/localtime_r.texi: Likewise.
 
-2010-12-30  Bruce Korb  <bkorb@gnu.org>
-
-       libposix: avoid calling error() within libposix
-       * lib/openat-die.c: remove error module stuff when GNULIB_LIBPOSIX
-       is defined.
-       * lib/xalloc-die.c: Same thing.
-
 2010-12-29  Eric Blake  <eblake@redhat.com>
 
        mountlist: tweak previous commit
        * lib/ftoastr.h, lib/ftoastr.c, lib/dtoastr.c, lib/ldtoastr.c:
        * modules/ftoastr: New files.
 
-2010-11-16  Bruce Korb  <bkorb@gnu.org>
-
-       libposix: Libposix module will be created on the fly
-       * modules/libposix: remove
-       * modules/*: Use pkginclude_HEADERS instead of plain "include".
-       * gnulib-tool: adjust here, too
-
 2010-11-15  Paul Eggert  <eggert@cs.ucla.edu>
 
        bootstrap: port to Solaris sed
        and use malloc rather than the stack for the same reason as
        mentioned in the comment justifying the other allocation.
 
-2010-10-12  Gary V. Vaughan  <gary@gnu.org>
-
-       libposix: use git-version-gen for version numbering
-       * build-aux/git-version-gen: In order to work inside the
-       libposix subdirectory, also check the parent directory for .git
-       before assuming git describe will not work.
-
-       add _HEADERS primaries to Makefile.am snippets for installable headers
-       * modules/alloca-opt, modules/arg-nonnull, modules/argz,
-       modules/arpa_inet, modules/byteswap, modules/c++defs, modules/ctype,
-       modules/dirent, modules/errno, modules/fcntl-h, modules/float,
-       modules/fnmatch, modules/getopt-posix, modules/glob, modules/iconv-h,
-       modules/iconv_open, modules/inttypes, modules/langinfo,
-       modules/link-warning, modules/locale, modules/math, modules/netdb,
-       modules/netinet_in, modules/poll-h, modules/pthread, modules/pty,
-       modules/sched, modules/search, modules/selinux-h, modules/signal,
-       modules/spawn, modules/stdarg, modules/stdbool, modules/stddef,
-       modules/stdint, modules/stdio, modules/stdlib, modules/string,
-       modules/strings, modules/sys_file, modules/sys_ioctl,
-       modules/sys_select, modules/sys_socket, modules/sys_stat,
-       modules/sys_time, modules/sys_times, modules/sys_utsname,
-       modules/sys_wait, modules/sysexits, modules/termios, modules/time,
-       modules/unistd, modules/unitypes, modules/unused-parameter,
-       modules/warn-on-use, modules/wchar, modules/wctype (Makefile.am):
-       Add nodist_include_HEADERS, nobase_nodist_include_HEADERS and
-       EXTRA_HEADERS declarations for potentially installable header files.
-       * gnulib-tool: Initialize nodist_include_HEADERS,
-       nobase_nodist_include_HEADERS and EXTRA_HEADERS to prime for new
-       `.*_HEADERS +=' declarations.
-       (func_emit_lib_Makefile_am): Edit away new nodist_include_HEADERS,
-       nobase_nodist_include_HEADERS and EXTRA_HEADERS declarations by
-       default, reverting the Makefile.am snippets above to their original
-       condition prior to this change *unless* the gnulib library is being
-       installed.
-
-       New module `libposix'.
-       * modules/libposix: New module to facilitate an installable
-       library of posix modules.
-       (Makefile.am): Use lib_LTLIBRARIES to mark libposix.la as
-       installable.
-       (Depends-On): List all the modules found by `posix-modules',
-       except `strdup' which is spurious, and with the addition of
-       `alloca' to satisfy an otherwise undefined LTALLOCA definition;
-       and `progname' to provide a non-extern program_name symbol so that
-       compilation with `-no-undefined' symbols can work.
-
-       iconv_open: reduce not-trivial repetition of file-list
-       * modules/iconv_open (iconv_headers): New make macro to hold list of
-       iconv header files.
-       (BUILT_SOURCES, MAINTAINERCLEANFILES, EXTRA_DIST): Use it instead of
-       multiple hard-coded copies.
-
-       gnulib-tool: transform hard-coded libgnu.a to $libname.l?a
-       * gnulib-tool (func_emit_lib_Makefile_am): transform hard-coded
-       `libgnu.a' in Makefile.am snippets to be either `$libname.a' or
-       `$libname.la', depending on whether --libtool/--no-libtool options
-       were given.
-
-2010-10-12  Sam Steingold  <sds@gnu.org>
-           Gary V. Vaughan  <gary@gnu.org>
-
-       gnulib-tool: transform include guards with `--macro-prefix'
-       * gnulib-tool (func_import): support multiple gllib directories:
-       headers are generated for each gllib differently, depending on which
-       features are actually used, so we need to be able to include all
-       these generated headers without fear that one will shadow another,
-       so we prepend the macro-prefix before the guard macros.
-
 2010-10-11  Bruno Haible  <bruno@clisp.org>
 
        stdlib: Allow multiple gnulib generated replacements to coexist.
index 0be26f5..9375f97 100755 (executable)
@@ -2815,11 +2815,6 @@ func_emit_lib_Makefile_am ()
   echo
   uses_subdirs=
   {
-    if test false = "$libtool"; then
-      sed_transform_libgnu_a="s, libgnu\\.a, $libname.a,g"
-    else
-      sed_transform_libgnu_a="s, libgnu\\.a, $libname.la,g"
-    fi
     for module in $modules; do
       func_verify_nontests_module
       if test -n "$module"; then
@@ -2832,7 +2827,6 @@ func_emit_lib_Makefile_am ()
                 -e 's,lib_\([A-Z][A-Z]*\),'"${libname}_${libext}"'_\1,g' \
                 -e 's,lib%_LIBRARIES,lib_LIBRARIES,g' \
                 -e 's,lib%_LTLIBRARIES,lib_LTLIBRARIES,g' \
-               -e "$sed_transform_libgnu_a" \
                 -e "$sed_transform_check_PROGRAMS"
           if test "$module" = 'alloca'; then
             echo "${libname}_${libext}_LIBADD += @${perhapsLT}ALLOCA@"
@@ -2872,8 +2866,6 @@ func_emit_lib_Makefile_am ()
   echo
   if test -z "$makefile_name"; then
     echo "SUBDIRS ="
-    echo "nodist_pkginclude_HEADERS ="
-    echo "nobase_nodist_pkginclude_HEADERS ="
     echo "noinst_HEADERS ="
     echo "noinst_LIBRARIES ="
     echo "noinst_LTLIBRARIES ="
@@ -2883,7 +2875,6 @@ func_emit_lib_Makefile_am ()
       echo "pkgdata_DATA ="
     fi
     echo "EXTRA_DIST ="
-    echo "EXTRA_HEADERS ="
     echo "BUILT_SOURCES ="
     echo "SUFFIXES ="
   fi
@@ -2923,18 +2914,11 @@ func_emit_lib_Makefile_am ()
           && test -f "$sourcebase/Makefile.am" \
           && LC_ALL=C grep "^[a-zA-Z0-9_]*_${perhapsLT}LIBRARIES *+\{0,1\}= *$libname\\.$libext\$" "$sourcebase/Makefile.am" > /dev/null; \
         }; then
-    # Install associated header files, per module Makefile.am snippets.
-    sed_transform_HEADERS_primaries="$sed_noop"
     # One of the snippets or the user's Makefile.am already specifies an
     # installation location for the library. Don't confuse automake by saying
     # it should not be installed.
     :
   else
-    # Don't install header files when generated library is not installed.
-    sed_transform_HEADERS_primaries="\
-        /^\(nobase_\)\{0,1\}nodist_pkginclude_HEADERS *=.*$/d
-        /^EXTRA_HEADERS *=.*$/d
-    "
     # By default, the generated library should not be installed.
     echo "noinst_${perhapsLT}LIBRARIES += $libname.$libext"
   fi
@@ -2966,8 +2950,7 @@ func_emit_lib_Makefile_am ()
     echo
   fi
   cat "$tmp"/allsnippets \
-    | sed -e 's|\$(top_srcdir)/build-aux/|$(top_srcdir)/'"$auxdir"'/|g' \
-          -e "$sed_transform_HEADERS_primaries"
+    | sed -e 's|\$(top_srcdir)/build-aux/|$(top_srcdir)/'"$auxdir"'/|g'
   echo
   echo "mostlyclean-local: mostlyclean-generic"
   echo "       @for dir in '' \$(MOSTLYCLEANDIRS); do \\"
@@ -3181,8 +3164,6 @@ func_emit_tests_Makefile_am ()
   if ! $for_test; then
     echo "check_PROGRAMS ="
   fi
-  echo "nodist_pkginclude_HEADERS ="
-  echo "nobase_nodist_pkginclude_HEADERS ="
   echo "noinst_HEADERS ="
   echo "noinst_LIBRARIES ="
   if $use_libtests; then
@@ -3198,7 +3179,6 @@ func_emit_tests_Makefile_am ()
     echo "pkgdata_DATA ="
   fi
   echo "EXTRA_DIST ="
-  echo "EXTRA_HEADERS ="
   echo "BUILT_SOURCES ="
   echo "SUFFIXES ="
   echo "MOSTLYCLEANFILES = core *.stackdump"
@@ -3867,9 +3847,6 @@ s,^\(.................................................[^ ]*\) *,
       break
     fi
   done
-  test -n "${macro_prefix}" && sed_transform_lib_file=$sed_transform_lib_file"
-    s/_GL_\(.*\)_H/_${macro_prefix}_GL_\1_H/g
-  "
   sed_transform_main_lib_file="$sed_transform_lib_file"
   if test -n "$do_copyrights"; then
     if test -n "$lgpl"; then
@@ -3908,10 +3885,6 @@ s,^\(.................................................[^ ]*\) *,
       s/version 2\(.1\)\{0,1\}\([ ,]\)/version 3\2/g
     '
   fi
-  test -n "${macro_prefix}" \
-    && sed_transform_build_aux_file=$sed_transform_build_aux_file"
-         s/_GL_\(.*\)_H/_${macro_prefix}_GL_\1_H/g
-       "
 
   # Determine script to apply to library files that go into $testsbase/.
   sed_transform_testsrelated_lib_file="$sed_transform_lib_file"
index a714e43..aba4a06 100644 (file)
 
 #include <stdlib.h>
 
-#ifndef GNULIB_LIBPOSIX
 #include "error.h"
-#endif
-
 #include "exitfail.h"
 
 #include "gettext.h"
@@ -34,9 +31,7 @@
 void
 xalloc_die (void)
 {
-#ifndef GNULIB_LIBPOSIX
   error (exit_failure, 0, "%s", _("memory exhausted"));
-#endif
 
   /* The `noreturn' cannot be given to error, since it may return if
      its first argument is 0.  To help compilers understand the
index 4ae08b0..9ced93b 100644 (file)
@@ -13,9 +13,6 @@ configure.ac:
 gl_FUNC_ALLOCA
 
 Makefile.am:
-nodist_pkginclude_HEADERS += $(ALLOCA_H)
-EXTRA_HEADERS += alloca.h
-
 BUILT_SOURCES += $(ALLOCA_H)
 
 # We need the following in order to create <alloca.h> when the system
index 37c5ea6..d4e4d13 100644 (file)
@@ -12,8 +12,6 @@ Depends-on:
 configure.ac:
 
 Makefile.am:
-nodist_pkginclude_HEADERS += arg-nonnull.h
-
 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
 # statements but through direct file reference. Therefore this snippet must be
 # present in all Makefile.am that need it. This is ensured by the applicability
index 1a33f37..5f9c749 100644 (file)
@@ -18,9 +18,6 @@ configure.ac:
 gl_FUNC_ARGZ
 
 Makefile.am:
-nodist_pkginclude_HEADERS += $(ARGZ_H)
-EXTRA_HEADERS += argz.h
-
 BUILT_SOURCES += $(ARGZ_H)
 
 # We need the following in order to create <argz.h> when the system
index 35c2167..34b9881 100644 (file)
@@ -17,8 +17,6 @@ gl_HEADER_ARPA_INET
 AC_PROG_MKDIR_P
 
 Makefile.am:
-nobase_nodist_pkginclude_HEADERS += arpa/inet.h
-
 BUILT_SOURCES += arpa/inet.h
 
 # We need the following in order to create <arpa/inet.h> when the system
index d16af57..6a3ce15 100644 (file)
@@ -11,9 +11,6 @@ configure.ac:
 gl_BYTESWAP
 
 Makefile.am:
-nodist_pkginclude_HEADERS += $(BYTESWAP_H)
-EXTRA_HEADERS += byteswap.h
-
 BUILT_SOURCES += $(BYTESWAP_H)
 
 # We need the following in order to create <byteswap.h> when the system
index 9cd5a8b..186584f 100644 (file)
@@ -12,8 +12,6 @@ Depends-on:
 configure.ac:
 
 Makefile.am:
-nodist_pkginclude_HEADERS += c++defs.h
-
 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
 # statements but through direct file reference. Therefore this snippet must be
 # present in all Makefile.am that need it. This is ensured by the applicability
index e37e622..f0ec911 100644 (file)
@@ -14,8 +14,6 @@ configure.ac:
 gl_CTYPE_H
 
 Makefile.am:
-nodist_pkginclude_HEADERS += ctype.h
-
 BUILT_SOURCES += ctype.h
 
 # We need the following in order to create <ctype.h> when the system
index 094a84e..3029d73 100644 (file)
@@ -16,8 +16,6 @@ configure.ac:
 gl_DIRENT_H
 
 Makefile.am:
-nodist_pkginclude_HEADERS += dirent.h
-
 BUILT_SOURCES += dirent.h
 
 # We need the following in order to create <dirent.h> when the system
index 221bebf..b730071 100644 (file)
@@ -12,9 +12,6 @@ configure.ac:
 gl_HEADER_ERRNO_H
 
 Makefile.am:
-nodist_pkginclude_HEADERS += $(ERRNO_H)
-EXTRA_HEADERS += errno.h
-
 BUILT_SOURCES += $(ERRNO_H)
 
 # We need the following in order to create <errno.h> when the system
index 6a33fc7..c275a4e 100644 (file)
@@ -18,8 +18,6 @@ configure.ac:
 gl_FCNTL_H
 
 Makefile.am:
-nodist_pkginclude_HEADERS += fcntl.h
-
 BUILT_SOURCES += fcntl.h
 
 # We need the following in order to create <fcntl.h> when the system
index 004d2bf..c98853b 100644 (file)
@@ -12,9 +12,6 @@ configure.ac:
 gl_FLOAT_H
 
 Makefile.am:
-nodist_pkginclude_HEADERS += $(FLOAT_H)
-EXTRA_HEADERS += float.h
-
 BUILT_SOURCES += $(FLOAT_H)
 
 # We need the following in order to create <float.h> when the system
index cff8bad..6849b4d 100644 (file)
@@ -24,9 +24,6 @@ configure.ac:
 gl_FUNC_FNMATCH_POSIX
 
 Makefile.am:
-nodist_pkginclude_HEADERS += $(FNMATCH_H)
-EXTRA_HEADERS += fnmatch.h
-
 BUILT_SOURCES += $(FNMATCH_H)
 
 # We need the following in order to create <fnmatch.h> when the system
index 93d7fcc..39b10a4 100644 (file)
@@ -19,9 +19,6 @@ configure.ac:
 gl_FUNC_GETOPT_POSIX
 
 Makefile.am:
-nodist_pkginclude_HEADERS += $(GETOPT_H)
-EXTRA_HEADERS += getopt.h
-
 BUILT_SOURCES += $(GETOPT_H)
 
 # We need the following in order to create <getopt.h> when the system
index beaf476..0caaeef 100644 (file)
@@ -30,9 +30,6 @@ configure.ac:
 gl_GLOB
 
 Makefile.am:
-nodist_pkginclude_HEADERS += $(GLOB_H)
-EXTRA_HEADERS += glob.h
-
 BUILT_SOURCES += $(GLOB_H)
 
 # We need the following in order to create <glob.h> when the system
index 1c35ecd..df0e070 100644 (file)
@@ -15,9 +15,6 @@ configure.ac:
 gl_ICONV_H
 
 Makefile.am:
-nodist_pkginclude_HEADERS += $(ICONV_H)
-EXTRA_HEADERS += iconv.h
-
 BUILT_SOURCES += $(ICONV_H)
 
 # We need the following in order to create <iconv.h> when the system
index 194440b..7b8190f 100644 (file)
@@ -21,9 +21,6 @@ configure.ac:
 gl_FUNC_ICONV_OPEN
 
 Makefile.am:
-iconv_headers = iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h
-nodist_pkginclude_HEADERS += $(iconv_headers)
-
 iconv_open-aix.h: iconv_open-aix.gperf
        $(GPERF) -m 10 $(srcdir)/iconv_open-aix.gperf > $(srcdir)/iconv_open-aix.h-t
        mv $(srcdir)/iconv_open-aix.h-t $(srcdir)/iconv_open-aix.h
@@ -39,10 +36,10 @@ iconv_open-osf.h: iconv_open-osf.gperf
 iconv_open-solaris.h: iconv_open-solaris.gperf
        $(GPERF) -m 10 $(srcdir)/iconv_open-solaris.gperf > $(srcdir)/iconv_open-solaris.h-t
        mv $(srcdir)/iconv_open-solaris.h-t $(srcdir)/iconv_open-solaris.h
-BUILT_SOURCES        += $(iconv_headers)
+BUILT_SOURCES        += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h
 MOSTLYCLEANFILES     += iconv_open-aix.h-t iconv_open-hpux.h-t iconv_open-irix.h-t iconv_open-osf.h-t iconv_open-solaris.h-t
-MAINTAINERCLEANFILES += $(iconv_headers)
-EXTRA_DIST           += $(iconv_headers)
+MAINTAINERCLEANFILES += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h
+EXTRA_DIST           += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h
 
 Include:
 <iconv.h>
index 991fe4e..674d83e 100644 (file)
@@ -17,8 +17,6 @@ configure.ac:
 gl_INTTYPES_H
 
 Makefile.am:
-nodist_pkginclude_HEADERS += inttypes.h
-
 BUILT_SOURCES += inttypes.h
 
 # We need the following in order to create <inttypes.h> when the system
index e864c91..fd23db9 100644 (file)
@@ -15,8 +15,6 @@ configure.ac:
 gl_LANGINFO_H
 
 Makefile.am:
-nodist_pkginclude_HEADERS += langinfo.h
-
 BUILT_SOURCES += langinfo.h
 
 # We need the following in order to create an empty placeholder for
index 9e57370..06f3675 100644 (file)
@@ -13,8 +13,6 @@ configure.ac:
 AC_REQUIRE([gl_FEATURES_H])
 
 Makefile.am:
-nodist_pkginclude_HEADERS += link-warning.h
-
 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
 # statements but through direct file reference. Therefore this snippet must be
 # present in all Makefile.am that need it. This is ensured by the applicability
index 298b924..b80b513 100644 (file)
@@ -17,8 +17,6 @@ configure.ac:
 gl_LOCALE_H
 
 Makefile.am:
-nodist_pkginclude_HEADERS += locale.h
-
 BUILT_SOURCES += locale.h
 
 # We need the following in order to create <locale.h> when the system
index ca01c79..7ac78ac 100644 (file)
@@ -15,8 +15,6 @@ configure.ac:
 gl_MATH_H
 
 Makefile.am:
-nodist_pkginclude_HEADERS += math.h
-
 BUILT_SOURCES += math.h
 
 # We need the following in order to create <math.h> when the system
index 49f58f1..ea7dc63 100644 (file)
@@ -16,8 +16,6 @@ configure.ac:
 gl_HEADER_NETDB
 
 Makefile.am:
-nodist_pkginclude_HEADERS += netdb.h
-
 BUILT_SOURCES += netdb.h
 
 # We need the following in order to create <netdb.h> when the system
index 28b80c8..06df756 100644 (file)
@@ -14,9 +14,6 @@ gl_HEADER_NETINET_IN
 AC_PROG_MKDIR_P
 
 Makefile.am:
-nobase_nodist_pkginclude_HEADERS += $(NETINET_IN_H)
-EXTRA_HEADERS += netinet/in.h
-
 BUILT_SOURCES += $(NETINET_IN_H)
 
 # We need the following in order to create <netinet/in.h> when the system
index 8fc15cd..347fc60 100644 (file)
@@ -15,8 +15,6 @@ configure.ac:
 gl_POLL_H
 
 Makefile.am:
-nodist_pkginclude_HEADERS += poll.h
-
 BUILT_SOURCES += poll.h
 
 # We need the following in order to create <poll.h> when the system
index 7aaaffa..e29016a 100644 (file)
@@ -13,9 +13,6 @@ configure.ac:
 gl_PTHREAD_CHECK
 
 Makefile.am:
-nodist_pkginclude_HEADERS += $(PTHREAD_H)
-EXTRA_HEADERS += pthread.h
-
 BUILT_SOURCES += $(PTHREAD_H)
 
 # We need the following in order to create <pthread.h> when the system
index f490b34..93f280c 100644 (file)
@@ -14,8 +14,6 @@ configure.ac:
 gl_PTY_H
 
 Makefile.am:
-nodist_pkginclude_HEADERS += pty.h
-
 BUILT_SOURCES += pty.h
 
 # We need the following in order to create <pty.h> when the system
index 128ec35..d126fc7 100644 (file)
@@ -12,9 +12,6 @@ configure.ac:
 gl_SCHED_H
 
 Makefile.am:
-nodist_pkginclude_HEADERS += $(SCHED_H)
-EXTRA_HEADERS += sched.h
-
 BUILT_SOURCES += $(SCHED_H)
 
 # We need the following in order to create a replacement for <sched.h> when
index 3f7ecc0..ceed3ff 100644 (file)
@@ -15,8 +15,6 @@ configure.ac:
 gl_SEARCH_H
 
 Makefile.am:
-nodist_pkginclude_HEADERS += search.h
-
 BUILT_SOURCES += search.h
 
 # We need the following in order to create <search.h> when the system
index 589729d..745ea49 100644 (file)
@@ -18,8 +18,6 @@ gl_HEADERS_SELINUX_CONTEXT_H
 AC_REQUIRE([AC_C_INLINE])
 
 Makefile.am:
-nobase_nodist_pkginclude_HEADERS += selinux/selinux.h
-
 lib_SOURCES += se-context.in.h se-selinux.in.h
 
 BUILT_SOURCES += selinux/selinux.h
index ed9b147..c9ff197 100644 (file)
@@ -15,8 +15,6 @@ configure.ac:
 gl_SIGNAL_H
 
 Makefile.am:
-nodist_pkginclude_HEADERS += signal.h
-
 BUILT_SOURCES += signal.h
 
 # We need the following in order to create <signal.h> when the system
index eb0d4c1..61e5e07 100644 (file)
@@ -16,8 +16,6 @@ configure.ac:
 gl_SPAWN_H
 
 Makefile.am:
-nodist_pkginclude_HEADERS += spawn.h
-
 BUILT_SOURCES += spawn.h
 
 # We need the following in order to create a replacement for <spawn.h> when
index 105a54c..05a01db 100644 (file)
@@ -19,9 +19,6 @@ configure.ac:
 gl_STDARG_H
 
 Makefile.am:
-nodist_pkginclude_HEADERS += $(STDARG_H)
-EXTRA_HEADERS += stdarg.h
-
 BUILT_SOURCES += $(STDARG_H)
 
 # We need the following in order to create <stdarg.h> when the system
index 5c1fe3c..80fe2db 100644 (file)
@@ -12,9 +12,6 @@ configure.ac:
 AM_STDBOOL_H
 
 Makefile.am:
-nodist_pkginclude_HEADERS += $(STDBOOL_H)
-EXTRA_HEADERS += stdbool.h
-
 BUILT_SOURCES += $(STDBOOL_H)
 
 # We need the following in order to create <stdbool.h> when the system
index 62e874a..4836bc7 100644 (file)
@@ -13,9 +13,6 @@ configure.ac:
 gl_STDDEF_H
 
 Makefile.am:
-nodist_pkginclude_HEADERS += $(STDDEF_H)
-EXTRA_HEADERS += stddef.h
-
 BUILT_SOURCES += $(STDDEF_H)
 
 # We need the following in order to create <stddef.h> when the system
index bbf208a..9e5f7ad 100644 (file)
@@ -20,9 +20,6 @@ configure.ac:
 gl_STDINT_H
 
 Makefile.am:
-nodist_pkginclude_HEADERS += $(STDINT_H)
-EXTRA_HEADERS += stdint.h
-
 BUILT_SOURCES += $(STDINT_H)
 
 # We need the following in order to create <stdint.h> when the system
index 4af57b8..1a45909 100644 (file)
@@ -19,8 +19,6 @@ configure.ac:
 gl_STDIO_H
 
 Makefile.am:
-nodist_pkginclude_HEADERS += stdio.h
-
 BUILT_SOURCES += stdio.h
 
 # We need the following in order to create <stdio.h> when the system
index d86fb01..273095e 100644 (file)
@@ -18,8 +18,6 @@ configure.ac:
 gl_STDLIB_H
 
 Makefile.am:
-nodist_pkginclude_HEADERS += stdlib.h
-
 BUILT_SOURCES += stdlib.h
 
 # We need the following in order to create <stdlib.h> when the system
index c109bca..78ad324 100644 (file)
@@ -17,8 +17,6 @@ configure.ac:
 gl_HEADER_STRING_H
 
 Makefile.am:
-nodist_pkginclude_HEADERS += string.h
-
 BUILT_SOURCES += string.h
 
 # We need the following in order to create <string.h> when the system
index e5ef663..9b7a48e 100644 (file)
@@ -14,8 +14,6 @@ configure.ac:
 gl_HEADER_STRINGS_H
 
 Makefile.am:
-nodist_pkginclude_HEADERS += strings.h
-
 BUILT_SOURCES += strings.h
 
 # We need the following in order to create <strings.h> when the system
index 27d87ec..1da1655 100644 (file)
@@ -14,8 +14,6 @@ gl_HEADER_SYS_FILE_H
 AC_PROG_MKDIR_P
 
 Makefile.am:
-nobase_nodist_pkginclude_HEADERS += sys/file.h
-
 BUILT_SOURCES += sys/file.h
 
 # We need the following in order to create <sys/file.h> when the system
index f5051be..669f70b 100644 (file)
@@ -16,8 +16,6 @@ gl_SYS_IOCTL_H
 AC_PROG_MKDIR_P
 
 Makefile.am:
-nobase_nodist_pkginclude_HEADERS += sys/ioctl.h
-
 BUILT_SOURCES += sys/ioctl.h
 
 # We need the following in order to create <sys/ioctl.h> when the system
index 9c24a6d..3fbbd57 100644 (file)
@@ -17,8 +17,6 @@ gl_HEADER_SYS_SELECT
 AC_PROG_MKDIR_P
 
 Makefile.am:
-nobase_nodist_pkginclude_HEADERS += sys/select.h
-
 BUILT_SOURCES += sys/select.h
 
 # We need the following in order to create <sys/select.h> when the system
index 66c3164..775996f 100644 (file)
@@ -20,8 +20,6 @@ gl_HEADER_SYS_SOCKET
 AC_PROG_MKDIR_P
 
 Makefile.am:
-nobase_nodist_pkginclude_HEADERS += sys/socket.h
-
 BUILT_SOURCES += sys/socket.h
 
 # We need the following in order to create <sys/socket.h> when the system
index ba70116..40bcf6d 100644 (file)
@@ -18,8 +18,6 @@ gl_HEADER_SYS_STAT_H
 AC_PROG_MKDIR_P
 
 Makefile.am:
-nobase_nodist_pkginclude_HEADERS += sys/stat.h
-
 BUILT_SOURCES += sys/stat.h
 
 # We need the following in order to create <sys/stat.h> when the system
index f4dfa19..92f2ebb 100644 (file)
@@ -16,8 +16,6 @@ gl_HEADER_SYS_TIME_H
 AC_PROG_MKDIR_P
 
 Makefile.am:
-nobase_nodist_pkginclude_HEADERS += sys/time.h
-
 BUILT_SOURCES += sys/time.h
 
 # We need the following in order to create <sys/time.h> when the system
index 2ce8e73..7a543b4 100644 (file)
@@ -15,8 +15,6 @@ gl_SYS_TIMES_H
 AC_PROG_MKDIR_P
 
 Makefile.am:
-nobase_nodist_pkginclude_HEADERS += sys/times.h
-
 BUILT_SOURCES += sys/times.h
 
 # We need the following in order to create <sys/times.h> when the system
index ff60b4e..4dec661 100644 (file)
@@ -15,8 +15,6 @@ gl_SYS_UTSNAME_H
 AC_PROG_MKDIR_P
 
 Makefile.am:
-nobase_nodist_pkginclude_HEADERS += sys/utsname.h
-
 BUILT_SOURCES += sys/utsname.h
 
 # We need the following in order to create <sys/utsname.h> when the system
index ad42623..0299f9e 100644 (file)
@@ -15,8 +15,6 @@ gl_SYS_WAIT_H
 AC_PROG_MKDIR_P
 
 Makefile.am:
-nobase_nodist_pkginclude_HEADERS += sys/wait.h
-
 BUILT_SOURCES += sys/wait.h
 
 # We need the following in order to create <sys/wait.h> when the system
index 191ba60..fc47260 100644 (file)
@@ -12,9 +12,6 @@ configure.ac:
 gl_SYSEXITS
 
 Makefile.am:
-nodist_pkginclude_HEADERS += $(SYSEXITS_H)
-EXTRA_HEADERS += sysexits.h
-
 BUILT_SOURCES += $(SYSEXITS_H)
 
 # We need the following in order to create <sysexits.h> when the system
index 6af1195..09539f6 100644 (file)
@@ -14,8 +14,6 @@ configure.ac:
 gl_TERMIOS_H
 
 Makefile.am:
-nodist_pkginclude_HEADERS += termios.h
-
 BUILT_SOURCES += termios.h
 
 # We need the following in order to create <termios.h> when the system
index 8cbe99d..ab5efe9 100644 (file)
@@ -17,8 +17,6 @@ configure.ac:
 gl_HEADER_TIME_H
 
 Makefile.am:
-nodist_pkginclude_HEADERS += time.h
-
 BUILT_SOURCES += time.h
 
 # We need the following in order to create <time.h> when the system
index 3a68b98..df0870e 100644 (file)
@@ -16,8 +16,6 @@ configure.ac:
 gl_UNISTD_H
 
 Makefile.am:
-nodist_pkginclude_HEADERS += unistd.h
-
 BUILT_SOURCES += unistd.h
 
 # We need the following in order to create an empty placeholder for
index ed061de..7cd1a19 100644 (file)
@@ -12,9 +12,6 @@ configure.ac:
 gl_LIBUNISTRING_LIBHEADER([0.9], [unitypes.h])
 
 Makefile.am:
-nodist_pkginclude_HEADERS += $(LIBUNISTRING_UNITYPES_H)
-EXTRA_HEADERS += unitypes.h
-
 BUILT_SOURCES += $(LIBUNISTRING_UNITYPES_H)
 
 unitypes.h: unitypes.in.h
index 9a3d0d4..196aa78 100644 (file)
@@ -12,8 +12,6 @@ Depends-on:
 configure.ac:
 
 Makefile.am:
-nodist_pkginclude_HEADERS += unused-parameter.h
-
 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
 # statements but through direct file reference. Therefore this snippet must be
 # present in all Makefile.am that need it. This is ensured by the applicability
index 3cf3281..f0ee83b 100644 (file)
@@ -13,8 +13,6 @@ Depends-on:
 configure.ac:
 
 Makefile.am:
-nodist_pkginclude_HEADERS += warn-on-use.h
-
 BUILT_SOURCES += warn-on-use.h
 # The warn-on-use.h that gets inserted into generated .h files is the same as
 # build-aux/warn-on-use.h, except that it has the copyright header cut off.
index b3bf6eb..a918ead 100644 (file)
@@ -17,8 +17,6 @@ configure.ac:
 gl_WCHAR_H
 
 Makefile.am:
-nodist_pkginclude_HEADERS += wchar.h
-
 BUILT_SOURCES += wchar.h
 
 # We need the following in order to create <wchar.h> when the system
index e0568e0..99dbe44 100644 (file)
@@ -16,8 +16,6 @@ configure.ac:
 gl_WCTYPE_H
 
 Makefile.am:
-nodist_pkginclude_HEADERS += wctype.h
-
 BUILT_SOURCES += wctype.h
 
 # We need the following in order to create <wctype.h> when the system