]> Savannah Git Hosting - gnulib.git/commitdiff
add _HEADERS primaries to Makefile.am snippets for installable headers
authorGary V. Vaughan <gary@gnu.org>
Mon, 11 Oct 2010 08:51:59 +0000 (15:51 +0700)
committerGary V. Vaughan <gary@gnu.org>
Tue, 12 Oct 2010 11:57:22 +0000 (18:57 +0700)
* 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.

59 files changed:
ChangeLog
gnulib-tool
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 1f43a798ac073458d37228e14963f5bcef887b5b..f9e0b4799a51563107edf6fe97567cda45d98adb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,33 @@
 2010-10-12  Gary V. Vaughan  <gary@gnu.org>
 
+       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.
index 04b4aa22df6becb357610a9fbfadf272b8e5fdf2..ab0b3783b2a093a1b2f8954650dba6f075efad87 100755 (executable)
@@ -2872,6 +2872,8 @@ func_emit_lib_Makefile_am ()
   echo
   if test -z "$makefile_name"; then
     echo "SUBDIRS ="
+    echo "nodist_include_HEADERS ="
+    echo "nobase_nodist_include_HEADERS ="
     echo "noinst_HEADERS ="
     echo "noinst_LIBRARIES ="
     echo "noinst_LTLIBRARIES ="
@@ -2881,6 +2883,7 @@ func_emit_lib_Makefile_am ()
       echo "pkgdata_DATA ="
     fi
     echo "EXTRA_DIST ="
+    echo "EXTRA_HEADERS ="
     echo "BUILT_SOURCES ="
     echo "SUFFIXES ="
   fi
@@ -2920,11 +2923,18 @@ 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_include_HEADERS *=.*$/d
+        /^EXTRA_HEADERS *=.*$/d
+    "
     # By default, the generated library should not be installed.
     echo "noinst_${perhapsLT}LIBRARIES += $libname.$libext"
   fi
@@ -2956,7 +2966,8 @@ func_emit_lib_Makefile_am ()
     echo
   fi
   cat "$tmp"/allsnippets \
-    | sed -e 's|\$(top_srcdir)/build-aux/|$(top_srcdir)/'"$auxdir"'/|g'
+    | sed -e 's|\$(top_srcdir)/build-aux/|$(top_srcdir)/'"$auxdir"'/|g' \
+          -e "$sed_transform_HEADERS_primaries"
   echo
   echo "mostlyclean-local: mostlyclean-generic"
   echo "       @for dir in '' \$(MOSTLYCLEANDIRS); do \\"
@@ -3170,6 +3181,8 @@ func_emit_tests_Makefile_am ()
   if ! $for_test; then
     echo "check_PROGRAMS ="
   fi
+  echo "nodist_include_HEADERS ="
+  echo "nobase_nodist_include_HEADERS ="
   echo "noinst_HEADERS ="
   echo "noinst_LIBRARIES ="
   if $use_libtests; then
@@ -3185,6 +3198,7 @@ func_emit_tests_Makefile_am ()
     echo "pkgdata_DATA ="
   fi
   echo "EXTRA_DIST ="
+  echo "EXTRA_HEADERS ="
   echo "BUILT_SOURCES ="
   echo "SUFFIXES ="
   echo "MOSTLYCLEANFILES = core *.stackdump"
index 9ced93b293aa8eab1c0dbe58aac57ee43facf948..c2f4af7b4cd935bbbd01aa36fe20bd65a2fbc897 100644 (file)
@@ -13,6 +13,9 @@ configure.ac:
 gl_FUNC_ALLOCA
 
 Makefile.am:
+nodist_include_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 d4e4d136632bf64cf7f9c5c17c4a853dc004bc68..4776c6e1eaed0029be7f006d4bd66ce125b36476 100644 (file)
@@ -12,6 +12,8 @@ Depends-on:
 configure.ac:
 
 Makefile.am:
+nodist_include_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 5f9c7499d1111d1460c03a8779b07f7f2563ef15..43aced31ebe34f3dbfe76bc2a7de9e701d0d01ea 100644 (file)
@@ -18,6 +18,9 @@ configure.ac:
 gl_FUNC_ARGZ
 
 Makefile.am:
