sedlibmk.inp 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633
  1. # -sedlibmk.inp-----------------------------------------------------------
  2. # Configuration script for lib/Makefile under DJGPP v2.x
  3. # ----------------------------------------------------------------------
  4. #
  5. # Copyright (C) 2011-2012 Free Software Foundation, Inc.
  6. #
  7. # This file is part of GNU Emacs.
  8. #
  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.
  12. #
  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.
  16. #
  17. # ----------------------------------------------------------------------
  18. #
  19. # Checklist to add a new gnulib module:
  20. #
  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.
  24. #
  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:
  28. #
  29. # /^REPLACE_CALLOC *=/s/@REPLACE_CALLOC@/0/
  30. #
  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.
  33. # Examples:
  34. #
  35. # /^STDINT_H *=/s/@[^@\n]*@/stdint.h/ -- stdint.h is needed
  36. # /^STDDEF_H *=/s/@[^@\n]*@// -- stddef.h is not needed
  37. #
  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:
  44. #
  45. # s/^@GL_GENERATE_STDBOOL_H_TRUE@/\#/
  46. # s/^@GL_GENERATE_STDBOOL_H_FALSE@//
  47. #
  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.
  51. # Examples:
  52. #
  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]*@//
  57. #
  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.
  62. #
  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
  71. # otherwise.
  72. #
  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:
  77. #
  78. # -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
  79. # } > $@-t && \
  80. # mv $@-t $@
  81. #
  82. # as opposed to this:
  83. #
  84. # -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
  85. # < $(srcdir)/sys_stat.in.h; \
  86. # } > $@-t && \
  87. # mv $@-t $@
  88. #
  89. # For those recipes that do _not_ have redirection at the end of
  90. # the command, add a block of Sed commands like this:
  91. #
  92. # /^stdio\.h:/,/^ [ ]*mv /{
  93. # s/'\; \\ *$/' >> $@-t/
  94. # }
  95. #
  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
  99. # majority of cases):
  100. #
  101. # { printf "/^%s *=/s/%s/0/\n",$1,$3}
  102. #
  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]*@/./
  108. s/@PACKAGE@/emacs/
  109. /^am__cd *=/c\
  110. am__cd = cd
  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. /^C_SWITCH_X_SYSTEM *=/s/@C_SWITCH_X_SYSTEM@//
  128. /^C_SWITCH_X_SITE *=/s/@C_SWITCH_X_SITE@//
  129. /^C_WARNINGS_SWITCH *=/s/@C_WARNINGS_SWITCH@//
  130. /^DEFS *=/s/@[^@\n]*@/-DHAVE_CONFIG_H/
  131. /^DEPDIR *=/s/@[^@\n]*@/deps/
  132. /^DEPFLAGS *=/s/@[^@\n]*@/-MMD -MF ${DEPDIR}\/$*.d/
  133. /^ECHO_N *=/s/@[^@\n]*@/-n/
  134. /^EXEEXT *=/s/@[^@\n]*@/.exe/
  135. /^GETOPT_H *=/s/@[^@\n]*@/getopt.h/
  136. #
  137. # Gnulib stuff
  138. /^BITSIZEOF_PTRDIFF_T *=/s/@BITSIZEOF_PTRDIFF_T@/32/
  139. /^BITSIZEOF_SIG_ATOMIC_T *=/s/@BITSIZEOF_SIG_ATOMIC_T@/32/
  140. /^BITSIZEOF_SIZE_T *=/s/@BITSIZEOF_SIZE_T@/32/
  141. /^BITSIZEOF_WCHAR_T *=/s/@BITSIZEOF_WCHAR_T@/16/
  142. /^BITSIZEOF_WINT_T *=/s/@BITSIZEOF_WINT_T@/32/
  143. /^APPLE_UNIVERSAL_BUILD *=/s/@APPLE_UNIVERSAL_BUILD@/0/
  144. #
  145. # Some GNULIB_* are replaced with zero even though DJGPP does not have
  146. # these features. That's because the gnulib replacements cannot
  147. # possibly work for DJGPP, so we prefer to fail the link than have a
  148. # subtly botched executable.
  149. /^GNULIB_ATOLL *=/s/@GNULIB_ATOLL@/1/
  150. /^GNULIB_CALLOC_POSIX *=/s/@GNULIB_CALLOC_POSIX@/0/
  151. /^GNULIB_CANONICALIZE_FILE_NAME *=/s/@GNULIB_CANONICALIZE_FILE_NAME@/0/
  152. /^GNULIB_CHDIR *=/s/@GNULIB_CHDIR@/0/
  153. /^GNULIB_CHOWN *=/s/@GNULIB_CHOWN@/0/
  154. /^GNULIB_CLOSE *=/s/@GNULIB_CLOSE@/0/
  155. /^GNULIB_DPRINTF *=/s/@GNULIB_DPRINTF@/0/
  156. /^GNULIB_DUP *=/s/@GNULIB_DUP@/0/
  157. /^GNULIB_DUP2 *=/s/@GNULIB_DUP2@/0/
  158. /^GNULIB_DUP3 *=/s/@GNULIB_DUP3@/1/
  159. /^GNULIB_ENVIRON *=/s/@GNULIB_ENVIRON@/0/
  160. /^GNULIB_EUIDACCESS *=/s/@GNULIB_EUIDACCESS@/0/
  161. /^GNULIB_FACCESSAT *=/s/@GNULIB_FACCESSAT@/0/
  162. /^GNULIB_FCHDIR *=/s/@GNULIB_FCHDIR@/0/
  163. /^GNULIB_FCHOWNAT *=/s/@GNULIB_FCHOWNAT@/0/
  164. /^GNULIB_FCHMODAT *=/s/@GNULIB_FCHMODAT@/0/
  165. /^GNULIB_FCLOSE *=/s/@GNULIB_FCLOSE@/0/
  166. /^GNULIB_FDATASYNC *=/s/@GNULIB_FDATASYNC@/0/
  167. /^GNULIB_FDOPEN *=/s/@GNULIB_FDOPEN@/0/
  168. /^GNULIB_FFLUSH *=/s/@GNULIB_FFLUSH@/0/
  169. /^GNULIB_FGETC *=/s/@GNULIB_FGETC@/0/
  170. /^GNULIB_FGETS *=/s/@GNULIB_FGETS@/0/
  171. /^GNULIB_FOPEN *=/s/@GNULIB_FOPEN@/0/
  172. /^GNULIB_FPRINTF *=/s/@GNULIB_FPRINTF@/0/
  173. /^GNULIB_FPRINTF_POSIX *=/s/@GNULIB_FPRINTF_POSIX@/0/
  174. /^GNULIB_FPURGE *=/s/@GNULIB_FPURGE@/0/
  175. /^GNULIB_FPUTC *=/s/@GNULIB_FPUTC@/0/
  176. /^GNULIB_FPUTS *=/s/@GNULIB_FPUTS@/0/
  177. /^GNULIB_FREAD *=/s/@GNULIB_FREAD@/0/
  178. /^GNULIB_FREOPEN *=/s/@GNULIB_FREOPEN@/0/
  179. /^GNULIB_FSCANF *=/s/@GNULIB_FSCANF@/0/
  180. /^GNULIB_FSEEK *=/s/@GNULIB_FSEEK@/0/
  181. /^GNULIB_FSEEKO *=/s/@GNULIB_FSEEKO@/0/
  182. /^GNULIB_FSTAT *=/s/@GNULIB_FSTAT@/0/
  183. /^GNULIB_FSTATAT *=/s/@GNULIB_FSTATAT@/0/
  184. /^GNULIB_FSYNC *=/s/@GNULIB_FSYNC@/0/
  185. /^GNULIB_FTELL *=/s/@GNULIB_FTELL@/0/
  186. /^GNULIB_FTELLO *=/s/@GNULIB_FTELLO@/0/
  187. /^GNULIB_FTRUNCATE *=/s/@GNULIB_FTRUNCATE@/0/
  188. /^GNULIB_FUTIMENS *=/s/@GNULIB_FUTIMENS@/0/
  189. /^GNULIB_FWRITE *=/s/@GNULIB_FWRITE@/0/
  190. /^GNULIB_GETC *=/s/@GNULIB_GETC@/0/
  191. /^GNULIB_GETCHAR *=/s/@GNULIB_GETCHAR@/0/
  192. /^GNULIB_GETCWD *=/s/@GNULIB_GETCWD@/0/
  193. /^GNULIB_GETDELIM *=/s/@GNULIB_GETDELIM@/0/
  194. /^GNULIB_GETDOMAINNAME *=/s/@GNULIB_GETDOMAINNAME@/0/
  195. /^GNULIB_GETDTABLESIZE *=/s/@GNULIB_GETDTABLESIZE@/0/
  196. /^GNULIB_GETGROUPS *=/s/@GNULIB_GETGROUPS@/0/
  197. /^GNULIB_GETHOSTNAME *=/s/@GNULIB_GETHOSTNAME@/0/
  198. /^GNULIB_GETLINE *=/s/@GNULIB_GETLINE@/0/
  199. /^GNULIB_GETLOADAVG *=/s/@GNULIB_GETLOADAVG@/1/
  200. /^GNULIB_GETLOGIN *=/s/@GNULIB_GETLOGIN@/0/
  201. /^GNULIB_GETLOGIN_R *=/s/@GNULIB_GETLOGIN_R@/0/
  202. /^GNULIB_GETPAGESIZE *=/s/@GNULIB_GETPAGESIZE@/0/
  203. /^GNULIB_GETS *=/s/@GNULIB_GETS@/0/
  204. /^GNULIB_GETSUBOPT *=/s/@GNULIB_GETSUBOPT@/0/
  205. /^GNULIB_GETUSERSHELL *=/s/@GNULIB_GETUSERSHELL@/0/
  206. /^GNULIB_GRANTPT *=/s/@GNULIB_GRANTPT@/0/
  207. /^GNULIB_GROUP_MEMBER *=/s/@GNULIB_GROUP_MEMBER@/0/
  208. /^GNULIB_LCHMOD *=/s/@GNULIB_LCHMOD@/0/
  209. /^GNULIB_LCHOWN *=/s/@GNULIB_LCHOWN@/0/
  210. /^GNULIB_LINK *=/s/@GNULIB_LINK@/0/
  211. /^GNULIB_LINKAT *=/s/@GNULIB_LINKAT@/0/
  212. /^GNULIB_LSEEK *=/s/@GNULIB_LSEEK@/0/
  213. /^GNULIB_LSTAT *=/s/@GNULIB_LSTAT@/0/
  214. /^GNULIB_MALLOC_POSIX *=/s/@GNULIB_MALLOC_POSIX@/0/
  215. /^GNULIB_MBTOWC *=/s/@GNULIB_MBTOWC@/0/
  216. /^GNULIB_MKDIRAT *=/s/@GNULIB_MKDIRAT@/0/
  217. /^GNULIB_MKDTEMP *=/s/@GNULIB_MKDTEMP@/0/
  218. /^GNULIB_MKFIFO *=/s/@GNULIB_MKFIFO@/0/
  219. /^GNULIB_MKFIFOAT *=/s/@GNULIB_MKFIFOAT@/0/
  220. /^GNULIB_MKNOD *=/s/@GNULIB_MKNOD@/0/
  221. /^GNULIB_MKNODAT *=/s/@GNULIB_MKNODAT@/0/
  222. /^GNULIB_MKOSTEMP *=/s/@GNULIB_MKOSTEMP@/0/
  223. /^GNULIB_MKOSTEMPS *=/s/@GNULIB_MKOSTEMPS@/0/
  224. /^GNULIB_MKSTEMP *=/s/@GNULIB_MKSTEMP@/0/
  225. /^GNULIB_MKSTEMPS *=/s/@GNULIB_MKSTEMPS@/0/
  226. /^GNULIB_MKTIME *=/s/@GNULIB_MKTIME@/0/
  227. /^GNULIB_NANOSLEEP *=/s/@GNULIB_NANOSLEEP@/0/
  228. /^GNULIB_OBSTACK_PRINTF *=/s/@GNULIB_OBSTACK_PRINTF@/0/
  229. /^GNULIB_OBSTACK_PRINTF_POSIX *=/s/@GNULIB_OBSTACK_PRINTF_POSIX@/0/
  230. /^GNULIB_PCLOSE *=/s/@GNULIB_PCLOSE@/0/
  231. /^GNULIB_PERROR *=/s/@GNULIB_PERROR@/0/
  232. /^GNULIB_PIPE *=/s/@GNULIB_PIPE@/0/
  233. /^GNULIB_PIPE2 *=/s/@GNULIB_PIPE2@/0/
  234. /^GNULIB_POPEN *=/s/@GNULIB_POPEN@/0/
  235. /^GNULIB_PREAD *=/s/@GNULIB_PREAD@/0/
  236. /^GNULIB_PRINTF *=/s/@GNULIB_PRINTF@/0/
  237. /^GNULIB_PRINTF_POSIX *=/s/@GNULIB_PRINTF_POSIX@/0/
  238. /^GNULIB_PTHREAD_SIGMASK *=/s/@GNULIB_PTHREAD_SIGMASK@/0/
  239. /^GNULIB_PTSNAME *=/s/@GNULIB_PTSNAME@/0/
  240. /^GNULIB_PUTC *=/s/@GNULIB_PUTC@/0/
  241. /^GNULIB_PUTCHAR *=/s/@GNULIB_PUTCHAR@/0/
  242. /^GNULIB_PUTENV *=/s/@GNULIB_PUTENV@/0/
  243. /^GNULIB_PUTS *=/s/@GNULIB_PUTS@/0/
  244. /^GNULIB_PWRITE *=/s/@GNULIB_PWRITE@/0/
  245. /^GNULIB_RAISE *=/s/@GNULIB_RAISE@/0/
  246. /^GNULIB_RANDOM_R *=/s/@GNULIB_RANDOM_R@/0/
  247. /^GNULIB_READ *=/s/@GNULIB_READ@/0/
  248. /^GNULIB_READLINK *=/s/@GNULIB_READLINK@/0/
  249. /^GNULIB_READLINKAT *=/s/@GNULIB_READLINKAT@/0/
  250. /^GNULIB_REALLOC_POSIX *=/s/@GNULIB_REALLOC_POSIX@/0/
  251. /^GNULIB_REALPATH *=/s/@GNULIB_REALPATH@/0/
  252. /^GNULIB_REMOVE *=/s/@GNULIB_REMOVE@/0/
  253. /^GNULIB_RENAME *=/s/@GNULIB_RENAME@/0/
  254. /^GNULIB_RENAMEAT *=/s/@GNULIB_RENAMEAT@/0/
  255. /^GNULIB_RMDIR *=/s/@GNULIB_RMDIR@/0/
  256. /^GNULIB_RPMATCH *=/s/@GNULIB_RPMATCH@/0/
  257. /^GNULIB_SCANF *=/s/@GNULIB_SCANF@/0/
  258. /^GNULIB_SETENV *=/s/@GNULIB_SETENV@/0/
  259. /^GNULIB_SIGACTION *=/s/@GNULIB_SIGACTION@/0/
  260. /^GNULIB_SIGNAL_H_SIGPIPE *=/s/@GNULIB_SIGNAL_H_SIGPIPE@/0/
  261. /^GNULIB_SIGPROCMASK *=/s/@GNULIB_SIGPROCMASK@/0/
  262. /^GNULIB_SLEEP *=/s/@GNULIB_SLEEP@/0/
  263. /^GNULIB_SNPRINTF *=/s/@GNULIB_SNPRINTF@/0/
  264. /^GNULIB_SPRINTF_POSIX *=/s/@GNULIB_SPRINTF_POSIX@/0/
  265. /^GNULIB_STAT *=/s/@GNULIB_STAT@/0/
  266. /^GNULIB_STDIO_H_NONBLOCKING *=/s/@GNULIB_STDIO_H_NONBLOCKING@/0/
  267. /^GNULIB_STDIO_H_SIGPIPE *=/s/@GNULIB_STDIO_H_SIGPIPE@/0/
  268. /^GNULIB_STRPTIME *=/s/@GNULIB_STRPTIME@/0/
  269. /^GNULIB_STRTOD *=/s/@GNULIB_STRTOD@/0/
  270. /^GNULIB_STRTOLL *=/s/@GNULIB_STRTOLL@/0/
  271. /^GNULIB_STRTOULL *=/s/@GNULIB_STRTOULL@/0/
  272. /^GNULIB_SYMLINK *=/s/@GNULIB_SYMLINK@/0/
  273. /^GNULIB_SYMLINKAT *=/s/@GNULIB_SYMLINKAT@/0/
  274. /^GNULIB_SYSTEM_POSIX *=/s/@GNULIB_SYSTEM_POSIX@/0/
  275. /^GNULIB_TIMEGM *=/s/@GNULIB_TIMEGM@/0/
  276. /^GNULIB_TIME_R *=/s/@GNULIB_TIME_R@/1/
  277. /^GNULIB_TMPFILE *=/s/@GNULIB_TMPFILE@/0/
  278. /^GNULIB_TTYNAME_R *=/s/@GNULIB_TTYNAME_R@/0/
  279. /^GNULIB_UNISTD_H_GETOPT *=/s/@GNULIB_UNISTD_H_GETOPT@/1/
  280. /^GNULIB_UNISTD_H_NONBLOCKING *=/s/@GNULIB_UNISTD_H_NONBLOCKING@/0/
  281. /^GNULIB_UNISTD_H_SIGPIPE *=/s/@GNULIB_UNISTD_H_SIGPIPE@/0/
  282. /^GNULIB_UNLINK *=/s/@GNULIB_UNLINK@/0/
  283. /^GNULIB_UNLINKAT *=/s/@GNULIB_UNLINKAT@/0/
  284. /^GNULIB_UNLOCKPT *=/s/@GNULIB_UNLOCKPT@/0/
  285. /^GNULIB_UNSETENV *=/s/@GNULIB_UNSETENV@/1/
  286. /^GNULIB_USLEEP *=/s/@GNULIB_USLEEP@/0/
  287. /^GNULIB_UTIMENSAT *=/s/@GNULIB_UTIMENSAT@/0/
  288. /^GNULIB_VASPRINTF *=/s/@GNULIB_VASPRINTF@/0/
  289. /^GNULIB_VDPRINTF *=/s/@GNULIB_VDPRINTF@/0/
  290. /^GNULIB_VFPRINTF *=/s/@GNULIB_VFPRINTF@/0/
  291. /^GNULIB_VFPRINTF_POSIX *=/s/@GNULIB_VFPRINTF_POSIX@/0/
  292. /^GNULIB_VFSCANF *=/s/@GNULIB_VFSCANF@/0/
  293. /^GNULIB_VPRINTF *=/s/@GNULIB_VPRINTF@/0/
  294. /^GNULIB_VPRINTF_POSIX *=/s/@GNULIB_VPRINTF_POSIX@/0/
  295. /^GNULIB_VSCANF *=/s/@GNULIB_VSCANF@/0/
  296. /^GNULIB_VSNPRINTF *=/s/@GNULIB_VSNPRINTF@/0/
  297. /^GNULIB_VSPRINTF_POSIX *=/s/@GNULIB_VSPRINTF_POSIX@/0/
  298. /^GNULIB_WCTOMB *=/s/@GNULIB_WCTOMB@/0/
  299. /^GNULIB_WRITE *=/s/@GNULIB_WRITE@/0/
  300. /^GNULIB__EXIT *=/s/@GNULIB__EXIT@/0/
  301. /^GSETTINGS_CFLAGS *=/s/@[^@\n]*@//
  302. /^GSETTINGS_LIBS *=/s/@[^@\n]*@//
  303. /^HAVE_ATOLL *=/s/@HAVE_ATOLL@/0/
  304. /^HAVE_CANONICALIZE_FILE_NAME *=/s/@HAVE_CANONICALIZE_FILE_NAME@/0/
  305. /^HAVE_CHOWN *=/s/@HAVE_CHOWN@/1/
  306. /^HAVE_DECL_ENVIRON *=/s/@HAVE_DECL_ENVIRON@/1/
  307. /^HAVE_DECL_FCHDIR *=/s/@HAVE_DECL_FCHDIR@/0/
  308. /^HAVE_DECL_FDATASYNC *=/s/@HAVE_DECL_FDATASYNC@/0/
  309. /^HAVE_DECL_FPURGE *=/s/@HAVE_DECL_FPURGE@//
  310. /^HAVE_DECL_FSEEKO *=/s/@HAVE_DECL_FSEEKO@/0/
  311. /^HAVE_DECL_FTELLO *=/s/@HAVE_DECL_FTELLO@/0/
  312. /^HAVE_DECL_GETDELIM *=/s/@HAVE_DECL_GETDELIM@/0/
  313. /^HAVE_DECL_GETDOMAINNAME *=/s/@HAVE_DECL_GETDOMAINNAME@/0/
  314. /^HAVE_DECL_GETLINE *=/s/@HAVE_DECL_GETLINE@/0/
  315. /^HAVE_DECL_GETLOADAVG *=/s/@HAVE_DECL_GETLOADAVG@/0/
  316. /^HAVE_DECL_GETLOGIN_R *=/s/@HAVE_DECL_GETLOGIN_R@/0/
  317. /^HAVE_DECL_GETPAGESIZE *=/s/@HAVE_DECL_GETPAGESIZE@/1/
  318. /^HAVE_DECL_GETUSERSHELL *=/s/@HAVE_DECL_GETUSERSHELL@/0/
  319. /^HAVE_DECL_LOCALTIME_R *=/s/@HAVE_DECL_LOCALTIME_R@/0/
  320. /^HAVE_DECL_OBSTACK_PRINTF *=/s/@HAVE_DECL_OBSTACK_PRINTF@/0/
  321. /^HAVE_DECL_SETENV *=/s/@HAVE_DECL_SETENV@/1/
  322. /^HAVE_DECL_SNPRINTF *=/s/@HAVE_DECL_SNPRINTF@/0/
  323. /^HAVE_DECL_TTYNAME_R *=/s/@HAVE_DECL_TTYNAME_R@/0/
  324. /^HAVE_DECL_UNSETENV *=/s/@HAVE_DECL_UNSETENV@/0/
  325. /^HAVE_DECL_VSNPRINTF *=/s/@HAVE_DECL_VSNPRINTF@/0/
  326. /^HAVE_DPRINTF *=/s/@HAVE_DPRINTF@/0/
  327. /^HAVE_DUP2 *=/s/@HAVE_DUP2@/1/
  328. /^HAVE_DUP3 *=/s/@HAVE_DUP3@/0/
  329. /^HAVE_EUIDACCESS *=/s/@HAVE_EUIDACCESS@/0/
  330. /^HAVE_FACCESSAT *=/s/@HAVE_FACCESSAT@/0/
  331. /^HAVE_FCHDIR *=/s/@HAVE_FCHDIR@/0/
  332. /^HAVE_FCHMODAT *=/s/@HAVE_FCHMODAT@/0/
  333. /^HAVE_FCHOWNAT *=/s/@HAVE_FCHOWNAT@/0/
  334. /^HAVE_FDATASYNC *=/s/@HAVE_FDATASYNC@/0/
  335. /^HAVE_FSEEKO *=/s/@HAVE_FSEEKO@/0/
  336. /^HAVE_FSTATAT *=/s/@HAVE_FSTATAT@/0/
  337. /^HAVE_FSYNC *=/s/@HAVE_FSYNC@/1/
  338. /^HAVE_FTELLO *=/s/@HAVE_FTELLO@/0/
  339. /^HAVE_FTRUNCATE *=/s/@HAVE_FTRUNCATE@/1/
  340. /^HAVE_FUTIMENS *=/s/@HAVE_FUTIMENS@/0/
  341. /^HAVE_GETDTABLESIZE *=/s/@HAVE_GETDTABLESIZE@/0/
  342. /^HAVE_GETGROUPS *=/s/@HAVE_GETGROUPS@/0/
  343. /^HAVE_GETHOSTNAME *=/s/@HAVE_GETHOSTNAME@/1/
  344. /^HAVE_GETLOGIN *=/s/@HAVE_GETLOGIN@/1/
  345. /^HAVE_GETOPT_H *=/s/@HAVE_GETOPT_H@/0/
  346. /^HAVE_GETPAGESIZE *=/s/@HAVE_GETPAGESIZE@/1/
  347. /^HAVE_GETSUBOPT *=/s/@HAVE_GETSUBOPT@/0/
  348. /^HAVE_GRANTPT *=/s/@HAVE_GRANTPT@/0/
  349. /^HAVE_GROUP_MEMBER *=/s/@HAVE_GROUP_MEMBER@/0/
  350. /^HAVE_LCHOWN *=/s/@HAVE_LCHOWN@/0/
  351. /^HAVE_INTTYPES_H *=/s/@HAVE_INTTYPES_H@/HAVE_INTTYPES_H/
  352. /^HAVE_LCHMOD *=/s/@HAVE_LCHMOD@/0/
  353. /^HAVE_LINK *=/s/@HAVE_LINK@/1/
  354. /^HAVE_LINKAT *=/s/@HAVE_LINKAT@/0/
  355. /^HAVE_LONG_LONG_INT *=/s/@HAVE_LONG_LONG_INT@/1/
  356. /^HAVE_LSTAT *=/s/@HAVE_LSTAT@/HAVE_LSTAT/
  357. /^HAVE_MAKEINFO *=/s/@HAVE_MAKEINFO@/yes/
  358. /^HAVE_MKDIRAT *=/s/@HAVE_MKDIRAT@/0/
  359. /^HAVE_MKDTEMP *=/s/@HAVE_MKDTEMP@/0/
  360. /^HAVE_MKFIFO *=/s/@HAVE_MKFIFO@/1/
  361. /^HAVE_MKFIFOAT *=/s/@HAVE_MKFIFOAT@/0/
  362. /^HAVE_MKNOD *=/s/@HAVE_MKNOD@/1/
  363. /^HAVE_MKNODAT *=/s/@HAVE_MKNODAT@/0/
  364. /^HAVE_MKOSTEMP *=/s/@HAVE_MKOSTEMP@/0/
  365. /^HAVE_MKOSTEMPS *=/s/@HAVE_MKOSTEMPS@/0/
  366. /^HAVE_MKSTEMP *=/s/@HAVE_MKSTEMP@/1/
  367. /^HAVE_MKSTEMPS *=/s/@HAVE_MKSTEMPS@/0/
  368. /^HAVE_NANOSLEEP *=/s/@HAVE_NANOSLEEP@/0/
  369. /^HAVE_OS_H *=/s/@HAVE_OS_H@/0/
  370. /^HAVE_PIPE *=/s/@HAVE_PIPE@/0/
  371. /^HAVE_PCLOSE *=/s/@HAVE_PCLOSE@/1/
  372. /^HAVE_PIPE2 *=/s/@HAVE_PIPE2@/0/
  373. /^HAVE_POPEN *=/s/@HAVE_POPEN@/1/
  374. /^HAVE_POSIX_SIGNALBLOCKING *=/s/@HAVE_POSIX_SIGNALBLOCKING@/1/
  375. /^HAVE_PREAD *=/s/@HAVE_PREAD@/0/
  376. /^HAVE_PTSNAME *=/s/@HAVE_PTSNAME@/0/
  377. /^HAVE_PTHREAD_SIGMASK *=/s/@HAVE_PTHREAD_SIGMASK@/0/
  378. /^HAVE_PWRITE *=/s/@HAVE_PWRITE@/0/
  379. /^HAVE_RANDOM_H *=/s/@HAVE_RANDOM_H@/1/
  380. /^HAVE_RAISE *=/s/@HAVE_RAISE@/1/
  381. /^HAVE_RANDOM_R *=/s/@HAVE_RANDOM_R@/0/
  382. /^HAVE_READLINK *=/s/@HAVE_READLINK@/0/
  383. /^HAVE_READLINKAT *=/s/@HAVE_READLINKAT@/0/
  384. /^HAVE_REALPATH *=/s/@HAVE_REALPATH@/0/
  385. /^HAVE_RENAMEAT *=/s/@HAVE_RENAMEAT@/0/
  386. /^HAVE_RPMATCH *=/s/@HAVE_RPMATCH@/0/
  387. /^HAVE_SETENV *=/s/@HAVE_SETENV@/1/
  388. /^HAVE_SIGACTION *=/s/@HAVE_SIGACTION@/1/
  389. /^HAVE_SIGHANDLER_T *=/s/@HAVE_SIGHANDLER_T@/0/
  390. /^HAVE_SIGINFO_T *=/s/@HAVE_SIGINFO_T@/0/
  391. /^HAVE_SIGNED_SIG_ATOMIC_T *=/s/@HAVE_SIGNED_SIG_ATOMIC_T@/1/
  392. /^HAVE_SIGNED_WCHAR_T *=/s/@HAVE_SIGNED_WCHAR_T@/0/
  393. /^HAVE_SIGNED_WINT_T *=/s/@HAVE_SIGNED_WINT_T@/1/
  394. /^HAVE_SIGSET_T *=/s/@HAVE_SIGSET_T@/1/
  395. /^HAVE_SLEEP *=/s/@HAVE_SLEEP@/1/
  396. /^HAVE_STDINT_H *=/s/@HAVE_STDINT_H@/HAVE_STDINT_H/
  397. /^HAVE_STRPTIME *=/s/@HAVE_STRPTIME@/0/
  398. /^HAVE_STRTOD *=/s/@HAVE_STRTOD@/1/
  399. /^HAVE_STRTOLL *=/s/@HAVE_STRTOLL@/1/
  400. /^HAVE_STRTOULL *=/s/@HAVE_STRTOULL@/1/
  401. /^HAVE_STRUCT_SIGACTION_SA_SIGACTION *=/s/@HAVE_STRUCT_SIGACTION_SA_SIGACTION@/0/
  402. /^HAVE_STRUCT_RANDOM_DATA *=/s/@HAVE_STRUCT_RANDOM_DATA@/0/
  403. /^HAVE_SYMLINK *=/s/@HAVE_SYMLINK@/1/
  404. /^HAVE_SYMLINKAT *=/s/@HAVE_SYMLINKAT@/0/
  405. /^HAVE_SYS_BITYPES_H *=/s/@HAVE_SYS_BITYPES_H@/0/
  406. /^HAVE_SYS_INTTYPES_H *=/s/@HAVE_SYS_INTTYPES_H@/0/
  407. /^HAVE_SYS_LOADAVG_H *=/s/@HAVE_SYS_LOADAVG_H@/0/
  408. /^HAVE_SYS_PARAM_H *=/s/@HAVE_SYS_PARAM_H@/1/
  409. /^HAVE_SYS_TYPES_H *=/s/@HAVE_SYS_TYPES_H@/1/
  410. /^HAVE_TIMEGM *=/s/@HAVE_TIMEGM@/0/
  411. /^HAVE_TYPE_VOLATILE_SIG_ATOMIC_T *=/s/@HAVE_TYPE_VOLATILE_SIG_ATOMIC_T@/1/
  412. /^HAVE_UNISTD_H *=/s/@HAVE_UNISTD_H@/1/
  413. /^HAVE_UNLINKAT *=/s/@HAVE_UNLINKAT@/0/
  414. /^HAVE_UNLOCKPT *=/s/@HAVE_UNLOCKPT@/0/
  415. /^HAVE_UNSIGNED_LONG_LONG_INT *=/s/@HAVE_UNSIGNED_LONG_LONG_INT@/1/
  416. /^HAVE_USLEEP *=/s/@HAVE_USLEEP@/1/
  417. /^HAVE_UTIMENSAT *=/s/@HAVE_UTIMENSAT@/0/
  418. /^HAVE_VASPRINTF *=/s/@HAVE_VASPRINTF@/0/
  419. /^HAVE_VDPRINTF *=/s/@HAVE_VDPRINTF@/0/
  420. /^HAVE_WCHAR_H *=/s/@HAVE_WCHAR_H@/1/
  421. /^HAVE_WCHAR_T *=/s/@HAVE_WCHAR_T@/1/
  422. /^HAVE_XSERVER *=/s/@HAVE_XSERVER@/0/
  423. /^HAVE__BOOL *=/s/@HAVE__BOOL@/1/
  424. /^HAVE__EXIT *=/s/@HAVE__EXIT@/1/
  425. /^INCLUDE_NEXT *=/s/@INCLUDE_NEXT@/include_next/
  426. /^INCLUDE_NEXT_AS_FIRST_DIRECTIVE *=/s/@[^@\n]*@/include_next/
  427. /^LDFLAGS *=/s/@[^@\n]*@//
  428. /^LD_FIRSTFLAG *=/s/@[^@\n]*@//
  429. /^LIB_PTHREAD *=/s/@[^@\n]*@//
  430. /^LIB_PTHREAD_SIGMASK *=/s/@[^@\n]*@//
  431. /^LIBS *=/s/@[^@\n]*@//
  432. /^MAKEINFO *=/s/@MAKEINFO@/makeinfo/
  433. # MKDIR_P lines are edited further below
  434. /^MKDIR_P *=/s/@MKDIR_P@//
  435. /^NEXT_AS_FIRST_DIRECTIVE_GETOPT_H *=/s/@[^@\n]*@/<getopt.h>/
  436. /^NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H *=/s/@[^@\n]*@/<signal.h>/
  437. /^NEXT_AS_FIRST_DIRECTIVE_STDARG_H *=/s/@[^@\n]*@//
  438. /^NEXT_AS_FIRST_DIRECTIVE_STDDEF_H *=/s/@[^@\n]*@//
  439. /^NEXT_AS_FIRST_DIRECTIVE_STDINT_H *=/s/@[^@\n]*@/<stdint.h>/
  440. /^NEXT_AS_FIRST_DIRECTIVE_STDIO_H *=/s/@[^@\n]*@/<stdio.h>/
  441. /^NEXT_AS_FIRST_DIRECTIVE_STDLIB_H *=/s/@[^@\n]*@/<stdlib.h>/
  442. /^NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H *=/s!@[^@\n]*@!<sys/stat.h>!
  443. /^NEXT_AS_FIRST_DIRECTIVE_TIME_H *=/s/@[^@\n]*@/<time.h>/
  444. /^NEXT_AS_FIRST_DIRECTIVE_UNISTD_H *=/s/@[^@\n]*@/<unistd.h>/
  445. /^NEXT_GETOPT_H *=/s/@[^@\n]*@/<getopt.h>/
  446. /^NEXT_STDARG_H *=/s/@[^@\n]*@//
  447. /^NEXT_SIGNAL_H *=/s/@[^@\n]*@/<signal.h>/
  448. /^NEXT_STDDEF_H *=/s/@[^@\n]*@//
  449. /^NEXT_STDIO_H *=/s/@[^@\n]*@/<stdio.h>/
  450. /^NEXT_STDINT_H *=/s/@[^@\n]*@/<stdint.h>/
  451. /^NEXT_STDLIB_H *=/s/@[^@\n]*@/<stdlib.h>/
  452. /^NEXT_SYS_STAT_H *=/s!@[^@\n]*@!<sys/stat.h>!
  453. /^NEXT_TIME_H *=/s/@[^@\n]*@/<time.h>/
  454. /^NEXT_UNISTD_H *=/s/@[^@\n]*@/<unistd.h>/
  455. /^OBJEXT *=/s/@[^@\n]*@/o/
  456. /^PRAGMA_COLUMNS *=/s/@[^@\n]*@//
  457. /^PRAGMA_SYSTEM_HEADER *=/s/@[^@\n]*@/\\\#pragma GCC system_header/
  458. /^PTHREAD_H_DEFINES_STRUCT_TIMESPEC *=/s/@[^@\n]*@/0/
  459. /^PTRDIFF_T_SUFFIX *=/s/@[^@\n]*@//
  460. /^RANLIB *=/s/@[^@\n]*@/ranlib/
  461. /^REPLACE_CALLOC *=/s/@REPLACE_CALLOC@/0/
  462. /^REPLACE_CANONICALIZE_FILE_NAME *=/s/@REPLACE_CANONICALIZE_FILE_NAME@/0/
  463. /^REPLACE_CHOWN *=/s/@REPLACE_CHOWN@/0/
  464. /^REPLACE_CLOSE *=/s/@REPLACE_CLOSE@/0/
  465. /^REPLACE_DPRINTF *=/s/@REPLACE_DPRINTF@/0/
  466. /^REPLACE_DUP *=/s/@REPLACE_DUP@/0/
  467. /^REPLACE_DUP2 *=/s/@REPLACE_DUP2@/0/
  468. /^REPLACE_FCHOWNAT *=/s/@REPLACE_FCHOWNAT@/0/
  469. /^REPLACE_FCLOSE *=/s/@REPLACE_FCLOSE@/0/
  470. /^REPLACE_FDOPEN *=/s/@REPLACE_FDOPEN@/0/
  471. /^REPLACE_FFLUSH *=/s/@REPLACE_FFLUSH@/0/
  472. /^REPLACE_FOPEN *=/s/@REPLACE_FOPEN@/0/
  473. /^REPLACE_FPRINTF *=/s/@REPLACE_FPRINTF@/0/
  474. /^REPLACE_FPURGE *=/s/@REPLACE_FPURGE@/0/
  475. /^REPLACE_FREOPEN *=/s/@REPLACE_FREOPEN@/0/
  476. /^REPLACE_FSEEK *=/s/@REPLACE_FSEEK@/0/
  477. /^REPLACE_FSEEKO *=/s/@REPLACE_FSEEKO@/0/
  478. /^REPLACE_FSTAT *=/s/@REPLACE_FSTAT@/0/
  479. /^REPLACE_FSTATAT *=/s/@REPLACE_FSTATAT@/0/
  480. /^REPLACE_FTELL *=/s/@REPLACE_FTELL@/0/
  481. /^REPLACE_FTELLO *=/s/@REPLACE_FTELLO@/0/
  482. /^REPLACE_GETCWD *=/s/@REPLACE_GETCWD@/0/
  483. /^REPLACE_GETDELIM *=/s/@REPLACE_GETDELIM@/0/
  484. /^REPLACE_GETDOMAINNAME *=/s/@REPLACE_GETDOMAINNAME@/0/
  485. /^REPLACE_GETGROUPS *=/s/@REPLACE_GETGROUPS@/0/
  486. /^REPLACE_GETLINE *=/s/@REPLACE_GETLINE@/0/
  487. /^REPLACE_GETLOGIN_R *=/s/@REPLACE_GETLOGIN_R@/0/
  488. /^REPLACE_GETPAGESIZE *=/s/@REPLACE_GETPAGESIZE@/0/
  489. /^REPLACE_LCHOWN *=/s/@REPLACE_LCHOWN@/0/
  490. /^REPLACE_LINK *=/s/@REPLACE_LINK@/0/
  491. /^REPLACE_LINKAT *=/s/@REPLACE_LINKAT@/0/
  492. /^REPLACE_LOCALTIME_R *=/s/@REPLACE_LOCALTIME_R@/0/
  493. /^REPLACE_LSEEK *=/s/@REPLACE_LSEEK@/0/
  494. /^REPLACE_LSTAT *=/s/@REPLACE_LSTAT@/0/
  495. /^REPLACE_MALLOC *=/s/@REPLACE_MALLOC@/0/
  496. /^REPLACE_MBTOWC *=/s/@REPLACE_MBTOWC@/0/
  497. /^REPLACE_MKDIR *=/s/@REPLACE_MKDIR@/0/
  498. /^REPLACE_MKFIFO *=/s/@REPLACE_MKFIFO@/0/
  499. /^REPLACE_MKNOD *=/s/@REPLACE_MKNOD@/0/
  500. /^REPLACE_MKSTEMP *=/s/@REPLACE_MKSTEMP@/0/
  501. /^REPLACE_MKTIME *=/s/@REPLACE_MKTIME@/0/
  502. /^REPLACE_NANOSLEEP *=/s/@REPLACE_NANOSLEEP@/0/
  503. /^REPLACE_NULL *=/s/@REPLACE_NULL@/0/
  504. /^REPLACE_OBSTACK_PRINTF *=/s/@REPLACE_OBSTACK_PRINTF@/0/
  505. /^REPLACE_PERROR *=/s/@REPLACE_PERROR@/0/
  506. /^REPLACE_POPEN *=/s/@REPLACE_POPEN@/0/
  507. /^REPLACE_PREAD *=/s/@REPLACE_PREAD@/0/
  508. /^REPLACE_PRINTF *=/s/@REPLACE_PRINTF@/0/
  509. /^REPLACE_PTHREAD_SIGMASK *=/s/@REPLACE_PTHREAD_SIGMASK@/0/
  510. /^REPLACE_PUTENV *=/s/@REPLACE_PUTENV@/0/
  511. /^REPLACE_PWRITE *=/s/@REPLACE_PWRITE@/0/
  512. /^REPLACE_READ *=/s/@REPLACE_READ@/0/
  513. /^REPLACE_RAISE *=/s/@REPLACE_RAISE@/0/
  514. /^REPLACE_READLINK *=/s/@REPLACE_READLINK@/0/
  515. /^REPLACE_REALLOC *=/s/@REPLACE_REALLOC@/0/
  516. /^REPLACE_REALPATH *=/s/@REPLACE_REALPATH@/0/
  517. /^REPLACE_REMOVE *=/s/@REPLACE_REMOVE@/0/
  518. /^REPLACE_RENAME *=/s/@REPLACE_RENAME@/0/
  519. /^REPLACE_RENAMEAT *=/s/@REPLACE_RENAMEAT@/0/
  520. /^REPLACE_RMDIR *=/s/@REPLACE_RMDIR@/0/
  521. /^REPLACE_SETENV *=/s/@REPLACE_SETENV@/0/
  522. /^REPLACE_SLEEP *=/s/@REPLACE_SLEEP@/0/
  523. /^REPLACE_SNPRINTF *=/s/@REPLACE_SNPRINTF@/0/
  524. /^REPLACE_SPRINTF *=/s/@REPLACE_SPRINTF@/0/
  525. /^REPLACE_STAT *=/s/@REPLACE_STAT@/0/
  526. /^REPLACE_STDIO_READ_FUNCS *=/s/@REPLACE_STDIO_READ_FUNCS@/0/
  527. /^REPLACE_STDIO_WRITE_FUNCS *=/s/@REPLACE_STDIO_WRITE_FUNCS@/0/
  528. /^REPLACE_STRTOD *=/s/@REPLACE_STRTOD@/0/
  529. /^REPLACE_SYMLINK *=/s/@REPLACE_SYMLINK@/0/
  530. /^REPLACE_TIMEGM *=/s/@REPLACE_TIMEGM@/0/
  531. /^REPLACE_TMPFILE *=/s/@REPLACE_TMPFILE@/0/
  532. /^REPLACE_TTYNAME_R *=/s/@REPLACE_TTYNAME_R@/0/
  533. /^REPLACE_UNLINK *=/s/@REPLACE_UNLINK@/0/
  534. /^REPLACE_UNLINKAT *=/s/@REPLACE_UNLINKAT@/0/
  535. /^REPLACE_UNSETENV *=/s/@REPLACE_UNSETENV@/0/
  536. /^REPLACE_USLEEP *=/s/@REPLACE_USLEEP@/0/
  537. /^REPLACE_UTIMENSAT *=/s/@REPLACE_UTIMENSAT@/0/
  538. /^REPLACE_VASPRINTF *=/s/@REPLACE_VASPRINTF@/0/
  539. /^REPLACE_VDPRINTF *=/s/@REPLACE_VDPRINTF@/0/
  540. /^REPLACE_VFPRINTF *=/s/@REPLACE_VFPRINTF@/0/
  541. /^REPLACE_VPRINTF *=/s/@REPLACE_VPRINTF@/0/
  542. /^REPLACE_VSNPRINTF *=/s/@REPLACE_VSNPRINTF@/0/
  543. /^REPLACE_VSPRINTF *=/s/@REPLACE_VSPRINTF@/0/
  544. /^REPLACE_WCTOMB *=/s/@REPLACE_WCTOMB@/0/
  545. /^REPLACE_WRITE *=/s/@REPLACE_WRITE@/0/
  546. /^SIG_ATOMIC_T_SUFFIX *=/s/@SIG_ATOMIC_T_SUFFIX@//
  547. /^SIZE_T_SUFFIX *=/s/@SIZE_T_SUFFIX@/u/
  548. /^ALLOCA_H *=/s/@[^@\n]*@/alloca.h/
  549. /^STDBOOL_H *=/s/@[^@\n]*@//
  550. /^STDARG_H *=/s/@[^@\n]*@//
  551. /^STDDEF_H *=/s/@[^@\n]*@//
  552. /^STDINT_H *=/s/@[^@\n]*@/stdint.h/
  553. /^SYS_TIME_H_DEFINES_STRUCT_TIMESPEC *=/s/@[^@\n]*@/0/
  554. /^TIME_H_DEFINES_STRUCT_TIMESPEC *=/s/@[^@\n]*@/0/
  555. /^UNISTD_H_HAVE_WINSOCK2_H *=/s/@[^@\n]*@/0/
  556. /^UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS *=/s/@[^@\n]*@/0/
  557. /^WCHAR_T_SUFFIX *=/s/@WCHAR_T_SUFFIX@/h/
  558. /^WINT_T_SUFFIX *=/s/@WINT_T_SUFFIX@//
  559. /am__append_1 *=.*gettext\.h/s/@[^@\n]*@/\#/
  560. /am__append_2 *=.*verify\.h/s/@[^@\n]*@//
  561. /^gl_LIBOBJS *=/s/@[^@\n]*@/getopt.o getopt1.o strftime.o time_r.o getloadavg.o pthread_sigmask.o/
  562. /^BUILT_SOURCES *=/s/ *inttypes\.h//
  563. /^am_libgnu_a_OBJECTS *=/s/careadlinkat\.\$(OBJEXT)//
  564. /^am_libgnu_a_OBJECTS *=/s/allocator\.\$(OBJEXT)//
  565. /^srcdir *=/s/@[^@\n]*@/./
  566. /^top_srcdir *=/s/@[^@\n]*@/../
  567. /^top_builddir *=/s/@[^@\n]*@/../
  568. s/@PRAGMA_SYSTEM_HEADER@/\#pragma GCC system_header/
  569. s/@PRAGMA_COLUMNS@//
  570. #
  571. # Delete the recipes we don't want to get in our way.
  572. /^\$(srcdir)\/Makefile\.in:/,/^[ ][ ]*\$(AUTOMAKE)/d
  573. /^Makefile:/,/^[ ][ ]*esac/d
  574. /^\$(top_srcdir)\/configure:/,/^\$(ACLOCAL_M4)/d
  575. /^\$(top_builddir)\/config.status:/,/^$/d
  576. #
  577. # Remove the dependencies on $(top_builddir)/config.status
  578. s/ $(top_builddir)\/config.status//
  579. #
  580. # Fix the include-dependency lines
  581. s/^@AMDEP_TRUE@//
  582. s/^@AMDEP_FALSE@/\#/
  583. s/@am__include@/include/
  584. s/@am__quote@//g
  585. s/^@am__fastdepCC_TRUE@//
  586. s/^@am__fastdepCC_FALSE@/\#/
  587. #
  588. # Fix the *-clean rules, to not use a Unixy `test' command. Empty
  589. # lists are replaced with a dummy file, to avoid an error message from
  590. # "rm -f" with no arguments.
  591. /^CONFIG_CLEAN_FILES *= *$/c\
  592. CONFIG_CLEAN_FILES = xyzzy
  593. /^CONFIG_CLEAN_VPATH_FILES *= *$/c\
  594. CONFIG_CLEAN_VPATH_FILES = xyzzy
  595. s/^ -*test -z.*|| rm/ -rm/
  596. s/@echo /@djecho/
  597. #
  598. # Fix the recipes for header files
  599. s/^@GL_GENERATE_ALLOCA_H_TRUE@//
  600. s/^@GL_GENERATE_ALLOCA_H_FALSE@/\#/
  601. s/^@GL_GENERATE_STDBOOL_H_TRUE@/\#/
  602. s/^@GL_GENERATE_STDBOOL_H_FALSE@//
  603. s/^@GL_GENERATE_STDARG_H_TRUE@/\#/
  604. s/^@GL_GENERATE_STDARG_H_FALSE@/\#/
  605. s/^@GL_GENERATE_STDDEF_H_TRUE@/\#/
  606. s/^@GL_GENERATE_STDDEF_H_FALSE@/\#/
  607. s/^@GL_GENERATE_STDINT_H_TRUE@//
  608. s/^@GL_GENERATE_STDINT_H_FALSE@/\#/
  609. /^arg-nonnull\.h:/,/^[ ][ ]*mv /c\
  610. arg-nonnull.h: $(top_srcdir)/build-aux/snippet/arg-nonnull.h\
  611. sed -n -e '/GL_ARG_NONNULL/,$$p' < $(top_srcdir)/build-aux/snippet/arg-nonnull.h > $@
  612. /^cxxdefs\.h:/,/^[ ][ ]*mv /c\
  613. cxxdefs.h: $(top_srcdir)/build-aux/snippet/cxxdefs.h\
  614. sed -n -e '/_GL_CXXDEFS/,$$p' < $(top_srcdir)/build-aux/snippet/cxxdefs.h > $@
  615. /^warn-on-use\.h:/,/^[ ][ ]*mv /c\
  616. warn-on-use.h: $(top_srcdir)/build-aux/snippet/warn-on-use.h\
  617. sed -n -e '/^.ifndef/,$$p' < $(top_srcdir)/build-aux/snippet/warn-on-use.h > $@
  618. s/^ [ ]*{ echo \(.*\); \\/ djecho \1 > $@-t/
  619. s/^ [ ]*{ echo \(.*\) && \\/ djecho \1 > $@-t/
  620. s/ \&\& \\ *$//
  621. s/\.in-h\; *\\$/.in-h >> $@-t/
  622. /^ [ ]*} /d
  623. /^stdio\.h:/,/^ [ ]*mv /{
  624. s/'\; \\ *$/' >> $@-t/
  625. }
  626. /^stdlib\.h:/,/^ [ ]*mv /{
  627. s/'\; \\ *$/' >> $@-t/
  628. }
  629. /^unistd\.h:/,/^ [ ]*mv /{
  630. s/'\; \\ *$/' >> $@-t/
  631. }
  632. s!\$(MKDIR_P)[ ][ ]*sys!command.com /c "if not exist sys\\stat.h md sys"!