1a407c585dc4fea17efc96ac060d37ef13f23f14
1 ## DO NOT EDIT! GENERATED AUTOMATICALLY!
2 ## Process this file with automake to produce Makefile.in.
3 # Copyright (C) 2002-2009 Free Software Foundation, Inc.
4 #
5 # This file is free software, distributed under the terms of the GNU
6 # General Public License. As a special exception to the GNU General
7 # Public License, this file may be distributed as part of a program
8 # that contains a configuration script generated by Autoconf, under
9 # the same distribution terms as the rest of that program.
10 #
11 # Generated by gnulib-tool.
12 # Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=gl --m4-base=gl/m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --no-libtool --macro-prefix=gl base64 dirname floorf fsusage getaddrinfo gethostname getloadavg getopt gettext mountlist regex vasprintf vsnprintf
14 AUTOMAKE_OPTIONS = 1.5 gnits
16 SUBDIRS =
17 noinst_HEADERS =
18 noinst_LIBRARIES =
19 noinst_LTLIBRARIES =
20 EXTRA_DIST =
21 BUILT_SOURCES =
22 SUFFIXES =
23 MOSTLYCLEANFILES = core *.stackdump
24 MOSTLYCLEANDIRS =
25 CLEANFILES =
26 DISTCLEANFILES =
27 MAINTAINERCLEANFILES =
28 EXTRA_DIST += m4/gnulib-cache.m4
30 AM_CPPFLAGS =
32 noinst_LIBRARIES += libgnu.a
34 libgnu_a_SOURCES =
35 libgnu_a_LIBADD = $(gl_LIBOBJS)
36 libgnu_a_DEPENDENCIES = $(gl_LIBOBJS)
37 EXTRA_libgnu_a_SOURCES =
39 ## begin gnulib module alloca
42 EXTRA_DIST += alloca.c
44 EXTRA_libgnu_a_SOURCES += alloca.c
46 libgnu_a_LIBADD += @ALLOCA@
47 libgnu_a_DEPENDENCIES += @ALLOCA@
48 ## end gnulib module alloca
50 ## begin gnulib module alloca-opt
52 BUILT_SOURCES += $(ALLOCA_H)
54 # We need the following in order to create <alloca.h> when the system
55 # doesn't have one that works with the given compiler.
56 alloca.h: alloca.in.h
57 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
58 cat $(srcdir)/alloca.in.h; \
59 } > $@-t
60 mv -f $@-t $@
61 MOSTLYCLEANFILES += alloca.h alloca.h-t
63 EXTRA_DIST += alloca.in.h
65 ## end gnulib module alloca-opt
67 ## begin gnulib module arpa_inet
69 BUILT_SOURCES += $(ARPA_INET_H)
71 # We need the following in order to create <arpa/inet.h> when the system
72 # doesn't have one.
73 arpa/inet.h:
74 @MKDIR_P@ arpa
75 rm -f $@-t $@
76 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
77 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
78 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
79 -e 's|@''NEXT_ARPA_INET_H''@|$(NEXT_ARPA_INET_H)|g' \
80 -e 's|@''HAVE_ARPA_INET_H''@|$(HAVE_ARPA_INET_H)|g' \
81 -e 's|@''GNULIB_INET_NTOP''@|$(GNULIB_INET_NTOP)|g' \
82 -e 's|@''GNULIB_INET_PTON''@|$(GNULIB_INET_PTON)|g' \
83 -e 's|@''HAVE_DECL_INET_NTOP''@|$(HAVE_DECL_INET_NTOP)|g' \
84 -e 's|@''HAVE_DECL_INET_PTON''@|$(HAVE_DECL_INET_PTON)|g' \
85 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
86 < $(srcdir)/arpa_inet.in.h; \
87 } > $@-t
88 mv $@-t $@
89 MOSTLYCLEANFILES += arpa/inet.h arpa/inet.h-t
90 MOSTLYCLEANDIRS += arpa
92 EXTRA_DIST += arpa_inet.in.h
94 ## end gnulib module arpa_inet
96 ## begin gnulib module base64
98 libgnu_a_SOURCES += base64.h base64.c
100 ## end gnulib module base64
102 ## begin gnulib module btowc
105 EXTRA_DIST += btowc.c
107 EXTRA_libgnu_a_SOURCES += btowc.c
109 ## end gnulib module btowc
111 ## begin gnulib module c-strtod
114 EXTRA_DIST += c-strtod.c c-strtod.h
116 EXTRA_libgnu_a_SOURCES += c-strtod.c
118 ## end gnulib module c-strtod
120 ## begin gnulib module cloexec
123 EXTRA_DIST += cloexec.c cloexec.h
125 EXTRA_libgnu_a_SOURCES += cloexec.c
127 ## end gnulib module cloexec
129 ## begin gnulib module configmake
131 # Retrieve values of the variables through 'configure' followed by
132 # 'make', not directly through 'configure', so that a user who
133 # sets some of these variables consistently on the 'make' command
134 # line gets correct results.
135 #
136 # One advantage of this approach, compared to the classical
137 # approach of adding -DLIBDIR=\"$(libdir)\" etc. to AM_CPPFLAGS,
138 # is that it protects against the use of undefined variables.
139 # If, say, $(libdir) is not set in the Makefile, LIBDIR is not
140 # defined by this module, and code using LIBDIR gives a
141 # compilation error.
142 #
143 # Another advantage is that 'make' output is shorter.
144 #
145 # Listed in the same order as the GNU makefile conventions.
146 # The Automake-defined pkg* macros are appended, in the order
147 # listed in the Automake 1.10a+ documentation.
148 configmake.h: Makefile
149 rm -f $@-t $@
150 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
151 echo '#define PREFIX "$(prefix)"'; \
152 echo '#define EXEC_PREFIX "$(exec_prefix)"'; \
153 echo '#define BINDIR "$(bindir)"'; \
154 echo '#define SBINDIR "$(sbindir)"'; \
155 echo '#define LIBEXECDIR "$(libexecdir)"'; \
156 echo '#define DATAROOTDIR "$(datarootdir)"'; \
157 echo '#define DATADIR "$(datadir)"'; \
158 echo '#define SYSCONFDIR "$(sysconfdir)"'; \
159 echo '#define SHAREDSTATEDIR "$(sharedstatedir)"'; \
160 echo '#define LOCALSTATEDIR "$(localstatedir)"'; \
161 echo '#define INCLUDEDIR "$(includedir)"'; \
162 echo '#define OLDINCLUDEDIR "$(oldincludedir)"'; \
163 echo '#define DOCDIR "$(docdir)"'; \
164 echo '#define INFODIR "$(infodir)"'; \
165 echo '#define HTMLDIR "$(htmldir)"'; \
166 echo '#define DVIDIR "$(dvidir)"'; \
167 echo '#define PDFDIR "$(pdfdir)"'; \
168 echo '#define PSDIR "$(psdir)"'; \
169 echo '#define LIBDIR "$(libdir)"'; \
170 echo '#define LISPDIR "$(lispdir)"'; \
171 echo '#define LOCALEDIR "$(localedir)"'; \
172 echo '#define MANDIR "$(mandir)"'; \
173 echo '#define MANEXT "$(manext)"'; \
174 echo '#define PKGDATADIR "$(pkgdatadir)"'; \
175 echo '#define PKGINCLUDEDIR "$(pkgincludedir)"'; \
176 echo '#define PKGLIBDIR "$(pkglibdir)"'; \
177 echo '#define PKGLIBEXECDIR "$(pkglibexecdir)"'; \
178 } | sed '/""/d' > $@-t
179 mv $@-t $@
180 BUILT_SOURCES += configmake.h
181 CLEANFILES += configmake.h configmake.h-t
183 ## end gnulib module configmake
185 ## begin gnulib module dirname
188 EXTRA_DIST += basename.c dirname.c dirname.h stripslash.c
190 EXTRA_libgnu_a_SOURCES += basename.c dirname.c stripslash.c
192 ## end gnulib module dirname
194 ## begin gnulib module errno
196 BUILT_SOURCES += $(ERRNO_H)
198 # We need the following in order to create <errno.h> when the system
199 # doesn't have one that is POSIX compliant.
200 errno.h: errno.in.h
201 rm -f $@-t $@
202 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
203 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
204 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
205 -e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \
206 -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \
207 -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \
208 -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \
209 -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \
210 -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \
211 -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \
212 < $(srcdir)/errno.in.h; \
213 } > $@-t
214 mv $@-t $@
215 MOSTLYCLEANFILES += errno.h errno.h-t
217 EXTRA_DIST += errno.in.h
219 ## end gnulib module errno
221 ## begin gnulib module error
224 EXTRA_DIST += error.c error.h
226 EXTRA_libgnu_a_SOURCES += error.c
228 ## end gnulib module error
230 ## begin gnulib module exitfail
233 EXTRA_DIST += exitfail.c exitfail.h
235 EXTRA_libgnu_a_SOURCES += exitfail.c
237 ## end gnulib module exitfail
239 ## begin gnulib module fcntl
241 BUILT_SOURCES += $(FCNTL_H)
243 # We need the following in order to create <fcntl.h> when the system
244 # doesn't have one that works with the given compiler.
245 fcntl.h: fcntl.in.h
246 rm -f $@-t $@
247 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
248 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
249 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
250 -e 's|@''NEXT_FCNTL_H''@|$(NEXT_FCNTL_H)|g' \
251 -e 's|@''GNULIB_OPEN''@|$(GNULIB_OPEN)|g' \
252 -e 's|@''REPLACE_OPEN''@|$(REPLACE_OPEN)|g' \
253 < $(srcdir)/fcntl.in.h; \
254 } > $@-t
255 mv $@-t $@
256 MOSTLYCLEANFILES += fcntl.h fcntl.h-t
258 EXTRA_DIST += fcntl.in.h
260 ## end gnulib module fcntl
262 ## begin gnulib module fcntl-safer
265 EXTRA_DIST += creat-safer.c fcntl--.h fcntl-safer.h open-safer.c
267 EXTRA_libgnu_a_SOURCES += creat-safer.c open-safer.c
269 ## end gnulib module fcntl-safer
271 ## begin gnulib module float
273 BUILT_SOURCES += $(FLOAT_H)
275 # We need the following in order to create <float.h> when the system
276 # doesn't have one that works with the given compiler.
277 float.h: float.in.h
278 rm -f $@-t $@
279 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
280 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
281 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
282 -e 's|@''NEXT_FLOAT_H''@|$(NEXT_FLOAT_H)|g' \
283 < $(srcdir)/float.in.h; \
284 } > $@-t
285 mv $@-t $@
286 MOSTLYCLEANFILES += float.h float.h-t
288 EXTRA_DIST += float.in.h
290 ## end gnulib module float
292 ## begin gnulib module floorf
295 EXTRA_DIST += floor.c floorf.c
297 EXTRA_libgnu_a_SOURCES += floor.c floorf.c
299 ## end gnulib module floorf
301 ## begin gnulib module fsusage
304 EXTRA_DIST += fsusage.c fsusage.h
306 EXTRA_libgnu_a_SOURCES += fsusage.c
308 ## end gnulib module fsusage
310 ## begin gnulib module full-read
312 libgnu_a_SOURCES += full-read.h full-read.c
314 ## end gnulib module full-read
316 ## begin gnulib module full-write
318 libgnu_a_SOURCES += full-write.h full-write.c
320 ## end gnulib module full-write
322 ## begin gnulib module getaddrinfo
325 EXTRA_DIST += gai_strerror.c getaddrinfo.c
327 EXTRA_libgnu_a_SOURCES += gai_strerror.c getaddrinfo.c
329 ## end gnulib module getaddrinfo
331 ## begin gnulib module gethostname
334 EXTRA_DIST += gethostname.c
336 EXTRA_libgnu_a_SOURCES += gethostname.c
338 ## end gnulib module gethostname
340 ## begin gnulib module getloadavg
343 EXTRA_DIST += getloadavg.c
345 EXTRA_libgnu_a_SOURCES += getloadavg.c
347 ## end gnulib module getloadavg
349 ## begin gnulib module getopt
351 BUILT_SOURCES += $(GETOPT_H)
353 # We need the following in order to create <getopt.h> when the system
354 # doesn't have one that works with the given compiler.
355 getopt.h: getopt.in.h
356 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
357 cat $(srcdir)/getopt.in.h; \
358 } > $@-t
359 mv -f $@-t $@
360 MOSTLYCLEANFILES += getopt.h getopt.h-t
362 EXTRA_DIST += getopt.c getopt.in.h getopt1.c getopt_int.h
364 EXTRA_libgnu_a_SOURCES += getopt.c getopt1.c
366 ## end gnulib module getopt
368 ## begin gnulib module gettext
370 # This is for those projects which use "gettextize --intl" to put a source-code
371 # copy of libintl into their package. In such projects, every Makefile.am needs
372 # -I$(top_builddir)/intl, so that <libintl.h> can be found in this directory.
373 # For the Makefile.ams in other directories it is the maintainer's
374 # responsibility; for the one from gnulib we do it here.
375 # This option has no effect when the user disables NLS (because then the intl
376 # directory contains no libintl.h file) or when the project does not use
377 # "gettextize --intl".
378 AM_CPPFLAGS += -I$(top_builddir)/intl
380 EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath
382 ## end gnulib module gettext
384 ## begin gnulib module gettext-h
386 libgnu_a_SOURCES += gettext.h
388 ## end gnulib module gettext-h
390 ## begin gnulib module havelib
393 EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath
395 ## end gnulib module havelib
397 ## begin gnulib module inet_ntop
400 EXTRA_DIST += inet_ntop.c
402 EXTRA_libgnu_a_SOURCES += inet_ntop.c
404 ## end gnulib module inet_ntop
406 ## begin gnulib module intprops
409 EXTRA_DIST += intprops.h
411 ## end gnulib module intprops
413 ## begin gnulib module link-warning
415 LINK_WARNING_H=$(top_srcdir)/build-aux/link-warning.h
417 EXTRA_DIST += $(top_srcdir)/build-aux/link-warning.h
419 ## end gnulib module link-warning
421 ## begin gnulib module localcharset
423 libgnu_a_SOURCES += localcharset.h localcharset.c
425 # We need the following in order to install a simple file in $(libdir)
426 # which is shared with other installed packages. We use a list of referencing
427 # packages so that "make uninstall" will remove the file if and only if it
428 # is not used by another installed package.
429 # On systems with glibc-2.1 or newer, the file is redundant, therefore we
430 # avoid installing it.
432 all-local: charset.alias ref-add.sed ref-del.sed
434 charset_alias = $(DESTDIR)$(libdir)/charset.alias
435 charset_tmp = $(DESTDIR)$(libdir)/charset.tmp
436 install-exec-local: all-local
437 test $(GLIBC21) != no || $(mkinstalldirs) $(DESTDIR)$(libdir)
438 if test -f $(charset_alias); then \
439 sed -f ref-add.sed $(charset_alias) > $(charset_tmp) ; \
440 $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
441 rm -f $(charset_tmp) ; \
442 else \
443 if test $(GLIBC21) = no; then \
444 sed -f ref-add.sed charset.alias > $(charset_tmp) ; \
445 $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
446 rm -f $(charset_tmp) ; \
447 fi ; \
448 fi
450 uninstall-local: all-local
451 if test -f $(charset_alias); then \
452 sed -f ref-del.sed $(charset_alias) > $(charset_tmp); \
453 if grep '^# Packages using this file: $$' $(charset_tmp) \
454 > /dev/null; then \
455 rm -f $(charset_alias); \
456 else \
457 $(INSTALL_DATA) $(charset_tmp) $(charset_alias); \
458 fi; \
459 rm -f $(charset_tmp); \
460 fi
462 charset.alias: config.charset
463 rm -f t-$@ $@
464 $(SHELL) $(srcdir)/config.charset '$(host)' > t-$@
465 mv t-$@ $@
467 SUFFIXES += .sed .sin
468 .sin.sed:
469 rm -f t-$@ $@
470 sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@
471 mv t-$@ $@
473 CLEANFILES += charset.alias ref-add.sed ref-del.sed
475 EXTRA_DIST += config.charset ref-add.sin ref-del.sin
477 ## end gnulib module localcharset
479 ## begin gnulib module malloc
482 EXTRA_DIST += malloc.c
484 EXTRA_libgnu_a_SOURCES += malloc.c
486 ## end gnulib module malloc
488 ## begin gnulib module malloc-posix
491 EXTRA_DIST += malloc.c
493 EXTRA_libgnu_a_SOURCES += malloc.c
495 ## end gnulib module malloc-posix
497 ## begin gnulib module math
499 BUILT_SOURCES += math.h
501 # We need the following in order to create <math.h> when the system
502 # doesn't have one that works with the given compiler.
503 math.h: math.in.h
504 rm -f $@-t $@
505 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
506 sed -e 's|@''INCLUDE_NEXT_AS_FIRST_DIRECTIVE''@|$(INCLUDE_NEXT_AS_FIRST_DIRECTIVE)|g' \
507 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
508 -e 's|@''NEXT_MATH_H''@|$(NEXT_MATH_H)|g' \
509 -e 's|@''GNULIB_CEILF''@|$(GNULIB_CEILF)|g' \
510 -e 's|@''GNULIB_CEILL''@|$(GNULIB_CEILL)|g' \
511 -e 's|@''GNULIB_FLOORF''@|$(GNULIB_FLOORF)|g' \
512 -e 's|@''GNULIB_FLOORL''@|$(GNULIB_FLOORL)|g' \
513 -e 's|@''GNULIB_FREXP''@|$(GNULIB_FREXP)|g' \
514 -e 's|@''GNULIB_FREXPL''@|$(GNULIB_FREXPL)|g' \
515 -e 's|@''GNULIB_ISFINITE''@|$(GNULIB_ISFINITE)|g' \
516 -e 's|@''GNULIB_ISINF''@|$(GNULIB_ISINF)|g' \
517 -e 's|@''GNULIB_ISNAN''@|$(GNULIB_ISNAN)|g' \
518 -e 's|@''GNULIB_ISNANF''@|$(GNULIB_ISNANF)|g' \
519 -e 's|@''GNULIB_ISNAND''@|$(GNULIB_ISNAND)|g' \
520 -e 's|@''GNULIB_ISNANL''@|$(GNULIB_ISNANL)|g' \
521 -e 's|@''GNULIB_LDEXPL''@|$(GNULIB_LDEXPL)|g' \
522 -e 's|@''GNULIB_MATHL''@|$(GNULIB_MATHL)|g' \
523 -e 's|@''GNULIB_ROUND''@|$(GNULIB_ROUND)|g' \
524 -e 's|@''GNULIB_ROUNDF''@|$(GNULIB_ROUNDF)|g' \
525 -e 's|@''GNULIB_ROUNDL''@|$(GNULIB_ROUNDL)|g' \
526 -e 's|@''GNULIB_SIGNBIT''@|$(GNULIB_SIGNBIT)|g' \
527 -e 's|@''GNULIB_TRUNC''@|$(GNULIB_TRUNC)|g' \
528 -e 's|@''GNULIB_TRUNCF''@|$(GNULIB_TRUNCF)|g' \
529 -e 's|@''GNULIB_TRUNCL''@|$(GNULIB_TRUNCL)|g' \
530 -e 's|@''HAVE_ISNANF''@|$(HAVE_ISNANF)|g' \
531 -e 's|@''HAVE_ISNAND''@|$(HAVE_ISNAND)|g' \
532 -e 's|@''HAVE_ISNANL''@|$(HAVE_ISNANL)|g' \
533 -e 's|@''HAVE_DECL_ACOSL''@|$(HAVE_DECL_ACOSL)|g' \
534 -e 's|@''HAVE_DECL_ASINL''@|$(HAVE_DECL_ASINL)|g' \
535 -e 's|@''HAVE_DECL_ATANL''@|$(HAVE_DECL_ATANL)|g' \
536 -e 's|@''HAVE_DECL_COSL''@|$(HAVE_DECL_COSL)|g' \
537 -e 's|@''HAVE_DECL_EXPL''@|$(HAVE_DECL_EXPL)|g' \
538 -e 's|@''HAVE_DECL_FREXPL''@|$(HAVE_DECL_FREXPL)|g' \
539 -e 's|@''HAVE_DECL_LDEXPL''@|$(HAVE_DECL_LDEXPL)|g' \
540 -e 's|@''HAVE_DECL_LOGL''@|$(HAVE_DECL_LOGL)|g' \
541 -e 's|@''HAVE_DECL_SINL''@|$(HAVE_DECL_SINL)|g' \
542 -e 's|@''HAVE_DECL_SQRTL''@|$(HAVE_DECL_SQRTL)|g' \
543 -e 's|@''HAVE_DECL_TANL''@|$(HAVE_DECL_TANL)|g' \
544 -e 's|@''HAVE_DECL_TRUNC''@|$(HAVE_DECL_TRUNC)|g' \
545 -e 's|@''HAVE_DECL_TRUNCF''@|$(HAVE_DECL_TRUNCF)|g' \
546 -e 's|@''REPLACE_CEILF''@|$(REPLACE_CEILF)|g' \
547 -e 's|@''REPLACE_CEILL''@|$(REPLACE_CEILL)|g' \
548 -e 's|@''REPLACE_FLOORF''@|$(REPLACE_FLOORF)|g' \
549 -e 's|@''REPLACE_FLOORL''@|$(REPLACE_FLOORL)|g' \
550 -e 's|@''REPLACE_FREXP''@|$(REPLACE_FREXP)|g' \
551 -e 's|@''REPLACE_FREXPL''@|$(REPLACE_FREXPL)|g' \
552 -e 's|@''REPLACE_HUGE_VAL''@|$(REPLACE_HUGE_VAL)|g' \
553 -e 's|@''REPLACE_ISFINITE''@|$(REPLACE_ISFINITE)|g' \
554 -e 's|@''REPLACE_ISINF''@|$(REPLACE_ISINF)|g' \
555 -e 's|@''REPLACE_ISNAN''@|$(REPLACE_ISNAN)|g' \
556 -e 's|@''REPLACE_LDEXPL''@|$(REPLACE_LDEXPL)|g' \
557 -e 's|@''REPLACE_NAN''@|$(REPLACE_NAN)|g' \
558 -e 's|@''REPLACE_ROUND''@|$(REPLACE_ROUND)|g' \
559 -e 's|@''REPLACE_ROUNDF''@|$(REPLACE_ROUNDF)|g' \
560 -e 's|@''REPLACE_ROUNDL''@|$(REPLACE_ROUNDL)|g' \
561 -e 's|@''REPLACE_SIGNBIT''@|$(REPLACE_SIGNBIT)|g' \
562 -e 's|@''REPLACE_SIGNBIT_USING_GCC''@|$(REPLACE_SIGNBIT_USING_GCC)|g' \
563 -e 's|@''REPLACE_TRUNCL''@|$(REPLACE_TRUNCL)|g' \
564 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
565 < $(srcdir)/math.in.h; \
566 } > $@-t
567 mv $@-t $@
568 MOSTLYCLEANFILES += math.h math.h-t
570 EXTRA_DIST += math.in.h
572 ## end gnulib module math
574 ## begin gnulib module mbrtowc
577 EXTRA_DIST += mbrtowc.c
579 EXTRA_libgnu_a_SOURCES += mbrtowc.c
581 ## end gnulib module mbrtowc
583 ## begin gnulib module mbsinit
586 EXTRA_DIST += mbsinit.c
588 EXTRA_libgnu_a_SOURCES += mbsinit.c
590 ## end gnulib module mbsinit
592 ## begin gnulib module mountlist
595 EXTRA_DIST += mountlist.c mountlist.h
597 EXTRA_libgnu_a_SOURCES += mountlist.c
599 ## end gnulib module mountlist
601 ## begin gnulib module netdb
603 BUILT_SOURCES += $(NETDB_H)
605 # We need the following in order to create <netdb.h> when the system
606 # doesn't have one that works with the given compiler.
607 netdb.h: netdb.in.h
608 rm -f $@-t $@
609 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
610 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
611 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
612 -e 's|@''NEXT_NETDB_H''@|$(NEXT_NETDB_H)|g' \
613 -e 's|@''HAVE_NETDB_H''@|$(HAVE_NETDB_H)|g' \
614 -e 's|@''GNULIB_GETADDRINFO''@|$(GNULIB_GETADDRINFO)|g' \
615 -e 's|@''HAVE_STRUCT_ADDRINFO''@|$(HAVE_STRUCT_ADDRINFO)|g' \
616 -e 's|@''HAVE_DECL_FREEADDRINFO''@|$(HAVE_DECL_FREEADDRINFO)|g' \
617 -e 's|@''HAVE_DECL_GAI_STRERROR''@|$(HAVE_DECL_GAI_STRERROR)|g' \
618 -e 's|@''HAVE_DECL_GETADDRINFO''@|$(HAVE_DECL_GETADDRINFO)|g' \
619 -e 's|@''HAVE_DECL_GETNAMEINFO''@|$(HAVE_DECL_GETNAMEINFO)|g' \
620 < $(srcdir)/netdb.in.h; \
621 } > $@-t
622 mv $@-t $@
623 MOSTLYCLEANFILES += netdb.h netdb.h-t
625 EXTRA_DIST += netdb.in.h
627 ## end gnulib module netdb
629 ## begin gnulib module netinet_in
631 BUILT_SOURCES += $(NETINET_IN_H)
633 # We need the following in order to create <netinet/in.h> when the system
634 # doesn't have one.
635 netinet/in.h: netinet_in.in.h
636 @MKDIR_P@ netinet
637 rm -f $@-t $@
638 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
639 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
640 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
641 -e 's|@''NEXT_NETINET_IN_H''@|$(NEXT_NETINET_IN_H)|g' \
642 -e 's|@''HAVE_NETINET_IN_H''@|$(HAVE_NETINET_IN_H)|g' \
643 < $(srcdir)/netinet_in.in.h; \
644 } > $@-t
645 mv $@-t $@
646 MOSTLYCLEANFILES += netinet/in.h netinet/in.h-t
647 MOSTLYCLEANDIRS += netinet
649 EXTRA_DIST += netinet_in.in.h
651 ## end gnulib module netinet_in
653 ## begin gnulib module open
656 EXTRA_DIST += open.c
658 EXTRA_libgnu_a_SOURCES += open.c
660 ## end gnulib module open
662 ## begin gnulib module regex
665 EXTRA_DIST += regcomp.c regex.c regex.h regex_internal.c regex_internal.h regexec.c
667 EXTRA_libgnu_a_SOURCES += regcomp.c regex.c regex_internal.c regexec.c
669 ## end gnulib module regex
671 ## begin gnulib module safe-read
674 EXTRA_DIST += safe-read.c safe-read.h
676 EXTRA_libgnu_a_SOURCES += safe-read.c
678 ## end gnulib module safe-read
680 ## begin gnulib module safe-write
683 EXTRA_DIST += safe-write.c safe-write.h
685 EXTRA_libgnu_a_SOURCES += safe-write.c
687 ## end gnulib module safe-write
689 ## begin gnulib module size_max
691 libgnu_a_SOURCES += size_max.h
693 ## end gnulib module size_max
695 ## begin gnulib module snprintf
698 EXTRA_DIST += snprintf.c
700 EXTRA_libgnu_a_SOURCES += snprintf.c
702 ## end gnulib module snprintf
704 ## begin gnulib module stdbool
706 BUILT_SOURCES += $(STDBOOL_H)
708 # We need the following in order to create <stdbool.h> when the system
709 # doesn't have one that works.
710 stdbool.h: stdbool.in.h
711 rm -f $@-t $@
712 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
713 sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
714 } > $@-t
715 mv $@-t $@
716 MOSTLYCLEANFILES += stdbool.h stdbool.h-t
718 EXTRA_DIST += stdbool.in.h
720 ## end gnulib module stdbool
722 ## begin gnulib module stdint
724 BUILT_SOURCES += $(STDINT_H)
726 # We need the following in order to create <stdint.h> when the system
727 # doesn't have one that works with the given compiler.
728 stdint.h: stdint.in.h
729 rm -f $@-t $@
730 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
731 sed -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
732 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
733 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
734 -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
735 -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
736 -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
737 -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
738 -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
739 -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
740 -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
741 -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
742 -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
743 -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
744 -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
745 -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
746 -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
747 -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
748 -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
749 -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
750 -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
751 -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
752 -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
753 -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
754 -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
755 < $(srcdir)/stdint.in.h; \
756 } > $@-t
757 mv $@-t $@
758 MOSTLYCLEANFILES += stdint.h stdint.h-t
760 EXTRA_DIST += stdint.in.h
762 ## end gnulib module stdint
764 ## begin gnulib module stdio
766 BUILT_SOURCES += stdio.h
768 # We need the following in order to create <stdio.h> when the system
769 # doesn't have one that works with the given compiler.
770 stdio.h: stdio.in.h
771 rm -f $@-t $@
772 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
773 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
774 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
775 -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
776 -e 's|@''GNULIB_FPRINTF''@|$(GNULIB_FPRINTF)|g' \
777 -e 's|@''GNULIB_FPRINTF_POSIX''@|$(GNULIB_FPRINTF_POSIX)|g' \
778 -e 's|@''GNULIB_PRINTF''@|$(GNULIB_PRINTF)|g' \
779 -e 's|@''GNULIB_PRINTF_POSIX''@|$(GNULIB_PRINTF_POSIX)|g' \
780 -e 's|@''GNULIB_SNPRINTF''@|$(GNULIB_SNPRINTF)|g' \
781 -e 's|@''GNULIB_SPRINTF_POSIX''@|$(GNULIB_SPRINTF_POSIX)|g' \
782 -e 's|@''GNULIB_VFPRINTF''@|$(GNULIB_VFPRINTF)|g' \
783 -e 's|@''GNULIB_VFPRINTF_POSIX''@|$(GNULIB_VFPRINTF_POSIX)|g' \
784 -e 's|@''GNULIB_VPRINTF''@|$(GNULIB_VPRINTF)|g' \
785 -e 's|@''GNULIB_VPRINTF_POSIX''@|$(GNULIB_VPRINTF_POSIX)|g' \
786 -e 's|@''GNULIB_VSNPRINTF''@|$(GNULIB_VSNPRINTF)|g' \
787 -e 's|@''GNULIB_VSPRINTF_POSIX''@|$(GNULIB_VSPRINTF_POSIX)|g' \
788 -e 's|@''GNULIB_VASPRINTF''@|$(GNULIB_VASPRINTF)|g' \
789 -e 's|@''GNULIB_OBSTACK_PRINTF''@|$(GNULIB_OBSTACK_PRINTF)|g' \
790 -e 's|@''GNULIB_OBSTACK_PRINTF_POSIX''@|$(GNULIB_OBSTACK_PRINTF_POSIX)|g' \
791 -e 's|@''GNULIB_FOPEN''@|$(GNULIB_FOPEN)|g' \
792 -e 's|@''GNULIB_FREOPEN''@|$(GNULIB_FREOPEN)|g' \
793 -e 's|@''GNULIB_FSEEK''@|$(GNULIB_FSEEK)|g' \
794 -e 's|@''GNULIB_FSEEKO''@|$(GNULIB_FSEEKO)|g' \
795 -e 's|@''GNULIB_FTELL''@|$(GNULIB_FTELL)|g' \
796 -e 's|@''GNULIB_FTELLO''@|$(GNULIB_FTELLO)|g' \
797 -e 's|@''GNULIB_FFLUSH''@|$(GNULIB_FFLUSH)|g' \
798 -e 's|@''GNULIB_FCLOSE''@|$(GNULIB_FCLOSE)|g' \
799 -e 's|@''GNULIB_FPUTC''@|$(GNULIB_FPUTC)|g' \
800 -e 's|@''GNULIB_PUTC''@|$(GNULIB_PUTC)|g' \
801 -e 's|@''GNULIB_PUTCHAR''@|$(GNULIB_PUTCHAR)|g' \
802 -e 's|@''GNULIB_FPUTS''@|$(GNULIB_FPUTS)|g' \
803 -e 's|@''GNULIB_PUTS''@|$(GNULIB_PUTS)|g' \
804 -e 's|@''GNULIB_FWRITE''@|$(GNULIB_FWRITE)|g' \
805 -e 's|@''GNULIB_GETDELIM''@|$(GNULIB_GETDELIM)|g' \
806 -e 's|@''GNULIB_GETLINE''@|$(GNULIB_GETLINE)|g' \
807 -e 's|@''GNULIB_PERROR''@|$(GNULIB_PERROR)|g' \
808 -e 's|@''GNULIB_STDIO_H_SIGPIPE''@|$(GNULIB_STDIO_H_SIGPIPE)|g' \
809 -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \
810 -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
811 -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
812 -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
813 -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
814 -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
815 -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
816 -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
817 -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
818 -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
819 -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
820 -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
821 -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
822 -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \
823 -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \
824 -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
825 -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
826 -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
827 -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
828 -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
829 -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
830 -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
831 -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \
832 -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
833 -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
834 -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
835 -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \
836 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
837 < $(srcdir)/stdio.in.h; \
838 } > $@-t
839 mv $@-t $@
840 MOSTLYCLEANFILES += stdio.h stdio.h-t
842 EXTRA_DIST += stdio-write.c stdio.in.h
844 EXTRA_libgnu_a_SOURCES += stdio-write.c
846 ## end gnulib module stdio
848 ## begin gnulib module stdlib
850 BUILT_SOURCES += stdlib.h
852 # We need the following in order to create <stdlib.h> when the system
853 # doesn't have one that works with the given compiler.
854 stdlib.h: stdlib.in.h
855 rm -f $@-t $@
856 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
857 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
858 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
859 -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
860 -e 's|@''GNULIB_MALLOC_POSIX''@|$(GNULIB_MALLOC_POSIX)|g' \
861 -e 's|@''GNULIB_REALLOC_POSIX''@|$(GNULIB_REALLOC_POSIX)|g' \
862 -e 's|@''GNULIB_CALLOC_POSIX''@|$(GNULIB_CALLOC_POSIX)|g' \
863 -e 's|@''GNULIB_ATOLL''@|$(GNULIB_ATOLL)|g' \
864 -e 's|@''GNULIB_GETLOADAVG''@|$(GNULIB_GETLOADAVG)|g' \
865 -e 's|@''GNULIB_GETSUBOPT''@|$(GNULIB_GETSUBOPT)|g' \
866 -e 's|@''GNULIB_MKDTEMP''@|$(GNULIB_MKDTEMP)|g' \
867 -e 's|@''GNULIB_MKSTEMP''@|$(GNULIB_MKSTEMP)|g' \
868 -e 's|@''GNULIB_PUTENV''@|$(GNULIB_PUTENV)|g' \
869 -e 's|@''GNULIB_RANDOM_R''@|$(GNULIB_RANDOM_R)|g' \
870 -e 's|@''GNULIB_RPMATCH''@|$(GNULIB_RPMATCH)|g' \
871 -e 's|@''GNULIB_SETENV''@|$(GNULIB_SETENV)|g' \
872 -e 's|@''GNULIB_STRTOD''@|$(GNULIB_STRTOD)|g' \
873 -e 's|@''GNULIB_STRTOLL''@|$(GNULIB_STRTOLL)|g' \
874 -e 's|@''GNULIB_STRTOULL''@|$(GNULIB_STRTOULL)|g' \
875 -e 's|@''GNULIB_UNSETENV''@|$(GNULIB_UNSETENV)|g' \
876 -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \
877 -e 's|@''HAVE_CALLOC_POSIX''@|$(HAVE_CALLOC_POSIX)|g' \
878 -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
879 -e 's|@''HAVE_MALLOC_POSIX''@|$(HAVE_MALLOC_POSIX)|g' \
880 -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
881 -e 's|@''HAVE_REALLOC_POSIX''@|$(HAVE_REALLOC_POSIX)|g' \
882 -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
883 -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
884 -e 's|@''HAVE_SETENV''@|$(HAVE_SETENV)|g' \
885 -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
886 -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \
887 -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
888 -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
889 -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
890 -e 's|@''HAVE_UNSETENV''@|$(HAVE_UNSETENV)|g' \
891 -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \
892 -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
893 -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
894 -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
895 -e 's|@''VOID_UNSETENV''@|$(VOID_UNSETENV)|g' \
896 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
897 < $(srcdir)/stdlib.in.h; \
898 } > $@-t
899 mv $@-t $@
900 MOSTLYCLEANFILES += stdlib.h stdlib.h-t
902 EXTRA_DIST += stdlib.in.h
904 ## end gnulib module stdlib
906 ## begin gnulib module streq
909 EXTRA_DIST += streq.h
911 ## end gnulib module streq
913 ## begin gnulib module strerror
916 EXTRA_DIST += strerror.c
918 EXTRA_libgnu_a_SOURCES += strerror.c
920 ## end gnulib module strerror
922 ## begin gnulib module string
924 BUILT_SOURCES += string.h
926 # We need the following in order to create <string.h> when the system
927 # doesn't have one that works with the given compiler.
928 string.h: string.in.h
929 rm -f $@-t $@
930 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
931 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
932 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
933 -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
934 -e 's|@''GNULIB_MBSLEN''@|$(GNULIB_MBSLEN)|g' \
935 -e 's|@''GNULIB_MBSNLEN''@|$(GNULIB_MBSNLEN)|g' \
936 -e 's|@''GNULIB_MBSCHR''@|$(GNULIB_MBSCHR)|g' \
937 -e 's|@''GNULIB_MBSRCHR''@|$(GNULIB_MBSRCHR)|g' \
938 -e 's|@''GNULIB_MBSSTR''@|$(GNULIB_MBSSTR)|g' \
939 -e 's|@''GNULIB_MBSCASECMP''@|$(GNULIB_MBSCASECMP)|g' \
940 -e 's|@''GNULIB_MBSNCASECMP''@|$(GNULIB_MBSNCASECMP)|g' \
941 -e 's|@''GNULIB_MBSPCASECMP''@|$(GNULIB_MBSPCASECMP)|g' \
942 -e 's|@''GNULIB_MBSCASESTR''@|$(GNULIB_MBSCASESTR)|g' \
943 -e 's|@''GNULIB_MBSCSPN''@|$(GNULIB_MBSCSPN)|g' \
944 -e 's|@''GNULIB_MBSPBRK''@|$(GNULIB_MBSPBRK)|g' \
945 -e 's|@''GNULIB_MBSSPN''@|$(GNULIB_MBSSPN)|g' \
946 -e 's|@''GNULIB_MBSSEP''@|$(GNULIB_MBSSEP)|g' \
947 -e 's|@''GNULIB_MBSTOK_R''@|$(GNULIB_MBSTOK_R)|g' \
948 -e 's|@''GNULIB_MEMMEM''@|$(GNULIB_MEMMEM)|g' \
949 -e 's|@''GNULIB_MEMPCPY''@|$(GNULIB_MEMPCPY)|g' \
950 -e 's|@''GNULIB_MEMRCHR''@|$(GNULIB_MEMRCHR)|g' \
951 -e 's|@''GNULIB_RAWMEMCHR''@|$(GNULIB_RAWMEMCHR)|g' \
952 -e 's|@''GNULIB_STPCPY''@|$(GNULIB_STPCPY)|g' \
953 -e 's|@''GNULIB_STPNCPY''@|$(GNULIB_STPNCPY)|g' \
954 -e 's|@''GNULIB_STRCHRNUL''@|$(GNULIB_STRCHRNUL)|g' \
955 -e 's|@''GNULIB_STRDUP''@|$(GNULIB_STRDUP)|g' \
956 -e 's|@''GNULIB_STRNDUP''@|$(GNULIB_STRNDUP)|g' \
957 -e 's|@''GNULIB_STRNLEN''@|$(GNULIB_STRNLEN)|g' \
958 -e 's|@''GNULIB_STRPBRK''@|$(GNULIB_STRPBRK)|g' \
959 -e 's|@''GNULIB_STRSEP''@|$(GNULIB_STRSEP)|g' \
960 -e 's|@''GNULIB_STRSTR''@|$(GNULIB_STRSTR)|g' \
961 -e 's|@''GNULIB_STRCASESTR''@|$(GNULIB_STRCASESTR)|g' \
962 -e 's|@''GNULIB_STRTOK_R''@|$(GNULIB_STRTOK_R)|g' \
963 -e 's|@''GNULIB_STRERROR''@|$(GNULIB_STRERROR)|g' \
964 -e 's|@''GNULIB_STRSIGNAL''@|$(GNULIB_STRSIGNAL)|g' \
965 -e 's|@''GNULIB_STRVERSCMP''@|$(GNULIB_STRVERSCMP)|g' \
966 -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
967 -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
968 -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
969 -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \
970 -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
971 -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
972 -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
973 -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
974 -e 's|@''HAVE_STRNDUP''@|$(HAVE_STRNDUP)|g' \
975 -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
976 -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
977 -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
978 -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
979 -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
980 -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
981 -e 's|@''HAVE_DECL_STRERROR''@|$(HAVE_DECL_STRERROR)|g' \
982 -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
983 -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \
984 -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
985 -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
986 -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \
987 -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
988 -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
989 -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
990 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
991 < $(srcdir)/string.in.h; \
992 } > $@-t
993 mv $@-t $@
994 MOSTLYCLEANFILES += string.h string.h-t
996 EXTRA_DIST += string.in.h
998 ## end gnulib module string
1000 ## begin gnulib module strndup
1003 EXTRA_DIST += strndup.c
1005 EXTRA_libgnu_a_SOURCES += strndup.c
1007 ## end gnulib module strndup
1009 ## begin gnulib module strnlen
1012 EXTRA_DIST += strnlen.c
1014 EXTRA_libgnu_a_SOURCES += strnlen.c
1016 ## end gnulib module strnlen
1018 ## begin gnulib module sys_socket
1020 BUILT_SOURCES += $(SYS_SOCKET_H)
1022 # We need the following in order to create <sys/socket.h> when the system
1023 # doesn't have one that works with the given compiler.
1024 sys/socket.h: sys_socket.in.h
1025 @MKDIR_P@ sys
1026 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1027 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1028 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1029 -e 's|@''NEXT_SYS_SOCKET_H''@|$(NEXT_SYS_SOCKET_H)|g' \
1030 -e 's|@''HAVE_SYS_SOCKET_H''@|$(HAVE_SYS_SOCKET_H)|g' \
1031 -e 's|@''GNULIB_CLOSE''@|$(GNULIB_CLOSE)|g' \
1032 -e 's|@''GNULIB_SOCKET''@|$(GNULIB_SOCKET)|g' \
1033 -e 's|@''GNULIB_CONNECT''@|$(GNULIB_CONNECT)|g' \
1034 -e 's|@''GNULIB_ACCEPT''@|$(GNULIB_ACCEPT)|g' \
1035 -e 's|@''GNULIB_BIND''@|$(GNULIB_BIND)|g' \
1036 -e 's|@''GNULIB_GETPEERNAME''@|$(GNULIB_GETPEERNAME)|g' \
1037 -e 's|@''GNULIB_GETSOCKNAME''@|$(GNULIB_GETSOCKNAME)|g' \
1038 -e 's|@''GNULIB_GETSOCKOPT''@|$(GNULIB_GETSOCKOPT)|g' \
1039 -e 's|@''GNULIB_LISTEN''@|$(GNULIB_LISTEN)|g' \
1040 -e 's|@''GNULIB_RECV''@|$(GNULIB_RECV)|g' \
1041 -e 's|@''GNULIB_SEND''@|$(GNULIB_SEND)|g' \
1042 -e 's|@''GNULIB_RECVFROM''@|$(GNULIB_RECVFROM)|g' \
1043 -e 's|@''GNULIB_SENDTO''@|$(GNULIB_SENDTO)|g' \
1044 -e 's|@''GNULIB_SETSOCKOPT''@|$(GNULIB_SETSOCKOPT)|g' \
1045 -e 's|@''GNULIB_SHUTDOWN''@|$(GNULIB_SHUTDOWN)|g' \
1046 -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
1047 -e 's|@''HAVE_WS2TCPIP_H''@|$(HAVE_WS2TCPIP_H)|g' \
1048 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
1049 < $(srcdir)/sys_socket.in.h; \
1050 } > $@-t
1051 mv -f $@-t $@
1052 MOSTLYCLEANFILES += sys/socket.h sys/socket.h-t
1053 MOSTLYCLEANDIRS += sys
1055 EXTRA_DIST += sys_socket.in.h
1057 ## end gnulib module sys_socket
1059 ## begin gnulib module unistd
1061 BUILT_SOURCES += unistd.h
1063 # We need the following in order to create an empty placeholder for
1064 # <unistd.h> when the system doesn't have one.
1065 unistd.h: unistd.in.h
1066 rm -f $@-t $@
1067 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1068 sed -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
1069 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1070 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1071 -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
1072 -e 's|@''GNULIB_CHOWN''@|$(GNULIB_CHOWN)|g' \
1073 -e 's|@''GNULIB_CLOSE''@|$(GNULIB_CLOSE)|g' \
1074 -e 's|@''GNULIB_DUP2''@|$(GNULIB_DUP2)|g' \
1075 -e 's|@''GNULIB_ENVIRON''@|$(GNULIB_ENVIRON)|g' \
1076 -e 's|@''GNULIB_EUIDACCESS''@|$(GNULIB_EUIDACCESS)|g' \
1077 -e 's|@''GNULIB_FCHDIR''@|$(GNULIB_FCHDIR)|g' \
1078 -e 's|@''GNULIB_FSYNC''@|$(GNULIB_FSYNC)|g' \
1079 -e 's|@''GNULIB_FTRUNCATE''@|$(GNULIB_FTRUNCATE)|g' \
1080 -e 's|@''GNULIB_GETCWD''@|$(GNULIB_GETCWD)|g' \
1081 -e 's|@''GNULIB_GETDOMAINNAME''@|$(GNULIB_GETDOMAINNAME)|g' \
1082 -e 's|@''GNULIB_GETDTABLESIZE''@|$(GNULIB_GETDTABLESIZE)|g' \
1083 -e 's|@''GNULIB_GETHOSTNAME''@|$(GNULIB_GETHOSTNAME)|g' \
1084 -e 's|@''GNULIB_GETLOGIN_R''@|$(GNULIB_GETLOGIN_R)|g' \
1085 -e 's|@''GNULIB_GETPAGESIZE''@|$(GNULIB_GETPAGESIZE)|g' \
1086 -e 's|@''GNULIB_GETUSERSHELL''@|$(GNULIB_GETUSERSHELL)|g' \
1087 -e 's|@''GNULIB_LCHOWN''@|$(GNULIB_LCHOWN)|g' \
1088 -e 's|@''GNULIB_LSEEK''@|$(GNULIB_LSEEK)|g' \
1089 -e 's|@''GNULIB_READLINK''@|$(GNULIB_READLINK)|g' \
1090 -e 's|@''GNULIB_SLEEP''@|$(GNULIB_SLEEP)|g' \
1091 -e 's|@''GNULIB_UNISTD_H_SIGPIPE''@|$(GNULIB_UNISTD_H_SIGPIPE)|g' \
1092 -e 's|@''GNULIB_WRITE''@|$(GNULIB_WRITE)|g' \
1093 -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
1094 -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
1095 -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
1096 -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
1097 -e 's|@''HAVE_GETDOMAINNAME''@|$(HAVE_GETDOMAINNAME)|g' \
1098 -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
1099 -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
1100 -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
1101 -e 's|@''HAVE_GETUSERSHELL''@|$(HAVE_GETUSERSHELL)|g' \
1102 -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
1103 -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
1104 -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
1105 -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
1106 -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
1107 -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
1108 -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
1109 -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
1110 -e 's|@''REPLACE_FCHDIR''@|$(REPLACE_FCHDIR)|g' \
1111 -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
1112 -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
1113 -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
1114 -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
1115 -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
1116 -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
1117 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
1118 < $(srcdir)/unistd.in.h; \
1119 } > $@-t
1120 mv $@-t $@
1121 MOSTLYCLEANFILES += unistd.h unistd.h-t
1123 EXTRA_DIST += unistd.in.h
1125 ## end gnulib module unistd
1127 ## begin gnulib module unistd-safer
1130 EXTRA_DIST += dup-safer.c fd-safer.c pipe-safer.c unistd--.h unistd-safer.h
1132 EXTRA_libgnu_a_SOURCES += dup-safer.c fd-safer.c pipe-safer.c
1134 ## end gnulib module unistd-safer
1136 ## begin gnulib module vasnprintf
1139 EXTRA_DIST += asnprintf.c float+.h printf-args.c printf-args.h printf-parse.c printf-parse.h vasnprintf.c vasnprintf.h
1141 EXTRA_libgnu_a_SOURCES += asnprintf.c printf-args.c printf-parse.c vasnprintf.c
1143 ## end gnulib module vasnprintf
1145 ## begin gnulib module vasprintf
1148 EXTRA_DIST += asprintf.c vasprintf.c
1150 EXTRA_libgnu_a_SOURCES += asprintf.c vasprintf.c
1152 ## end gnulib module vasprintf
1154 ## begin gnulib module verify
1156 libgnu_a_SOURCES += verify.h
1158 ## end gnulib module verify
1160 ## begin gnulib module vsnprintf
1163 EXTRA_DIST += vsnprintf.c
1165 EXTRA_libgnu_a_SOURCES += vsnprintf.c
1167 ## end gnulib module vsnprintf
1169 ## begin gnulib module wchar
1171 BUILT_SOURCES += $(WCHAR_H)
1173 # We need the following in order to create <wchar.h> when the system
1174 # version does not work standalone.
1175 wchar.h: wchar.in.h
1176 rm -f $@-t $@
1177 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1178 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1179 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1180 -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
1181 -e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \
1182 -e 's|@''GNULIB_BTOWC''@|$(GNULIB_BTOWC)|g' \
1183 -e 's|@''GNULIB_WCTOB''@|$(GNULIB_WCTOB)|g' \
1184 -e 's|@''GNULIB_MBSINIT''@|$(GNULIB_MBSINIT)|g' \
1185 -e 's|@''GNULIB_MBRTOWC''@|$(GNULIB_MBRTOWC)|g' \
1186 -e 's|@''GNULIB_MBRLEN''@|$(GNULIB_MBRLEN)|g' \
1187 -e 's|@''GNULIB_MBSRTOWCS''@|$(GNULIB_MBSRTOWCS)|g' \
1188 -e 's|@''GNULIB_MBSNRTOWCS''@|$(GNULIB_MBSNRTOWCS)|g' \
1189 -e 's|@''GNULIB_WCRTOMB''@|$(GNULIB_WCRTOMB)|g' \
1190 -e 's|@''GNULIB_WCSRTOMBS''@|$(GNULIB_WCSRTOMBS)|g' \
1191 -e 's|@''GNULIB_WCSNRTOMBS''@|$(GNULIB_WCSNRTOMBS)|g' \
1192 -e 's|@''GNULIB_WCWIDTH''@|$(GNULIB_WCWIDTH)|g' \
1193 -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \
1194 -e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \
1195 -e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \
1196 -e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \
1197 -e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \
1198 -e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \
1199 -e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \
1200 -e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \
1201 -e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \
1202 -e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \
1203 -e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \
1204 -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
1205 -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \
1206 -e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \
1207 -e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \
1208 -e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \
1209 -e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \
1210 -e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \
1211 -e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \
1212 -e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \
1213 -e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \
1214 -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \
1215 -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
1216 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
1217 < $(srcdir)/wchar.in.h; \
1218 } > $@-t
1219 mv $@-t $@
1220 MOSTLYCLEANFILES += wchar.h wchar.h-t
1222 EXTRA_DIST += wchar.in.h
1224 ## end gnulib module wchar
1226 ## begin gnulib module wcrtomb
1229 EXTRA_DIST += wcrtomb.c
1231 EXTRA_libgnu_a_SOURCES += wcrtomb.c
1233 ## end gnulib module wcrtomb
1235 ## begin gnulib module wctype
1237 BUILT_SOURCES += $(WCTYPE_H)
1239 # We need the following in order to create <wctype.h> when the system
1240 # doesn't have one that works with the given compiler.
1241 wctype.h: wctype.in.h
1242 rm -f $@-t $@
1243 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1244 sed -e 's/@''HAVE_WCTYPE_H''@/$(HAVE_WCTYPE_H)/g' \
1245 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1246 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1247 -e 's|@''NEXT_WCTYPE_H''@|$(NEXT_WCTYPE_H)|g' \
1248 -e 's/@''HAVE_ISWCNTRL''@/$(HAVE_ISWCNTRL)/g' \
1249 -e 's/@''HAVE_WINT_T''@/$(HAVE_WINT_T)/g' \
1250 -e 's/@''REPLACE_ISWCNTRL''@/$(REPLACE_ISWCNTRL)/g' \
1251 < $(srcdir)/wctype.in.h; \
1252 } > $@-t
1253 mv $@-t $@
1254 MOSTLYCLEANFILES += wctype.h wctype.h-t
1256 EXTRA_DIST += wctype.in.h
1258 ## end gnulib module wctype
1260 ## begin gnulib module write
1263 EXTRA_DIST += write.c
1265 EXTRA_libgnu_a_SOURCES += write.c
1267 ## end gnulib module write
1269 ## begin gnulib module xalloc
1272 EXTRA_DIST += xalloc.h xmalloc.c
1274 EXTRA_libgnu_a_SOURCES += xmalloc.c
1276 ## end gnulib module xalloc
1278 ## begin gnulib module xalloc-die
1280 libgnu_a_SOURCES += xalloc-die.c
1282 ## end gnulib module xalloc-die
1284 ## begin gnulib module xsize
1286 libgnu_a_SOURCES += xsize.h
1288 ## end gnulib module xsize
1290 ## begin gnulib module xstrndup
1292 libgnu_a_SOURCES += xstrndup.h xstrndup.c
1294 ## end gnulib module xstrndup
1297 mostlyclean-local: mostlyclean-generic
1298 @for dir in '' $(MOSTLYCLEANDIRS); do \
1299 if test -n "$$dir" && test -d $$dir; then \
1300 echo "rmdir $$dir"; rmdir $$dir; \
1301 fi; \
1302 done; \
1303 :