+nodist_include_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 d75187380938606457570ec8a5277a625fb47386..6e1bb88fdb2edcdd0b6dd1fbfd44bef841d7f801 100644 (file)
@@ -16,6 +16,8 @@ gl_HEADER_ARPA_INET
 AC_PROG_MKDIR_P
 
 Makefile.am:
+nobase_nodist_include_HEADERS += arpa/inet.h
+
 BUILT_SOURCES += arpa/inet.h
 
 # We need the following in order to create <arpa/inet.h> when the system
index 6a3ce1525c76fb93de66e232df6c2b6468374203..226cf041cdaafac352dcfe97ad776ea1cb08e7f6 100644 (file)
@@ -11,6 +11,9 @@ configure.ac:
 gl_BYTESWAP
 
 Makefile.am:
+nodist_include_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 186584f31e487fc605a3ec85114195c7068db09d..9a3d405cbeed2fb2f4b0c1a7772882701ca9d959 100644 (file)
@@ -12,6 +12,8 @@ Depends-on:
 configure.ac:
 
 Makefile.am:
+nodist_include_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 f0ec9111b95b1f938f68e523074f9484852c7171..3601bf4b60e30154779d70f3d2ba3ca4ff733b4d 100644 (file)
@@ -14,6 +14,8 @@ configure.ac:
 gl_CTYPE_H
 
 Makefile.am:
+nodist_include_HEADERS += ctype.h
+
 BUILT_SOURCES += ctype.h
 
 # We need the following in order to create <ctype.h> when the system
index 3029d73afcf8bf91648813e0b14f2f5aff9d8c58..f305c92cb2cab09fe5b053785c2b451dff352aee 100644 (file)
@@ -16,6 +16,8 @@ configure.ac:
 gl_DIRENT_H
 
 Makefile.am:
+nodist_include_HEADERS += dirent.h
+
 BUILT_SOURCES += dirent.h
 
 # We need the following in order to create <dirent.h> when the system
index b730071ea74b0f346d22c77819a208e41ffcac4a..ccf574fbfa6f05b73fe819d6d1fda9f00e4ce4c0 100644 (file)
@@ -12,6 +12,9 @@ configure.ac:
 gl_HEADER_ERRNO_H
 
 Makefile.am:
+nodist_include_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 c275a4e041c52f9d19897fef9716be130c17d556..237f40963a17e6c930f2caec56ddbe1068252692 100644 (file)
@@ -18,6 +18,8 @@ configure.ac:
 gl_FCNTL_H
 
 Makefile.am:
+nodist_include_HEADERS += fcntl.h
+
 BUILT_SOURCES += fcntl.h
 
 # We need the following in order to create <fcntl.h> when the system
index c98853b7043731f319edc697707cddc1a4b8b630..376a70562c5470946068f06879bee81e9865964f 100644 (file)
@@ -12,6 +12,9 @@ configure.ac:
 gl_FLOAT_H
 
 Makefile.am:
+nodist_include_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 6849b4d5e37e02d2c708111d53c491f7f9168790..ee86ce88a17576c7065cea7446dafded414801f4 100644 (file)
@@ -24,6 +24,9 @@ configure.ac:
 gl_FUNC_FNMATCH_POSIX
 
 Makefile.am:
+nodist_include_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 39b10a40ad2a62b0b5aba59d1fd728bf488e301f..ed93e134599f02b9a8b4386e2e90e3228e2ca2e9 100644 (file)
@@ -19,6 +19,9 @@ configure.ac:
 gl_FUNC_GETOPT_POSIX
 
 Makefile.am:
+nodist_include_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 0caaeefcd79ee9bbdeacc9dc7b81fdeac1afaf79..4e9222d87faf5150a6b02f74380177fc08ad4247 100644 (file)
@@ -30,6 +30,9 @@ configure.ac:
 gl_GLOB
 
 Makefile.am:
+nodist_include_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 46399cd2a0de9b9620cc3bea58b48dbaac32621e..9978baac95803f82d631e3ad0601314ed54de90b 100644 (file)
@@ -15,6 +15,9 @@ configure.ac:
 gl_ICONV_H
 
 Makefile.am:
