diff options
| -rw-r--r-- | ChangeLog | 11 | ||||
| -rw-r--r-- | c++defs.h | 6 | ||||
| -rw-r--r-- | lib/Makefile.am | 2 | ||||
| -rw-r--r-- | lib/Makefile.in | 69 | ||||
| -rw-r--r-- | lib/ftoastr.h | 4 | ||||
| -rw-r--r-- | lib/getopt.in.h | 6 | ||||
| -rw-r--r-- | lib/gnulib.mk | 19 | ||||
| -rw-r--r-- | lib/ignore-value.h | 4 | ||||
| -rw-r--r-- | lib/stdbool.in.h | 6 | ||||
| -rw-r--r-- | lib/stddef.in.h | 14 | ||||
| -rw-r--r-- | lib/time.in.h | 4 | ||||
| -rw-r--r-- | lib/unistd.in.h | 24 |
12 files changed, 126 insertions, 43 deletions
| @@ -1,3 +1,14 @@ | |||
| 1 | 2011-02-06 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | gnulib: adjust to upstream _HEADERS change | ||
| 4 | * lib/Makefile.am (EXTRA_HEADERS, nodist_pkginclude_HEADERS): | ||
| 5 | New empty macros, to accommodate recent changes to gnulib. See | ||
| 6 | <http://lists.gnu.org/archive/html/bug-gnulib/2011-02/msg00068.html>. | ||
| 7 | * c++defs.h, lib/Makefile.in, lib/ftoastr.h, lib/getopt.in.h: | ||
| 8 | * lib/gnulib.mk, lib/ignore-value.h, lib/stdbool.in.h, lib/stddef.in.h: | ||
| 9 | * lib/time.in.h, lib/unistd.in.h: | ||
| 10 | Regenerate. | ||
| 11 | |||
| 1 | 2011-02-05 Paul Eggert <eggert@cs.ucla.edu> | 12 | 2011-02-05 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 13 | ||
| 3 | sync from gnulib to remove HAVE_STDBOOL_H | 14 | sync from gnulib to remove HAVE_STDBOOL_H |
| @@ -14,8 +14,8 @@ | |||
| 14 | You should have received a copy of the GNU General Public License | 14 | You should have received a copy of the GNU General Public License |
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. */ | 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. */ |
| 16 | 16 | ||
| 17 | #ifndef _GL_CXXDEFS_H | 17 | #ifndef _gl_GL_CXXDEFS_H |
| 18 | #define _GL_CXXDEFS_H | 18 | #define _gl_GL_CXXDEFS_H |
| 19 | 19 | ||
| 20 | /* The three most frequent use cases of these macros are: | 20 | /* The three most frequent use cases of these macros are: |
| 21 | 21 | ||
| @@ -268,4 +268,4 @@ | |||
| 268 | _GL_EXTERN_C int _gl_cxxalias_dummy | 268 | _GL_EXTERN_C int _gl_cxxalias_dummy |
| 269 | #endif | 269 | #endif |
| 270 | 270 | ||
| 271 | #endif /* _GL_CXXDEFS_H */ | 271 | #endif /* _gl_GL_CXXDEFS_H */ |
diff --git a/lib/Makefile.am b/lib/Makefile.am index 6a014f6057b..e63561d0abb 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am | |||
| @@ -1,6 +1,8 @@ | |||
| 1 | BUILT_SOURCES = | 1 | BUILT_SOURCES = |
| 2 | EXTRA_DIST = | 2 | EXTRA_DIST = |
| 3 | EXTRA_HEADERS = | ||
| 3 | MOSTLYCLEANFILES = | 4 | MOSTLYCLEANFILES = |
| 5 | nodist_pkginclude_HEADERS = | ||
| 4 | noinst_LIBRARIES = | 6 | noinst_LIBRARIES = |
| 5 | 7 | ||
| 6 | DEFAULT_INCLUDES = -I. -I../src -I$(top_srcdir)/src | 8 | DEFAULT_INCLUDES = -I. -I../src -I$(top_srcdir)/src |
diff --git a/lib/Makefile.in b/lib/Makefile.in index e50f9b31ef3..0dac3d8dc90 100644 --- a/lib/Makefile.in +++ b/lib/Makefile.in | |||
| @@ -26,6 +26,7 @@ | |||
| 26 | # Generated by gnulib-tool. | 26 | # Generated by gnulib-tool. |
| 27 | # 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 --no-libtool --macro-prefix=gl --no-vc-files dtoastr getopt-gnu ignore-value mktime strftime | 27 | # 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 --no-libtool --macro-prefix=gl --no-vc-files dtoastr getopt-gnu ignore-value mktime strftime |
| 28 | 28 | ||
| 29 | |||
| 29 | VPATH = @srcdir@ | 30 | VPATH = @srcdir@ |
| 30 | pkgdatadir = $(datadir)/@PACKAGE@ | 31 | pkgdatadir = $(datadir)/@PACKAGE@ |
| 31 | pkgincludedir = $(includedir)/@PACKAGE@ | 32 | pkgincludedir = $(includedir)/@PACKAGE@ |
| @@ -81,6 +82,29 @@ CCLD = $(CC) | |||
| 81 | LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ | 82 | LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ |
| 82 | SOURCES = $(libgnu_a_SOURCES) $(EXTRA_libgnu_a_SOURCES) | 83 | SOURCES = $(libgnu_a_SOURCES) $(EXTRA_libgnu_a_SOURCES) |
| 83 | DIST_SOURCES = $(libgnu_a_SOURCES) $(EXTRA_libgnu_a_SOURCES) | 84 | DIST_SOURCES = $(libgnu_a_SOURCES) $(EXTRA_libgnu_a_SOURCES) |
| 85 | am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; | ||
| 86 | am__vpath_adj = case $$p in \ | ||
| 87 | $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ | ||
| 88 | *) f=$$p;; \ | ||
| 89 | esac; | ||
| 90 | am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; | ||
| 91 | am__install_max = 40 | ||
| 92 | am__nobase_strip_setup = \ | ||
| 93 | srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` | ||
| 94 | am__nobase_strip = \ | ||
| 95 | for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" | ||
| 96 | am__nobase_list = $(am__nobase_strip_setup); \ | ||
| 97 | for p in $$list; do echo "$$p $$p"; done | \ | ||
| 98 | sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ | ||
| 99 | $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ | ||
| 100 | if (++n[$$2] == $(am__install_max)) \ | ||
| 101 | { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ | ||
| 102 | END { for (dir in files) print dir, files[dir] }' | ||
| 103 | am__base_list = \ | ||
| 104 | sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ | ||
| 105 | sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | ||
| 106 | am__installdirs = "$(DESTDIR)$(pkgincludedir)" | ||
| 107 | HEADERS = $(nodist_pkginclude_HEADERS) | ||
| 84 | ETAGS = etags | 108 | ETAGS = etags |
| 85 | CTAGS = ctags | 109 | CTAGS = ctags |
| 86 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | 110 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
| @@ -477,10 +501,13 @@ EXTRA_DIST = $(top_srcdir)/./arg-nonnull.h $(top_srcdir)/./c++defs.h \ | |||
| 477 | getopt_int.h intprops.h mktime-internal.h mktime.c \ | 501 | getopt_int.h intprops.h mktime-internal.h mktime.c \ |
| 478 | stdbool.in.h stddef.in.h strftime.c strftime.h time.in.h \ | 502 | stdbool.in.h stddef.in.h strftime.c strftime.h time.in.h \ |
| 479 | time_r.c unistd.in.h $(top_srcdir)/./warn-on-use.h | 503 | time_r.c unistd.in.h $(top_srcdir)/./warn-on-use.h |
| 504 | EXTRA_HEADERS = getopt.h stdbool.h stddef.h | ||
| 480 | MOSTLYCLEANFILES = core *.stackdump arg-nonnull.h arg-nonnull.h-t \ | 505 | MOSTLYCLEANFILES = core *.stackdump arg-nonnull.h arg-nonnull.h-t \ |
| 481 | c++defs.h c++defs.h-t getopt.h getopt.h-t stdbool.h \ | 506 | c++defs.h c++defs.h-t getopt.h getopt.h-t stdbool.h \ |
| 482 | stdbool.h-t stddef.h stddef.h-t time.h time.h-t unistd.h \ | 507 | stdbool.h-t stddef.h stddef.h-t time.h time.h-t unistd.h \ |
| 483 | unistd.h-t warn-on-use.h warn-on-use.h-t | 508 | unistd.h-t warn-on-use.h warn-on-use.h-t |
| 509 | nodist_pkginclude_HEADERS = arg-nonnull.h c++defs.h $(GETOPT_H) \ | ||
| 510 | $(STDBOOL_H) $(STDDEF_H) time.h unistd.h warn-on-use.h | ||
| 484 | noinst_LIBRARIES = libgnu.a | 511 | noinst_LIBRARIES = libgnu.a |
| 485 | DEFAULT_INCLUDES = -I. -I../src -I$(top_srcdir)/src | 512 | DEFAULT_INCLUDES = -I. -I../src -I$(top_srcdir)/src |
| 486 | libgnu_a_SOURCES = dtoastr.c gettext.h ignore-value.h | 513 | libgnu_a_SOURCES = dtoastr.c gettext.h ignore-value.h |
| @@ -561,6 +588,26 @@ distclean-compile: | |||
| 561 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | 588 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ |
| 562 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | 589 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
| 563 | @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` | 590 | @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` |
| 591 | install-nodist_pkgincludeHEADERS: $(nodist_pkginclude_HEADERS) | ||
| 592 | @$(NORMAL_INSTALL) | ||
| 593 | test -z "$(pkgincludedir)" || $(MKDIR_P) "$(DESTDIR)$(pkgincludedir)" | ||
| 594 | @list='$(nodist_pkginclude_HEADERS)'; test -n "$(pkgincludedir)" || list=; \ | ||
| 595 | for p in $$list; do \ | ||
| 596 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ | ||
| 597 | echo "$$d$$p"; \ | ||
| 598 | done | $(am__base_list) | \ | ||
| 599 | while read files; do \ | ||
| 600 | echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(pkgincludedir)'"; \ | ||
| 601 | $(INSTALL_HEADER) $$files "$(DESTDIR)$(pkgincludedir)" || exit $$?; \ | ||
| 602 | done | ||
| 603 | |||
| 604 | uninstall-nodist_pkgincludeHEADERS: | ||
| 605 | @$(NORMAL_UNINSTALL) | ||
| 606 | @list='$(nodist_pkginclude_HEADERS)'; test -n "$(pkgincludedir)" || list=; \ | ||
| 607 | files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ | ||
| 608 | test -n "$$files" || exit 0; \ | ||
| 609 | echo " ( cd '$(DESTDIR)$(pkgincludedir)' && rm -f" $$files ")"; \ | ||
| 610 | cd "$(DESTDIR)$(pkgincludedir)" && rm -f $$files | ||
| 564 | 611 | ||
| 565 | ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) | 612 | ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) |
| 566 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | 613 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ |
| @@ -647,8 +694,11 @@ distdir: $(DISTFILES) | |||
| 647 | check-am: all-am | 694 | check-am: all-am |
| 648 | check: $(BUILT_SOURCES) | 695 | check: $(BUILT_SOURCES) |
| 649 | $(MAKE) $(AM_MAKEFLAGS) check-am | 696 | $(MAKE) $(AM_MAKEFLAGS) check-am |
| 650 | all-am: Makefile $(LIBRARIES) | 697 | all-am: Makefile $(LIBRARIES) $(HEADERS) |
| 651 | installdirs: | 698 | installdirs: |
| 699 | for dir in "$(DESTDIR)$(pkgincludedir)"; do \ | ||
| 700 | test -z "$$dir" || $(MKDIR_P) "$$dir"; \ | ||
| 701 | done | ||
| 652 | install: $(BUILT_SOURCES) | 702 | install: $(BUILT_SOURCES) |
| 653 | $(MAKE) $(AM_MAKEFLAGS) install-am | 703 | $(MAKE) $(AM_MAKEFLAGS) install-am |
| 654 | install-exec: install-exec-am | 704 | install-exec: install-exec-am |
| @@ -699,7 +749,7 @@ info: info-am | |||
| 699 | 749 | ||
| 700 | info-am: | 750 | info-am: |
| 701 | 751 | ||
| 702 | install-data-am: | 752 | install-data-am: install-nodist_pkgincludeHEADERS |
| 703 | 753 | ||
| 704 | install-dvi: install-dvi-am | 754 | install-dvi: install-dvi-am |
| 705 | 755 | ||
| @@ -745,7 +795,7 @@ ps: ps-am | |||
| 745 | 795 | ||
| 746 | ps-am: | 796 | ps-am: |
| 747 | 797 | ||
| 748 | uninstall-am: | 798 | uninstall-am: uninstall-nodist_pkgincludeHEADERS |
| 749 | 799 | ||
| 750 | .MAKE: all check install install-am install-strip | 800 | .MAKE: all check install install-am install-strip |
| 751 | 801 | ||
| @@ -755,12 +805,13 @@ uninstall-am: | |||
| 755 | html-am info info-am install install-am install-data \ | 805 | html-am info info-am install install-am install-data \ |
| 756 | install-data-am install-dvi install-dvi-am install-exec \ | 806 | install-data-am install-dvi install-dvi-am install-exec \ |
| 757 | install-exec-am install-html install-html-am install-info \ | 807 | install-exec-am install-html install-html-am install-info \ |
| 758 | install-info-am install-man install-pdf install-pdf-am \ | 808 | install-info-am install-man install-nodist_pkgincludeHEADERS \ |
| 759 | install-ps install-ps-am install-strip installcheck \ | 809 | install-pdf install-pdf-am install-ps install-ps-am \ |
| 760 | installcheck-am installdirs maintainer-clean \ | 810 | install-strip installcheck installcheck-am installdirs \ |
| 761 | maintainer-clean-generic mostlyclean mostlyclean-compile \ | 811 | maintainer-clean maintainer-clean-generic mostlyclean \ |
| 762 | mostlyclean-generic mostlyclean-local pdf pdf-am ps ps-am tags \ | 812 | mostlyclean-compile mostlyclean-generic mostlyclean-local pdf \ |
| 763 | uninstall uninstall-am | 813 | pdf-am ps ps-am tags uninstall uninstall-am \ |
| 814 | uninstall-nodist_pkgincludeHEADERS | ||
| 764 | 815 | ||
| 765 | # The arg-nonnull.h that gets inserted into generated .h files is the same as | 816 | # The arg-nonnull.h that gets inserted into generated .h files is the same as |
| 766 | # build-aux/arg-nonnull.h, except that it has the copyright header cut off. | 817 | # build-aux/arg-nonnull.h, except that it has the copyright header cut off. |
diff --git a/lib/ftoastr.h b/lib/ftoastr.h index 6264952e8e9..8aacb7908ce 100644 --- a/lib/ftoastr.h +++ b/lib/ftoastr.h | |||
| @@ -17,7 +17,7 @@ | |||
| 17 | 17 | ||
| 18 | /* Written by Paul Eggert. */ | 18 | /* Written by Paul Eggert. */ |
| 19 | 19 | ||
| 20 | #ifndef _GL_FTOASTR_H | 20 | #ifndef _gl_GL_FTOASTR_H |
| 21 | 21 | ||
| 22 | #include "intprops.h" | 22 | #include "intprops.h" |
| 23 | #include <float.h> | 23 | #include <float.h> |
| @@ -141,4 +141,4 @@ enum | |||
| 141 | #define DBL_BUFSIZE_BOUND ( DBL_STRLEN_BOUND + 1) | 141 | #define DBL_BUFSIZE_BOUND ( DBL_STRLEN_BOUND + 1) |
| 142 | #define LDBL_BUFSIZE_BOUND (LDBL_STRLEN_BOUND + 1) | 142 | #define LDBL_BUFSIZE_BOUND (LDBL_STRLEN_BOUND + 1) |
| 143 | 143 | ||
| 144 | #endif /* _GL_FTOASTR_H */ | 144 | #endif /* _gl_GL_FTOASTR_H */ |
diff --git a/lib/getopt.in.h b/lib/getopt.in.h index 9b0a9a58bc9..9f6341ccdcd 100644 --- a/lib/getopt.in.h +++ b/lib/getopt.in.h | |||
| @@ -16,7 +16,7 @@ | |||
| 16 | You should have received a copy of the GNU General Public License | 16 | You should have received a copy of the GNU General Public License |
| 17 | along with this program. If not, see <http://www.gnu.org/licenses/>. */ | 17 | along with this program. If not, see <http://www.gnu.org/licenses/>. */ |
| 18 | 18 | ||
| 19 | #ifndef _GL_GETOPT_H | 19 | #ifndef _gl_GL_GETOPT_H |
| 20 | 20 | ||
| 21 | #if __GNUC__ >= 3 | 21 | #if __GNUC__ >= 3 |
| 22 | @PRAGMA_SYSTEM_HEADER@ | 22 | @PRAGMA_SYSTEM_HEADER@ |
| @@ -32,10 +32,10 @@ | |||
| 32 | # undef _GL_SYSTEM_GETOPT | 32 | # undef _GL_SYSTEM_GETOPT |
| 33 | #endif | 33 | #endif |
| 34 | 34 | ||
| 35 | #ifndef _GL_GETOPT_H | 35 | #ifndef _gl_GL_GETOPT_H |
| 36 | 36 | ||
| 37 | #ifndef __need_getopt | 37 | #ifndef __need_getopt |
| 38 | # define _GL_GETOPT_H 1 | 38 | # define _gl_GL_GETOPT_H 1 |
| 39 | #endif | 39 | #endif |
| 40 | 40 | ||
| 41 | /* Standalone applications should #define __GETOPT_PREFIX to an | 41 | /* Standalone applications should #define __GETOPT_PREFIX to an |
diff --git a/lib/gnulib.mk b/lib/gnulib.mk index af628c8d300..ee95349b565 100644 --- a/lib/gnulib.mk +++ b/lib/gnulib.mk | |||
| @@ -23,6 +23,8 @@ EXTRA_libgnu_a_SOURCES = | |||
| 23 | 23 | ||
| 24 | ## begin gnulib module arg-nonnull | 24 | ## begin gnulib module arg-nonnull |
| 25 | 25 | ||
| 26 | nodist_pkginclude_HEADERS += arg-nonnull.h | ||
| 27 | |||
| 26 | # The BUILT_SOURCES created by this Makefile snippet are not used via #include | 28 | # The BUILT_SOURCES created by this Makefile snippet are not used via #include |
| 27 | # statements but through direct file reference. Therefore this snippet must be | 29 | # statements but through direct file reference. Therefore this snippet must be |
| 28 | # present in all Makefile.am that need it. This is ensured by the applicability | 30 | # present in all Makefile.am that need it. This is ensured by the applicability |
| @@ -47,6 +49,8 @@ EXTRA_DIST += $(top_srcdir)/./arg-nonnull.h | |||
| 47 | 49 | ||
| 48 | ## begin gnulib module c++defs | 50 | ## begin gnulib module c++defs |
| 49 | 51 | ||
| 52 | nodist_pkginclude_HEADERS += c++defs.h | ||
| 53 | |||
| 50 | # The BUILT_SOURCES created by this Makefile snippet are not used via #include | 54 | # The BUILT_SOURCES created by this Makefile snippet are not used via #include |
| 51 | # statements but through direct file reference. Therefore this snippet must be | 55 | # statements but through direct file reference. Therefore this snippet must be |
| 52 | # present in all Makefile.am that need it. This is ensured by the applicability | 56 | # present in all Makefile.am that need it. This is ensured by the applicability |
| @@ -81,6 +85,9 @@ EXTRA_libgnu_a_SOURCES += ftoastr.c | |||
| 81 | 85 | ||
| 82 | ## begin gnulib module getopt-posix | 86 | ## begin gnulib module getopt-posix |
| 83 | 87 | ||
| 88 | nodist_pkginclude_HEADERS += $(GETOPT_H) | ||
| 89 | EXTRA_HEADERS += getopt.h | ||
| 90 | |||
| 84 | BUILT_SOURCES += $(GETOPT_H) | 91 | BUILT_SOURCES += $(GETOPT_H) |
| 85 | 92 | ||
| 86 | # We need the following in order to create <getopt.h> when the system | 93 | # We need the following in order to create <getopt.h> when the system |
| @@ -135,6 +142,9 @@ EXTRA_libgnu_a_SOURCES += mktime.c | |||
| 135 | 142 | ||
| 136 | ## begin gnulib module stdbool | 143 | ## begin gnulib module stdbool |
| 137 | 144 | ||
| 145 | nodist_pkginclude_HEADERS += $(STDBOOL_H) | ||
| 146 | EXTRA_HEADERS += stdbool.h | ||
| 147 | |||
| 138 | BUILT_SOURCES += $(STDBOOL_H) | 148 | BUILT_SOURCES += $(STDBOOL_H) |
| 139 | 149 | ||
| 140 | # We need the following in order to create <stdbool.h> when the system | 150 | # We need the following in order to create <stdbool.h> when the system |
| @@ -153,6 +163,9 @@ EXTRA_DIST += stdbool.in.h | |||
| 153 | 163 | ||
| 154 | ## begin gnulib module stddef | 164 | ## begin gnulib module stddef |
| 155 | 165 | ||
| 166 | nodist_pkginclude_HEADERS += $(STDDEF_H) | ||
| 167 | EXTRA_HEADERS += stddef.h | ||
| 168 | |||
| 156 | BUILT_SOURCES += $(STDDEF_H) | 169 | BUILT_SOURCES += $(STDDEF_H) |
| 157 | 170 | ||
| 158 | # We need the following in order to create <stddef.h> when the system | 171 | # We need the following in order to create <stddef.h> when the system |
| @@ -186,6 +199,8 @@ EXTRA_libgnu_a_SOURCES += strftime.c | |||
| 186 | 199 | ||
| 187 | ## begin gnulib module time | 200 | ## begin gnulib module time |
| 188 | 201 | ||
| 202 | nodist_pkginclude_HEADERS += time.h | ||
| 203 | |||
| 189 | BUILT_SOURCES += time.h | 204 | BUILT_SOURCES += time.h |
| 190 | 205 | ||
| 191 | # We need the following in order to create <time.h> when the system | 206 | # We need the following in order to create <time.h> when the system |
| @@ -236,6 +251,8 @@ EXTRA_libgnu_a_SOURCES += time_r.c | |||
| 236 | 251 | ||
| 237 | ## begin gnulib module unistd | 252 | ## begin gnulib module unistd |
| 238 | 253 | ||
| 254 | nodist_pkginclude_HEADERS += unistd.h | ||
| 255 | |||
| 239 | BUILT_SOURCES += unistd.h | 256 | BUILT_SOURCES += unistd.h |
| 240 | 257 | ||
| 241 | # We need the following in order to create an empty placeholder for | 258 | # We need the following in order to create an empty placeholder for |
| @@ -367,6 +384,8 @@ EXTRA_DIST += unistd.in.h | |||
| 367 | 384 | ||
| 368 | ## begin gnulib module warn-on-use | 385 | ## begin gnulib module warn-on-use |
| 369 | 386 | ||
| 387 | nodist_pkginclude_HEADERS += warn-on-use.h | ||
| 388 | |||
| 370 | BUILT_SOURCES += warn-on-use.h | 389 | BUILT_SOURCES += warn-on-use.h |
| 371 | # The warn-on-use.h that gets inserted into generated .h files is the same as | 390 | # The warn-on-use.h that gets inserted into generated .h files is the same as |
| 372 | # build-aux/warn-on-use.h, except that it has the copyright header cut off. | 391 | # build-aux/warn-on-use.h, except that it has the copyright header cut off. |
diff --git a/lib/ignore-value.h b/lib/ignore-value.h index 5e683bbb533..cdb3b3c792f 100644 --- a/lib/ignore-value.h +++ b/lib/ignore-value.h | |||
| @@ -32,8 +32,8 @@ | |||
| 32 | "copy.c:233: warning: ignoring return value of 'fchown', | 32 | "copy.c:233: warning: ignoring return value of 'fchown', |
| 33 | declared with attribute warn_unused_result". */ | 33 | declared with attribute warn_unused_result". */ |
| 34 | 34 | ||
| 35 | #ifndef _GL_IGNORE_VALUE_H | 35 | #ifndef _gl_GL_IGNORE_VALUE_H |
| 36 | # define _GL_IGNORE_VALUE_H | 36 | # define _gl_GL_IGNORE_VALUE_H |
| 37 | 37 | ||
| 38 | # ifndef ATTRIBUTE_DEPRECATED | 38 | # ifndef ATTRIBUTE_DEPRECATED |
| 39 | /* The __attribute__((__deprecated__)) feature | 39 | /* The __attribute__((__deprecated__)) feature |
diff --git a/lib/stdbool.in.h b/lib/stdbool.in.h index b64dc75b20c..e3a778d40a1 100644 --- a/lib/stdbool.in.h +++ b/lib/stdbool.in.h | |||
| @@ -15,8 +15,8 @@ | |||
| 15 | along with this program; if not, write to the Free Software Foundation, | 15 | along with this program; if not, write to the Free Software Foundation, |
| 16 | Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ | 16 | Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ |
| 17 | 17 | ||
| 18 | #ifndef _GL_STDBOOL_H | 18 | #ifndef _gl_GL_STDBOOL_H |
| 19 | #define _GL_STDBOOL_H | 19 | #define _gl_GL_STDBOOL_H |
| 20 | 20 | ||
| 21 | /* ISO C 99 <stdbool.h> for platforms that lack it. */ | 21 | /* ISO C 99 <stdbool.h> for platforms that lack it. */ |
| 22 | 22 | ||
| @@ -119,4 +119,4 @@ typedef enum { _Bool_must_promote_to_int = -1, false = 0, true = 1 } _Bool; | |||
| 119 | #define true 1 | 119 | #define true 1 |
| 120 | #define __bool_true_false_are_defined 1 | 120 | #define __bool_true_false_are_defined 1 |
| 121 | 121 | ||
| 122 | #endif /* _GL_STDBOOL_H */ | 122 | #endif /* _gl_GL_STDBOOL_H */ |
diff --git a/lib/stddef.in.h b/lib/stddef.in.h index 62a91a7a6a3..f2d5a4fdad9 100644 --- a/lib/stddef.in.h +++ b/lib/stddef.in.h | |||
| @@ -38,9 +38,9 @@ | |||
| 38 | remember if special invocation has ever been used to obtain wint_t, | 38 | remember if special invocation has ever been used to obtain wint_t, |
| 39 | in which case we need to clean up NULL yet again. */ | 39 | in which case we need to clean up NULL yet again. */ |
| 40 | 40 | ||
| 41 | # if !(defined _GL_STDDEF_H && defined _GL_STDDEF_WINT_T) | 41 | # if !(defined _gl_GL_STDDEF_H && defined _GL_STDDEF_WINT_T) |
| 42 | # ifdef __need_wint_t | 42 | # ifdef __need_wint_t |
| 43 | # undef _GL_STDDEF_H | 43 | # undef _gl_GL_STDDEF_H |
| 44 | # define _GL_STDDEF_WINT_T | 44 | # define _GL_STDDEF_WINT_T |
| 45 | # endif | 45 | # endif |
| 46 | # @INCLUDE_NEXT@ @NEXT_STDDEF_H@ | 46 | # @INCLUDE_NEXT@ @NEXT_STDDEF_H@ |
| @@ -49,14 +49,14 @@ | |||
| 49 | #else | 49 | #else |
| 50 | /* Normal invocation convention. */ | 50 | /* Normal invocation convention. */ |
| 51 | 51 | ||
| 52 | # ifndef _GL_STDDEF_H | 52 | # ifndef _gl_GL_STDDEF_H |
| 53 | 53 | ||
| 54 | /* The include_next requires a split double-inclusion guard. */ | 54 | /* The include_next requires a split double-inclusion guard. */ |
| 55 | 55 | ||
| 56 | # @INCLUDE_NEXT@ @NEXT_STDDEF_H@ | 56 | # @INCLUDE_NEXT@ @NEXT_STDDEF_H@ |
| 57 | 57 | ||
| 58 | # ifndef _GL_STDDEF_H | 58 | # ifndef _gl_GL_STDDEF_H |
| 59 | # define _GL_STDDEF_H | 59 | # define _gl_GL_STDDEF_H |
| 60 | 60 | ||
| 61 | /* On NetBSD 5.0, the definition of NULL lacks proper parentheses. */ | 61 | /* On NetBSD 5.0, the definition of NULL lacks proper parentheses. */ |
| 62 | #if @REPLACE_NULL@ | 62 | #if @REPLACE_NULL@ |
| @@ -82,6 +82,6 @@ | |||
| 82 | # define wchar_t int | 82 | # define wchar_t int |
| 83 | #endif | 83 | #endif |
| 84 | 84 | ||
| 85 | # endif /* _GL_STDDEF_H */ | 85 | # endif /* _gl_GL_STDDEF_H */ |
| 86 | # endif /* _GL_STDDEF_H */ | 86 | # endif /* _gl_GL_STDDEF_H */ |
| 87 | #endif /* __need_XXX */ | 87 | #endif /* __need_XXX */ |
diff --git a/lib/time.in.h b/lib/time.in.h index 2d6da7161fb..2bfe9208d15 100644 --- a/lib/time.in.h +++ b/lib/time.in.h | |||
| @@ -28,13 +28,13 @@ | |||
| 28 | without adding our own declarations. */ | 28 | without adding our own declarations. */ |
| 29 | #if (defined __need_time_t || defined __need_clock_t \ | 29 | #if (defined __need_time_t || defined __need_clock_t \ |
| 30 | || defined __need_timespec \ | 30 | || defined __need_timespec \ |
| 31 | || defined _GL_TIME_H) | 31 | || defined _gl_GL_TIME_H) |
| 32 | 32 | ||
| 33 | # @INCLUDE_NEXT@ @NEXT_TIME_H@ | 33 | # @INCLUDE_NEXT@ @NEXT_TIME_H@ |
| 34 | 34 | ||
| 35 | #else | 35 | #else |
| 36 | 36 | ||
| 37 | # define _GL_TIME_H | 37 | # define _gl_GL_TIME_H |
| 38 | 38 | ||
| 39 | # @INCLUDE_NEXT@ @NEXT_TIME_H@ | 39 | # @INCLUDE_NEXT@ @NEXT_TIME_H@ |
| 40 | 40 | ||
diff --git a/lib/unistd.in.h b/lib/unistd.in.h index 14d685e0c8f..7a64cb5fe44 100644 --- a/lib/unistd.in.h +++ b/lib/unistd.in.h | |||
| @@ -25,7 +25,7 @@ | |||
| 25 | but we need to ensure that both the system <unistd.h> and <winsock2.h> | 25 | but we need to ensure that both the system <unistd.h> and <winsock2.h> |
| 26 | are completely included before we replace gethostname. */ | 26 | are completely included before we replace gethostname. */ |
| 27 | #if @GNULIB_GETHOSTNAME@ && @UNISTD_H_HAVE_WINSOCK2_H@ \ | 27 | #if @GNULIB_GETHOSTNAME@ && @UNISTD_H_HAVE_WINSOCK2_H@ \ |
| 28 | && !defined _GL_WINSOCK2_H_WITNESS && defined _WINSOCK2_H | 28 | && !defined _gl_GL_WINSOCK2_H_WITNESS && defined _WINSOCK2_H |
| 29 | /* <unistd.h> is being indirectly included for the first time from | 29 | /* <unistd.h> is being indirectly included for the first time from |
| 30 | <winsock2.h>; avoid declaring any overrides. */ | 30 | <winsock2.h>; avoid declaring any overrides. */ |
| 31 | # if @HAVE_UNISTD_H@ | 31 | # if @HAVE_UNISTD_H@ |
| @@ -33,10 +33,10 @@ | |||
| 33 | # else | 33 | # else |
| 34 | # error unexpected; report this to bug-gnulib@gnu.org | 34 | # error unexpected; report this to bug-gnulib@gnu.org |
| 35 | # endif | 35 | # endif |
| 36 | # define _GL_WINSOCK2_H_WITNESS | 36 | # define _gl_GL_WINSOCK2_H_WITNESS |
| 37 | 37 | ||
| 38 | /* Normal invocation. */ | 38 | /* Normal invocation. */ |
| 39 | #elif !defined _GL_UNISTD_H | 39 | #elif !defined _gl_GL_UNISTD_H |
| 40 | 40 | ||
| 41 | /* The include_next requires a split double-inclusion guard. */ | 41 | /* The include_next requires a split double-inclusion guard. */ |
| 42 | #if @HAVE_UNISTD_H@ | 42 | #if @HAVE_UNISTD_H@ |
| @@ -45,14 +45,14 @@ | |||
| 45 | 45 | ||
| 46 | /* Get all possible declarations of gethostname(). */ | 46 | /* Get all possible declarations of gethostname(). */ |
| 47 | #if @GNULIB_GETHOSTNAME@ && @UNISTD_H_HAVE_WINSOCK2_H@ \ | 47 | #if @GNULIB_GETHOSTNAME@ && @UNISTD_H_HAVE_WINSOCK2_H@ \ |
| 48 | && !defined _GL_INCLUDING_WINSOCK2_H | 48 | && !defined _gl_GL_INCLUDING_WINSOCK2_H |
| 49 | # define _GL_INCLUDING_WINSOCK2_H | 49 | # define _gl_GL_INCLUDING_WINSOCK2_H |
| 50 | # include <winsock2.h> | 50 | # include <winsock2.h> |
| 51 | # undef _GL_INCLUDING_WINSOCK2_H | 51 | # undef _gl_GL_INCLUDING_WINSOCK2_H |
| 52 | #endif | 52 | #endif |
| 53 | 53 | ||
| 54 | #if !defined _GL_UNISTD_H && !defined _GL_INCLUDING_WINSOCK2_H | 54 | #if !defined _gl_GL_UNISTD_H && !defined _GL_INCLUDING_WINSOCK2_H |
| 55 | #define _GL_UNISTD_H | 55 | #define _gl_GL_UNISTD_H |
| 56 | 56 | ||
| 57 | /* NetBSD 5.0 mis-defines NULL. Also get size_t. */ | 57 | /* NetBSD 5.0 mis-defines NULL. Also get size_t. */ |
| 58 | #include <stddef.h> | 58 | #include <stddef.h> |
| @@ -119,7 +119,7 @@ | |||
| 119 | #if @GNULIB_GETHOSTNAME@ | 119 | #if @GNULIB_GETHOSTNAME@ |
| 120 | /* Get all possible declarations of gethostname(). */ | 120 | /* Get all possible declarations of gethostname(). */ |
| 121 | # if @UNISTD_H_HAVE_WINSOCK2_H@ | 121 | # if @UNISTD_H_HAVE_WINSOCK2_H@ |
| 122 | # if !defined _GL_SYS_SOCKET_H | 122 | # if !defined _gl_GL_SYS_SOCKET_H |
| 123 | # if !(defined __cplusplus && defined GNULIB_NAMESPACE) | 123 | # if !(defined __cplusplus && defined GNULIB_NAMESPACE) |
| 124 | # undef socket | 124 | # undef socket |
| 125 | # define socket socket_used_without_including_sys_socket_h | 125 | # define socket socket_used_without_including_sys_socket_h |
| @@ -180,7 +180,7 @@ | |||
| 180 | "shutdown() used without including <sys/socket.h>"); | 180 | "shutdown() used without including <sys/socket.h>"); |
| 181 | # endif | 181 | # endif |
| 182 | # endif | 182 | # endif |
| 183 | # if !defined _GL_SYS_SELECT_H | 183 | # if !defined _gl_GL_SYS_SELECT_H |
| 184 | # if !(defined __cplusplus && defined GNULIB_NAMESPACE) | 184 | # if !(defined __cplusplus && defined GNULIB_NAMESPACE) |
| 185 | # undef select | 185 | # undef select |
| 186 | # define select select_used_without_including_sys_select_h | 186 | # define select select_used_without_including_sys_select_h |
| @@ -1374,5 +1374,5 @@ _GL_CXXALIASWARN (write); | |||
| 1374 | #endif | 1374 | #endif |
| 1375 | 1375 | ||
| 1376 | 1376 | ||
| 1377 | #endif /* _GL_UNISTD_H */ | 1377 | #endif /* _gl_GL_UNISTD_H */ |
| 1378 | #endif /* _GL_UNISTD_H */ | 1378 | #endif /* _gl_GL_UNISTD_H */ |