1 # -sedlibmk.inp-----------------------------------------------------------
2 # Configuration script for lib/Makefile under DJGPP v2.x
3 # ----------------------------------------------------------------------
5 # Copyright (C) 2011-2012 Free Software Foundation, Inc.
7 # This file is part of GNU Emacs.
9 # This file is free software; as a special exception, the author gives
10 # unlimited permission to copy and/or distribute it, with or without
11 # modifications, as long as this notice is preserved.
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
17 # ----------------------------------------------------------------------
19 # Checklist to add a new gnulib module:
21 # . If the module includes source files that need to be compiled, add
22 # the corresponding .o file names to the list that gets assigned to
23 # the gl_LIBOBJS variable.
25 # . If the module defines functions that need to replace DJGPP
26 # functions, edit the appropriate REPLACE_foo variables to 1;
27 # otherwise edit them to zero:
29 # /^REPLACE_CALLOC *=/s/@REPLACE_CALLOC@/0/
31 # . If the module is a header or adds headers, edit the corresponding
32 # variable to either an empty value or to the name of the header.
35 # /^STDINT_H *=/s/@[^@\n]*@/stdint.h/ -- stdint.h is needed
36 # /^STDDEF_H *=/s/@[^@\n]*@// -- stddef.h is not needed
38 # . Some of the headers are generated conditionally, and the
39 # corresponding recipes are guarded by @GL_GENERATE_xxxx_H_TRUE@
40 # and @GL_GENERATE_xxxx_H_FALSE@. Depending on whether DJGPP uses
41 # the corresponding header, these should be edited either to
42 # nothing (thus exposing the recipe) or to #, which comments the
43 # recipe away. Example:
45 # s/^@GL_GENERATE_STDBOOL_H_TRUE@/\#/
46 # s/^@GL_GENERATE_STDBOOL_H_FALSE@//
48 # . Also edit the NEXT_foo and NEXT_AS_FIRST_DIRECTIVE_foo_H variable
49 # as appropriately: to an empty value if the gnulib header is not
50 # used, and to the corresponding DJGPP header name otherwise.
53 # /^NEXT_STDDEF_H *=/s/@[^@\n]*@//
54 # /^NEXT_STDINT_H *=/s/@[^@\n]*@/<stdint.h>/
55 # /^NEXT_AS_FIRST_DIRECTIVE_GETOPT_H *=/s/@[^@\n]*@/<getopt.h>/
56 # /^NEXT_AS_FIRST_DIRECTIVE_STDDEF_H *=/s/@[^@\n]*@//
58 # . Note that some gnulib headers cannot be left unused: those for
59 # which there's no corresponding foo_H variable in
60 # autogen/Makefile.in (example: stdio.h). For these the "not
61 # needed" path is not applicable.
63 # . If the header is needed, edit all the variables it uses as
64 # appropriate. In general, if DJGPP has the corresponding feature,
65 # the value of the corresponding HAVE_foo should be set to what
66 # DJGPP has, and the corresponding GNULIB_foo variable should be
67 # edited to zero. If the feature is not available, the HAVE_foo
68 # variable should be edited to zero and the corresponding
69 # GNULIB_foo variable should be edited to 1 if the gnulib
70 # replacement can work for DJGPP (a rare phenomenon), zero
73 # . Some gnulib header files have more complex recipes in
74 # autogen/Makefile.in than others. The tell-tale sign of such a
75 # recipe is that the input redirection from the .in.h file is not
76 # present at the end of the command, like this:
78 # -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
84 # -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
85 # < $(srcdir)/sys_stat.in.h; \
89 # For those recipes that do _not_ have redirection at the end of
90 # the command, add a block of Sed commands like this:
92 # /^stdio\.h:/,/^ [ ]*mv /{
93 # s/'\; \\ *$/' >> $@-t/
96 # The following Awk script is useful for editing portions of
97 # autogen/Makefile.in into Sed commands that define the corresponding
98 # variables to zero (which is what is required in the absolute
101 # { printf "/^%s *=/s/%s/0/\n",$1,$3}
103 # ----------------------------------------------------------------------
104 # Replace @..@ constants.
105 /^\# @configure_input@/s!@configure_input@!lib/Makefile. Generated from Makefile.in by config.bat!
106 /^@SET_MAKE@$/s/@SET_MAKE@//
107 /^VPATH *=/s/@[^@\n]*@/./
111 /^ALLOCA *=/s/@[^@\n]*@//
112 /^ALSA_CFLAGS *=/s/@[^@\n]*@//
113 /^ALSA_LIBS *=/s/@[^@\n]*@//
114 /^AR *=/s/@[^@\n]*@/ar/
115 /^ARFLAGS *=/s/@[^@\n]*@/cru/
116 /^AWK *=/s/@[^@\n]*@/gawk/
117 /^CANNOT_DUMP *=/s/@[^@\n]*@/no/
118 /^CC *=/s/@[^@\n]*@/gcc/
119 /^CPP *=/s/@[^@\n]*@/gcc -e/
120 /^CPPFLAGS *=/s/@[^@\n]*@//
121 /^CCDEPMODE *=/s/@[^@\n]*@/depmode=gcc3/
122 /^CFLAGS *=/s/@[^@\n]*@/-g -O2/
123 /^CYGPATH_W *=/s/@[^@\n]*@//
124 /^CYGWIN_OBJ *=/s/@[^@\n]*@//
125 /^C_SWITCH_MACHINE *=/s/@C_SWITCH_MACHINE@//
126 /^C_SWITCH_SYSTEM *=/s/@C_SWITCH_SYSTEM@//
127 /^GNUSTEP_CFLAGS *=/s/@GNUSTEP_CFLAGS@//
128 /^C_SWITCH_X_SITE *=/s/@C_SWITCH_X_SITE@//
129 /^GNULIB_WARN_CFLAGS *=/s/@GNULIB_WARN_CFLAGS@//
130 /^WARN_CFLAGS *=/s/@WARN_CFLAGS@//
131 /^WERROR_CFLAGS *=/s/@WERROR_CFLAGS@//
132 /^DEFS *=/s/@[^@\n]*@/-DHAVE_CONFIG_H/
133 /^DEPDIR *=/s/@[^@\n]*@/deps/
134 /^DEPFLAGS *=/s/@[^@\n]*@/-MMD -MF ${DEPDIR}\/$*.d/
135 /^ECHO_N *=/s/@[^@\n]*@/-n/
136 /^EXEEXT *=/s/@[^@\n]*@/.exe/
137 /^GETOPT_H *=/s/@[^@\n]*@/getopt.h/
140 /^BITSIZEOF_PTRDIFF_T *=/s/@BITSIZEOF_PTRDIFF_T@/32/
141 /^BITSIZEOF_SIG_ATOMIC_T *=/s/@BITSIZEOF_SIG_ATOMIC_T@/32/
142 /^BITSIZEOF_SIZE_T *=/s/@BITSIZEOF_SIZE_T@/32/
143 /^BITSIZEOF_WCHAR_T *=/s/@BITSIZEOF_WCHAR_T@/16/
144 /^BITSIZEOF_WINT_T *=/s/@BITSIZEOF_WINT_T@/32/
145 /^APPLE_UNIVERSAL_BUILD *=/s/@APPLE_UNIVERSAL_BUILD@/0/
147 # Some GNULIB_* are replaced with zero even though DJGPP does not have
148 # these features. That's because the gnulib replacements cannot
149 # possibly work for DJGPP, so we prefer to fail the link than have a
150 # subtly botched executable.
151 /^GNULIB_ATOLL *=/s/@GNULIB_ATOLL@/1/
152 /^GNULIB_CALLOC_POSIX *=/s/@GNULIB_CALLOC_POSIX@/0/
153 /^GNULIB_CANONICALIZE_FILE_NAME *=/s/@GNULIB_CANONICALIZE_FILE_NAME@/0/
154 /^GNULIB_CHDIR *=/s/@GNULIB_CHDIR@/0/
155 /^GNULIB_CHOWN *=/s/@GNULIB_CHOWN@/0/
156 /^GNULIB_CLOSE *=/s/@GNULIB_CLOSE@/0/
157 /^GNULIB_DPRINTF *=/s/@GNULIB_DPRINTF@/0/
158 /^GNULIB_DUP *=/s/@GNULIB_DUP@/0/
159 /^GNULIB_DUP2 *=/s/@GNULIB_DUP2@/0/
160 /^GNULIB_DUP3 *=/s/@GNULIB_DUP3@/1/
161 /^GNULIB_ENVIRON *=/s/@GNULIB_ENVIRON@/0/
162 /^GNULIB_EUIDACCESS *=/s/@GNULIB_EUIDACCESS@/0/
163 /^GNULIB_FACCESSAT *=/s/@GNULIB_FACCESSAT@/0/
164 /^GNULIB_FCHDIR *=/s/@GNULIB_FCHDIR@/0/
165 /^GNULIB_FCHOWNAT *=/s/@GNULIB_FCHOWNAT@/0/
166 /^GNULIB_FCHMODAT *=/s/@GNULIB_FCHMODAT@/0/
167 /^GNULIB_FCLOSE *=/s/@GNULIB_FCLOSE@/0/
168 /^GNULIB_FDATASYNC *=/s/@GNULIB_FDATASYNC@/0/
169 /^GNULIB_FDOPEN *=/s/@GNULIB_FDOPEN@/0/
170 /^GNULIB_FFLUSH *=/s/@GNULIB_FFLUSH@/0/
171 /^GNULIB_FGETC *=/s/@GNULIB_FGETC@/0/
172 /^GNULIB_FGETS *=/s/@GNULIB_FGETS@/0/
173 /^GNULIB_FOPEN *=/s/@GNULIB_FOPEN@/0/
174 /^GNULIB_FPRINTF *=/s/@GNULIB_FPRINTF@/0/
175 /^GNULIB_FPRINTF_POSIX *=/s/@GNULIB_FPRINTF_POSIX@/0/
176 /^GNULIB_FPURGE *=/s/@GNULIB_FPURGE@/0/
177 /^GNULIB_FPUTC *=/s/@GNULIB_FPUTC@/0/
178 /^GNULIB_FPUTS *=/s/@GNULIB_FPUTS@/0/
179 /^GNULIB_FREAD *=/s/@GNULIB_FREAD@/0/
180 /^GNULIB_FREOPEN *=/s/@GNULIB_FREOPEN@/0/
181 /^GNULIB_FSCANF *=/s/@GNULIB_FSCANF@/0/
182 /^GNULIB_FSEEK *=/s/@GNULIB_FSEEK@/0/
183 /^GNULIB_FSEEKO *=/s/@GNULIB_FSEEKO@/0/
184 /^GNULIB_FSTAT *=/s/@GNULIB_FSTAT@/0/
185 /^GNULIB_FSTATAT *=/s/@GNULIB_FSTATAT@/0/
186 /^GNULIB_FSYNC *=/s/@GNULIB_FSYNC@/0/
187 /^GNULIB_FTELL *=/s/@GNULIB_FTELL@/0/
188 /^GNULIB_FTELLO *=/s/@GNULIB_FTELLO@/0/
189 /^GNULIB_FTRUNCATE *=/s/@GNULIB_FTRUNCATE@/0/
190 /^GNULIB_FUTIMENS *=/s/@GNULIB_FUTIMENS@/0/
191 /^GNULIB_FWRITE *=/s/@GNULIB_FWRITE@/0/
192 /^GNULIB_GETC *=/s/@GNULIB_GETC@/0/
193 /^GNULIB_GETCHAR *=/s/@GNULIB_GETCHAR@/0/
194 /^GNULIB_GETCWD *=/s/@GNULIB_GETCWD@/0/
195 /^GNULIB_GETDELIM *=/s/@GNULIB_GETDELIM@/0/
196 /^GNULIB_GETDOMAINNAME *=/s/@GNULIB_GETDOMAINNAME@/0/
197 /^GNULIB_GETDTABLESIZE *=/s/@GNULIB_GETDTABLESIZE@/0/
198 /^GNULIB_GETGROUPS *=/s/@GNULIB_GETGROUPS@/0/
199 /^GNULIB_GETHOSTNAME *=/s/@GNULIB_GETHOSTNAME@/0/
200 /^GNULIB_GETLINE *=/s/@GNULIB_GETLINE@/0/
201 /^GNULIB_GETLOADAVG *=/s/@GNULIB_GETLOADAVG@/1/
202 /^GNULIB_GETLOGIN *=/s/@GNULIB_GETLOGIN@/0/
203 /^GNULIB_GETLOGIN_R *=/s/@GNULIB_GETLOGIN_R@/0/
204 /^GNULIB_GETPAGESIZE *=/s/@GNULIB_GETPAGESIZE@/0/
205 /^GNULIB_GETS *=/s/@GNULIB_GETS@/0/
206 /^GNULIB_GETSUBOPT *=/s/@GNULIB_GETSUBOPT@/0/
207 /^GNULIB_GETUSERSHELL *=/s/@GNULIB_GETUSERSHELL@/0/
208 /^GNULIB_GRANTPT *=/s/@GNULIB_GRANTPT@/0/
209 /^GNULIB_GROUP_MEMBER *=/s/@GNULIB_GROUP_MEMBER@/0/
210 /^GNULIB_LCHMOD *=/s/@GNULIB_LCHMOD@/0/
211 /^GNULIB_LCHOWN *=/s/@GNULIB_LCHOWN@/0/
212 /^GNULIB_LINK *=/s/@GNULIB_LINK@/0/
213 /^GNULIB_LINKAT *=/s/@GNULIB_LINKAT@/0/
214 /^GNULIB_LSEEK *=/s/@GNULIB_LSEEK@/0/
215 /^GNULIB_LSTAT *=/s/@GNULIB_LSTAT@/0/
216 /^GNULIB_MALLOC_POSIX *=/s/@GNULIB_MALLOC_POSIX@/0/
217 /^GNULIB_MBTOWC *=/s/@GNULIB_MBTOWC@/0/
218 /^GNULIB_MKDIRAT *=/s/@GNULIB_MKDIRAT@/0/
219 /^GNULIB_MKDTEMP *=/s/@GNULIB_MKDTEMP@/0/
220 /^GNULIB_MKFIFO *=/s/@GNULIB_MKFIFO@/0/
221 /^GNULIB_MKFIFOAT *=/s/@GNULIB_MKFIFOAT@/0/
222 /^GNULIB_MKNOD *=/s/@GNULIB_MKNOD@/0/
223 /^GNULIB_MKNODAT *=/s/@GNULIB_MKNODAT@/0/
224 /^GNULIB_MKOSTEMP *=/s/@GNULIB_MKOSTEMP@/0/
225 /^GNULIB_MKOSTEMPS *=/s/@GNULIB_MKOSTEMPS@/0/
226 /^GNULIB_MKSTEMP *=/s/@GNULIB_MKSTEMP@/0/
227 /^GNULIB_MKSTEMPS *=/s/@GNULIB_MKSTEMPS@/0/
228 /^GNULIB_MKTIME *=/s/@GNULIB_MKTIME@/0/
229 /^GNULIB_NANOSLEEP *=/s/@GNULIB_NANOSLEEP@/0/
230 /^GNULIB_OBSTACK_PRINTF *=/s/@GNULIB_OBSTACK_PRINTF@/0/
231 /^GNULIB_OBSTACK_PRINTF_POSIX *=/s/@GNULIB_OBSTACK_PRINTF_POSIX@/0/
232 /^GNULIB_PCLOSE *=/s/@GNULIB_PCLOSE@/0/
233 /^GNULIB_PERROR *=/s/@GNULIB_PERROR@/0/
234 /^GNULIB_PIPE *=/s/@GNULIB_PIPE@/0/
235 /^GNULIB_PIPE2 *=/s/@GNULIB_PIPE2@/0/
236 /^GNULIB_POPEN *=/s/@GNULIB_POPEN@/0/
237 /^GNULIB_PREAD *=/s/@GNULIB_PREAD@/0/
238 /^GNULIB_PRINTF *=/s/@GNULIB_PRINTF@/0/
239 /^GNULIB_PRINTF_POSIX *=/s/@GNULIB_PRINTF_POSIX@/0/
240 /^GNULIB_PTHREAD_SIGMASK *=/s/@GNULIB_PTHREAD_SIGMASK@/0/
241 /^GNULIB_PTSNAME *=/s/@GNULIB_PTSNAME@/0/
242 /^GNULIB_PUTC *=/s/@GNULIB_PUTC@/0/
243 /^GNULIB_PUTCHAR *=/s/@GNULIB_PUTCHAR@/0/
244 /^GNULIB_PUTENV *=/s/@GNULIB_PUTENV@/0/
245 /^GNULIB_PUTS *=/s/@GNULIB_PUTS@/0/
246 /^GNULIB_PWRITE *=/s/@GNULIB_PWRITE@/0/
247 /^GNULIB_RAISE *=/s/@GNULIB_RAISE@/0/
248 /^GNULIB_RANDOM_R *=/s/@GNULIB_RANDOM_R@/0/
249 /^GNULIB_READ *=/s/@GNULIB_READ@/0/
250 /^GNULIB_READLINK *=/s/@GNULIB_READLINK@/0/
251 /^GNULIB_READLINKAT *=/s/@GNULIB_READLINKAT@/0/
252 /^GNULIB_REALLOC_POSIX *=/s/@GNULIB_REALLOC_POSIX@/0/
253 /^GNULIB_REALPATH *=/s/@GNULIB_REALPATH@/0/
254 /^GNULIB_REMOVE *=/s/@GNULIB_REMOVE@/0/
255 /^GNULIB_RENAME *=/s/@GNULIB_RENAME@/0/
256 /^GNULIB_RENAMEAT *=/s/@GNULIB_RENAMEAT@/0/
257 /^GNULIB_RMDIR *=/s/@GNULIB_RMDIR@/0/
258 /^GNULIB_RPMATCH *=/s/@GNULIB_RPMATCH@/0/
259 /^GNULIB_SCANF *=/s/@GNULIB_SCANF@/0/
260 /^GNULIB_SETENV *=/s/@GNULIB_SETENV@/0/
261 /^GNULIB_SIGACTION *=/s/@GNULIB_SIGACTION@/0/
262 /^GNULIB_SIGNAL_H_SIGPIPE *=/s/@GNULIB_SIGNAL_H_SIGPIPE@/0/
263 /^GNULIB_SIGPROCMASK *=/s/@GNULIB_SIGPROCMASK@/0/
264 /^GNULIB_SLEEP *=/s/@GNULIB_SLEEP@/0/
265 /^GNULIB_SNPRINTF *=/s/@GNULIB_SNPRINTF@/0/
266 /^GNULIB_SPRINTF_POSIX *=/s/@GNULIB_SPRINTF_POSIX@/0/
267 /^GNULIB_STAT *=/s/@GNULIB_STAT@/0/
268 /^GNULIB_STDIO_H_NONBLOCKING *=/s/@GNULIB_STDIO_H_NONBLOCKING@/0/
269 /^GNULIB_STDIO_H_SIGPIPE *=/s/@GNULIB_STDIO_H_SIGPIPE@/0/
270 /^GNULIB_STRPTIME *=/s/@GNULIB_STRPTIME@/0/
271 /^GNULIB_STRTOD *=/s/@GNULIB_STRTOD@/0/
272 /^GNULIB_STRTOLL *=/s/@GNULIB_STRTOLL@/0/
273 /^GNULIB_STRTOULL *=/s/@GNULIB_STRTOULL@/0/
274 /^GNULIB_SYMLINK *=/s/@GNULIB_SYMLINK@/0/
275 /^GNULIB_SYMLINKAT *=/s/@GNULIB_SYMLINKAT@/0/
276 /^GNULIB_SYSTEM_POSIX *=/s/@GNULIB_SYSTEM_POSIX@/0/
277 /^GNULIB_TIMEGM *=/s/@GNULIB_TIMEGM@/0/
278 /^GNULIB_TIME_R *=/s/@GNULIB_TIME_R@/1/
279 /^GNULIB_TMPFILE *=/s/@GNULIB_TMPFILE@/0/
280 /^GNULIB_TTYNAME_R *=/s/@GNULIB_TTYNAME_R@/0/
281 /^GNULIB_UNISTD_H_GETOPT *=/s/@GNULIB_UNISTD_H_GETOPT@/1/
282 /^GNULIB_UNISTD_H_NONBLOCKING *=/s/@GNULIB_UNISTD_H_NONBLOCKING@/0/
283 /^GNULIB_UNISTD_H_SIGPIPE *=/s/@GNULIB_UNISTD_H_SIGPIPE@/0/
284 /^GNULIB_UNLINK *=/s/@GNULIB_UNLINK@/0/
285 /^GNULIB_UNLINKAT *=/s/@GNULIB_UNLINKAT@/0/
286 /^GNULIB_UNLOCKPT *=/s/@GNULIB_UNLOCKPT@/0/
287 /^GNULIB_UNSETENV *=/s/@GNULIB_UNSETENV@/1/
288 /^GNULIB_USLEEP *=/s/@GNULIB_USLEEP@/0/
289 /^GNULIB_UTIMENSAT *=/s/@GNULIB_UTIMENSAT@/0/
290 /^GNULIB_VASPRINTF *=/s/@GNULIB_VASPRINTF@/0/
291 /^GNULIB_VDPRINTF *=/s/@GNULIB_VDPRINTF@/0/
292 /^GNULIB_VFPRINTF *=/s/@GNULIB_VFPRINTF@/0/
293 /^GNULIB_VFPRINTF_POSIX *=/s/@GNULIB_VFPRINTF_POSIX@/0/
294 /^GNULIB_VFSCANF *=/s/@GNULIB_VFSCANF@/0/
295 /^GNULIB_VPRINTF *=/s/@GNULIB_VPRINTF@/0/
296 /^GNULIB_VPRINTF_POSIX *=/s/@GNULIB_VPRINTF_POSIX@/0/
297 /^GNULIB_VSCANF *=/s/@GNULIB_VSCANF@/0/
298 /^GNULIB_VSNPRINTF *=/s/@GNULIB_VSNPRINTF@/0/
299 /^GNULIB_VSPRINTF_POSIX *=/s/@GNULIB_VSPRINTF_POSIX@/0/
300 /^GNULIB_WCTOMB *=/s/@GNULIB_WCTOMB@/0/
301 /^GNULIB_WRITE *=/s/@GNULIB_WRITE@/0/
302 /^GNULIB__EXIT *=/s/@GNULIB__EXIT@/0/
303 /^GSETTINGS_CFLAGS *=/s/@[^@\n]*@//
304 /^GSETTINGS_LIBS *=/s/@[^@\n]*@//
305 /^HAVE_ATOLL *=/s/@HAVE_ATOLL@/0/
306 /^HAVE_CANONICALIZE_FILE_NAME *=/s/@HAVE_CANONICALIZE_FILE_NAME@/0/
307 /^HAVE_CHOWN *=/s/@HAVE_CHOWN@/1/
308 /^HAVE_DECL_ENVIRON *=/s/@HAVE_DECL_ENVIRON@/1/
309 /^HAVE_DECL_FCHDIR *=/s/@HAVE_DECL_FCHDIR@/0/
310 /^HAVE_DECL_FDATASYNC *=/s/@HAVE_DECL_FDATASYNC@/0/
311 /^HAVE_DECL_FPURGE *=/s/@HAVE_DECL_FPURGE@//
312 /^HAVE_DECL_FSEEKO *=/s/@HAVE_DECL_FSEEKO@/0/
313 /^HAVE_DECL_FTELLO *=/s/@HAVE_DECL_FTELLO@/0/
314 /^HAVE_DECL_GETDELIM *=/s/@HAVE_DECL_GETDELIM@/0/
315 /^HAVE_DECL_GETDOMAINNAME *=/s/@HAVE_DECL_GETDOMAINNAME@/0/
316 /^HAVE_DECL_GETLINE *=/s/@HAVE_DECL_GETLINE@/0/
317 /^HAVE_DECL_GETLOADAVG *=/s/@HAVE_DECL_GETLOADAVG@/0/
318 /^HAVE_DECL_GETLOGIN_R *=/s/@HAVE_DECL_GETLOGIN_R@/0/
319 /^HAVE_DECL_GETPAGESIZE *=/s/@HAVE_DECL_GETPAGESIZE@/1/
320 /^HAVE_DECL_GETUSERSHELL *=/s/@HAVE_DECL_GETUSERSHELL@/0/
321 /^HAVE_DECL_LOCALTIME_R *=/s/@HAVE_DECL_LOCALTIME_R@/0/
322 /^HAVE_DECL_OBSTACK_PRINTF *=/s/@HAVE_DECL_OBSTACK_PRINTF@/0/
323 /^HAVE_DECL_SETENV *=/s/@HAVE_DECL_SETENV@/1/
324 /^HAVE_DECL_SNPRINTF *=/s/@HAVE_DECL_SNPRINTF@/0/
325 /^HAVE_DECL_TTYNAME_R *=/s/@HAVE_DECL_TTYNAME_R@/0/
326 /^HAVE_DECL_UNSETENV *=/s/@HAVE_DECL_UNSETENV@/0/
327 /^HAVE_DECL_VSNPRINTF *=/s/@HAVE_DECL_VSNPRINTF@/0/
328 /^HAVE_DPRINTF *=/s/@HAVE_DPRINTF@/0/
329 /^HAVE_DUP2 *=/s/@HAVE_DUP2@/1/
330 /^HAVE_DUP3 *=/s/@HAVE_DUP3@/0/
331 /^HAVE_EUIDACCESS *=/s/@HAVE_EUIDACCESS@/0/
332 /^HAVE_FACCESSAT *=/s/@HAVE_FACCESSAT@/0/
333 /^HAVE_FCHDIR *=/s/@HAVE_FCHDIR@/0/
334 /^HAVE_FCHMODAT *=/s/@HAVE_FCHMODAT@/0/
335 /^HAVE_FCHOWNAT *=/s/@HAVE_FCHOWNAT@/0/
336 /^HAVE_FDATASYNC *=/s/@HAVE_FDATASYNC@/0/
337 /^HAVE_FSEEKO *=/s/@HAVE_FSEEKO@/0/
338 /^HAVE_FSTATAT *=/s/@HAVE_FSTATAT@/0/
339 /^HAVE_FSYNC *=/s/@HAVE_FSYNC@/1/
340 /^HAVE_FTELLO *=/s/@HAVE_FTELLO@/0/
341 /^HAVE_FTRUNCATE *=/s/@HAVE_FTRUNCATE@/1/
342 /^HAVE_FUTIMENS *=/s/@HAVE_FUTIMENS@/0/
343 /^HAVE_GETDTABLESIZE *=/s/@HAVE_GETDTABLESIZE@/0/
344 /^HAVE_GETGROUPS *=/s/@HAVE_GETGROUPS@/0/
345 /^HAVE_GETHOSTNAME *=/s/@HAVE_GETHOSTNAME@/1/
346 /^HAVE_GETLOGIN *=/s/@HAVE_GETLOGIN@/1/
347 /^HAVE_GETOPT_H *=/s/@HAVE_GETOPT_H@/0/
348 /^HAVE_GETPAGESIZE *=/s/@HAVE_GETPAGESIZE@/1/
349 /^HAVE_GETSUBOPT *=/s/@HAVE_GETSUBOPT@/0/
350 /^HAVE_GRANTPT *=/s/@HAVE_GRANTPT@/0/
351 /^HAVE_GROUP_MEMBER *=/s/@HAVE_GROUP_MEMBER@/0/
352 /^HAVE_LCHOWN *=/s/@HAVE_LCHOWN@/0/
353 /^HAVE_INTTYPES_H *=/s/@HAVE_INTTYPES_H@/HAVE_INTTYPES_H/
354 /^HAVE_LCHMOD *=/s/@HAVE_LCHMOD@/0/
355 /^HAVE_LINK *=/s/@HAVE_LINK@/1/
356 /^HAVE_LINKAT *=/s/@HAVE_LINKAT@/0/
357 /^HAVE_LONG_LONG_INT *=/s/@HAVE_LONG_LONG_INT@/1/
358 /^HAVE_LSTAT *=/s/@HAVE_LSTAT@/HAVE_LSTAT/
359 /^HAVE_MAKEINFO *=/s/@HAVE_MAKEINFO@/yes/
360 /^HAVE_MKDIRAT *=/s/@HAVE_MKDIRAT@/0/
361 /^HAVE_MKDTEMP *=/s/@HAVE_MKDTEMP@/0/
362 /^HAVE_MKFIFO *=/s/@HAVE_MKFIFO@/1/
363 /^HAVE_MKFIFOAT *=/s/@HAVE_MKFIFOAT@/0/
364 /^HAVE_MKNOD *=/s/@HAVE_MKNOD@/1/
365 /^HAVE_MKNODAT *=/s/@HAVE_MKNODAT@/0/
366 /^HAVE_MKOSTEMP *=/s/@HAVE_MKOSTEMP@/0/
367 /^HAVE_MKOSTEMPS *=/s/@HAVE_MKOSTEMPS@/0/
368 /^HAVE_MKSTEMP *=/s/@HAVE_MKSTEMP@/1/
369 /^HAVE_MKSTEMPS *=/s/@HAVE_MKSTEMPS@/0/
370 /^HAVE_NANOSLEEP *=/s/@HAVE_NANOSLEEP@/0/
371 /^HAVE_OS_H *=/s/@HAVE_OS_H@/0/
372 /^HAVE_PIPE *=/s/@HAVE_PIPE@/0/
373 /^HAVE_PCLOSE *=/s/@HAVE_PCLOSE@/1/
374 /^HAVE_PIPE2 *=/s/@HAVE_PIPE2@/0/
375 /^HAVE_POPEN *=/s/@HAVE_POPEN@/1/
376 /^HAVE_POSIX_SIGNALBLOCKING *=/s/@HAVE_POSIX_SIGNALBLOCKING@/1/
377 /^HAVE_PREAD *=/s/@HAVE_PREAD@/0/
378 /^HAVE_PTSNAME *=/s/@HAVE_PTSNAME@/0/
379 /^HAVE_PTHREAD_SIGMASK *=/s/@HAVE_PTHREAD_SIGMASK@/0/
380 /^HAVE_PWRITE *=/s/@HAVE_PWRITE@/0/
381 /^HAVE_RANDOM_H *=/s/@HAVE_RANDOM_H@/1/
382 /^HAVE_RAISE *=/s/@HAVE_RAISE@/1/
383 /^HAVE_RANDOM_R *=/s/@HAVE_RANDOM_R@/0/
384 /^HAVE_READLINK *=/s/@HAVE_READLINK@/0/
385 /^HAVE_READLINKAT *=/s/@HAVE_READLINKAT@/0/
386 /^HAVE_REALPATH *=/s/@HAVE_REALPATH@/0/
387 /^HAVE_RENAMEAT *=/s/@HAVE_RENAMEAT@/0/
388 /^HAVE_RPMATCH *=/s/@HAVE_RPMATCH@/0/
389 /^HAVE_SETENV *=/s/@HAVE_SETENV@/1/
390 /^HAVE_SIGACTION *=/s/@HAVE_SIGACTION@/1/
391 /^HAVE_SIGHANDLER_T *=/s/@HAVE_SIGHANDLER_T@/0/
392 /^HAVE_SIGINFO_T *=/s/@HAVE_SIGINFO_T@/0/
393 /^HAVE_SIGNED_SIG_ATOMIC_T *=/s/@HAVE_SIGNED_SIG_ATOMIC_T@/1/
394 /^HAVE_SIGNED_WCHAR_T *=/s/@HAVE_SIGNED_WCHAR_T@/0/
395 /^HAVE_SIGNED_WINT_T *=/s/@HAVE_SIGNED_WINT_T@/1/
396 /^HAVE_SIGSET_T *=/s/@HAVE_SIGSET_T@/1/
397 /^HAVE_SLEEP *=/s/@HAVE_SLEEP@/1/
398 /^HAVE_STDINT_H *=/s/@HAVE_STDINT_H@/HAVE_STDINT_H/
399 /^HAVE_STRPTIME *=/s/@HAVE_STRPTIME@/0/
400 /^HAVE_STRTOD *=/s/@HAVE_STRTOD@/1/
401 /^HAVE_STRTOLL *=/s/@HAVE_STRTOLL@/1/
402 /^HAVE_STRTOULL *=/s/@HAVE_STRTOULL@/1/
403 /^HAVE_STRUCT_SIGACTION_SA_SIGACTION *=/s/@HAVE_STRUCT_SIGACTION_SA_SIGACTION@/0/
404 /^HAVE_STRUCT_RANDOM_DATA *=/s/@HAVE_STRUCT_RANDOM_DATA@/0/
405 /^HAVE_SYMLINK *=/s/@HAVE_SYMLINK@/1/
406 /^HAVE_SYMLINKAT *=/s/@HAVE_SYMLINKAT@/0/
407 /^HAVE_SYS_BITYPES_H *=/s/@HAVE_SYS_BITYPES_H@/0/
408 /^HAVE_SYS_INTTYPES_H *=/s/@HAVE_SYS_INTTYPES_H@/0/
409 /^HAVE_SYS_LOADAVG_H *=/s/@HAVE_SYS_LOADAVG_H@/0/
410 /^HAVE_SYS_PARAM_H *=/s/@HAVE_SYS_PARAM_H@/1/
411 /^HAVE_SYS_TYPES_H *=/s/@HAVE_SYS_TYPES_H@/1/
412 /^HAVE_TIMEGM *=/s/@HAVE_TIMEGM@/0/
413 /^HAVE_TYPE_VOLATILE_SIG_ATOMIC_T *=/s/@HAVE_TYPE_VOLATILE_SIG_ATOMIC_T@/1/
414 /^HAVE_UNISTD_H *=/s/@HAVE_UNISTD_H@/1/
415 /^HAVE_UNLINKAT *=/s/@HAVE_UNLINKAT@/0/
416 /^HAVE_UNLOCKPT *=/s/@HAVE_UNLOCKPT@/0/
417 /^HAVE_UNSIGNED_LONG_LONG_INT *=/s/@HAVE_UNSIGNED_LONG_LONG_INT@/1/
418 /^HAVE_USLEEP *=/s/@HAVE_USLEEP@/1/
419 /^HAVE_UTIMENSAT *=/s/@HAVE_UTIMENSAT@/0/
420 /^HAVE_VASPRINTF *=/s/@HAVE_VASPRINTF@/0/
421 /^HAVE_VDPRINTF *=/s/@HAVE_VDPRINTF@/0/
422 /^HAVE_WCHAR_H *=/s/@HAVE_WCHAR_H@/1/
423 /^HAVE_WCHAR_T *=/s/@HAVE_WCHAR_T@/1/
424 /^HAVE_XSERVER *=/s/@HAVE_XSERVER@/0/
425 /^HAVE__BOOL *=/s/@HAVE__BOOL@/1/
426 /^HAVE__EXIT *=/s/@HAVE__EXIT@/1/
427 /^INCLUDE_NEXT *=/s/@INCLUDE_NEXT@/include_next/
428 /^INCLUDE_NEXT_AS_FIRST_DIRECTIVE *=/s/@[^@\n]*@/include_next/
429 /^LDFLAGS *=/s/@[^@\n]*@//
430 /^LD_FIRSTFLAG *=/s/@[^@\n]*@//
431 /^LIB_PTHREAD *=/s/@[^@\n]*@//
432 /^LIB_PTHREAD_SIGMASK *=/s/@[^@\n]*@//
433 /^LIBS *=/s/@[^@\n]*@//
434 /^MAKEINFO *=/s/@MAKEINFO@/makeinfo/
435 # MKDIR_P lines are edited further below
436 /^MKDIR_P *=/s/@MKDIR_P@//
437 /^NEXT_AS_FIRST_DIRECTIVE_GETOPT_H *=/s/@[^@\n]*@/<getopt.h>/
438 /^NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H *=/s/@[^@\n]*@/<signal.h>/
439 /^NEXT_AS_FIRST_DIRECTIVE_STDARG_H *=/s/@[^@\n]*@//
440 /^NEXT_AS_FIRST_DIRECTIVE_STDDEF_H *=/s/@[^@\n]*@//
441 /^NEXT_AS_FIRST_DIRECTIVE_STDINT_H *=/s/@[^@\n]*@/<stdint.h>/
442 /^NEXT_AS_FIRST_DIRECTIVE_STDIO_H *=/s/@[^@\n]*@/<stdio.h>/
443 /^NEXT_AS_FIRST_DIRECTIVE_STDLIB_H *=/s/@[^@\n]*@/<stdlib.h>/
444 /^NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H *=/s!@[^@\n]*@!<sys/stat.h>!
445 /^NEXT_AS_FIRST_DIRECTIVE_TIME_H *=/s/@[^@\n]*@/<time.h>/
446 /^NEXT_AS_FIRST_DIRECTIVE_UNISTD_H *=/s/@[^@\n]*@/<unistd.h>/
447 /^NEXT_GETOPT_H *=/s/@[^@\n]*@/<getopt.h>/
448 /^NEXT_STDARG_H *=/s/@[^@\n]*@//
449 /^NEXT_SIGNAL_H *=/s/@[^@\n]*@/<signal.h>/
450 /^NEXT_STDDEF_H *=/s/@[^@\n]*@//
451 /^NEXT_STDIO_H *=/s/@[^@\n]*@/<stdio.h>/
452 /^NEXT_STDINT_H *=/s/@[^@\n]*@/<stdint.h>/
453 /^NEXT_STDLIB_H *=/s/@[^@\n]*@/<stdlib.h>/
454 /^NEXT_SYS_STAT_H *=/s!@[^@\n]*@!<sys/stat.h>!
455 /^NEXT_TIME_H *=/s/@[^@\n]*@/<time.h>/
456 /^NEXT_UNISTD_H *=/s/@[^@\n]*@/<unistd.h>/
457 /^OBJEXT *=/s/@[^@\n]*@/o/
458 /^PRAGMA_COLUMNS *=/s/@[^@\n]*@//
459 /^PRAGMA_SYSTEM_HEADER *=/s/@[^@\n]*@/\\\#pragma GCC system_header/
460 /^PTHREAD_H_DEFINES_STRUCT_TIMESPEC *=/s/@[^@\n]*@/0/
461 /^PTRDIFF_T_SUFFIX *=/s/@[^@\n]*@//
462 /^RANLIB *=/s/@[^@\n]*@/ranlib/
463 /^REPLACE_CALLOC *=/s/@REPLACE_CALLOC@/0/
464 /^REPLACE_CANONICALIZE_FILE_NAME *=/s/@REPLACE_CANONICALIZE_FILE_NAME@/0/
465 /^REPLACE_CHOWN *=/s/@REPLACE_CHOWN@/0/
466 /^REPLACE_CLOSE *=/s/@REPLACE_CLOSE@/0/
467 /^REPLACE_DPRINTF *=/s/@REPLACE_DPRINTF@/0/
468 /^REPLACE_DUP *=/s/@REPLACE_DUP@/0/
469 /^REPLACE_DUP2 *=/s/@REPLACE_DUP2@/0/
470 /^REPLACE_FCHOWNAT *=/s/@REPLACE_FCHOWNAT@/0/
471 /^REPLACE_FCLOSE *=/s/@REPLACE_FCLOSE@/0/
472 /^REPLACE_FDOPEN *=/s/@REPLACE_FDOPEN@/0/
473 /^REPLACE_FFLUSH *=/s/@REPLACE_FFLUSH@/0/
474 /^REPLACE_FOPEN *=/s/@REPLACE_FOPEN@/0/
475 /^REPLACE_FPRINTF *=/s/@REPLACE_FPRINTF@/0/
476 /^REPLACE_FPURGE *=/s/@REPLACE_FPURGE@/0/
477 /^REPLACE_FREOPEN *=/s/@REPLACE_FREOPEN@/0/
478 /^REPLACE_FSEEK *=/s/@REPLACE_FSEEK@/0/
479 /^REPLACE_FSEEKO *=/s/@REPLACE_FSEEKO@/0/
480 /^REPLACE_FSTAT *=/s/@REPLACE_FSTAT@/0/
481 /^REPLACE_FSTATAT *=/s/@REPLACE_FSTATAT@/0/
482 /^REPLACE_FTELL *=/s/@REPLACE_FTELL@/0/
483 /^REPLACE_FTELLO *=/s/@REPLACE_FTELLO@/0/
484 /^REPLACE_GETCWD *=/s/@REPLACE_GETCWD@/0/
485 /^REPLACE_GETDELIM *=/s/@REPLACE_GETDELIM@/0/
486 /^REPLACE_GETDOMAINNAME *=/s/@REPLACE_GETDOMAINNAME@/0/
487 /^REPLACE_GETGROUPS *=/s/@REPLACE_GETGROUPS@/0/
488 /^REPLACE_GETLINE *=/s/@REPLACE_GETLINE@/0/
489 /^REPLACE_GETLOGIN_R *=/s/@REPLACE_GETLOGIN_R@/0/
490 /^REPLACE_GETPAGESIZE *=/s/@REPLACE_GETPAGESIZE@/0/
491 /^REPLACE_LCHOWN *=/s/@REPLACE_LCHOWN@/0/
492 /^REPLACE_LINK *=/s/@REPLACE_LINK@/0/
493 /^REPLACE_LINKAT *=/s/@REPLACE_LINKAT@/0/
494 /^REPLACE_LOCALTIME_R *=/s/@REPLACE_LOCALTIME_R@/0/
495 /^REPLACE_LSEEK *=/s/@REPLACE_LSEEK@/0/
496 /^REPLACE_LSTAT *=/s/@REPLACE_LSTAT@/0/
497 /^REPLACE_MALLOC *=/s/@REPLACE_MALLOC@/0/
498 /^REPLACE_MBTOWC *=/s/@REPLACE_MBTOWC@/0/
499 /^REPLACE_MKDIR *=/s/@REPLACE_MKDIR@/0/
500 /^REPLACE_MKFIFO *=/s/@REPLACE_MKFIFO@/0/
501 /^REPLACE_MKNOD *=/s/@REPLACE_MKNOD@/0/
502 /^REPLACE_MKSTEMP *=/s/@REPLACE_MKSTEMP@/0/
503 /^REPLACE_MKTIME *=/s/@REPLACE_MKTIME@/0/
504 /^REPLACE_NANOSLEEP *=/s/@REPLACE_NANOSLEEP@/0/
505 /^REPLACE_NULL *=/s/@REPLACE_NULL@/0/
506 /^REPLACE_OBSTACK_PRINTF *=/s/@REPLACE_OBSTACK_PRINTF@/0/
507 /^REPLACE_PERROR *=/s/@REPLACE_PERROR@/0/
508 /^REPLACE_POPEN *=/s/@REPLACE_POPEN@/0/
509 /^REPLACE_PREAD *=/s/@REPLACE_PREAD@/0/
510 /^REPLACE_PRINTF *=/s/@REPLACE_PRINTF@/0/
511 /^REPLACE_PTHREAD_SIGMASK *=/s/@REPLACE_PTHREAD_SIGMASK@/0/
512 /^REPLACE_PUTENV *=/s/@REPLACE_PUTENV@/0/
513 /^REPLACE_PWRITE *=/s/@REPLACE_PWRITE@/0/
514 /^REPLACE_READ *=/s/@REPLACE_READ@/0/
515 /^REPLACE_RAISE *=/s/@REPLACE_RAISE@/0/
516 /^REPLACE_READLINK *=/s/@REPLACE_READLINK@/0/
517 /^REPLACE_REALLOC *=/s/@REPLACE_REALLOC@/0/
518 /^REPLACE_REALPATH *=/s/@REPLACE_REALPATH@/0/
519 /^REPLACE_REMOVE *=/s/@REPLACE_REMOVE@/0/
520 /^REPLACE_RENAME *=/s/@REPLACE_RENAME@/0/
521 /^REPLACE_RENAMEAT *=/s/@REPLACE_RENAMEAT@/0/
522 /^REPLACE_RMDIR *=/s/@REPLACE_RMDIR@/0/
523 /^REPLACE_SETENV *=/s/@REPLACE_SETENV@/0/
524 /^REPLACE_SLEEP *=/s/@REPLACE_SLEEP@/0/
525 /^REPLACE_SNPRINTF *=/s/@REPLACE_SNPRINTF@/0/
526 /^REPLACE_SPRINTF *=/s/@REPLACE_SPRINTF@/0/
527 /^REPLACE_STAT *=/s/@REPLACE_STAT@/0/
528 /^REPLACE_STDIO_READ_FUNCS *=/s/@REPLACE_STDIO_READ_FUNCS@/0/
529 /^REPLACE_STDIO_WRITE_FUNCS *=/s/@REPLACE_STDIO_WRITE_FUNCS@/0/
530 /^REPLACE_STRTOD *=/s/@REPLACE_STRTOD@/0/
531 /^REPLACE_SYMLINK *=/s/@REPLACE_SYMLINK@/0/
532 /^REPLACE_TIMEGM *=/s/@REPLACE_TIMEGM@/0/
533 /^REPLACE_TMPFILE *=/s/@REPLACE_TMPFILE@/0/
534 /^REPLACE_TTYNAME_R *=/s/@REPLACE_TTYNAME_R@/0/
535 /^REPLACE_UNLINK *=/s/@REPLACE_UNLINK@/0/
536 /^REPLACE_UNLINKAT *=/s/@REPLACE_UNLINKAT@/0/
537 /^REPLACE_UNSETENV *=/s/@REPLACE_UNSETENV@/0/
538 /^REPLACE_USLEEP *=/s/@REPLACE_USLEEP@/0/
539 /^REPLACE_UTIMENSAT *=/s/@REPLACE_UTIMENSAT@/0/
540 /^REPLACE_VASPRINTF *=/s/@REPLACE_VASPRINTF@/0/
541 /^REPLACE_VDPRINTF *=/s/@REPLACE_VDPRINTF@/0/
542 /^REPLACE_VFPRINTF *=/s/@REPLACE_VFPRINTF@/0/
543 /^REPLACE_VPRINTF *=/s/@REPLACE_VPRINTF@/0/
544 /^REPLACE_VSNPRINTF *=/s/@REPLACE_VSNPRINTF@/0/
545 /^REPLACE_VSPRINTF *=/s/@REPLACE_VSPRINTF@/0/
546 /^REPLACE_WCTOMB *=/s/@REPLACE_WCTOMB@/0/
547 /^REPLACE_WRITE *=/s/@REPLACE_WRITE@/0/
548 /^SIG_ATOMIC_T_SUFFIX *=/s/@SIG_ATOMIC_T_SUFFIX@//
549 /^SIZE_T_SUFFIX *=/s/@SIZE_T_SUFFIX@/u/
550 /^ALLOCA_H *=/s/@[^@\n]*@/alloca.h/
551 /^STDBOOL_H *=/s/@[^@\n]*@//
552 /^STDARG_H *=/s/@[^@\n]*@//
553 /^STDDEF_H *=/s/@[^@\n]*@//
554 /^STDINT_H *=/s/@[^@\n]*@/stdint.h/
555 /^SYS_TIME_H_DEFINES_STRUCT_TIMESPEC *=/s/@[^@\n]*@/0/
556 /^TIME_H_DEFINES_STRUCT_TIMESPEC *=/s/@[^@\n]*@/0/
557 /^UNISTD_H_HAVE_WINSOCK2_H *=/s/@[^@\n]*@/0/
558 /^UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS *=/s/@[^@\n]*@/0/
559 /^WCHAR_T_SUFFIX *=/s/@WCHAR_T_SUFFIX@/h/
560 /^WINT_T_SUFFIX *=/s/@WINT_T_SUFFIX@//
561 /am__append_1 *=.*gettext\.h/s/@[^@\n]*@/\#/
562 /am__append_2 *=.*verify\.h/s/@[^@\n]*@//
563 /^gl_LIBOBJS *=/s/@[^@\n]*@/getopt.o getopt1.o strftime.o time_r.o getloadavg.o pthread_sigmask.o/
564 /^BUILT_SOURCES *=/s/ *inttypes\.h//
565 /^am_libgnu_a_OBJECTS *=/s/careadlinkat\.\$(OBJEXT)//
566 /^am_libgnu_a_OBJECTS *=/s/allocator\.\$(OBJEXT)//
567 /^srcdir *=/s/@[^@\n]*@/./
568 /^top_srcdir *=/s/@[^@\n]*@/../
569 /^top_builddir *=/s/@[^@\n]*@/../
570 s/@PRAGMA_SYSTEM_HEADER@/\#pragma GCC system_header/
573 # Delete the recipes we don't want to get in our way.
574 /^\$(srcdir)\/Makefile\.in:/,/^[ ][ ]*\$(AUTOMAKE)/d
575 /^Makefile:/,/^[ ][ ]*esac/d
576 /^\$(top_srcdir)\/configure:/,/^\$(ACLOCAL_M4)/d
577 /^\$(top_builddir)\/config.status:/,/^$/d
579 # Remove the dependencies on $(top_builddir)/config.status
580 s/ $(top_builddir)\/config.status//
582 # Fix the include-dependency lines
585 s/@am__include@/include/
587 s/^@am__fastdepCC_TRUE@//
588 s/^@am__fastdepCC_FALSE@/\#/
590 # Fix the *-clean rules, to not use a Unixy `test' command. Empty
591 # lists are replaced with a dummy file, to avoid an error message from
592 # "rm -f" with no arguments.
593 /^CONFIG_CLEAN_FILES *= *$/c\
594 CONFIG_CLEAN_FILES = xyzzy
595 /^CONFIG_CLEAN_VPATH_FILES *= *$/c\
596 CONFIG_CLEAN_VPATH_FILES = xyzzy
597 s/^ -*test -z.*|| rm/ -rm/
600 # Fix the recipes for header files
601 s/^@GL_GENERATE_ALLOCA_H_TRUE@//
602 s/^@GL_GENERATE_ALLOCA_H_FALSE@/\#/
603 s/^@GL_GENERATE_STDBOOL_H_TRUE@/\#/
604 s/^@GL_GENERATE_STDBOOL_H_FALSE@//
605 s/^@GL_GENERATE_STDARG_H_TRUE@/\#/
606 s/^@GL_GENERATE_STDARG_H_FALSE@/\#/
607 s/^@GL_GENERATE_STDDEF_H_TRUE@/\#/
608 s/^@GL_GENERATE_STDDEF_H_FALSE@/\#/
609 s/^@GL_GENERATE_STDINT_H_TRUE@//
610 s/^@GL_GENERATE_STDINT_H_FALSE@/\#/
611 /^arg-nonnull\.h:/,/^[ ][ ]*mv /c\
612 arg-nonnull.h: $(top_srcdir)/build-aux/snippet/arg-nonnull.h\
613 sed -n -e '/GL_ARG_NONNULL/,$$p' < $(top_srcdir)/build-aux/snippet/arg-nonnull.h > $@
614 /^cxxdefs\.h:/,/^[ ][ ]*mv /c\
615 cxxdefs.h: $(top_srcdir)/build-aux/snippet/cxxdefs.h\
616 sed -n -e '/_GL_CXXDEFS/,$$p' < $(top_srcdir)/build-aux/snippet/cxxdefs.h > $@
617 /^warn-on-use\.h:/,/^[ ][ ]*mv /c\
618 warn-on-use.h: $(top_srcdir)/build-aux/snippet/warn-on-use.h\
619 sed -n -e '/^.ifndef/,$$p' < $(top_srcdir)/build-aux/snippet/warn-on-use.h > $@
620 s/^ [ ]*{ echo \(.*\); \\/ djecho \1 > $@-t/
621 s/^ [ ]*{ echo \(.*\) && \\/ djecho \1 > $@-t/
623 s/\.in-h\; *\\$/.in-h >> $@-t/
625 /^stdio\.h:/,/^ [ ]*mv /{
626 s/'\; \\ *$/' >> $@-t/
628 /^stdlib\.h:/,/^ [ ]*mv /{
629 s/'\; \\ *$/' >> $@-t/
631 /^unistd\.h:/,/^ [ ]*mv /{
632 s/'\; \\ *$/' >> $@-t/
634 s!\$(MKDIR_P)[ ][ ]*sys!command.com /c "if not exist sys\\stat.h md sys"!