summaryrefslogtreecommitdiffstats
path: root/gl/Makefile.am
diff options
context:
space:
mode:
authorThomas Guyot-Sionnest <dermoth@users.sourceforge.net>2008-02-12 11:07:18 (GMT)
committerThomas Guyot-Sionnest <dermoth@users.sourceforge.net>2008-02-12 11:07:18 (GMT)
commitbd7029a99b0c2974265c6665638ef14a052f42ab (patch)
treef5661ba73366d81ef6e91f889ea7fec5ebe07b6b /gl/Makefile.am
parentf99612320d6eda67644c07be04bb21aa4d7789db (diff)
downloadmonitoring-plugins-bd7029a99b0c2974265c6665638ef14a052f42ab.tar.gz
Sync to latest Gnulib
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1925 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'gl/Makefile.am')
-rw-r--r--gl/Makefile.am516
1 files changed, 428 insertions, 88 deletions
diff --git a/gl/Makefile.am b/gl/Makefile.am
index 67c9872..92c675e 100644
--- a/gl/Makefile.am
+++ b/gl/Makefile.am
@@ -9,7 +9,7 @@
9# the same distribution terms as the rest of that program. 9# the same distribution terms as the rest of that program.
10# 10#
11# Generated by gnulib-tool. 11# Generated by gnulib-tool.
12# Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=gl --m4-base=gl/m4 --doc-base=doc --aux-dir=. --no-libtool --macro-prefix=gl dirname fsusage getaddrinfo gethostname getloadavg getopt gettext mountlist regex vasprintf vsnprintf 12# Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=gl --m4-base=gl/m4 --doc-base=doc --aux-dir=build-aux --no-libtool --macro-prefix=gl dirname fsusage getaddrinfo gethostname getloadavg getopt gettext mountlist regex vasprintf vsnprintf
13 13
14AUTOMAKE_OPTIONS = 1.5 gnits 14AUTOMAKE_OPTIONS = 1.5 gnits
15 15
@@ -34,6 +34,15 @@ libgnu_a_LIBADD = $(gl_LIBOBJS)
34libgnu_a_DEPENDENCIES = $(gl_LIBOBJS) 34libgnu_a_DEPENDENCIES = $(gl_LIBOBJS)
35EXTRA_libgnu_a_SOURCES = 35EXTRA_libgnu_a_SOURCES =
36 36
37## begin gnulib module absolute-header
38
39# Use this preprocessor expression to decide whether #include_next works.
40# Do not rely on a 'configure'-time test for this, since the expression
41# might appear in an installed header, which is used by some other compiler.
42HAVE_INCLUDE_NEXT = (__GNUC__ || 60000000 <= __DECC_VER)
43
44## end gnulib module absolute-header
45
37## begin gnulib module alloca 46## begin gnulib module alloca
38 47
39 48
@@ -51,14 +60,14 @@ BUILT_SOURCES += $(ALLOCA_H)
51 60
52# We need the following in order to create <alloca.h> when the system 61# We need the following in order to create <alloca.h> when the system
53# doesn't have one that works with the given compiler. 62# doesn't have one that works with the given compiler.
54alloca.h: alloca_.h 63alloca.h: alloca.in.h
55 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ 64 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
56 cat $(srcdir)/alloca_.h; \ 65 cat $(srcdir)/alloca.in.h; \
57 } > $@-t 66 } > $@-t
58 mv -f $@-t $@ 67 mv -f $@-t $@
59MOSTLYCLEANFILES += alloca.h alloca.h-t 68MOSTLYCLEANFILES += alloca.h alloca.h-t
60 69
61EXTRA_DIST += alloca_.h 70EXTRA_DIST += alloca.in.h
62 71
63## end gnulib module alloca-opt 72## end gnulib module alloca-opt
64 73
@@ -69,7 +78,7 @@ BUILT_SOURCES += $(ARPA_INET_H)
69# We need the following in order to create <arpa/inet.h> when the system 78# We need the following in order to create <arpa/inet.h> when the system
70# doesn't have one. 79# doesn't have one.
71arpa/inet.h: 80arpa/inet.h:
72 test -d arpa || mkdir arpa 81 @MKDIR_P@ arpa
73 rm -f $@-t $@ 82 rm -f $@-t $@
74 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ 83 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
75 echo '#include <sys/socket.h>'; \ 84 echo '#include <sys/socket.h>'; \
@@ -98,6 +107,62 @@ EXTRA_libgnu_a_SOURCES += cloexec.c
98 107
99## end gnulib module cloexec 108## end gnulib module cloexec
100 109
110## begin gnulib module configmake
111
112# Retrieve values of the variables through 'configure' followed by
113# 'make', not directly through 'configure', so that a user who
114# sets some of these variables consistently on the 'make' command
115# line gets correct results.
116#
117# One advantage of this approach, compared to the classical
118# approach of adding -DLIBDIR=\"$(libdir)\" etc. to AM_CPPFLAGS,
119# is that it protects against the use of undefined variables.
120# If, say, $(libdir) is not set in the Makefile, LIBDIR is not
121# defined by this module, and code using LIBDIR gives a
122# compilation error.
123#
124# Another advantage is that 'make' output is shorter.
125#
126# Listed in the same order as the GNU makefile conventions.
127# The Automake-defined pkg* macros are appended, in the order
128# listed in the Automake 1.10a+ documentation.
129configmake.h: Makefile
130 rm -f $@-t $@
131 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
132 echo '#define PREFIX "$(prefix)"'; \
133 echo '#define EXEC_PREFIX "$(exec_prefix)"'; \
134 echo '#define BINDIR "$(bindir)"'; \
135 echo '#define SBINDIR "$(sbindir)"'; \
136 echo '#define LIBEXECDIR "$(libexecdir)"'; \
137 echo '#define DATAROOTDIR "$(datarootdir)"'; \
138 echo '#define DATADIR "$(datadir)"'; \
139 echo '#define SYSCONFDIR "$(sysconfdir)"'; \
140 echo '#define SHAREDSTATEDIR "$(sharedstatedir)"'; \
141 echo '#define LOCALSTATEDIR "$(localstatedir)"'; \
142 echo '#define INCLUDEDIR "$(includedir)"'; \
143 echo '#define OLDINCLUDEDIR "$(oldincludedir)"'; \
144 echo '#define DOCDIR "$(docdir)"'; \
145 echo '#define INFODIR "$(infodir)"'; \
146 echo '#define HTMLDIR "$(htmldir)"'; \
147 echo '#define DVIDIR "$(dvidir)"'; \
148 echo '#define PDFDIR "$(pdfdir)"'; \
149 echo '#define PSDIR "$(psdir)"'; \
150 echo '#define LIBDIR "$(libdir)"'; \
151 echo '#define LISPDIR "$(lispdir)"'; \
152 echo '#define LOCALEDIR "$(localedir)"'; \
153 echo '#define MANDIR "$(mandir)"'; \
154 echo '#define MANEXT "$(manext)"'; \
155 echo '#define PKGDATADIR "$(pkgdatadir)"'; \
156 echo '#define PKGINCLUDEDIR "$(pkgincludedir)"'; \
157 echo '#define PKGLIBDIR "$(pkglibdir)"'; \
158 echo '#define PKGLIBEXECDIR "$(pkglibexecdir)"'; \
159 } | sed '/""/d' > $@-t
160 mv $@-t $@
161BUILT_SOURCES += configmake.h
162CLEANFILES += configmake.h configmake.h-t
163
164## end gnulib module configmake
165
101## begin gnulib module dirname 166## begin gnulib module dirname
102 167
103 168
@@ -116,12 +181,6 @@ EXTRA_libgnu_a_SOURCES += error.c
116 181
117## end gnulib module error 182## end gnulib module error
118 183
119## begin gnulib module exit
120
121libgnu_a_SOURCES += exit.h
122
123## end gnulib module exit
124
125## begin gnulib module exitfail 184## begin gnulib module exitfail
126 185
127 186
@@ -140,6 +199,26 @@ EXTRA_libgnu_a_SOURCES += creat-safer.c open-safer.c
140 199
141## end gnulib module fcntl-safer 200## end gnulib module fcntl-safer
142 201
202## begin gnulib module float
203
204BUILT_SOURCES += $(FLOAT_H)
205
206# We need the following in order to create <float.h> when the system
207# doesn't have one that works with the given compiler.
208float.h: float.in.h
209 rm -f $@-t $@
210 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
211 sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
212 -e 's|@''NEXT_FLOAT_H''@|$(NEXT_FLOAT_H)|g' \
213 < $(srcdir)/float.in.h; \
214 } > $@-t
215 mv $@-t $@
216MOSTLYCLEANFILES += float.h float.h-t
217
218EXTRA_DIST += float.in.h
219
220## end gnulib module float
221
143## begin gnulib module fsusage 222## begin gnulib module fsusage
144 223
145 224
@@ -194,14 +273,14 @@ BUILT_SOURCES += $(GETOPT_H)
194 273
195# We need the following in order to create <getopt.h> when the system 274# We need the following in order to create <getopt.h> when the system
196# doesn't have one that works with the given compiler. 275# doesn't have one that works with the given compiler.
197getopt.h: getopt_.h 276getopt.h: getopt.in.h
198 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ 277 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
199 cat $(srcdir)/getopt_.h; \ 278 cat $(srcdir)/getopt.in.h; \
200 } > $@-t 279 } > $@-t
201 mv -f $@-t $@ 280 mv -f $@-t $@
202MOSTLYCLEANFILES += getopt.h getopt.h-t 281MOSTLYCLEANFILES += getopt.h getopt.h-t
203 282
204EXTRA_DIST += getopt.c getopt1.c getopt_.h getopt_int.h 283EXTRA_DIST += getopt.c getopt.in.h getopt1.c getopt_int.h
205 284
206EXTRA_libgnu_a_SOURCES += getopt.c getopt1.c 285EXTRA_libgnu_a_SOURCES += getopt.c getopt1.c
207 286
@@ -219,6 +298,8 @@ EXTRA_libgnu_a_SOURCES += getopt.c getopt1.c
219# "gettextize --intl". 298# "gettextize --intl".
220AM_CPPFLAGS += -I$(top_builddir)/intl 299AM_CPPFLAGS += -I$(top_builddir)/intl
221 300
301EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath
302
222## end gnulib module gettext 303## end gnulib module gettext
223 304
224## begin gnulib module gettext-h 305## begin gnulib module gettext-h
@@ -227,6 +308,13 @@ libgnu_a_SOURCES += gettext.h
227 308
228## end gnulib module gettext-h 309## end gnulib module gettext-h
229 310
311## begin gnulib module havelib
312
313
314EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath
315
316## end gnulib module havelib
317
230## begin gnulib module inet_ntop 318## begin gnulib module inet_ntop
231 319
232 320
@@ -243,44 +331,89 @@ EXTRA_DIST += intprops.h
243 331
244## end gnulib module intprops 332## end gnulib module intprops
245 333
246## begin gnulib module malloc 334## begin gnulib module link-warning
247 335
248 336LINK_WARNING_H=$(top_srcdir)/build-aux/link-warning.h
249EXTRA_DIST += malloc.c 337
250 338EXTRA_DIST += $(top_srcdir)/build-aux/link-warning.h
251EXTRA_libgnu_a_SOURCES += malloc.c 339
252 340## end gnulib module link-warning
253## end gnulib module malloc 341
254 342## begin gnulib module localcharset
255## begin gnulib module mbchar 343
344libgnu_a_SOURCES += localcharset.h localcharset.c
345
346# We need the following in order to install a simple file in $(libdir)
347# which is shared with other installed packages. We use a list of referencing
348# packages so that "make uninstall" will remove the file if and only if it
349# is not used by another installed package.
350# On systems with glibc-2.1 or newer, the file is redundant, therefore we
351# avoid installing it.
352
353all-local: charset.alias ref-add.sed ref-del.sed
354
355charset_alias = $(DESTDIR)$(libdir)/charset.alias
356charset_tmp = $(DESTDIR)$(libdir)/charset.tmp
357install-exec-local: all-local
358 test $(GLIBC21) != no || $(mkinstalldirs) $(DESTDIR)$(libdir)
359 if test -f $(charset_alias); then \
360 sed -f ref-add.sed $(charset_alias) > $(charset_tmp) ; \
361 $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
362 rm -f $(charset_tmp) ; \
363 else \
364 if test $(GLIBC21) = no; then \
365 sed -f ref-add.sed charset.alias > $(charset_tmp) ; \
366 $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
367 rm -f $(charset_tmp) ; \
368 fi ; \
369 fi
370
371uninstall-local: all-local
372 if test -f $(charset_alias); then \
373 sed -f ref-del.sed $(charset_alias) > $(charset_tmp); \
374 if grep '^# Packages using this file: $$' $(charset_tmp) \
375 > /dev/null; then \
376 rm -f $(charset_alias); \
377 else \
378 $(INSTALL_DATA) $(charset_tmp) $(charset_alias); \
379 fi; \
380 rm -f $(charset_tmp); \
381 fi
256 382
383charset.alias: config.charset
384 rm -f t-$@ $@
385 $(SHELL) $(srcdir)/config.charset '$(host)' > t-$@
386 mv t-$@ $@
257 387
258EXTRA_DIST += mbchar.c mbchar.h 388SUFFIXES += .sed .sin
389.sin.sed:
390 rm -f t-$@ $@
391 sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@
392 mv t-$@ $@
259 393
260EXTRA_libgnu_a_SOURCES += mbchar.c 394CLEANFILES += charset.alias ref-add.sed ref-del.sed
261 395
262## end gnulib module mbchar 396EXTRA_DIST += config.charset ref-add.sin ref-del.sin
263 397
264## begin gnulib module mbuiter 398## end gnulib module localcharset
265 399
266libgnu_a_SOURCES += mbuiter.h 400## begin gnulib module malloc
267 401
268## end gnulib module mbuiter
269 402
270## begin gnulib module memchr 403EXTRA_DIST += malloc.c
271 404
405EXTRA_libgnu_a_SOURCES += malloc.c
272 406
273EXTRA_DIST += memchr.c 407## end gnulib module malloc
274 408
275EXTRA_libgnu_a_SOURCES += memchr.c 409## begin gnulib module malloc-posix
276 410
277## end gnulib module memchr
278 411
279## begin gnulib module minmax 412EXTRA_DIST += malloc.c
280 413
281libgnu_a_SOURCES += minmax.h 414EXTRA_libgnu_a_SOURCES += malloc.c
282 415
283## end gnulib module minmax 416## end gnulib module malloc-posix
284 417
285## begin gnulib module mountlist 418## begin gnulib module mountlist
286 419
@@ -297,16 +430,21 @@ BUILT_SOURCES += $(NETINET_IN_H)
297 430
298# We need the following in order to create <netinet/in.h> when the system 431# We need the following in order to create <netinet/in.h> when the system
299# doesn't have one. 432# doesn't have one.
300netinet/in.h: 433netinet/in.h: netinet_in.in.h
301 test -d netinet || mkdir netinet 434 @MKDIR_P@ netinet
302 rm -f $@-t $@ 435 rm -f $@-t $@
303 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ 436 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
304 echo '#include <sys/socket.h>'; \ 437 sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
438 -e 's|@''NEXT_NETINET_IN_H''@|$(NEXT_NETINET_IN_H)|g' \
439 -e 's|@''HAVE_NETINET_IN_H''@|$(HAVE_NETINET_IN_H)|g' \
440 < $(srcdir)/netinet_in.in.h; \
305 } > $@-t 441 } > $@-t
306 mv $@-t $@ 442 mv $@-t $@
307MOSTLYCLEANFILES += netinet/in.h netinet/in.h-t 443MOSTLYCLEANFILES += netinet/in.h netinet/in.h-t
308MOSTLYCLEANDIRS += netinet 444MOSTLYCLEANDIRS += netinet
309 445
446EXTRA_DIST += netinet_in.in.h
447
310## end gnulib module netinet_in 448## end gnulib module netinet_in
311 449
312## begin gnulib module regex 450## begin gnulib module regex
@@ -345,7 +483,7 @@ libgnu_a_SOURCES += size_max.h
345## begin gnulib module snprintf 483## begin gnulib module snprintf
346 484
347 485
348EXTRA_DIST += snprintf.c snprintf.h 486EXTRA_DIST += snprintf.c
349 487
350EXTRA_libgnu_a_SOURCES += snprintf.c 488EXTRA_libgnu_a_SOURCES += snprintf.c
351 489
@@ -357,15 +495,15 @@ BUILT_SOURCES += $(STDBOOL_H)
357 495
358# We need the following in order to create <stdbool.h> when the system 496# We need the following in order to create <stdbool.h> when the system
359# doesn't have one that works. 497# doesn't have one that works.
360stdbool.h: stdbool_.h 498stdbool.h: stdbool.in.h
361 rm -f $@-t $@ 499 rm -f $@-t $@
362 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ 500 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
363 sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool_.h; \ 501 sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
364 } > $@-t 502 } > $@-t
365 mv $@-t $@ 503 mv $@-t $@
366MOSTLYCLEANFILES += stdbool.h stdbool.h-t 504MOSTLYCLEANFILES += stdbool.h stdbool.h-t
367 505
368EXTRA_DIST += stdbool_.h 506EXTRA_DIST += stdbool.in.h
369 507
370## end gnulib module stdbool 508## end gnulib module stdbool
371 509
@@ -375,11 +513,12 @@ BUILT_SOURCES += $(STDINT_H)
375 513
376# We need the following in order to create <stdint.h> when the system 514# We need the following in order to create <stdint.h> when the system
377# doesn't have one that works with the given compiler. 515# doesn't have one that works with the given compiler.
378stdint.h: stdint_.h 516stdint.h: stdint.in.h
379 rm -f $@-t $@ 517 rm -f $@-t $@
380 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ 518 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
381 sed -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \ 519 sed -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
382 -e 's|@''ABSOLUTE_STDINT_H''@|$(ABSOLUTE_STDINT_H)|g' \ 520 -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
521 -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
383 -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \ 522 -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
384 -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \ 523 -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
385 -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \ 524 -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
@@ -399,37 +538,210 @@ stdint.h: stdint_.h
399 -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \ 538 -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
400 -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \ 539 -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
401 -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \ 540 -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
402 < $(srcdir)/stdint_.h; \ 541 < $(srcdir)/stdint.in.h; \
403 } > $@-t 542 } > $@-t
404 mv $@-t $@ 543 mv $@-t $@
405MOSTLYCLEANFILES += stdint.h stdint.h-t 544MOSTLYCLEANFILES += stdint.h stdint.h-t
406 545
407EXTRA_DIST += stdint_.h 546EXTRA_DIST += stdint.in.h
408 547
409## end gnulib module stdint 548## end gnulib module stdint
410 549
411## begin gnulib module strcase 550## begin gnulib module stdio
551
552BUILT_SOURCES += stdio.h
553
554# We need the following in order to create <stdio.h> when the system
555# doesn't have one that works with the given compiler.
556stdio.h: stdio.in.h
557 rm -f $@-t $@
558 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
559 sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
560 -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
561 -e 's|@''GNULIB_FPRINTF_POSIX''@|$(GNULIB_FPRINTF_POSIX)|g' \
562 -e 's|@''GNULIB_PRINTF_POSIX''@|$(GNULIB_PRINTF_POSIX)|g' \
563 -e 's|@''GNULIB_SNPRINTF''@|$(GNULIB_SNPRINTF)|g' \
564 -e 's|@''GNULIB_SPRINTF_POSIX''@|$(GNULIB_SPRINTF_POSIX)|g' \
565 -e 's|@''GNULIB_VFPRINTF_POSIX''@|$(GNULIB_VFPRINTF_POSIX)|g' \
566 -e 's|@''GNULIB_VPRINTF_POSIX''@|$(GNULIB_VPRINTF_POSIX)|g' \
567 -e 's|@''GNULIB_VSNPRINTF''@|$(GNULIB_VSNPRINTF)|g' \
568 -e 's|@''GNULIB_VSPRINTF_POSIX''@|$(GNULIB_VSPRINTF_POSIX)|g' \
569 -e 's|@''GNULIB_VASPRINTF''@|$(GNULIB_VASPRINTF)|g' \
570 -e 's|@''GNULIB_FOPEN''@|$(GNULIB_FOPEN)|g' \
571 -e 's|@''GNULIB_FREOPEN''@|$(GNULIB_FREOPEN)|g' \
572 -e 's|@''GNULIB_FSEEK''@|$(GNULIB_FSEEK)|g' \
573 -e 's|@''GNULIB_FSEEKO''@|$(GNULIB_FSEEKO)|g' \
574 -e 's|@''GNULIB_FTELL''@|$(GNULIB_FTELL)|g' \
575 -e 's|@''GNULIB_FTELLO''@|$(GNULIB_FTELLO)|g' \
576 -e 's|@''GNULIB_FFLUSH''@|$(GNULIB_FFLUSH)|g' \
577 -e 's|@''GNULIB_GETDELIM''@|$(GNULIB_GETDELIM)|g' \
578 -e 's|@''GNULIB_GETLINE''@|$(GNULIB_GETLINE)|g' \
579 -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
580 -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
581 -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
582 -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
583 -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
584 -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
585 -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
586 -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
587 -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
588 -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
589 -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
590 -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
591 -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
592 -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
593 -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
594 -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
595 -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
596 -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
597 -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
598 -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
599 -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
600 -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
601 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
602 < $(srcdir)/stdio.in.h; \
603 } > $@-t
604 mv $@-t $@
605MOSTLYCLEANFILES += stdio.h stdio.h-t
606
607EXTRA_DIST += stdio.in.h
608
609## end gnulib module stdio
412 610
611## begin gnulib module stdlib
413 612
414EXTRA_DIST += strcase.h strcasecmp.c strncasecmp.c 613BUILT_SOURCES += stdlib.h
614
615# We need the following in order to create <stdlib.h> when the system
616# doesn't have one that works with the given compiler.
617stdlib.h: stdlib.in.h
618 rm -f $@-t $@
619 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
620 sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
621 -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
622 -e 's|@''GNULIB_MALLOC_POSIX''@|$(GNULIB_MALLOC_POSIX)|g' \
623 -e 's|@''GNULIB_REALLOC_POSIX''@|$(GNULIB_REALLOC_POSIX)|g' \
624 -e 's|@''GNULIB_CALLOC_POSIX''@|$(GNULIB_CALLOC_POSIX)|g' \
625 -e 's|@''GNULIB_GETSUBOPT''@|$(GNULIB_GETSUBOPT)|g' \
626 -e 's|@''GNULIB_MKDTEMP''@|$(GNULIB_MKDTEMP)|g' \
627 -e 's|@''GNULIB_MKSTEMP''@|$(GNULIB_MKSTEMP)|g' \
628 -e 's|@''GNULIB_PUTENV''@|$(GNULIB_PUTENV)|g' \
629 -e 's|@''GNULIB_SETENV''@|$(GNULIB_SETENV)|g' \
630 -e 's|@''GNULIB_UNSETENV''@|$(GNULIB_UNSETENV)|g' \
631 -e 's|@''HAVE_CALLOC_POSIX''@|$(HAVE_CALLOC_POSIX)|g' \
632 -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
633 -e 's|@''HAVE_MALLOC_POSIX''@|$(HAVE_MALLOC_POSIX)|g' \
634 -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
635 -e 's|@''HAVE_REALLOC_POSIX''@|$(HAVE_REALLOC_POSIX)|g' \
636 -e 's|@''HAVE_SETENV''@|$(HAVE_SETENV)|g' \
637 -e 's|@''HAVE_UNSETENV''@|$(HAVE_UNSETENV)|g' \
638 -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
639 -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
640 -e 's|@''VOID_UNSETENV''@|$(VOID_UNSETENV)|g' \
641 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
642 < $(srcdir)/stdlib.in.h; \
643 } > $@-t
644 mv $@-t $@
645MOSTLYCLEANFILES += stdlib.h stdlib.h-t
415 646
416EXTRA_libgnu_a_SOURCES += strcasecmp.c strncasecmp.c 647EXTRA_DIST += stdlib.in.h
417 648
418## end gnulib module strcase 649## end gnulib module stdlib
419 650
420## begin gnulib module strdup 651## begin gnulib module strdup
421 652
422 653
423EXTRA_DIST += strdup.c strdup.h 654EXTRA_DIST += strdup.c
424 655
425EXTRA_libgnu_a_SOURCES += strdup.c 656EXTRA_libgnu_a_SOURCES += strdup.c
426 657
427## end gnulib module strdup 658## end gnulib module strdup
428 659
660## begin gnulib module strerror
661
662
663EXTRA_DIST += strerror.c
664
665EXTRA_libgnu_a_SOURCES += strerror.c
666
667## end gnulib module strerror
668
669## begin gnulib module string
670
671BUILT_SOURCES += string.h
672
673# We need the following in order to create <string.h> when the system
674# doesn't have one that works with the given compiler.
675string.h: string.in.h
676 rm -f $@-t $@
677 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
678 sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
679 -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
680 -e 's|@''GNULIB_MBSLEN''@|$(GNULIB_MBSLEN)|g' \
681 -e 's|@''GNULIB_MBSNLEN''@|$(GNULIB_MBSNLEN)|g' \
682 -e 's|@''GNULIB_MBSCHR''@|$(GNULIB_MBSCHR)|g' \
683 -e 's|@''GNULIB_MBSRCHR''@|$(GNULIB_MBSRCHR)|g' \
684 -e 's|@''GNULIB_MBSSTR''@|$(GNULIB_MBSSTR)|g' \
685 -e 's|@''GNULIB_MBSCASECMP''@|$(GNULIB_MBSCASECMP)|g' \
686 -e 's|@''GNULIB_MBSNCASECMP''@|$(GNULIB_MBSNCASECMP)|g' \
687 -e 's|@''GNULIB_MBSPCASECMP''@|$(GNULIB_MBSPCASECMP)|g' \
688 -e 's|@''GNULIB_MBSCASESTR''@|$(GNULIB_MBSCASESTR)|g' \
689 -e 's|@''GNULIB_MBSCSPN''@|$(GNULIB_MBSCSPN)|g' \
690 -e 's|@''GNULIB_MBSPBRK''@|$(GNULIB_MBSPBRK)|g' \
691 -e 's|@''GNULIB_MBSSPN''@|$(GNULIB_MBSSPN)|g' \
692 -e 's|@''GNULIB_MBSSEP''@|$(GNULIB_MBSSEP)|g' \
693 -e 's|@''GNULIB_MBSTOK_R''@|$(GNULIB_MBSTOK_R)|g' \
694 -e 's|@''GNULIB_MEMMEM''@|$(GNULIB_MEMMEM)|g' \
695 -e 's|@''GNULIB_MEMPCPY''@|$(GNULIB_MEMPCPY)|g' \
696 -e 's|@''GNULIB_MEMRCHR''@|$(GNULIB_MEMRCHR)|g' \
697 -e 's|@''GNULIB_STPCPY''@|$(GNULIB_STPCPY)|g' \
698 -e 's|@''GNULIB_STPNCPY''@|$(GNULIB_STPNCPY)|g' \
699 -e 's|@''GNULIB_STRCHRNUL''@|$(GNULIB_STRCHRNUL)|g' \
700 -e 's|@''GNULIB_STRDUP''@|$(GNULIB_STRDUP)|g' \
701 -e 's|@''GNULIB_STRNDUP''@|$(GNULIB_STRNDUP)|g' \
702 -e 's|@''GNULIB_STRNLEN''@|$(GNULIB_STRNLEN)|g' \
703 -e 's|@''GNULIB_STRPBRK''@|$(GNULIB_STRPBRK)|g' \
704 -e 's|@''GNULIB_STRSEP''@|$(GNULIB_STRSEP)|g' \
705 -e 's|@''GNULIB_STRSTR''@|$(GNULIB_STRSTR)|g' \
706 -e 's|@''GNULIB_STRCASESTR''@|$(GNULIB_STRCASESTR)|g' \
707 -e 's|@''GNULIB_STRTOK_R''@|$(GNULIB_STRTOK_R)|g' \
708 -e 's|@''GNULIB_STRERROR''@|$(GNULIB_STRERROR)|g' \
709 -e 's|@''GNULIB_STRSIGNAL''@|$(GNULIB_STRSIGNAL)|g' \
710 -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
711 -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
712 -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
713 -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
714 -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
715 -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
716 -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
717 -e 's|@''HAVE_STRNDUP''@|$(HAVE_STRNDUP)|g' \
718 -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
719 -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
720 -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
721 -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
722 -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
723 -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
724 -e 's|@''HAVE_DECL_STRERROR''@|$(HAVE_DECL_STRERROR)|g' \
725 -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
726 -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
727 -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
728 -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
729 -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
730 -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
731 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
732 < $(srcdir)/string.in.h; \
733 } > $@-t
734 mv $@-t $@
735MOSTLYCLEANFILES += string.h string.h-t
736
737EXTRA_DIST += string.in.h
738
739## end gnulib module string
740
429## begin gnulib module strndup 741## begin gnulib module strndup
430 742
431 743
432EXTRA_DIST += strndup.c strndup.h 744EXTRA_DIST += strndup.c
433 745
434EXTRA_libgnu_a_SOURCES += strndup.c 746EXTRA_libgnu_a_SOURCES += strndup.c
435 747
@@ -438,53 +750,79 @@ EXTRA_libgnu_a_SOURCES += strndup.c
438## begin gnulib module strnlen 750## begin gnulib module strnlen
439 751
440 752
441EXTRA_DIST += strnlen.c strnlen.h 753EXTRA_DIST += strnlen.c
442 754
443EXTRA_libgnu_a_SOURCES += strnlen.c 755EXTRA_libgnu_a_SOURCES += strnlen.c
444 756
445## end gnulib module strnlen 757## end gnulib module strnlen
446 758
447## begin gnulib module strnlen1
448
449libgnu_a_SOURCES += strnlen1.h strnlen1.c
450
451## end gnulib module strnlen1
452
453## begin gnulib module sys_socket 759## begin gnulib module sys_socket
454 760
455BUILT_SOURCES += $(SYS_SOCKET_H) 761BUILT_SOURCES += $(SYS_SOCKET_H)
456 762
457# We need the following in order to create <sys/socket.h> when the system 763# We need the following in order to create <sys/socket.h> when the system
458# doesn't have one that works with the given compiler. 764# doesn't have one that works with the given compiler.
459sys/socket.h: socket_.h 765sys/socket.h: sys_socket.in.h
460 @MKDIR_P@ sys 766 @MKDIR_P@ sys
461 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ 767 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
462 cat $(srcdir)/socket_.h; \ 768 sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
769 -e 's|@''NEXT_SYS_SOCKET_H''@|$(NEXT_SYS_SOCKET_H)|g' \
770 -e 's|@''HAVE_SYS_SOCKET_H''@|$(HAVE_SYS_SOCKET_H)|g' \
771 -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
772 -e 's|@''HAVE_WS2TCPIP_H''@|$(HAVE_WS2TCPIP_H)|g' \
773 < $(srcdir)/sys_socket.in.h; \
463 } > $@-t 774 } > $@-t
464 mv -f $@-t $@ 775 mv -f $@-t $@
465MOSTLYCLEANFILES += sys/socket.h sys/socket.h-t 776MOSTLYCLEANFILES += sys/socket.h sys/socket.h-t
466MOSTLYCLEANDIRS += sys 777MOSTLYCLEANDIRS += sys
467 778
468EXTRA_DIST += socket_.h 779EXTRA_DIST += sys_socket.in.h
469 780
470## end gnulib module sys_socket 781## end gnulib module sys_socket
471 782
472## begin gnulib module unistd 783## begin gnulib module unistd
473 784
474BUILT_SOURCES += $(UNISTD_H) 785BUILT_SOURCES += unistd.h
475 786
476# We need the following in order to create an empty placeholder for 787# We need the following in order to create an empty placeholder for
477# <unistd.h> when the system doesn't have one. 788# <unistd.h> when the system doesn't have one.
478unistd.h: unistd_.h 789unistd.h: unistd.in.h
479 rm -f $@-t $@ 790 rm -f $@-t $@
480 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ 791 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
481 sed -e 's|@''ABSOLUTE_UNISTD_H''@|$(ABSOLUTE_UNISTD_H)|g' \ 792 sed -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
482 < $(srcdir)/unistd_.h; \ 793 -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
794 -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
795 -e 's|@''GNULIB_CHOWN''@|$(GNULIB_CHOWN)|g' \
796 -e 's|@''GNULIB_DUP2''@|$(GNULIB_DUP2)|g' \
797 -e 's|@''GNULIB_FCHDIR''@|$(GNULIB_FCHDIR)|g' \
798 -e 's|@''GNULIB_FTRUNCATE''@|$(GNULIB_FTRUNCATE)|g' \
799 -e 's|@''GNULIB_GETCWD''@|$(GNULIB_GETCWD)|g' \
800 -e 's|@''GNULIB_GETLOGIN_R''@|$(GNULIB_GETLOGIN_R)|g' \
801 -e 's|@''GNULIB_GETPAGESIZE''@|$(GNULIB_GETPAGESIZE)|g' \
802 -e 's|@''GNULIB_LCHOWN''@|$(GNULIB_LCHOWN)|g' \
803 -e 's|@''GNULIB_LSEEK''@|$(GNULIB_LSEEK)|g' \
804 -e 's|@''GNULIB_READLINK''@|$(GNULIB_READLINK)|g' \
805 -e 's|@''GNULIB_SLEEP''@|$(GNULIB_SLEEP)|g' \
806 -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
807 -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
808 -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
809 -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
810 -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
811 -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
812 -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
813 -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
814 -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
815 -e 's|@''REPLACE_FCHDIR''@|$(REPLACE_FCHDIR)|g' \
816 -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
817 -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
818 -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
819 -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
820 < $(srcdir)/unistd.in.h; \
483 } > $@-t 821 } > $@-t
484 mv $@-t $@ 822 mv $@-t $@
485MOSTLYCLEANFILES += unistd.h unistd.h-t 823MOSTLYCLEANFILES += unistd.h unistd.h-t
486 824
487EXTRA_DIST += unistd_.h 825EXTRA_DIST += unistd.in.h
488 826
489## end gnulib module unistd 827## end gnulib module unistd
490 828
@@ -500,7 +838,7 @@ EXTRA_libgnu_a_SOURCES += dup-safer.c fd-safer.c pipe-safer.c
500## begin gnulib module vasnprintf 838## begin gnulib module vasnprintf
501 839
502 840
503EXTRA_DIST += asnprintf.c printf-args.c printf-args.h printf-parse.c printf-parse.h vasnprintf.c vasnprintf.h 841EXTRA_DIST += asnprintf.c float+.h printf-args.c printf-args.h printf-parse.c printf-parse.h vasnprintf.c vasnprintf.h
504 842
505EXTRA_libgnu_a_SOURCES += asnprintf.c printf-args.c printf-parse.c vasnprintf.c 843EXTRA_libgnu_a_SOURCES += asnprintf.c printf-args.c printf-parse.c vasnprintf.c
506 844
@@ -509,7 +847,7 @@ EXTRA_libgnu_a_SOURCES += asnprintf.c printf-args.c printf-parse.c vasnprintf.c
509## begin gnulib module vasprintf 847## begin gnulib module vasprintf
510 848
511 849
512EXTRA_DIST += asprintf.c vasprintf.c vasprintf.h 850EXTRA_DIST += asprintf.c vasprintf.c
513 851
514EXTRA_libgnu_a_SOURCES += asprintf.c vasprintf.c 852EXTRA_libgnu_a_SOURCES += asprintf.c vasprintf.c
515 853
@@ -518,7 +856,7 @@ EXTRA_libgnu_a_SOURCES += asprintf.c vasprintf.c
518## begin gnulib module vsnprintf 856## begin gnulib module vsnprintf
519 857
520 858
521EXTRA_DIST += vsnprintf.c vsnprintf.h 859EXTRA_DIST += vsnprintf.c
522 860
523EXTRA_libgnu_a_SOURCES += vsnprintf.c 861EXTRA_libgnu_a_SOURCES += vsnprintf.c
524 862
@@ -530,16 +868,22 @@ BUILT_SOURCES += $(WCHAR_H)
530 868
531# We need the following in order to create <wchar.h> when the system 869# We need the following in order to create <wchar.h> when the system
532# version does not work standalone. 870# version does not work standalone.
533wchar.h: wchar_.h 871wchar.h: wchar.in.h
534 rm -f $@-t $@ 872 rm -f $@-t $@
535 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ 873 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
536 sed -e 's|@''ABSOLUTE_WCHAR_H''@|$(ABSOLUTE_WCHAR_H)|g' \ 874 sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
537 < $(srcdir)/wchar_.h; \ 875 -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
876 -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
877 -e 's|@''GNULIB_WCWIDTH''@|$(GNULIB_WCWIDTH)|g' \
878 -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
879 -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
880 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
881 < $(srcdir)/wchar.in.h; \
538 } > $@-t 882 } > $@-t
539 mv $@-t $@ 883 mv $@-t $@
540MOSTLYCLEANFILES += wchar.h wchar.h-t 884MOSTLYCLEANFILES += wchar.h wchar.h-t
541 885
542EXTRA_DIST += wchar_.h 886EXTRA_DIST += wchar.in.h
543 887
544## end gnulib module wchar 888## end gnulib module wchar
545 889
@@ -549,28 +893,23 @@ BUILT_SOURCES += $(WCTYPE_H)
549 893
550# We need the following in order to create <wctype.h> when the system 894# We need the following in order to create <wctype.h> when the system
551# doesn't have one that works with the given compiler. 895# doesn't have one that works with the given compiler.
552wctype.h: wctype_.h 896wctype.h: wctype.in.h
553 rm -f $@-t $@ 897 rm -f $@-t $@
554 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ 898 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
555 sed -e 's/@''HAVE_WCTYPE_H''@/$(HAVE_WCTYPE_H)/g' \ 899 sed -e 's/@''HAVE_WCTYPE_H''@/$(HAVE_WCTYPE_H)/g' \
556 -e 's|@''ABSOLUTE_WCTYPE_H''@|$(ABSOLUTE_WCTYPE_H)|g' \ 900 -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
557 -e 's/@''HAVE_WCTYPE_CTMP_BUG''@/$(HAVE_WCTYPE_CTMP_BUG)/g' \ 901 -e 's|@''NEXT_WCTYPE_H''@|$(NEXT_WCTYPE_H)|g' \
902 -e 's/@''HAVE_ISWCNTRL''@/$(HAVE_ISWCNTRL)/g' \
558 -e 's/@''HAVE_WINT_T''@/$(HAVE_WINT_T)/g' \ 903 -e 's/@''HAVE_WINT_T''@/$(HAVE_WINT_T)/g' \
559 < $(srcdir)/wctype_.h; \ 904 < $(srcdir)/wctype.in.h; \
560 } > $@-t 905 } > $@-t
561 mv $@-t $@ 906 mv $@-t $@
562MOSTLYCLEANFILES += wctype.h wctype.h-t 907MOSTLYCLEANFILES += wctype.h wctype.h-t
563 908
564EXTRA_DIST += wctype_.h 909EXTRA_DIST += wctype.in.h
565 910
566## end gnulib module wctype 911## end gnulib module wctype
567 912
568## begin gnulib module wcwidth
569
570libgnu_a_SOURCES += wcwidth.h
571
572## end gnulib module wcwidth
573
574## begin gnulib module xalloc 913## begin gnulib module xalloc
575 914
576 915
@@ -604,4 +943,5 @@ mostlyclean-local: mostlyclean-generic
604 if test -n "$$dir" && test -d $$dir; then \ 943 if test -n "$$dir" && test -d $$dir; then \
605 echo "rmdir $$dir"; rmdir $$dir; \ 944 echo "rmdir $$dir"; rmdir $$dir; \
606 fi; \ 945 fi; \
607 done 946 done; \
947 :