+nodist_include_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 1a51f086b8351a0b5f025e125c19d7acd4e4c052..096a39f4d0ab815c2a8ee36106f8c1adc87030e6 100644 (file)
@@ -22,6 +22,7 @@ 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_include_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
index 674d83ebcb4ee884c55d3735d81c0ab4c7444776..be48a9e68c8a809e07a3291df3e0e4705e7db81c 100644 (file)
@@ -17,6 +17,8 @@ configure.ac:
 gl_INTTYPES_H
 
 Makefile.am:
+nodist_include_HEADERS += inttypes.h
+
 BUILT_SOURCES += inttypes.h
 
 # We need the following in order to create <inttypes.h> when the system
index fd23db9f2aec73920f7ab847d9b5732c347d5458..e616c1fecf944066fea5884ec2f8596be8e40546 100644 (file)
@@ -15,6 +15,8 @@ configure.ac:
 gl_LANGINFO_H
 
 Makefile.am:
+nodist_include_HEADERS += langinfo.h
+
 BUILT_SOURCES += langinfo.h
 
 # We need the following in order to create an empty placeholder for
index 935f66a39052ef766e57c6dfd1cda66847a49783..4495d8f8ad863760d3b7421c2eae9d95c4ced5bb 100644 (file)
@@ -12,6 +12,8 @@ Depends-on:
 configure.ac:
 
 Makefile.am:
+nodist_include_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 b80b5133290addce9dd9e5b1895f97b42ab8ba8e..31cfe2e4827bf0e8daedfae19378626ec4ca3317 100644 (file)
@@ -17,6 +17,8 @@ configure.ac:
 gl_LOCALE_H
 
 Makefile.am:
+nodist_include_HEADERS += locale.h
+
 BUILT_SOURCES += locale.h
 
 # We need the following in order to create <locale.h> when the system
index ca9aa1ab3b6907af2bde3b40fef35a4a37b35e0e..c6c8481cf5c56b0c67e323f8e3557d04e2600252 100644 (file)
@@ -15,6 +15,8 @@ configure.ac:
 gl_MATH_H
 
 Makefile.am:
+nodist_include_HEADERS += math.h
+
 BUILT_SOURCES += math.h
 
 # We need the following in order to create <math.h> when the system
index ea7dc63c1113f72371eb24694761863d1248fe7f..b5614a0f04b63677081061dcdafed649ed84a912 100644 (file)
@@ -16,6 +16,8 @@ configure.ac:
 gl_HEADER_NETDB
 
 Makefile.am:
+nodist_include_HEADERS += netdb.h
+
 BUILT_SOURCES += netdb.h
 
 # We need the following in order to create <netdb.h> when the system
index 06df756a81123e9a5419aef4b0422627657640ca..1bf08a0ebff2676ed4226266a1bd584a3a5ce2e9 100644 (file)
@@ -14,6 +14,9 @@ gl_HEADER_NETINET_IN
 AC_PROG_MKDIR_P
 
 Makefile.am:
+nobase_nodist_include_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 347fc607f06806b4abeb296e6bc2b05bba41e8dc..867a85ed6dc2d7114df1ce584f3d26b6a91eefe9 100644 (file)
@@ -15,6 +15,8 @@ configure.ac:
 gl_POLL_H
 
 Makefile.am:
+nodist_include_HEADERS += poll.h
+
 BUILT_SOURCES += poll.h
 
 # We need the following in order to create <poll.h> when the system
index e29016a447c13d92ab41f70adc7aab4d585b08bd..ec245a517327000234b7692bd99d5559d77d5b22 100644 (file)
@@ -13,6 +13,9 @@ configure.ac:
 gl_PTHREAD_CHECK
 
 Makefile.am:
+nodist_include_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 93f280ca9f117c5120409f99561c247f89f3ea1e..3e71243f285b02871ec7a640eb52f16c21622d21 100644 (file)
@@ -14,6 +14,8 @@ configure.ac:
 gl_PTY_H
 
 Makefile.am:
+nodist_include_HEADERS += pty.h
+
 BUILT_SOURCES += pty.h
 
 # We need the following in order to create <pty.h> when the system
index d126fc761644ffb174b8487152ff31a3163a15de..07c5dd6b0f3e14a937bb3bb1c3a7ba1e54c610d2 100644 (file)
@@ -12,6 +12,9 @@ configure.ac:
 gl_SCHED_H
 
 Makefile.am:
