aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorPaul Eggert2011-02-06 14:13:03 -0800
committerPaul Eggert2011-02-06 14:13:03 -0800
commite765a388299ce398f7f5cf57bc74b8134d785f43 (patch)
tree8666752cedade7bca7ce697b7a6d002b25f9692d /lib
parent5976c3fe907ebb3254fd2f07c765ea7492b44f63 (diff)
downloademacs-e765a388299ce398f7f5cf57bc74b8134d785f43.tar.gz
emacs-e765a388299ce398f7f5cf57bc74b8134d785f43.zip
gnulib: undo previous change
Diffstat (limited to 'lib')
-rw-r--r--lib/Makefile.am2
-rw-r--r--lib/Makefile.in69
-rw-r--r--lib/ftoastr.h4
-rw-r--r--lib/getopt.in.h6
-rw-r--r--lib/gnulib.mk19
-rw-r--r--lib/ignore-value.h4
-rw-r--r--lib/stdbool.in.h6
-rw-r--r--lib/stddef.in.h14
-rw-r--r--lib/time.in.h4
-rw-r--r--lib/unistd.in.h24
10 files changed, 40 insertions, 112 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am
index e63561d0abb..6a014f6057b 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -1,8 +1,6 @@
1BUILT_SOURCES = 1BUILT_SOURCES =
2EXTRA_DIST = 2EXTRA_DIST =
3EXTRA_HEADERS =
4MOSTLYCLEANFILES = 3MOSTLYCLEANFILES =
5nodist_pkginclude_HEADERS =
6noinst_LIBRARIES = 4noinst_LIBRARIES =
7 5
8DEFAULT_INCLUDES = -I. -I../src -I$(top_srcdir)/src 6DEFAULT_INCLUDES = -I. -I../src -I$(top_srcdir)/src
diff --git a/lib/Makefile.in b/lib/Makefile.in
index 0dac3d8dc90..e50f9b31ef3 100644
--- a/lib/Makefile.in
+++ b/lib/Makefile.in
@@ -26,7 +26,6 @@
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
30VPATH = @srcdir@ 29VPATH = @srcdir@
31pkgdatadir = $(datadir)/@PACKAGE@ 30pkgdatadir = $(datadir)/@PACKAGE@
32pkgincludedir = $(includedir)/@PACKAGE@ 31pkgincludedir = $(includedir)/@PACKAGE@
@@ -82,29 +81,6 @@ CCLD = $(CC)
82LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ 81LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
83SOURCES = $(libgnu_a_SOURCES) $(EXTRA_libgnu_a_SOURCES) 82SOURCES = $(libgnu_a_SOURCES) $(EXTRA_libgnu_a_SOURCES)
84DIST_SOURCES = $(libgnu_a_SOURCES) $(EXTRA_libgnu_a_SOURCES) 83DIST_SOURCES = $(libgnu_a_SOURCES) $(EXTRA_libgnu_a_SOURCES)
85am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
86am__vpath_adj = case $$p in \
87 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
88 *) f=$$p;; \
89 esac;
90am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
91am__install_max = 40
92am__nobase_strip_setup = \
93 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
94am__nobase_strip = \
95 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
96am__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] }'
103am__base_list = \
104 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
105 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
106am__installdirs = "$(DESTDIR)$(pkgincludedir)"
107HEADERS = $(nodist_pkginclude_HEADERS)
108ETAGS = etags 84ETAGS = etags
109CTAGS = ctags 85CTAGS = ctags
110DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 86DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
@@ -501,13 +477,10 @@ EXTRA_DIST = $(top_srcdir)/./arg-nonnull.h $(top_srcdir)/./c++defs.h \
501 getopt_int.h intprops.h mktime-internal.h mktime.c \ 477 getopt_int.h intprops.h mktime-internal.h mktime.c \
502 stdbool.in.h stddef.in.h strftime.c strftime.h time.in.h \ 478 stdbool.in.h stddef.in.h strftime.c strftime.h time.in.h \
503 time_r.c unistd.in.h $(top_srcdir)/./warn-on-use.h 479 time_r.c unistd.in.h $(top_srcdir)/./warn-on-use.h
504EXTRA_HEADERS = getopt.h stdbool.h stddef.h
505MOSTLYCLEANFILES = core *.stackdump arg-nonnull.h arg-nonnull.h-t \ 480MOSTLYCLEANFILES = core *.stackdump arg-nonnull.h arg-nonnull.h-t \
506 c++defs.h c++defs.h-t getopt.h getopt.h-t stdbool.h \ 481 c++defs.h c++defs.h-t getopt.h getopt.h-t stdbool.h \
507 stdbool.h-t stddef.h stddef.h-t time.h time.h-t unistd.h \ 482 stdbool.h-t stddef.h stddef.h-t time.h time.h-t unistd.h \
508 unistd.h-t warn-on-use.h warn-on-use.h-t 483 unistd.h-t warn-on-use.h warn-on-use.h-t
509nodist_pkginclude_HEADERS = arg-nonnull.h c++defs.h $(GETOPT_H) \
510 $(STDBOOL_H) $(STDDEF_H) time.h unistd.h warn-on-use.h
511noinst_LIBRARIES = libgnu.a 484noinst_LIBRARIES = libgnu.a
512DEFAULT_INCLUDES = -I. -I../src -I$(top_srcdir)/src 485DEFAULT_INCLUDES = -I. -I../src -I$(top_srcdir)/src
513libgnu_a_SOURCES = dtoastr.c gettext.h ignore-value.h 486libgnu_a_SOURCES = dtoastr.c gettext.h ignore-value.h
@@ -588,26 +561,6 @@ distclean-compile:
588@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ 561@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
589@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 562@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
590@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` 563@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
591install-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
604uninstall-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
611 564
612ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) 565ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
613 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ 566 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
@@ -694,11 +647,8 @@ distdir: $(DISTFILES)
694check-am: all-am 647check-am: all-am
695check: $(BUILT_SOURCES) 648check: $(BUILT_SOURCES)
696 $(MAKE) $(AM_MAKEFLAGS) check-am 649 $(MAKE) $(AM_MAKEFLAGS) check-am
697all-am: Makefile $(LIBRARIES) $(HEADERS) 650all-am: Makefile $(LIBRARIES)
698installdirs: 651installdirs:
699 for dir in "$(DESTDIR)$(pkgincludedir)"; do \
700 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
701 done
702install: $(BUILT_SOURCES) 652install: $(BUILT_SOURCES)
703 $(MAKE) $(AM_MAKEFLAGS) install-am 653 $(MAKE) $(AM_MAKEFLAGS) install-am
704install-exec: install-exec-am 654install-exec: install-exec-am
@@ -749,7 +699,7 @@ info: info-am
749 699
750info-am: 700info-am:
751 701
752install-data-am: install-nodist_pkgincludeHEADERS 702install-data-am:
753 703
754install-dvi: install-dvi-am 704install-dvi: install-dvi-am
755 705
@@ -795,7 +745,7 @@ ps: ps-am
795 745
796ps-am: 746ps-am:
797 747
798uninstall-am: uninstall-nodist_pkgincludeHEADERS 748uninstall-am:
799 749
800.MAKE: all check install install-am install-strip 750.MAKE: all check install install-am install-strip
801 751
@@ -805,13 +755,12 @@ uninstall-am: uninstall-nodist_pkgincludeHEADERS
805 html-am info info-am install install-am install-data \ 755 html-am info info-am install install-am install-data \
806 install-data-am install-dvi install-dvi-am install-exec \ 756 install-data-am install-dvi install-dvi-am install-exec \
807 install-exec-am install-html install-html-am install-info \ 757 install-exec-am install-html install-html-am install-info \
808 install-info-am install-man install-nodist_pkgincludeHEADERS \ 758 install-info-am install-man install-pdf install-pdf-am \
809 install-pdf install-pdf-am install-ps install-ps-am \ 759 install-ps install-ps-am install-strip installcheck \
810 install-strip installcheck installcheck-am installdirs \ 760 installcheck-am installdirs maintainer-clean \
811 maintainer-clean maintainer-clean-generic mostlyclean \ 761 maintainer-clean-generic mostlyclean mostlyclean-compile \
812 mostlyclean-compile mostlyclean-generic mostlyclean-local pdf \ 762 mostlyclean-generic mostlyclean-local pdf pdf-am ps ps-am tags \
813 pdf-am ps ps-am tags uninstall uninstall-am \ 763 uninstall uninstall-am
814 uninstall-nodist_pkgincludeHEADERS
815 764
816# The arg-nonnull.h that gets inserted into generated .h files is the same as 765# The arg-nonnull.h that gets inserted into generated .h files is the same as
817# build-aux/arg-nonnull.h, except that it has the copyright header cut off. 766# 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 8aacb7908ce..6264952e8e9 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_GL_FTOASTR_H 20#ifndef _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_GL_FTOASTR_H */ 144#endif /* _GL_FTOASTR_H */
diff --git a/lib/getopt.in.h b/lib/getopt.in.h
index 9f6341ccdcd..9b0a9a58bc9 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_GL_GETOPT_H 19#ifndef _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_GL_GETOPT_H 35#ifndef _GL_GETOPT_H
36 36
37#ifndef __need_getopt 37#ifndef __need_getopt
38# define _gl_GL_GETOPT_H 1 38# define _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 ee95349b565..af628c8d300 100644
--- a/lib/gnulib.mk
+++ b/lib/gnulib.mk
@@ -23,8 +23,6 @@ EXTRA_libgnu_a_SOURCES =
23 23
24## begin gnulib module arg-nonnull 24## begin gnulib module arg-nonnull
25 25
26nodist_pkginclude_HEADERS += arg-nonnull.h
27
28# The BUILT_SOURCES created by this Makefile snippet are not used via #include 26# The BUILT_SOURCES created by this Makefile snippet are not used via #include
29# statements but through direct file reference. Therefore this snippet must be 27# statements but through direct file reference. Therefore this snippet must be
30# present in all Makefile.am that need it. This is ensured by the applicability 28# present in all Makefile.am that need it. This is ensured by the applicability
@@ -49,8 +47,6 @@ EXTRA_DIST += $(top_srcdir)/./arg-nonnull.h
49 47
50## begin gnulib module c++defs 48## begin gnulib module c++defs
51 49
52nodist_pkginclude_HEADERS += c++defs.h
53
54# The BUILT_SOURCES created by this Makefile snippet are not used via #include 50# The BUILT_SOURCES created by this Makefile snippet are not used via #include
55# statements but through direct file reference. Therefore this snippet must be 51# statements but through direct file reference. Therefore this snippet must be
56# present in all Makefile.am that need it. This is ensured by the applicability 52# present in all Makefile.am that need it. This is ensured by the applicability
@@ -85,9 +81,6 @@ EXTRA_libgnu_a_SOURCES += ftoastr.c
85 81
86## begin gnulib module getopt-posix 82## begin gnulib module getopt-posix
87 83
88nodist_pkginclude_HEADERS += $(GETOPT_H)
89EXTRA_HEADERS += getopt.h
90
91BUILT_SOURCES += $(GETOPT_H) 84BUILT_SOURCES += $(GETOPT_H)
92 85
93# We need the following in order to create <getopt.h> when the system 86# We need the following in order to create <getopt.h> when the system
@@ -142,9 +135,6 @@ EXTRA_libgnu_a_SOURCES += mktime.c
142 135
143## begin gnulib module stdbool 136## begin gnulib module stdbool
144 137
145nodist_pkginclude_HEADERS += $(STDBOOL_H)
146EXTRA_HEADERS += stdbool.h
147
148BUILT_SOURCES += $(STDBOOL_H) 138BUILT_SOURCES += $(STDBOOL_H)
149 139
150# We need the following in order to create <stdbool.h> when the system 140# We need the following in order to create <stdbool.h> when the system
@@ -163,9 +153,6 @@ EXTRA_DIST += stdbool.in.h
163 153
164## begin gnulib module stddef 154## begin gnulib module stddef
165 155
166nodist_pkginclude_HEADERS += $(STDDEF_H)
167EXTRA_HEADERS += stddef.h
168
169BUILT_SOURCES += $(STDDEF_H) 156BUILT_SOURCES += $(STDDEF_H)
170 157
171# We need the following in order to create <stddef.h> when the system 158# We need the following in order to create <stddef.h> when the system
@@ -199,8 +186,6 @@ EXTRA_libgnu_a_SOURCES += strftime.c
199 186
200## begin gnulib module time 187## begin gnulib module time
201 188
202nodist_pkginclude_HEADERS += time.h
203
204BUILT_SOURCES += time.h 189BUILT_SOURCES += time.h
205 190
206# We need the following in order to create <time.h> when the system 191# We need the following in order to create <time.h> when the system
@@ -251,8 +236,6 @@ EXTRA_libgnu_a_SOURCES += time_r.c
251 236
252## begin gnulib module unistd 237## begin gnulib module unistd
253 238
254nodist_pkginclude_HEADERS += unistd.h
255
256BUILT_SOURCES += unistd.h 239BUILT_SOURCES += unistd.h
257 240
258# We need the following in order to create an empty placeholder for 241# We need the following in order to create an empty placeholder for
@@ -384,8 +367,6 @@ EXTRA_DIST += unistd.in.h
384 367
385## begin gnulib module warn-on-use 368## begin gnulib module warn-on-use
386 369
387nodist_pkginclude_HEADERS += warn-on-use.h
388
389BUILT_SOURCES += warn-on-use.h 370BUILT_SOURCES += warn-on-use.h
390# The warn-on-use.h that gets inserted into generated .h files is the same as 371# The warn-on-use.h that gets inserted into generated .h files is the same as
391# build-aux/warn-on-use.h, except that it has the copyright header cut off. 372# 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 cdb3b3c792f..5e683bbb533 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_GL_IGNORE_VALUE_H 35#ifndef _GL_IGNORE_VALUE_H
36# define _gl_GL_IGNORE_VALUE_H 36# define _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 e3a778d40a1..b64dc75b20c 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_GL_STDBOOL_H 18#ifndef _GL_STDBOOL_H
19#define _gl_GL_STDBOOL_H 19#define _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_GL_STDBOOL_H */ 122#endif /* _GL_STDBOOL_H */
diff --git a/lib/stddef.in.h b/lib/stddef.in.h
index f2d5a4fdad9..62a91a7a6a3 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_GL_STDDEF_H && defined _GL_STDDEF_WINT_T) 41# if !(defined _GL_STDDEF_H && defined _GL_STDDEF_WINT_T)
42# ifdef __need_wint_t 42# ifdef __need_wint_t
43# undef _gl_GL_STDDEF_H 43# undef _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_GL_STDDEF_H 52# ifndef _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_GL_STDDEF_H 58# ifndef _GL_STDDEF_H
59# define _gl_GL_STDDEF_H 59# define _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_GL_STDDEF_H */ 85# endif /* _GL_STDDEF_H */
86# endif /* _gl_GL_STDDEF_H */ 86# endif /* _GL_STDDEF_H */
87#endif /* __need_XXX */ 87#endif /* __need_XXX */
diff --git a/lib/time.in.h b/lib/time.in.h
index 2bfe9208d15..2d6da7161fb 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_GL_TIME_H) 31 || defined _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_GL_TIME_H 37# define _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 7a64cb5fe44..14d685e0c8f 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_GL_WINSOCK2_H_WITNESS && defined _WINSOCK2_H 28 && !defined _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_GL_WINSOCK2_H_WITNESS 36# define _GL_WINSOCK2_H_WITNESS
37 37
38/* Normal invocation. */ 38/* Normal invocation. */
39#elif !defined _gl_GL_UNISTD_H 39#elif !defined _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_GL_INCLUDING_WINSOCK2_H 48 && !defined _GL_INCLUDING_WINSOCK2_H
49# define _gl_GL_INCLUDING_WINSOCK2_H 49# define _GL_INCLUDING_WINSOCK2_H
50# include <winsock2.h> 50# include <winsock2.h>
51# undef _gl_GL_INCLUDING_WINSOCK2_H 51# undef _GL_INCLUDING_WINSOCK2_H
52#endif 52#endif
53 53
54#if !defined _gl_GL_UNISTD_H && !defined _GL_INCLUDING_WINSOCK2_H 54#if !defined _GL_UNISTD_H && !defined _GL_INCLUDING_WINSOCK2_H
55#define _gl_GL_UNISTD_H 55#define _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_GL_SYS_SOCKET_H 122# if !defined _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_GL_SYS_SELECT_H 183# if !defined _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_GL_UNISTD_H */ 1377#endif /* _GL_UNISTD_H */
1378#endif /* _gl_GL_UNISTD_H */ 1378#endif /* _GL_UNISTD_H */