+nodist_include_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 ceed3ffedb25088a872946a6364d841f03fadde2..a9e0cd6c9ca14867c7011d2958b8188cc8eb4d93 100644 (file)
@@ -15,6 +15,8 @@ configure.ac:
 gl_SEARCH_H
 
 Makefile.am:
+nodist_include_HEADERS += search.h
+
 BUILT_SOURCES += search.h
 
 # We need the following in order to create <search.h> when the system
index 745ea4950d7394024beebe758b89126a4d40b08c..3fed8f46fe2cceef6d578b388fa69f50b0e71d65 100644 (file)
@@ -18,6 +18,8 @@ gl_HEADERS_SELINUX_CONTEXT_H
 AC_REQUIRE([AC_C_INLINE])
 
 Makefile.am:
+nobase_nodist_include_HEADERS += selinux/selinux.h
+
 lib_SOURCES += se-context.in.h se-selinux.in.h
 
 BUILT_SOURCES += selinux/selinux.h
index c9ff197bbe6c380ca5b5aa157dba023267110a3d..ea4f4e2180c8ed1ee2051dec7dc1cfbd244334c5 100644 (file)
@@ -15,6 +15,8 @@ configure.ac:
 gl_SIGNAL_H
 
 Makefile.am:
+nodist_include_HEADERS += signal.h
+
 BUILT_SOURCES += signal.h
 
 # We need the following in order to create <signal.h> when the system
index 61e5e073eda32d253bea6d5db0da554798902823..1b6b7bac5f4804a9f82e0c281c27a5b70c0ba142 100644 (file)
@@ -16,6 +16,8 @@ configure.ac:
 gl_SPAWN_H
 
 Makefile.am:
+nodist_include_HEADERS += spawn.h
+
 BUILT_SOURCES += spawn.h
 
 # We need the following in order to create a replacement for <spawn.h> when
index 05a01db69b6102a9851defd67b2aecebe3b08133..4c96b0508a62ee937c4d8b04a9bb039db3f47a12 100644 (file)
@@ -19,6 +19,9 @@ configure.ac:
 gl_STDARG_H
 
 Makefile.am:
+nodist_include_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 80fe2db8d565960ffb83cd3096540c2f7e2e80f8..00372d7601fd94dd2f2a3ac840773f48c1bed91d 100644 (file)
@@ -12,6 +12,9 @@ configure.ac:
 AM_STDBOOL_H
 
 Makefile.am:
+nodist_include_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 4836bc7a8fa88641f66715dce32aa7c86694249e..ae7af305f8a5e9dd07d7f80c9579e6385ba8d8ef 100644 (file)
@@ -13,6 +13,9 @@ configure.ac:
 gl_STDDEF_H
 
 Makefile.am:
+nodist_include_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 9e5f7ad4ebc1bb97d085a8f726536166a08788d4..de0c1961e84ee501057a969ac71479ff6bea94af 100644 (file)
@@ -20,6 +20,9 @@ configure.ac:
 gl_STDINT_H
 
 Makefile.am:
+nodist_include_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 f27322eefdc15f39910980480289d5ee6b209d1e..082917acf204c9a5d88c83cddc68272e773d665f 100644 (file)
@@ -19,6 +19,8 @@ configure.ac:
 gl_STDIO_H
 
 Makefile.am:
+nodist_include_HEADERS += stdio.h
+
 BUILT_SOURCES += stdio.h
 
 # We need the following in order to create <stdio.h> when the system
index 4b889a1e1b1aaab9094a76062c09bc1607712548..db650a76140df102d9732ca494fcccc789d55487 100644 (file)
@@ -18,6 +18,8 @@ configure.ac:
 gl_STDLIB_H
 
 Makefile.am:
+nodist_include_HEADERS += stdlib.h
+
 BUILT_SOURCES += stdlib.h
 
 # We need the following in order to create <stdlib.h> when the system
index f22c389df8186215e7bdd4965697570c99fbad1c..60429b18ee98ba70987bd70a6cdb934239e0da98 100644 (file)
@@ -17,6 +17,8 @@ configure.ac:
 gl_HEADER_STRING_H
 
 Makefile.am:
+nodist_include_HEADERS += string.h
+
 BUILT_SOURCES += string.h
 
 # We need the following in order to create <string.h> when the system
index 9b7a48e0f23ce0f7ea4cf9e41d2a1daf30e44712..c8913c7763a0339e21b67a6e575e30d256883d42 100644 (file)
@@ -14,6 +14,8 @@ configure.ac:
 gl_HEADER_STRINGS_H
 
 Makefile.am:
+nodist_include_HEADERS += strings.h
+
 BUILT_SOURCES += strings.h
 
 # We need the following in order to create <strings.h> when the system
index 1da1655b4574547c620f9a1310e922eafa3338cc..29e22aa83aea59801282cedf5ca509bd3f3366bd 100644 (file)
@@ -14,6 +14,8 @@ gl_HEADER_SYS_FILE_H
 AC_PROG_MKDIR_P
 
 Makefile.am:
+nobase_nodist_include_HEADERS += sys/file.h
+
 BUILT_SOURCES += sys/file.h
 
 # We need the following in order to create <sys/file.h> when the system
index 669f70b08473474daac6f4150fc0e2202b5c612a..5cd656f270e92af28dcf0bf75b836845c80fc73b 100644 (file)
@@ -16,6 +16,8 @@ gl_SYS_IOCTL_H
 AC_PROG_MKDIR_P
 
 Makefile.am:
+nobase_nodist_include_HEADERS += sys/ioctl.h
+
 BUILT_SOURCES += sys/ioctl.h
 
 # We need the following in order to create <sys/ioctl.h> when the system
index 3fbbd57f4dbb568b19ffaa82fd1df983668f92fa..03df5cc126ac1793456fe08f066d4c7876b5d8df 100644 (file)
@@ -17,6 +17,8 @@ gl_HEADER_SYS_SELECT
 AC_PROG_MKDIR_P
 
 Makefile.am:
+nobase_nodist_include_HEADERS += sys/select.h
+
 BUILT_SOURCES += sys/select.h
 
 # We need the following in order to create <sys/select.h> when the system
index deef2c777dc5cc5e31967aad3724fe7389998ea5..0c9da25c190b8f424c3f05a7acca48978749b446 100644 (file)
@@ -20,6 +20,8 @@ gl_HEADER_SYS_SOCKET
 AC_PROG_MKDIR_P
 
 Makefile.am:
+nobase_nodist_include_HEADERS += sys/socket.h
+
 BUILT_SOURCES += sys/socket.h
 
 # We need the following in order to create <sys/socket.h> when the system
index 40bcf6d6d2c9533a295320385282c6688a10fc6b..cf828b83c1d2fe0a62218b7bec375a778900a201 100644 (file)
@@ -18,6 +18,8 @@ gl_HEADER_SYS_STAT_H
 AC_PROG_MKDIR_P
 
 Makefile.am:
+nobase_nodist_include_HEADERS += sys/stat.h
+
 BUILT_SOURCES += sys/stat.h
 
 # We need the following in order to create <sys/stat.h> when the system
index 92f2ebbf354ff288f9e589957b0d89e241fb4a32..d6c3de41ed707cb27578c8c9a34991d9b718dea4 100644 (file)
@@ -16,6 +16,8 @@ gl_HEADER_SYS_TIME_H
 AC_PROG_MKDIR_P
 
 Makefile.am:
+nobase_nodist_include_HEADERS += sys/time.h
+
 BUILT_SOURCES += sys/time.h
 
 # We need the following in order to create <sys/time.h> when the system
index 7a543b420d92a0b0d6d6103171686bf0231a27ee..b31aef88848e79a819f311cd4e35780ce49d792a 100644 (file)
@@ -15,6 +15,8 @@ gl_SYS_TIMES_H
 AC_PROG_MKDIR_P
 
 Makefile.am:
+nobase_nodist_include_HEADERS += sys/times.h
+
 BUILT_SOURCES += sys/times.h
 
 # We need the following in order to create <sys/times.h> when the system
index 4dec661ec8d25b7a51e32d861dcba727c40c0813..b8df06d7f66d41910c64e2eb2f84098dd8480f4e 100644 (file)
@@ -15,6 +15,8 @@ gl_SYS_UTSNAME_H
 AC_PROG_MKDIR_P
 
 Makefile.am:
+nobase_nodist_include_HEADERS += sys/utsname.h
+
 BUILT_SOURCES += sys/utsname.h
 
 # We need the following in order to create <sys/utsname.h> when the system
index 0299f9e2dea357fe7d3f69a645332055254c9608..0397bc64304a762f6be2bfcb4923e9f3cec940e8 100644 (file)
@@ -15,6 +15,8 @@ gl_SYS_WAIT_H
 AC_PROG_MKDIR_P
 
 Makefile.am:
+nobase_nodist_include_HEADERS += sys/wait.h
+
 BUILT_SOURCES += sys/wait.h
 
 # We need the following in order to create <sys/wait.h> when the system
index fc47260f98f73c94f464c10af52f5be63776c64f..8d06137e9da1348e896595a3c956767beabcadd0 100644 (file)
@@ -12,6 +12,9 @@ configure.ac:
 gl_SYSEXITS
 
 Makefile.am:
+nodist_include_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 2930c1a1b73eef86d1a7f405da5e3b8e55fc7c41..c69f15722fda0a1636175b367ccb99c8e044bdd2 100644 (file)
@@ -14,6 +14,8 @@ configure.ac:
 gl_TERMIOS_H
 
 Makefile.am:
+nodist_include_HEADERS += termios.h
+
 BUILT_SOURCES += termios.h
 
 # We need the following in order to create <termios.h> when the system
index 71da97dfc78098bea8823de0b8c9489c8a1601d9..f90cc41d92d22cdced75983184a15c8c7f62fdd4 100644 (file)
@@ -17,6 +17,8 @@ configure.ac:
 gl_HEADER_TIME_H
 
 Makefile.am:
+nodist_include_HEADERS += time.h
+
 BUILT_SOURCES += time.h
 
 # We need the following in order to create <time.h> when the system
index eab8ce9a5481bbf510bf3b3e8cb7d220bd89325a..decedd1184cf963b03acb449ca3731116cfcab84 100644 (file)
@@ -16,6 +16,8 @@ configure.ac:
 gl_UNISTD_H
 
 Makefile.am:
+nodist_include_HEADERS += unistd.h
+
 BUILT_SOURCES += unistd.h
 
 # We need the following in order to create an empty placeholder for
index 7cd1a1906fae84d0b6a205c7b6f5164d5693e04e..53b9ea195385b46f9af73678c730ef7846eeeaed 100644 (file)
@@ -12,6 +12,9 @@ configure.ac:
 gl_LIBUNISTRING_LIBHEADER([0.9], [unitypes.h])
 
 Makefile.am:
+nodist_include_HEADERS += $(LIBUNISTRING_UNITYPES_H)
+EXTRA_HEADERS += unitypes.h
+
 BUILT_SOURCES += $(LIBUNISTRING_UNITYPES_H)
 
 unitypes.h: unitypes.in.h
index 196aa78e7c44106af389ad38072e05b5e7373a7b..2f90475bb1e065378136418b3870e58bcabb3695 100644 (file)
@@ -12,6 +12,8 @@ Depends-on:
 configure.ac:
 
 Makefile.am:
+nodist_include_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 f0ee83b8660f14199b2173569e1ecd5e80e67dcc..60ef38e379543c10ce3c37c1cafd2482cb6dd644 100644 (file)
@@ -13,6 +13,8 @@ Depends-on:
 configure.ac:
 
 Makefile.am:
+nodist_include_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 c9d5c46c3cd44efc5d3f995ca38de6c1af62047a..ad23e5c3a844a6b596484fa1c90e8da9040d75f6 100644 (file)
@@ -17,6 +17,8 @@ configure.ac:
 gl_WCHAR_H
 
 Makefile.am:
+nodist_include_HEADERS += wchar.h
+
 BUILT_SOURCES += wchar.h
 
 # We need the following in order to create <wchar.h> when the system
index b0fc26d09f3c068db328d0f3a51b7a395fd6a5e8..5e784810b58ca4c4c0db3ad7c9ef896c3421358b 100644 (file)
@@ -15,6 +15,8 @@ configure.ac:
 gl_WCTYPE_H
 
 Makefile.am:
+nodist_include_HEADERS += wctype.h
+
 BUILT_SOURCES += wctype.h
 
 # We need the following in order to create <wctype.h> when the system