spacepaste

  1.  
  2.  * Package: sys-apps/grep-2.25
  3.  * Repository: gentoo
  4.  * Maintainer: base-system@gentoo.org
  5.  * USE: abi_x86_64 amd64 elibc_glibc kernel_linux nls pcre static userland_GNU
  6.  * FEATURES: preserve-libs sandbox userpriv usersandbox
  7. >>> Unpacking source...
  8. >>> Unpacking grep-2.25.tar.xz to /var/tmp/portage/sys-apps/grep-2.25/work
  9. >>> Source unpacked in /var/tmp/portage/sys-apps/grep-2.25/work
  10. >>> Preparing source in /var/tmp/portage/sys-apps/grep-2.25/work/grep-2.25 ...
  11. >>> Source prepared.
  12. >>> Configuring source in /var/tmp/portage/sys-apps/grep-2.25/work/grep-2.25 ...
  13. * econf: updating grep-2.25/build-aux/config.sub with /usr/share/gnuconfig/config.sub
  14. * econf: updating grep-2.25/build-aux/config.guess with /usr/share/gnuconfig/config.guess
  15. ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --libdir=/usr/lib64 --bindir=/bin --enable-nls --enable-perl-regexp
  16. checking for a BSD-compatible install... /usr/lib/portage/python3.4/ebuild-helpers/xattr/install -c
  17. checking whether build environment is sane... yes
  18. checking for a thread-safe mkdir -p... /bin/mkdir -p
  19. checking for gawk... gawk
  20. checking whether make sets $(MAKE)... yes
  21. checking whether make supports nested variables... yes
  22. checking whether make supports nested variables... (cached) yes
  23. checking build system type... x86_64-pc-linux-gnu
  24. checking host system type... x86_64-pc-linux-gnu
  25. checking for gawk... (cached) gawk
  26. checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
  27. checking whether the C compiler works... yes
  28. checking for C compiler default output file name... a.out
  29. checking for suffix of executables...
  30. checking whether we are cross compiling... no
  31. checking for suffix of object files... o
  32. checking whether the compiler supports GNU C... yes
  33. checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
  34. checking for x86_64-pc-linux-gnu-gcc option to enable C11 features... -std=gnu11
  35. checking whether x86_64-pc-linux-gnu-gcc -std=gnu11 understands -c and -o together... yes
  36. checking whether make supports the include directive... yes (GNU style)
  37. checking dependency style of x86_64-pc-linux-gnu-gcc -std=gnu11... none
  38. checking for sys/types.h... yes
  39. checking for sys/stat.h... yes
  40. checking for strings.h... yes
  41. checking for inttypes.h... yes
  42. checking for stdint.h... yes
  43. checking for unistd.h... yes
  44. checking for minix/config.h... no
  45. checking whether it is safe to define __EXTENSIONS__... yes
  46. checking whether _XOPEN_SOURCE should be defined... no
  47. checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -std=gnu11 -E
  48. checking for grep that handles long lines and -e... fn_grep
  49. checking for egrep... (cached) fn_grep
  50. checking for Minix Amsterdam compiler... no
  51. checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar
  52. checking the archiver (x86_64-pc-linux-gnu-ar) interface... ar
  53. checking for x86_64-pc-linux-gnu-ar... (cached) x86_64-pc-linux-gnu-ar
  54. checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
  55. checking for special C compiler options needed for large files... no
  56. checking for _FILE_OFFSET_BITS value needed for large files... no
  57. checking for x86_64-pc-linux-gnu-ranlib... (cached) x86_64-pc-linux-gnu-ranlib
  58. checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config
  59. checking pkg-config is at least version 0.9.0... yes
  60. checking for size_t... yes
  61. checking for an ANSI C-conforming const... yes
  62. checking for working alloca.h... yes
  63. checking for alloca... yes
  64. checking whether <wchar.h> uses 'inline' correctly... yes
  65. checking for btowc... yes
  66. checking for _set_invalid_parameter_handler... no
  67. checking for fchdir... yes
  68. checking for fdopendir... yes
  69. checking for strerror_r... yes
  70. checking for fcntl... yes
  71. checking for symlink... yes
  72. checking for mempcpy... yes
  73. checking for isblank... yes
  74. checking for iswctype... yes
  75. checking for mbsrtowcs... yes
  76. checking for wmemchr... yes
  77. checking for wmemcpy... yes
  78. checking for wmempcpy... yes
  79. checking for fstatat... yes
  80. checking for openat... yes
  81. checking for fstatfs... yes
  82. checking for getdtablesize... yes
  83. checking for gettimeofday... yes
  84. checking for iswcntrl... yes
  85. checking for iswblank... yes
  86. checking for lstat... yes
  87. checking for mbsinit... yes
  88. checking for mbrtowc... yes
  89. checking for mbrlen... yes
  90. checking for mbslen... no
  91. checking for mprotect... yes
  92. checking for nl_langinfo... yes
  93. checking for strdup... yes
  94. checking for strtoimax... yes
  95. checking for strtoumax... yes
  96. checking for pipe... yes
  97. checking for wcrtomb... yes
  98. checking for wctob... yes
  99. checking for wcwidth... yes
  100. checking for newlocale... yes
  101. checking for setenv... yes
  102. checking for snprintf... yes
  103. checking for vasnprintf... no
  104. checking for isascii... yes
  105. checking for setlocale... yes
  106. checking for nl_langinfo and CODESET... yes
  107. checking for a traditional french locale... none
  108. checking for unistd.h... (cached) yes
  109. checking for sys/param.h... yes
  110. checking for sys/socket.h... yes
  111. checking for dirent.h... yes
  112. checking for wctype.h... yes
  113. checking for stdio_ext.h... yes
  114. checking for sys/stat.h... (cached) yes
  115. checking for sys/vfs.h... yes
  116. checking for getopt.h... yes
  117. checking for sys/time.h... yes
  118. checking for iconv.h... yes
  119. checking for wchar.h... yes
  120. checking for stdint.h... (cached) yes
  121. checking for inttypes.h... (cached) yes
  122. checking for langinfo.h... yes
  123. checking for xlocale.h... yes
  124. checking for sys/mman.h... yes
  125. checking for malloc.h... yes
  126. checking for features.h... yes
  127. checking whether the preprocessor supports include_next... yes
  128. checking whether system header files limit the line length... no
  129. checking how x86_64-pc-linux-gnu-gcc -std=gnu11 reports undeclared, standard C functions... error
  130. checking whether // is distinct from /... no
  131. checking for complete errno.h... yes
  132. checking whether strerror_r is declared... yes
  133. checking whether strerror_r returns char *... yes
  134. checking whether fchdir is declared... yes
  135. checking for working fcntl.h... yes
  136. checking for pid_t... yes
  137. checking for mode_t... yes
  138. checking for promoted mode_t type... mode_t
  139. checking for mbstate_t... yes
  140. checking whether stat file-mode macros are broken... no
  141. checking for nlink_t... yes
  142. checking whether fchmodat is declared without a macro... yes
  143. checking whether fstat is declared without a macro... yes
  144. checking whether fstatat is declared without a macro... yes
  145. checking whether futimens is declared without a macro... yes
  146. checking whether lchmod is declared without a macro... yes
  147. checking whether lstat is declared without a macro... yes
  148. checking whether mkdirat is declared without a macro... yes
  149. checking whether mkfifo is declared without a macro... yes
  150. checking whether mkfifoat is declared without a macro... yes
  151. checking whether mknod is declared without a macro... yes
  152. checking whether mknodat is declared without a macro... yes
  153. checking whether stat is declared without a macro... yes
  154. checking whether utimensat is declared without a macro... yes
  155. checking whether lstat correctly handles trailing slash... yes
  156. checking whether getcwd (NULL, 0) allocates memory for result... yes
  157. checking for getcwd with POSIX signature... yes
  158. checking whether getdtablesize is declared... yes
  159. checking for getopt.h... (cached) yes
  160. checking for getopt_long_only... yes
  161. checking whether getopt is POSIX compatible... yes
  162. checking for working GNU getopt function... yes
  163. checking for working GNU getopt_long function... yes
  164. checking whether getenv is declared... yes
  165. checking for C/C++ restrict keyword... __restrict
  166. checking for struct timeval... yes
  167. checking for wide-enough struct timeval.tv_sec member... yes
  168. checking whether gettimeofday is declared without a macro... yes
  169. checking for ld used by x86_64-pc-linux-gnu-gcc -std=gnu11... /usr/x86_64-pc-linux-gnu/bin/ld
  170. checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes
  171. checking for shared library run path origin... done
  172. checking for iconv... yes
  173. checking for working iconv... yes
  174. checking for iconv declaration...
  175. extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
  176. checking for inline... inline
  177. checking for unsigned long long int... yes
  178. checking for long long int... yes
  179. checking whether stdint.h conforms to C99... yes
  180. checking whether stdint.h predates C++11... no
  181. checking whether imaxabs is declared without a macro... yes
  182. checking whether imaxdiv is declared without a macro... yes
  183. checking whether strtoimax is declared without a macro... yes
  184. checking whether strtoumax is declared without a macro... yes
  185. checking for inttypes.h... (cached) yes
  186. checking whether the inttypes.h PRIxNN macros are broken... no
  187. checking for wint_t... yes
  188. checking whether iswcntrl works... yes
  189. checking for towlower... yes
  190. checking for wctype_t... yes
  191. checking for wctrans_t... yes
  192. checking whether wctype is declared without a macro... yes
  193. checking whether iswctype is declared without a macro... yes
  194. checking whether wctrans is declared without a macro... yes
  195. checking whether towctrans is declared without a macro... yes
  196. checking whether getc_unlocked is declared... yes
  197. checking whether we are using the GNU C Library >= 2.1 or uClibc... yes
  198. checking for wchar_t... yes
  199. checking for max_align_t... yes
  200. checking whether NULL can be used in arbitrary expressions... yes
  201. checking whether imported symbols can be declared weak... yes
  202. checking for pthread.h... yes
  203. checking for multithread API to use... posix
  204. checking for a sed that does not truncate output... /bin/sed
  205. checking whether malloc, realloc, calloc are POSIX compliant... yes
  206. checking for stdlib.h... yes
  207. checking for GNU libc compatible malloc... yes
  208. checking for a traditional japanese locale... none
  209. checking for a transitional chinese locale... none
  210. checking for a french Unicode locale... none
  211. checking whether mbrtowc handles incomplete characters... guessing yes
  212. checking whether mbrtowc works as well as mbtowc... guessing yes
  213. checking whether mbrtowc handles a NULL pwc argument... guessing yes
  214. checking whether mbrtowc handles a NULL string argument... guessing yes
  215. checking whether mbrtowc has a correct return value... guessing yes
  216. checking whether mbrtowc returns 0 when parsing a NUL character... guessing yes
  217. checking whether mbrtowc works on empty input... (cached) assume yes
  218. checking whether the C locale is free of encoding errors... no
  219. checking for mmap... yes
  220. checking for MAP_ANONYMOUS... yes
  221. checking whether memchr works... yes
  222. checking whether memrchr is declared... yes
  223. checking whether <limits.h> defines MIN and MAX... no
  224. checking whether <sys/param.h> defines MIN and MAX... yes
  225. checking whether alarm is declared... yes
  226. checking for ssize_t... yes
  227. checking for stdbool.h that conforms to C99... yes
  228. checking for _Bool... yes
  229. checking whether strdup is declared... yes
  230. checking whether strerror(0) succeeds... yes
  231. checking whether ffsl is declared without a macro... yes
  232. checking whether ffsll is declared without a macro... yes
  233. checking whether memmem is declared without a macro... yes
  234. checking whether mempcpy is declared without a macro... yes
  235. checking whether memrchr is declared without a macro... yes
  236. checking whether rawmemchr is declared without a macro... yes
  237. checking whether stpcpy is declared without a macro... yes
  238. checking whether stpncpy is declared without a macro... yes
  239. checking whether strchrnul is declared without a macro... yes
  240. checking whether strdup is declared without a macro... yes
  241. checking whether strncat is declared without a macro... yes
  242. checking whether strndup is declared without a macro... yes
  243. checking whether strnlen is declared without a macro... yes
  244. checking whether strpbrk is declared without a macro... yes
  245. checking whether strsep is declared without a macro... yes
  246. checking whether strcasestr is declared without a macro... yes
  247. checking whether strtok_r is declared without a macro... yes
  248. checking whether strerror_r is declared without a macro... yes
  249. checking whether strsignal is declared without a macro... yes
  250. checking whether strverscmp is declared without a macro... yes
  251. checking whether strnlen is declared... (cached) yes
  252. checking whether strstr works... yes
  253. checking whether strtoimax is declared... (cached) yes
  254. checking whether strtoumax is declared... (cached) yes
  255. checking for struct timespec in <time.h>... yes
  256. checking whether clearerr_unlocked is declared... yes
  257. checking whether feof_unlocked is declared... yes
  258. checking whether ferror_unlocked is declared... yes
  259. checking whether fflush_unlocked is declared... yes
  260. checking whether fgets_unlocked is declared... yes
  261. checking whether fputc_unlocked is declared... yes
  262. checking whether fputs_unlocked is declared... yes
  263. checking whether fread_unlocked is declared... yes
  264. checking whether fwrite_unlocked is declared... yes
  265. checking whether getchar_unlocked is declared... yes
  266. checking whether putc_unlocked is declared... yes
  267. checking whether putchar_unlocked is declared... yes
  268. checking if environ is properly declared... yes
  269. checking for off_t... yes
  270. checking for LC_MESSAGES... yes
  271. checking for CFPreferencesCopyAppValue... no
  272. checking for CFLocaleCopyCurrent... no
  273. checking whether setenv is declared... yes
  274. checking for search.h... yes
  275. checking for tsearch... yes
  276. checking whether snprintf returns a byte count as in C99... yes
  277. checking whether snprintf is declared... yes
  278. checking whether unsetenv is declared... yes
  279. checking for inttypes.h... yes
  280. checking for stdint.h... yes
  281. checking for intmax_t... yes
  282. checking where to find the exponent in a 'double'... word 1 bit 20
  283. checking for snprintf... (cached) yes
  284. checking for strnlen... yes
  285. checking for wcslen... yes
  286. checking for wcsnlen... yes
  287. checking for mbrtowc... (cached) yes
  288. checking for wcrtomb... (cached) yes
  289. checking whether _snprintf is declared... no
  290. checking for alloca as a compiler built-in... yes
  291. checking whether btowc(0) is correct... yes
  292. checking whether btowc(EOF) is correct... guessing yes
  293. checking whether this system has an arbitrary file name length limit... yes
  294. checking for closedir... yes
  295. checking whether isblank is declared without a macro... yes
  296. checking for d_ino member in directory struct... yes
  297. checking for d_type member in directory struct... yes
  298. checking whether alphasort is declared without a macro... yes
  299. checking whether closedir is declared without a macro... yes
  300. checking whether dirfd is declared without a macro... yes
  301. checking whether fdopendir is declared without a macro... yes
  302. checking whether opendir is declared without a macro... yes
  303. checking whether readdir is declared without a macro... yes
  304. checking whether rewinddir is declared without a macro... yes
  305. checking whether scandir is declared without a macro... yes
  306. checking for dirfd... yes
  307. checking whether dirfd is declared... (cached) yes
  308. checking whether dirfd is a macro... no
  309. checking whether // is distinct from /... (cached) no
  310. checking whether dup works... yes
  311. checking whether dup2 works... yes
  312. checking for error_at_line... yes
  313. checking whether fcntl handles F_DUPFD correctly... yes
  314. checking whether fcntl understands F_DUPFD_CLOEXEC... needs runtime check
  315. checking whether fcntl is declared without a macro... yes
  316. checking whether openat is declared without a macro... yes
  317. checking whether fdopendir is declared... (cached) yes
  318. checking whether fdopendir works... yes
  319. checking for flexible array member... yes
  320. checking for working POSIX fnmatch... yes
  321. checking for __fpending... yes
  322. checking whether __fpending is declared... yes
  323. checking whether fstatat (..., 0) works... yes
  324. checking for struct statfs.f_type... yes
  325. checking whether getdtablesize works... yes
  326. checking for getpagesize... yes
  327. checking whether getpagesize is declared... yes
  328. checking whether gettimeofday clobbers localtime buffer... no
  329. checking for gettimeofday with POSIX signature... almost
  330. checking whether the compiler generally respects inline... yes
  331. checking whether INT32_MAX < INTMAX_MAX... yes
  332. checking whether INT64_MAX == LONG_MAX... yes
  333. checking whether UINT32_MAX < UINTMAX_MAX... yes
  334. checking whether UINT64_MAX == ULONG_MAX... yes
  335. checking whether iswblank is declared... yes
  336. checking whether langinfo.h defines CODESET... yes
  337. checking whether langinfo.h defines T_FMT_AMPM... yes
  338. checking whether langinfo.h defines ERA... yes
  339. checking whether langinfo.h defines YESEXPR... yes
  340. checking whether nl_langinfo is declared without a macro... yes
  341. checking whether locale.h conforms to POSIX:2001... yes
  342. checking whether locale.h defines locale_t... yes
  343. checking whether struct lconv is properly defined... yes
  344. checking whether setlocale is declared without a macro... yes
  345. checking whether duplocale is declared without a macro... yes
  346. checking for pthread_rwlock_t... yes
  347. checking whether lseek detects pipes... yes
  348. checking for stdlib.h... (cached) yes
  349. checking for GNU libc compatible malloc... (cached) yes
  350. checking whether mbrtowc handles incomplete characters... (cached) guessing yes
  351. checking whether mbrtowc works as well as mbtowc... (cached) guessing yes
  352. checking whether mbrtowc handles a NULL pwc argument... (cached) guessing yes
  353. checking whether mbrtowc handles a NULL string argument... (cached) guessing yes
  354. checking whether mbrtowc has a correct return value... (cached) guessing yes
  355. checking whether mbrtowc returns 0 when parsing a NUL character... (cached) guessing yes
  356. checking whether mbrtowc works on empty input... (cached) assume yes
  357. checking whether the C locale is free of encoding errors... (cached) no
  358. checking whether mbrtowc handles incomplete characters... (cached) guessing yes
  359. checking whether mbrtowc works as well as mbtowc... (cached) guessing yes
  360. checking whether mbrtowc handles incomplete characters... (cached) guessing yes
  361. checking whether mbrtowc works as well as mbtowc... (cached) guessing yes
  362. checking whether mbsrtowcs works... guessing yes
  363. checking for mempcpy... (cached) yes
  364. checking for memrchr... yes
  365. checking whether YESEXPR works... yes
  366. checking for obstacks that work with any size object... no
  367. checking whether open recognizes a trailing slash... yes
  368. checking for opendir... yes
  369. checking for perl5.005 or newer... yes
  370. checking whether program_invocation_name is declared... yes
  371. checking whether program_invocation_short_name is declared... yes
  372. checking for readdir... yes
  373. checking for stdlib.h... (cached) yes
  374. checking for GNU libc compatible realloc... yes
  375. checking for working re_compile_pattern... yes
  376. checking for ssize_t... (cached) yes
  377. checking whether stat handles trailing slashes on directories... yes
  378. checking whether stat handles trailing slashes on files... yes
  379. checking for working stdalign.h... yes
  380. checking for va_copy... yes
  381. checking for max_align_t... (cached) yes
  382. checking whether NULL can be used in arbitrary expressions... (cached) yes
  383. checking which flavor of printf attribute matches inttypes macros... system
  384. checking whether dprintf is declared without a macro... yes
  385. checking whether fpurge is declared without a macro... no
  386. checking whether fseeko is declared without a macro... yes
  387. checking whether ftello is declared without a macro... yes
  388. checking whether getdelim is declared without a macro... yes
  389. checking whether getline is declared without a macro... yes
  390. checking whether gets is declared without a macro... no
  391. checking whether pclose is declared without a macro... yes
  392. checking whether popen is declared without a macro... yes
  393. checking whether renameat is declared without a macro... yes
  394. checking whether snprintf is declared without a macro... yes
  395. checking whether tmpfile is declared without a macro... yes
  396. checking whether vdprintf is declared without a macro... yes
  397. checking whether vsnprintf is declared without a macro... yes
  398. checking whether _Exit is declared without a macro... yes
  399. checking whether atoll is declared without a macro... yes
  400. checking whether canonicalize_file_name is declared without a macro... yes
  401. checking whether getloadavg is declared without a macro... yes
  402. checking whether getsubopt is declared without a macro... yes
  403. checking whether grantpt is declared without a macro... yes
  404. checking whether initstate is declared without a macro... yes
  405. checking whether initstate_r is declared without a macro... yes
  406. checking whether mkdtemp is declared without a macro... yes
  407. checking whether mkostemp is declared without a macro... yes
  408. checking whether mkostemps is declared without a macro... yes
  409. checking whether mkstemp is declared without a macro... yes
  410. checking whether mkstemps is declared without a macro... yes
  411. checking whether posix_openpt is declared without a macro... yes
  412. checking whether ptsname is declared without a macro... yes
  413. checking whether ptsname_r is declared without a macro... yes
  414. checking whether random is declared without a macro... yes
  415. checking whether random_r is declared without a macro... yes
  416. checking whether realpath is declared without a macro... yes
  417. checking whether rpmatch is declared without a macro... yes
  418. checking whether secure_getenv is declared without a macro... yes
  419. checking whether setenv is declared without a macro... yes
  420. checking whether setstate is declared without a macro... yes
  421. checking whether setstate_r is declared without a macro... yes
  422. checking whether srandom is declared without a macro... yes
  423. checking whether srandom_r is declared without a macro... yes
  424. checking whether strtod is declared without a macro... yes
  425. checking whether strtoll is declared without a macro... yes
  426. checking whether strtoull is declared without a macro... yes
  427. checking whether unlockpt is declared without a macro... yes
  428. checking whether unsetenv is declared without a macro... yes
  429. checking for stpcpy... yes
  430. checking for working strerror function... yes
  431. checking for working strnlen... yes
  432. checking whether strstr works in linear time... yes
  433. checking whether strstr works... (cached) yes
  434. checking whether strtoimax works... yes
  435. checking for strtoll... yes
  436. checking for strtoull... yes
  437. checking for nlink_t... (cached) yes
  438. checking whether fchmodat is declared without a macro... (cached) yes
  439. checking whether fstat is declared without a macro... (cached) yes
  440. checking whether fstatat is declared without a macro... (cached) yes
  441. checking whether futimens is declared without a macro... (cached) yes
  442. checking whether lchmod is declared without a macro... (cached) yes
  443. checking whether lstat is declared without a macro... (cached) yes
  444. checking whether mkdirat is declared without a macro... (cached) yes
  445. checking whether mkfifo is declared without a macro... (cached) yes
  446. checking whether mkfifoat is declared without a macro... (cached) yes
  447. checking whether mknod is declared without a macro... (cached) yes
  448. checking whether mknodat is declared without a macro... (cached) yes
  449. checking whether stat is declared without a macro... (cached) yes
  450. checking whether utimensat is declared without a macro... (cached) yes
  451. checking whether chdir is declared without a macro... yes
  452. checking whether chown is declared without a macro... yes
  453. checking whether dup is declared without a macro... yes
  454. checking whether dup2 is declared without a macro... yes
  455. checking whether dup3 is declared without a macro... yes
  456. checking whether environ is declared without a macro... yes
  457. checking whether euidaccess is declared without a macro... yes
  458. checking whether faccessat is declared without a macro... yes
  459. checking whether fchdir is declared without a macro... yes
  460. checking whether fchownat is declared without a macro... yes
  461. checking whether fdatasync is declared without a macro... yes
  462. checking whether fsync is declared without a macro... yes
  463. checking whether ftruncate is declared without a macro... yes
  464. checking whether getcwd is declared without a macro... yes
  465. checking whether getdomainname is declared without a macro... yes
  466. checking whether getdtablesize is declared without a macro... yes
  467. checking whether getgroups is declared without a macro... yes
  468. checking whether gethostname is declared without a macro... yes
  469. checking whether getlogin is declared without a macro... yes
  470. checking whether getlogin_r is declared without a macro... yes
  471. checking whether getpagesize is declared without a macro... yes
  472. checking whether getusershell is declared without a macro... yes
  473. checking whether setusershell is declared without a macro... yes
  474. checking whether endusershell is declared without a macro... yes
  475. checking whether group_member is declared without a macro... yes
  476. checking whether isatty is declared without a macro... yes
  477. checking whether lchown is declared without a macro... yes
  478. checking whether link is declared without a macro... yes
  479. checking whether linkat is declared without a macro... yes
  480. checking whether lseek is declared without a macro... yes
  481. checking whether pipe is declared without a macro... yes
  482. checking whether pipe2 is declared without a macro... yes
  483. checking whether pread is declared without a macro... yes
  484. checking whether pwrite is declared without a macro... yes
  485. checking whether readlink is declared without a macro... yes
  486. checking whether readlinkat is declared without a macro... yes
  487. checking whether rmdir is declared without a macro... yes
  488. checking whether sethostname is declared without a macro... yes
  489. checking whether sleep is declared without a macro... yes
  490. checking whether symlink is declared without a macro... yes
  491. checking whether symlinkat is declared without a macro... yes
  492. checking whether ttyname_r is declared without a macro... yes
  493. checking whether unlink is declared without a macro... yes
  494. checking whether unlinkat is declared without a macro... yes
  495. checking whether usleep is declared without a macro... yes
  496. checking whether btowc is declared without a macro... yes
  497. checking whether wctob is declared without a macro... yes
  498. checking whether mbsinit is declared without a macro... yes
  499. checking whether mbrtowc is declared without a macro... yes
  500. checking whether mbrlen is declared without a macro... yes
  501. checking whether mbsrtowcs is declared without a macro... yes
  502. checking whether mbsnrtowcs is declared without a macro... yes
  503. checking whether wcrtomb is declared without a macro... yes
  504. checking whether wcsrtombs is declared without a macro... yes
  505. checking whether wcsnrtombs is declared without a macro... yes
  506. checking whether wcwidth is declared without a macro... yes
  507. checking whether wmemchr is declared without a macro... yes
  508. checking whether wmemcmp is declared without a macro... yes
  509. checking whether wmemcpy is declared without a macro... yes
  510. checking whether wmemmove is declared without a macro... yes
  511. checking whether wmemset is declared without a macro... yes
  512. checking whether wcslen is declared without a macro... yes
  513. checking whether wcsnlen is declared without a macro... yes
  514. checking whether wcscpy is declared without a macro... yes
  515. checking whether wcpcpy is declared without a macro... yes
  516. checking whether wcsncpy is declared without a macro... yes
  517. checking whether wcpncpy is declared without a macro... yes
  518. checking whether wcscat is declared without a macro... yes
  519. checking whether wcsncat is declared without a macro... yes
  520. checking whether wcscmp is declared without a macro... yes
  521. checking whether wcsncmp is declared without a macro... yes
  522. checking whether wcscasecmp is declared without a macro... yes
  523. checking whether wcsncasecmp is declared without a macro... yes
  524. checking whether wcscoll is declared without a macro... yes
  525. checking whether wcsxfrm is declared without a macro... yes
  526. checking whether wcsdup is declared without a macro... yes
  527. checking whether wcschr is declared without a macro... yes
  528. checking whether wcsrchr is declared without a macro... yes
  529. checking whether wcscspn is declared without a macro... yes
  530. checking whether wcsspn is declared without a macro... yes
  531. checking whether wcspbrk is declared without a macro... yes
  532. checking whether wcsstr is declared without a macro... yes
  533. checking whether wcstok is declared without a macro... yes
  534. checking whether wcswidth is declared without a macro... yes
  535. checking whether mbrtowc handles incomplete characters... (cached) guessing yes
  536. checking whether mbrtowc works as well as mbtowc... (cached) guessing yes
  537. checking whether wcrtomb return value is correct... guessing yes
  538. checking whether wctob works... guessing yes
  539. checking whether wctob is declared... (cached) yes
  540. checking whether iswcntrl works... (cached) yes
  541. checking for towlower... (cached) yes
  542. checking for wctype_t... (cached) yes
  543. checking for wctrans_t... (cached) yes
  544. checking whether wctype is declared without a macro... (cached) yes
  545. checking whether iswctype is declared without a macro... (cached) yes
  546. checking whether wctrans is declared without a macro... (cached) yes
  547. checking whether towctrans is declared without a macro... (cached) yes
  548. checking whether wcwidth is declared... (cached) yes
  549. checking whether wcwidth works reasonably in UTF-8 locales... yes
  550. checking for a traditional french locale... (cached) none
  551. checking for a french Unicode locale... (cached) none
  552. checking for a traditional french locale... (cached) none
  553. checking for a turkish Unicode locale... none
  554. checking whether fdopen sets errno... yes
  555. checking whether conversion from 'int' to 'long double' works... yes
  556. checking for setlocale... (cached) yes
  557. checking for uselocale... yes
  558. checking for getlocalename_l... no
  559. checking for a turkish Unicode locale... (cached) none
  560. checking for a french Unicode locale... (cached) none
  561. checking for a traditional french locale... (cached) none
  562. checking for a french Unicode locale... (cached) none
  563. checking for a traditional japanese locale... (cached) none
  564. checking for a transitional chinese locale... (cached) none
  565. checking for a french Unicode locale... (cached) none
  566. checking for a transitional chinese locale... (cached) none
  567. checking for mmap... (cached) yes
  568. checking for MAP_ANONYMOUS... yes
  569. checking for mmap... (cached) yes
  570. checking for MAP_ANONYMOUS... yes
  571. checking for mmap... (cached) yes
  572. checking for MAP_ANONYMOUS... yes
  573. checking for a traditional french locale... (cached) none
  574. checking for a french Unicode locale... (cached) none
  575. checking for putenv compatible with GNU and SVID... yes
  576. checking for mmap... (cached) yes
  577. checking for MAP_ANONYMOUS... yes
  578. checking whether setenv validates arguments... yes
  579. checking for a traditional french locale... (cached) none
  580. checking for a french Unicode locale... (cached) none
  581. checking for a traditional japanese locale... (cached) none
  582. checking for a transitional chinese locale... (cached) none
  583. checking for stdint.h... (cached) yes
  584. checking for SIZE_MAX... yes
  585. checking for snprintf... (cached) yes
  586. checking whether snprintf respects a size of 1... yes
  587. checking whether printf supports POSIX/XSI format strings with positions... yes
  588. checking for mmap... (cached) yes
  589. checking for MAP_ANONYMOUS... yes
  590. checking for mmap... (cached) yes
  591. checking for MAP_ANONYMOUS... yes
  592. checking whether symlink handles trailing slash correctly... yes
  593. checking for unsetenv... yes
  594. checking for unsetenv() return type... int
  595. checking whether unsetenv obeys POSIX... yes
  596. checking for ptrdiff_t... yes
  597. checking for a traditional french locale... (cached) none
  598. checking for a french Unicode locale... (cached) none
  599. checking for a traditional japanese locale... (cached) none
  600. checking for a transitional chinese locale... (cached) none
  601. checking for stdint.h... (cached) yes
  602. checking for dirent.h that defines DIR... yes
  603. checking for library containing opendir... none required
  604. checking whether closedir returns void... no
  605. checking whether NLS is requested... yes
  606. checking for msgfmt... /usr/bin/msgfmt
  607. checking for gmsgfmt... /usr/bin/gmsgfmt
  608. checking for xgettext... /usr/bin/xgettext
  609. checking for msgmerge... /usr/bin/msgmerge
  610. checking for CFPreferencesCopyAppValue... (cached) no
  611. checking for CFLocaleCopyCurrent... (cached) no
  612. checking for GNU gettext in libc... yes
  613. checking whether to use NLS... yes
  614. checking where the gettext function comes from... libc
  615. configure: WARNING: Included lib/regex.c not used
  616. checking for PCRE... yes
  617. checking for pcre_compile... yes
  618. checking that generated files are newer than configure... done
  619. configure: creating ./config.status
  620. config.status: creating Makefile
  621. config.status: creating lib/Makefile
  622. config.status: creating src/Makefile
  623. config.status: creating tests/Makefile
  624. config.status: creating po/Makefile.in
  625. config.status: creating doc/Makefile
  626. config.status: creating gnulib-tests/Makefile
  627. config.status: creating config.h
  628. config.status: executing depfiles commands
  629. config.status: executing po-directories commands
  630. config.status: creating po/POTFILES
  631. config.status: creating po/Makefile
  632. >>> Source configured.
  633. >>> Compiling source in /var/tmp/portage/sys-apps/grep-2.25/work/grep-2.25 ...
  634. make -j5
  635. make all-recursive
  636. make[1]: Entering directory '/var/tmp/portage/sys-apps/grep-2.25/work/grep-2.25'
  637. Making all in po
  638. make[2]: Entering directory '/var/tmp/portage/sys-apps/grep-2.25/work/grep-2.25/po'
  639. make[2]: Nothing to be done for 'all'.
  640. make[2]: Leaving directory '/var/tmp/portage/sys-apps/grep-2.25/work/grep-2.25/po'
  641. Making all in lib
  642. make[2]: Entering directory '/var/tmp/portage/sys-apps/grep-2.25/work/grep-2.25/lib'
  643. Makefile:1687: target '.deps/alloca.Po' given more than once in the same rule
  644. rm -f alloca.h-t alloca.h && \
  645. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  646. cat ./alloca.in.h; \
  647. } > alloca.h-t && \
  648. mv -f alloca.h-t alloca.h
  649. rm -f configmake.h-t && \
  650. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  651. echo '#define PREFIX "/usr"'; \
  652. echo '#define EXEC_PREFIX "/usr"'; \
  653. echo '#define BINDIR "/bin"'; \
  654. echo '#define SBINDIR "/usr/sbin"'; \
  655. echo '#define LIBEXECDIR "/usr/libexec"'; \
  656. echo '#define DATAROOTDIR "/usr/share"'; \
  657. echo '#define DATADIR "/usr/share"'; \
  658. echo '#define SYSCONFDIR "/etc"'; \
  659. echo '#define SHAREDSTATEDIR "/usr/com"'; \
  660. echo '#define LOCALSTATEDIR "/var/lib"'; \
  661. echo '#define RUNSTATEDIR "/var/lib/run"'; \
  662. echo '#define INCLUDEDIR "/usr/include"'; \
  663. echo '#define OLDINCLUDEDIR "/usr/include"'; \
  664. echo '#define DOCDIR "/usr/share/doc/grep"'; \
  665. echo '#define INFODIR "/usr/share/info"'; \
  666. echo '#define HTMLDIR "/usr/share/doc/grep"'; \
  667. echo '#define DVIDIR "/usr/share/doc/grep"'; \
  668. echo '#define PDFDIR "/usr/share/doc/grep"'; \
  669. echo '#define PSDIR "/usr/share/doc/grep"'; \
  670. echo '#define LIBDIR "/usr/lib64"'; \
  671. echo '#define LISPDIR "/usr/share/emacs/site-lisp"'; \
  672. echo '#define LOCALEDIR "/usr/share/locale"'; \
  673. echo '#define MANDIR "/usr/share/man"'; \
  674. echo '#define MANEXT ""'; \
  675. echo '#define PKGDATADIR "/usr/share/grep"'; \
  676. echo '#define PKGINCLUDEDIR "/usr/include/grep"'; \
  677. echo '#define PKGLIBDIR "/usr/lib64/grep"'; \
  678. echo '#define PKGLIBEXECDIR "/usr/libexec/grep"'; \
  679. } | sed '/""/d' > configmake.h-t && \
  680. mv -f configmake.h-t configmake.h
  681. rm -f c++defs.h-t c++defs.h && \
  682. sed -n -e '/_GL_CXXDEFS/,$p' \
  683. < ../build-aux/snippet/c++defs.h \
  684. > c++defs.h-t && \
  685. mv c++defs.h-t c++defs.h
  686. rm -f warn-on-use.h-t warn-on-use.h && \
  687. sed -n -e '/^.ifndef/,$p' \
  688. < ../build-aux/snippet/warn-on-use.h \
  689. > warn-on-use.h-t && \
  690. mv warn-on-use.h-t warn-on-use.h
  691. rm -f arg-nonnull.h-t arg-nonnull.h && \
  692. sed -n -e '/GL_ARG_NONNULL/,$p' \
  693. < ../build-aux/snippet/arg-nonnull.h \
  694. > arg-nonnull.h-t && \
  695. mv arg-nonnull.h-t arg-nonnull.h
  696. rm -f unused-parameter.h-t unused-parameter.h && \
  697. sed -n -e '/GL_UNUSED_PARAMETER/,$p' \
  698. < ../build-aux/snippet/unused-parameter.h \
  699. > unused-parameter.h-t && \
  700. mv unused-parameter.h-t unused-parameter.h
  701. /bin/mkdir -p sys
  702. rm -f unistr.h-t unistr.h && \
  703. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  704. cat ./unistr.in.h; \
  705. } > unistr.h-t && \
  706. mv -f unistr.h-t unistr.h
  707. rm -f sys/types.h-t sys/types.h && \
  708. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  709. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  710. -e 's|@''INCLUDE_NEXT''@|include_next|g' \
  711. -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
  712. -e 's|@''PRAGMA_COLUMNS''@||g' \
  713. -e 's|@''NEXT_SYS_TYPES_H''@|<sys/types.h>|g' \
  714. -e 's|@''WINDOWS_64_BIT_OFF_T''@|0|g' \
  715. < ./sys_types.in.h; \
  716. } > sys/types.h-t && \
  717. mv sys/types.h-t sys/types.h
  718. rm -f unitypes.h-t unitypes.h && \
  719. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  720. cat ./unitypes.in.h; \
  721. } > unitypes.h-t && \
  722. mv -f unitypes.h-t unitypes.h
  723. rm -f uniwidth.h-t uniwidth.h && \
  724. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  725. cat ./uniwidth.in.h; \
  726. } > uniwidth.h-t && \
  727. mv -f uniwidth.h-t uniwidth.h
  728. rm -f wchar.h-t wchar.h && \
  729. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  730. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  731. -e 's|@''INCLUDE_NEXT''@|include_next|g' \
  732. -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
  733. -e 's|@''PRAGMA_COLUMNS''@||g' \
  734. -e 's|@''HAVE_FEATURES_H''@|1|g' \
  735. -e 's|@''NEXT_WCHAR_H''@|<wchar.h>|g' \
  736. -e 's|@''HAVE_WCHAR_H''@|1|g' \
  737. -e 's/@''GNULIB_BTOWC''@/1/g' \
  738. -e 's/@''GNULIB_WCTOB''@/1/g' \
  739. -e 's/@''GNULIB_MBSINIT''@/1/g' \
  740. -e 's/@''GNULIB_MBRTOWC''@/1/g' \
  741. -e 's/@''GNULIB_MBRLEN''@/1/g' \
  742. -e 's/@''GNULIB_MBSRTOWCS''@/1/g' \
  743. -e 's/@''GNULIB_MBSNRTOWCS''@/0/g' \
  744. -e 's/@''GNULIB_WCRTOMB''@/1/g' \
  745. -e 's/@''GNULIB_WCSRTOMBS''@/0/g' \
  746. -e 's/@''GNULIB_WCSNRTOMBS''@/0/g' \
  747. -e 's/@''GNULIB_WCWIDTH''@/1/g' \
  748. -e 's/@''GNULIB_WMEMCHR''@/0/g' \
  749. -e 's/@''GNULIB_WMEMCMP''@/0/g' \
  750. -e 's/@''GNULIB_WMEMCPY''@/0/g' \
  751. -e 's/@''GNULIB_WMEMMOVE''@/0/g' \
  752. -e 's/@''GNULIB_WMEMSET''@/0/g' \
  753. -e 's/@''GNULIB_WCSLEN''@/0/g' \
  754. -e 's/@''GNULIB_WCSNLEN''@/0/g' \
  755. -e 's/@''GNULIB_WCSCPY''@/0/g' \
  756. -e 's/@''GNULIB_WCPCPY''@/0/g' \
  757. -e 's/@''GNULIB_WCSNCPY''@/0/g' \
  758. -e 's/@''GNULIB_WCPNCPY''@/0/g' \
  759. -e 's/@''GNULIB_WCSCAT''@/0/g' \
  760. -e 's/@''GNULIB_WCSNCAT''@/0/g' \
  761. -e 's/@''GNULIB_WCSCMP''@/0/g' \
  762. -e 's/@''GNULIB_WCSNCMP''@/0/g' \
  763. -e 's/@''GNULIB_WCSCASECMP''@/0/g' \
  764. -e 's/@''GNULIB_WCSNCASECMP''@/0/g' \
  765. -e 's/@''GNULIB_WCSCOLL''@/0/g' \
  766. -e 's/@''GNULIB_WCSXFRM''@/0/g' \
  767. -e 's/@''GNULIB_WCSDUP''@/0/g' \
  768. -e 's/@''GNULIB_WCSCHR''@/0/g' \
  769. -e 's/@''GNULIB_WCSRCHR''@/0/g' \
  770. -e 's/@''GNULIB_WCSCSPN''@/0/g' \
  771. -e 's/@''GNULIB_WCSSPN''@/0/g' \
  772. -e 's/@''GNULIB_WCSPBRK''@/0/g' \
  773. -e 's/@''GNULIB_WCSSTR''@/0/g' \
  774. -e 's/@''GNULIB_WCSTOK''@/0/g' \
  775. -e 's/@''GNULIB_WCSWIDTH''@/0/g' \
  776. < ./wchar.in.h | \
  777. sed -e 's|@''HAVE_WINT_T''@|1|g' \
  778. -e 's|@''HAVE_BTOWC''@|1|g' \
  779. -e 's|@''HAVE_MBSINIT''@|1|g' \
  780. -e 's|@''HAVE_MBRTOWC''@|1|g' \
  781. -e 's|@''HAVE_MBRLEN''@|1|g' \
  782. -e 's|@''HAVE_MBSRTOWCS''@|1|g' \
  783. -e 's|@''HAVE_MBSNRTOWCS''@|1|g' \
  784. -e 's|@''HAVE_WCRTOMB''@|1|g' \
  785. -e 's|@''HAVE_WCSRTOMBS''@|1|g' \
  786. -e 's|@''HAVE_WCSNRTOMBS''@|1|g' \
  787. -e 's|@''HAVE_WMEMCHR''@|1|g' \
  788. -e 's|@''HAVE_WMEMCMP''@|1|g' \
  789. -e 's|@''HAVE_WMEMCPY''@|1|g' \
  790. -e 's|@''HAVE_WMEMMOVE''@|1|g' \
  791. -e 's|@''HAVE_WMEMSET''@|1|g' \
  792. -e 's|@''HAVE_WCSLEN''@|1|g' \
  793. -e 's|@''HAVE_WCSNLEN''@|1|g' \
  794. -e 's|@''HAVE_WCSCPY''@|1|g' \
  795. -e 's|@''HAVE_WCPCPY''@|1|g' \
  796. -e 's|@''HAVE_WCSNCPY''@|1|g' \
  797. -e 's|@''HAVE_WCPNCPY''@|1|g' \
  798. -e 's|@''HAVE_WCSCAT''@|1|g' \
  799. -e 's|@''HAVE_WCSNCAT''@|1|g' \
  800. -e 's|@''HAVE_WCSCMP''@|1|g' \
  801. -e 's|@''HAVE_WCSNCMP''@|1|g' \
  802. -e 's|@''HAVE_WCSCASECMP''@|1|g' \
  803. -e 's|@''HAVE_WCSNCASECMP''@|1|g' \
  804. -e 's|@''HAVE_WCSCOLL''@|1|g' \
  805. -e 's|@''HAVE_WCSXFRM''@|1|g' \
  806. -e 's|@''HAVE_WCSDUP''@|1|g' \
  807. -e 's|@''HAVE_WCSCHR''@|1|g' \
  808. -e 's|@''HAVE_WCSRCHR''@|1|g' \
  809. -e 's|@''HAVE_WCSCSPN''@|1|g' \
  810. -e 's|@''HAVE_WCSSPN''@|1|g' \
  811. -e 's|@''HAVE_WCSPBRK''@|1|g' \
  812. -e 's|@''HAVE_WCSSTR''@|1|g' \
  813. -e 's|@''HAVE_WCSTOK''@|1|g' \
  814. -e 's|@''HAVE_WCSWIDTH''@|1|g' \
  815. -e 's|@''HAVE_DECL_WCTOB''@|1|g' \
  816. -e 's|@''HAVE_DECL_WCWIDTH''@|1|g' \
  817. | \
  818. sed -e 's|@''REPLACE_MBSTATE_T''@|0|g' \
  819. -e 's|@''REPLACE_BTOWC''@|0|g' \
  820. -e 's|@''REPLACE_WCTOB''@|0|g' \
  821. -e 's|@''REPLACE_MBSINIT''@|0|g' \
  822. -e 's|@''REPLACE_MBRTOWC''@|1|g' \
  823. -e 's|@''REPLACE_MBRLEN''@|1|g' \
  824. -e 's|@''REPLACE_MBSRTOWCS''@|0|g' \
  825. -e 's|@''REPLACE_MBSNRTOWCS''@|0|g' \
  826. -e 's|@''REPLACE_WCRTOMB''@|0|g' \
  827. -e 's|@''REPLACE_WCSRTOMBS''@|0|g' \
  828. -e 's|@''REPLACE_WCSNRTOMBS''@|0|g' \
  829. -e 's|@''REPLACE_WCWIDTH''@|0|g' \
  830. -e 's|@''REPLACE_WCSWIDTH''@|0|g' \
  831. -e '/definitions of _GL_FUNCDECL_RPL/r c++defs.h' \
  832. -e '/definition of _GL_ARG_NONNULL/r arg-nonnull.h' \
  833. -e '/definition of _GL_WARN_ON_USE/r warn-on-use.h'; \
  834. } > wchar.h-t && \
  835. mv wchar.h-t wchar.h
  836. rm -f wctype.h-t wctype.h && \
  837. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  838. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  839. -e 's/@''HAVE_WCTYPE_H''@/1/g' \
  840. -e 's|@''INCLUDE_NEXT''@|include_next|g' \
  841. -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
  842. -e 's|@''PRAGMA_COLUMNS''@||g' \
  843. -e 's|@''NEXT_WCTYPE_H''@|<wctype.h>|g' \
  844. -e 's/@''GNULIB_ISWBLANK''@/1/g' \
  845. -e 's/@''GNULIB_WCTYPE''@/0/g' \
  846. -e 's/@''GNULIB_ISWCTYPE''@/1/g' \
  847. -e 's/@''GNULIB_WCTRANS''@/0/g' \
  848. -e 's/@''GNULIB_TOWCTRANS''@/0/g' \
  849. -e 's/@''HAVE_ISWBLANK''@/1/g' \
  850. -e 's/@''HAVE_ISWCNTRL''@/1/g' \
  851. -e 's/@''HAVE_WCTYPE_T''@/1/g' \
  852. -e 's/@''HAVE_WCTRANS_T''@/1/g' \
  853. -e 's/@''HAVE_WINT_T''@/1/g' \
  854. -e 's/@''REPLACE_ISWBLANK''@/0/g' \
  855. -e 's/@''REPLACE_ISWCNTRL''@/0/g' \
  856. -e 's/@''REPLACE_TOWLOWER''@/0/g' \
  857. -e '/definitions of _GL_FUNCDECL_RPL/r c++defs.h' \
  858. -e '/definition of _GL_WARN_ON_USE/r warn-on-use.h' \
  859. < ./wctype.in.h; \
  860. } > wctype.h-t && \
  861. mv wctype.h-t wctype.h
  862. rm -f ctype.h-t ctype.h && \
  863. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  864. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  865. -e 's|@''INCLUDE_NEXT''@|include_next|g' \
  866. -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
  867. -e 's|@''PRAGMA_COLUMNS''@||g' \
  868. -e 's|@''NEXT_CTYPE_H''@|<ctype.h>|g' \
  869. -e 's/@''GNULIB_ISBLANK''@/1/g' \
  870. -e 's/@''HAVE_ISBLANK''@/1/g' \
  871. -e '/definitions of _GL_FUNCDECL_RPL/r c++defs.h' \
  872. -e '/definition of _GL_WARN_ON_USE/r warn-on-use.h' \
  873. < ./ctype.in.h; \
  874. } > ctype.h-t && \
  875. mv ctype.h-t ctype.h
  876. rm -f dirent.h-t dirent.h && \
  877. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  878. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  879. -e 's|@''HAVE_DIRENT_H''@|1|g' \
  880. -e 's|@''INCLUDE_NEXT''@|include_next|g' \
  881. -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
  882. -e 's|@''PRAGMA_COLUMNS''@||g' \
  883. -e 's|@''NEXT_DIRENT_H''@|<dirent.h>|g' \
  884. -e 's/@''GNULIB_OPENDIR''@/1/g' \
  885. -e 's/@''GNULIB_READDIR''@/1/g' \
  886. -e 's/@''GNULIB_REWINDDIR''@/0/g' \
  887. -e 's/@''GNULIB_CLOSEDIR''@/1/g' \
  888. -e 's/@''GNULIB_DIRFD''@/1/g' \
  889. -e 's/@''GNULIB_FDOPENDIR''@/1/g' \
  890. -e 's/@''GNULIB_SCANDIR''@/0/g' \
  891. -e 's/@''GNULIB_ALPHASORT''@/0/g' \
  892. -e 's/@''HAVE_OPENDIR''@/1/g' \
  893. -e 's/@''HAVE_READDIR''@/1/g' \
  894. -e 's/@''HAVE_REWINDDIR''@/1/g' \
  895. -e 's/@''HAVE_CLOSEDIR''@/1/g' \
  896. -e 's|@''HAVE_DECL_DIRFD''@|1|g' \
  897. -e 's|@''HAVE_DECL_FDOPENDIR''@|1|g' \
  898. -e 's|@''HAVE_FDOPENDIR''@|1|g' \
  899. -e 's|@''HAVE_SCANDIR''@|1|g' \
  900. -e 's|@''HAVE_ALPHASORT''@|1|g' \
  901. -e 's|@''REPLACE_OPENDIR''@|0|g' \
  902. -e 's|@''REPLACE_CLOSEDIR''@|0|g' \
  903. -e 's|@''REPLACE_DIRFD''@|0|g' \
  904. -e 's|@''REPLACE_FDOPENDIR''@|0|g' \
  905. -e '/definitions of _GL_FUNCDECL_RPL/r c++defs.h' \
  906. -e '/definition of _GL_ARG_NONNULL/r arg-nonnull.h' \
  907. -e '/definition of _GL_WARN_ON_USE/r warn-on-use.h' \
  908. < ./dirent.in.h; \
  909. } > dirent.h-t && \
  910. mv dirent.h-t dirent.h
  911. rm -f fcntl.h-t fcntl.h && \
  912. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  913. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  914. -e 's|@''INCLUDE_NEXT''@|include_next|g' \
  915. -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
  916. -e 's|@''PRAGMA_COLUMNS''@||g' \
  917. -e 's|@''NEXT_FCNTL_H''@|<fcntl.h>|g' \
  918. -e 's/@''GNULIB_FCNTL''@/1/g' \
  919. -e 's/@''GNULIB_NONBLOCKING''@/0/g' \
  920. -e 's/@''GNULIB_OPEN''@/1/g' \
  921. -e 's/@''GNULIB_OPENAT''@/1/g' \
  922. -e 's|@''HAVE_FCNTL''@|1|g' \
  923. -e 's|@''HAVE_OPENAT''@|1|g' \
  924. -e 's|@''REPLACE_FCNTL''@|1|g' \
  925. -e 's|@''REPLACE_OPEN''@|0|g' \
  926. -e 's|@''REPLACE_OPENAT''@|0|g' \
  927. -e '/definitions of _GL_FUNCDECL_RPL/r c++defs.h' \
  928. -e '/definition of _GL_ARG_NONNULL/r arg-nonnull.h' \
  929. -e '/definition of _GL_WARN_ON_USE/r warn-on-use.h' \
  930. < ./fcntl.in.h; \
  931. } > fcntl.h-t && \
  932. mv fcntl.h-t fcntl.h
  933. rm -f iconv.h-t iconv.h && \
  934. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
  935. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  936. -e 's|@''INCLUDE_NEXT''@|include_next|g' \
  937. -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
  938. -e 's|@''PRAGMA_COLUMNS''@||g' \
  939. -e 's|@''NEXT_ICONV_H''@|<iconv.h>|g' \
  940. -e 's/@''GNULIB_ICONV''@/1/g' \
  941. -e 's|@''ICONV_CONST''@||g' \
  942. -e 's|@''REPLACE_ICONV''@|0|g' \
  943. -e 's|@''REPLACE_ICONV_OPEN''@|0|g' \
  944. -e 's|@''REPLACE_ICONV_UTF''@|0|g' \
  945. -e '/definitions of _GL_FUNCDECL_RPL/r c++defs.h' \
  946. -e '/definition of _GL_ARG_NONNULL/r arg-nonnull.h' \
  947. -e '/definition of _GL_WARN_ON_USE/r warn-on-use.h' \
  948. < ./iconv.in.h; \
  949. } > iconv.h-t && \
  950. mv iconv.h-t iconv.h
  951. rm -f inttypes.h-t inttypes.h && \
  952. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  953. sed -e 's/@''HAVE_INTTYPES_H''@/1/g' \
  954. -e 's|@''INCLUDE_NEXT''@|include_next|g' \
  955. -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
  956. -e 's|@''PRAGMA_COLUMNS''@||g' \
  957. -e 's|@''NEXT_INTTYPES_H''@|<inttypes.h>|g' \
  958. -e 's/@''PRI_MACROS_BROKEN''@/0/g' \
  959. -e 's/@''APPLE_UNIVERSAL_BUILD''@/0/g' \
  960. -e 's/@''HAVE_LONG_LONG_INT''@/1/g' \
  961. -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/1/g' \
  962. -e 's/@''PRIPTR_PREFIX''@/"l"/g' \
  963. -e 's/@''GNULIB_IMAXABS''@/0/g' \
  964. -e 's/@''GNULIB_IMAXDIV''@/0/g' \
  965. -e 's/@''GNULIB_STRTOIMAX''@/1/g' \
  966. -e 's/@''GNULIB_STRTOUMAX''@/1/g' \
  967. -e 's/@''HAVE_DECL_IMAXABS''@/1/g' \
  968. -e 's/@''HAVE_DECL_IMAXDIV''@/1/g' \
  969. -e 's/@''HAVE_DECL_STRTOIMAX''@/1/g' \
  970. -e 's/@''HAVE_DECL_STRTOUMAX''@/1/g' \
  971. -e 's/@''REPLACE_STRTOIMAX''@/0/g' \
  972. -e 's/@''REPLACE_STRTOUMAX''@/0/g' \
  973. -e 's/@''INT32_MAX_LT_INTMAX_MAX''@/1/g' \
  974. -e 's/@''INT64_MAX_EQ_LONG_MAX''@/1/g' \
  975. -e 's/@''UINT32_MAX_LT_UINTMAX_MAX''@/1/g' \
  976. -e 's/@''UINT64_MAX_EQ_ULONG_MAX''@/1/g' \
  977. -e '/definitions of _GL_FUNCDECL_RPL/r c++defs.h' \
  978. -e '/definition of _GL_ARG_NONNULL/r arg-nonnull.h' \
  979. -e '/definition of _GL_WARN_ON_USE/r warn-on-use.h' \
  980. < ./inttypes.in.h; \
  981. } > inttypes.h-t && \
  982. mv inttypes.h-t inttypes.h
  983. rm -f langinfo.h-t langinfo.h && \
  984. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  985. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  986. -e 's|@''HAVE_LANGINFO_H''@|1|g' \
  987. -e 's|@''INCLUDE_NEXT''@|include_next|g' \
  988. -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
  989. -e 's|@''PRAGMA_COLUMNS''@||g' \
  990. -e 's|@''NEXT_LANGINFO_H''@|<langinfo.h>|g' \
  991. -e 's/@''GNULIB_NL_LANGINFO''@/1/g' \
  992. -e 's|@''HAVE_LANGINFO_CODESET''@|1|g' \
  993. -e 's|@''HAVE_LANGINFO_T_FMT_AMPM''@|1|g' \
  994. -e 's|@''HAVE_LANGINFO_ERA''@|1|g' \
  995. -e 's|@''HAVE_LANGINFO_YESEXPR''@|1|g' \
  996. -e 's|@''HAVE_NL_LANGINFO''@|1|g' \
  997. -e 's|@''REPLACE_NL_LANGINFO''@|0|g' \
  998. -e '/definitions of _GL_FUNCDECL_RPL/r c++defs.h' \
  999. -e '/definition of _GL_WARN_ON_USE/r warn-on-use.h' \
  1000. < ./langinfo.in.h; \
  1001. } > langinfo.h-t && \
  1002. mv langinfo.h-t langinfo.h
  1003. rm -f locale.h-t locale.h && \
  1004. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
  1005. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  1006. -e 's|@''INCLUDE_NEXT''@|include_next|g' \
  1007. -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
  1008. -e 's|@''PRAGMA_COLUMNS''@||g' \
  1009. -e 's|@''NEXT_LOCALE_H''@|<locale.h>|g' \
  1010. -e 's/@''GNULIB_LOCALECONV''@/1/g' \
  1011. -e 's/@''GNULIB_SETLOCALE''@/IN_GREP_GNULIB_TESTS/g' \
  1012. -e 's/@''GNULIB_DUPLOCALE''@/0/g' \
  1013. -e 's|@''HAVE_DUPLOCALE''@|1|g' \
  1014. -e 's|@''HAVE_XLOCALE_H''@|1|g' \
  1015. -e 's|@''REPLACE_LOCALECONV''@|0|g' \
  1016. -e 's|@''REPLACE_SETLOCALE''@|0|g' \
  1017. -e 's|@''REPLACE_DUPLOCALE''@|0|g' \
  1018. -e 's|@''REPLACE_STRUCT_LCONV''@|0|g' \
  1019. -e '/definitions of _GL_FUNCDECL_RPL/r c++defs.h' \
  1020. -e '/definition of _GL_ARG_NONNULL/r arg-nonnull.h' \
  1021. -e '/definition of _GL_WARN_ON_USE/r warn-on-use.h' \
  1022. < ./locale.in.h; \
  1023. } > locale.h-t && \
  1024. mv locale.h-t locale.h
  1025. rm -f stdio.h-t stdio.h && \
  1026. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
  1027. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  1028. -e 's|@''INCLUDE_NEXT''@|include_next|g' \
  1029. -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
  1030. -e 's|@''PRAGMA_COLUMNS''@||g' \
  1031. -e 's|@''NEXT_STDIO_H''@|<stdio.h>|g' \
  1032. -e 's/@''GNULIB_DPRINTF''@/0/g' \
  1033. -e 's/@''GNULIB_FCLOSE''@/0/g' \
  1034. -e 's/@''GNULIB_FDOPEN''@/IN_GREP_GNULIB_TESTS/g' \
  1035. -e 's/@''GNULIB_FFLUSH''@/0/g' \
  1036. -e 's/@''GNULIB_FGETC''@/1/g' \
  1037. -e 's/@''GNULIB_FGETS''@/1/g' \
  1038. -e 's/@''GNULIB_FOPEN''@/0/g' \
  1039. -e 's/@''GNULIB_FPRINTF''@/1/g' \
  1040. -e 's/@''GNULIB_FPRINTF_POSIX''@/0/g' \
  1041. -e 's/@''GNULIB_FPURGE''@/0/g' \
  1042. -e 's/@''GNULIB_FPUTC''@/1/g' \
  1043. -e 's/@''GNULIB_FPUTS''@/1/g' \
  1044. -e 's/@''GNULIB_FREAD''@/1/g' \
  1045. -e 's/@''GNULIB_FREOPEN''@/0/g' \
  1046. -e 's/@''GNULIB_FSCANF''@/1/g' \
  1047. -e 's/@''GNULIB_FSEEK''@/0/g' \
  1048. -e 's/@''GNULIB_FSEEKO''@/0/g' \
  1049. -e 's/@''GNULIB_FTELL''@/0/g' \
  1050. -e 's/@''GNULIB_FTELLO''@/0/g' \
  1051. -e 's/@''GNULIB_FWRITE''@/1/g' \
  1052. -e 's/@''GNULIB_GETC''@/1/g' \
  1053. -e 's/@''GNULIB_GETCHAR''@/1/g' \
  1054. -e 's/@''GNULIB_GETDELIM''@/0/g' \
  1055. -e 's/@''GNULIB_GETLINE''@/0/g' \
  1056. -e 's/@''GNULIB_OBSTACK_PRINTF''@/0/g' \
  1057. -e 's/@''GNULIB_OBSTACK_PRINTF_POSIX''@/0/g' \
  1058. -e 's/@''GNULIB_PCLOSE''@/0/g' \
  1059. -e 's/@''GNULIB_PERROR''@/0/g' \
  1060. -e 's/@''GNULIB_POPEN''@/0/g' \
  1061. -e 's/@''GNULIB_PRINTF''@/1/g' \
  1062. -e 's/@''GNULIB_PRINTF_POSIX''@/0/g' \
  1063. -e 's/@''GNULIB_PUTC''@/1/g' \
  1064. -e 's/@''GNULIB_PUTCHAR''@/1/g' \
  1065. -e 's/@''GNULIB_PUTS''@/1/g' \
  1066. -e 's/@''GNULIB_REMOVE''@/0/g' \
  1067. -e 's/@''GNULIB_RENAME''@/0/g' \
  1068. -e 's/@''GNULIB_RENAMEAT''@/0/g' \
  1069. -e 's/@''GNULIB_SCANF''@/1/g' \
  1070. -e 's/@''GNULIB_SNPRINTF''@/IN_GREP_GNULIB_TESTS/g' \
  1071. -e 's/@''GNULIB_SPRINTF_POSIX''@/0/g' \
  1072. -e 's/@''GNULIB_STDIO_H_NONBLOCKING''@/0/g' \
  1073. -e 's/@''GNULIB_STDIO_H_SIGPIPE''@/0/g' \
  1074. -e 's/@''GNULIB_TMPFILE''@/0/g' \
  1075. -e 's/@''GNULIB_VASPRINTF''@/0/g' \
  1076. -e 's/@''GNULIB_VDPRINTF''@/0/g' \
  1077. -e 's/@''GNULIB_VFPRINTF''@/1/g' \
  1078. -e 's/@''GNULIB_VFPRINTF_POSIX''@/0/g' \
  1079. -e 's/@''GNULIB_VFSCANF''@/0/g' \
  1080. -e 's/@''GNULIB_VSCANF''@/0/g' \
  1081. -e 's/@''GNULIB_VPRINTF''@/1/g' \
  1082. -e 's/@''GNULIB_VPRINTF_POSIX''@/0/g' \
  1083. -e 's/@''GNULIB_VSNPRINTF''@/0/g' \
  1084. -e 's/@''GNULIB_VSPRINTF_POSIX''@/0/g' \
  1085. < ./stdio.in.h | \
  1086. sed -e 's|@''HAVE_DECL_FPURGE''@|1|g' \
  1087. -e 's|@''HAVE_DECL_FSEEKO''@|1|g' \
  1088. -e 's|@''HAVE_DECL_FTELLO''@|1|g' \
  1089. -e 's|@''HAVE_DECL_GETDELIM''@|1|g' \
  1090. -e 's|@''HAVE_DECL_GETLINE''@|1|g' \
  1091. -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|1|g' \
  1092. -e 's|@''HAVE_DECL_SNPRINTF''@|1|g' \
  1093. -e 's|@''HAVE_DECL_VSNPRINTF''@|1|g' \
  1094. -e 's|@''HAVE_DPRINTF''@|1|g' \
  1095. -e 's|@''HAVE_FSEEKO''@|1|g' \
  1096. -e 's|@''HAVE_FTELLO''@|1|g' \
  1097. -e 's|@''HAVE_PCLOSE''@|1|g' \
  1098. -e 's|@''HAVE_POPEN''@|1|g' \
  1099. -e 's|@''HAVE_RENAMEAT''@|1|g' \
  1100. -e 's|@''HAVE_VASPRINTF''@|1|g' \
  1101. -e 's|@''HAVE_VDPRINTF''@|1|g' \
  1102. -e 's|@''REPLACE_DPRINTF''@|0|g' \
  1103. -e 's|@''REPLACE_FCLOSE''@|0|g' \
  1104. -e 's|@''REPLACE_FDOPEN''@|0|g' \
  1105. -e 's|@''REPLACE_FFLUSH''@|0|g' \
  1106. -e 's|@''REPLACE_FOPEN''@|0|g' \
  1107. -e 's|@''REPLACE_FPRINTF''@|0|g' \
  1108. -e 's|@''REPLACE_FPURGE''@|0|g' \
  1109. -e 's|@''REPLACE_FREOPEN''@|0|g' \
  1110. -e 's|@''REPLACE_FSEEK''@|0|g' \
  1111. -e 's|@''REPLACE_FSEEKO''@|0|g' \
  1112. -e 's|@''REPLACE_FTELL''@|0|g' \
  1113. -e 's|@''REPLACE_FTELLO''@|0|g' \
  1114. -e 's|@''REPLACE_GETDELIM''@|0|g' \
  1115. -e 's|@''REPLACE_GETLINE''@|0|g' \
  1116. -e 's|@''REPLACE_OBSTACK_PRINTF''@|0|g' \
  1117. -e 's|@''REPLACE_PERROR''@|0|g' \
  1118. -e 's|@''REPLACE_POPEN''@|0|g' \
  1119. -e 's|@''REPLACE_PRINTF''@|0|g' \
  1120. -e 's|@''REPLACE_REMOVE''@|0|g' \
  1121. -e 's|@''REPLACE_RENAME''@|0|g' \
  1122. -e 's|@''REPLACE_RENAMEAT''@|0|g' \
  1123. -e 's|@''REPLACE_SNPRINTF''@|0|g' \
  1124. -e 's|@''REPLACE_SPRINTF''@|0|g' \
  1125. -e 's|@''REPLACE_STDIO_READ_FUNCS''@|0|g' \
  1126. -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|0|g' \
  1127. -e 's|@''REPLACE_TMPFILE''@|0|g' \
  1128. -e 's|@''REPLACE_VASPRINTF''@|0|g' \
  1129. -e 's|@''REPLACE_VDPRINTF''@|0|g' \
  1130. -e 's|@''REPLACE_VFPRINTF''@|0|g' \
  1131. -e 's|@''REPLACE_VPRINTF''@|0|g' \
  1132. -e 's|@''REPLACE_VSNPRINTF''@|0|g' \
  1133. -e 's|@''REPLACE_VSPRINTF''@|0|g' \
  1134. -e 's|@''ASM_SYMBOL_PREFIX''@||g' \
  1135. -e '/definitions of _GL_FUNCDECL_RPL/r c++defs.h' \
  1136. -e '/definition of _GL_ARG_NONNULL/r arg-nonnull.h' \
  1137. -e '/definition of _GL_WARN_ON_USE/r warn-on-use.h'; \
  1138. } > stdio.h-t && \
  1139. mv stdio.h-t stdio.h
  1140. rm -f stdlib.h-t stdlib.h && \
  1141. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
  1142. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  1143. -e 's|@''INCLUDE_NEXT''@|include_next|g' \
  1144. -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
  1145. -e 's|@''PRAGMA_COLUMNS''@||g' \
  1146. -e 's|@''NEXT_STDLIB_H''@|<stdlib.h>|g' \
  1147. -e 's/@''GNULIB__EXIT''@/0/g' \
  1148. -e 's/@''GNULIB_ATOLL''@/0/g' \
  1149. -e 's/@''GNULIB_CALLOC_POSIX''@/0/g' \
  1150. -e 's/@''GNULIB_CANONICALIZE_FILE_NAME''@/0/g' \
  1151. -e 's/@''GNULIB_GETLOADAVG''@/0/g' \
  1152. -e 's/@''GNULIB_GETSUBOPT''@/0/g' \
  1153. -e 's/@''GNULIB_GRANTPT''@/0/g' \
  1154. -e 's/@''GNULIB_MALLOC_POSIX''@/1/g' \
  1155. -e 's/@''GNULIB_MBTOWC''@/1/g' \
  1156. -e 's/@''GNULIB_MKDTEMP''@/0/g' \
  1157. -e 's/@''GNULIB_MKOSTEMP''@/0/g' \
  1158. -e 's/@''GNULIB_MKOSTEMPS''@/0/g' \
  1159. -e 's/@''GNULIB_MKSTEMP''@/0/g' \
  1160. -e 's/@''GNULIB_MKSTEMPS''@/0/g' \
  1161. -e 's/@''GNULIB_POSIX_OPENPT''@/0/g' \
  1162. -e 's/@''GNULIB_PTSNAME''@/0/g' \
  1163. -e 's/@''GNULIB_PTSNAME_R''@/0/g' \
  1164. -e 's/@''GNULIB_PUTENV''@/IN_GREP_GNULIB_TESTS/g' \
  1165. -e 's/@''GNULIB_QSORT_R''@/0/g' \
  1166. -e 's/@''GNULIB_RANDOM''@/0/g' \
  1167. -e 's/@''GNULIB_RANDOM_R''@/0/g' \
  1168. -e 's/@''GNULIB_REALLOC_POSIX''@/1/g' \
  1169. -e 's/@''GNULIB_REALPATH''@/0/g' \
  1170. -e 's/@''GNULIB_RPMATCH''@/0/g' \
  1171. -e 's/@''GNULIB_SECURE_GETENV''@/0/g' \
  1172. -e 's/@''GNULIB_SETENV''@/IN_GREP_GNULIB_TESTS/g' \
  1173. -e 's/@''GNULIB_STRTOD''@/0/g' \
  1174. -e 's/@''GNULIB_STRTOLL''@/1/g' \
  1175. -e 's/@''GNULIB_STRTOULL''@/1/g' \
  1176. -e 's/@''GNULIB_SYSTEM_POSIX''@/0/g' \
  1177. -e 's/@''GNULIB_UNLOCKPT''@/0/g' \
  1178. -e 's/@''GNULIB_UNSETENV''@/IN_GREP_GNULIB_TESTS/g' \
  1179. -e 's/@''GNULIB_WCTOMB''@/1/g' \
  1180. < ./stdlib.in.h | \
  1181. sed -e 's|@''HAVE__EXIT''@|1|g' \
  1182. -e 's|@''HAVE_ATOLL''@|1|g' \
  1183. -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|1|g' \
  1184. -e 's|@''HAVE_DECL_GETLOADAVG''@|1|g' \
  1185. -e 's|@''HAVE_GETSUBOPT''@|1|g' \
  1186. -e 's|@''HAVE_GRANTPT''@|1|g' \
  1187. -e 's|@''HAVE_MKDTEMP''@|1|g' \
  1188. -e 's|@''HAVE_MKOSTEMP''@|1|g' \
  1189. -e 's|@''HAVE_MKOSTEMPS''@|1|g' \
  1190. -e 's|@''HAVE_MKSTEMP''@|1|g' \
  1191. -e 's|@''HAVE_MKSTEMPS''@|1|g' \
  1192. -e 's|@''HAVE_POSIX_OPENPT''@|1|g' \
  1193. -e 's|@''HAVE_PTSNAME''@|1|g' \
  1194. -e 's|@''HAVE_PTSNAME_R''@|1|g' \
  1195. -e 's|@''HAVE_RANDOM''@|1|g' \
  1196. -e 's|@''HAVE_RANDOM_H''@|1|g' \
  1197. -e 's|@''HAVE_RANDOM_R''@|1|g' \
  1198. -e 's|@''HAVE_REALPATH''@|1|g' \
  1199. -e 's|@''HAVE_RPMATCH''@|1|g' \
  1200. -e 's|@''HAVE_SECURE_GETENV''@|1|g' \
  1201. -e 's|@''HAVE_DECL_SETENV''@|1|g' \
  1202. -e 's|@''HAVE_STRTOD''@|1|g' \
  1203. -e 's|@''HAVE_STRTOLL''@|1|g' \
  1204. -e 's|@''HAVE_STRTOULL''@|1|g' \
  1205. -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|1|g' \
  1206. -e 's|@''HAVE_SYS_LOADAVG_H''@|0|g' \
  1207. -e 's|@''HAVE_UNLOCKPT''@|1|g' \
  1208. -e 's|@''HAVE_DECL_UNSETENV''@|1|g' \
  1209. -e 's|@''REPLACE_CALLOC''@|0|g' \
  1210. -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|0|g' \
  1211. -e 's|@''REPLACE_MALLOC''@|0|g' \
  1212. -e 's|@''REPLACE_MBTOWC''@|0|g' \
  1213. -e 's|@''REPLACE_MKSTEMP''@|0|g' \
  1214. -e 's|@''REPLACE_PTSNAME''@|0|g' \
  1215. -e 's|@''REPLACE_PTSNAME_R''@|0|g' \
  1216. -e 's|@''REPLACE_PUTENV''@|0|g' \
  1217. -e 's|@''REPLACE_QSORT_R''@|0|g' \
  1218. -e 's|@''REPLACE_RANDOM_R''@|0|g' \
  1219. -e 's|@''REPLACE_REALLOC''@|0|g' \
  1220. -e 's|@''REPLACE_REALPATH''@|0|g' \
  1221. -e 's|@''REPLACE_SETENV''@|0|g' \
  1222. -e 's|@''REPLACE_STRTOD''@|0|g' \
  1223. -e 's|@''REPLACE_UNSETENV''@|0|g' \
  1224. -e 's|@''REPLACE_WCTOMB''@|0|g' \
  1225. -e '/definitions of _GL_FUNCDECL_RPL/r c++defs.h' \
  1226. -e '/definition of _Noreturn/r ../build-aux/snippet/_Noreturn.h' \
  1227. -e '/definition of _GL_ARG_NONNULL/r arg-nonnull.h' \
  1228. -e '/definition of _GL_WARN_ON_USE/r warn-on-use.h'; \
  1229. } > stdlib.h-t && \
  1230. mv stdlib.h-t stdlib.h
  1231. rm -f string.h-t string.h && \
  1232. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
  1233. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  1234. -e 's|@''INCLUDE_NEXT''@|include_next|g' \
  1235. -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
  1236. -e 's|@''PRAGMA_COLUMNS''@||g' \
  1237. -e 's|@''NEXT_STRING_H''@|<string.h>|g' \
  1238. -e 's/@''GNULIB_FFSL''@/0/g' \
  1239. -e 's/@''GNULIB_FFSLL''@/0/g' \
  1240. -e 's/@''GNULIB_MBSLEN''@/1/g' \
  1241. -e 's/@''GNULIB_MBSNLEN''@/0/g' \
  1242. -e 's/@''GNULIB_MBSCHR''@/0/g' \
  1243. -e 's/@''GNULIB_MBSRCHR''@/0/g' \
  1244. -e 's/@''GNULIB_MBSSTR''@/1/g' \
  1245. -e 's/@''GNULIB_MBSCASECMP''@/1/g' \
  1246. -e 's/@''GNULIB_MBSNCASECMP''@/0/g' \
  1247. -e 's/@''GNULIB_MBSPCASECMP''@/0/g' \
  1248. -e 's/@''GNULIB_MBSCASESTR''@/0/g' \
  1249. -e 's/@''GNULIB_MBSCSPN''@/0/g' \
  1250. -e 's/@''GNULIB_MBSPBRK''@/0/g' \
  1251. -e 's/@''GNULIB_MBSSPN''@/0/g' \
  1252. -e 's/@''GNULIB_MBSSEP''@/0/g' \
  1253. -e 's/@''GNULIB_MBSTOK_R''@/0/g' \
  1254. -e 's/@''GNULIB_MEMCHR''@/1/g' \
  1255. -e 's/@''GNULIB_MEMMEM''@/0/g' \
  1256. -e 's/@''GNULIB_MEMPCPY''@/1/g' \
  1257. -e 's/@''GNULIB_MEMRCHR''@/1/g' \
  1258. -e 's/@''GNULIB_RAWMEMCHR''@/0/g' \
  1259. -e 's/@''GNULIB_STPCPY''@/1/g' \
  1260. -e 's/@''GNULIB_STPNCPY''@/0/g' \
  1261. -e 's/@''GNULIB_STRCHRNUL''@/0/g' \
  1262. -e 's/@''GNULIB_STRDUP''@/1/g' \
  1263. -e 's/@''GNULIB_STRNCAT''@/0/g' \
  1264. -e 's/@''GNULIB_STRNDUP''@/0/g' \
  1265. -e 's/@''GNULIB_STRNLEN''@/1/g' \
  1266. -e 's/@''GNULIB_STRPBRK''@/0/g' \
  1267. -e 's/@''GNULIB_STRSEP''@/0/g' \
  1268. -e 's/@''GNULIB_STRSTR''@/1/g' \
  1269. -e 's/@''GNULIB_STRCASESTR''@/0/g' \
  1270. -e 's/@''GNULIB_STRTOK_R''@/0/g' \
  1271. -e 's/@''GNULIB_STRERROR''@/1/g' \
  1272. -e 's/@''GNULIB_STRERROR_R''@/0/g' \
  1273. -e 's/@''GNULIB_STRSIGNAL''@/0/g' \
  1274. -e 's/@''GNULIB_STRVERSCMP''@/0/g' \
  1275. < ./string.in.h | \
  1276. sed -e 's|@''HAVE_FFSL''@|1|g' \
  1277. -e 's|@''HAVE_FFSLL''@|1|g' \
  1278. -e 's|@''HAVE_MBSLEN''@|0|g' \
  1279. -e 's|@''HAVE_MEMCHR''@|1|g' \
  1280. -e 's|@''HAVE_DECL_MEMMEM''@|1|g' \
  1281. -e 's|@''HAVE_MEMPCPY''@|1|g' \
  1282. -e 's|@''HAVE_DECL_MEMRCHR''@|1|g' \
  1283. -e 's|@''HAVE_RAWMEMCHR''@|1|g' \
  1284. -e 's|@''HAVE_STPCPY''@|1|g' \
  1285. -e 's|@''HAVE_STPNCPY''@|1|g' \
  1286. -e 's|@''HAVE_STRCHRNUL''@|1|g' \
  1287. -e 's|@''HAVE_DECL_STRDUP''@|1|g' \
  1288. -e 's|@''HAVE_DECL_STRNDUP''@|1|g' \
  1289. -e 's|@''HAVE_DECL_STRNLEN''@|1|g' \
  1290. -e 's|@''HAVE_STRPBRK''@|1|g' \
  1291. -e 's|@''HAVE_STRSEP''@|1|g' \
  1292. -e 's|@''HAVE_STRCASESTR''@|1|g' \
  1293. -e 's|@''HAVE_DECL_STRTOK_R''@|1|g' \
  1294. -e 's|@''HAVE_DECL_STRERROR_R''@|1|g' \
  1295. -e 's|@''HAVE_DECL_STRSIGNAL''@|1|g' \
  1296. -e 's|@''HAVE_STRVERSCMP''@|1|g' \
  1297. -e 's|@''REPLACE_STPNCPY''@|0|g' \
  1298. -e 's|@''REPLACE_MEMCHR''@|0|g' \
  1299. -e 's|@''REPLACE_MEMMEM''@|0|g' \
  1300. -e 's|@''REPLACE_STRCASESTR''@|0|g' \
  1301. -e 's|@''REPLACE_STRCHRNUL''@|0|g' \
  1302. -e 's|@''REPLACE_STRDUP''@|0|g' \
  1303. -e 's|@''REPLACE_STRSTR''@|0|g' \
  1304. -e 's|@''REPLACE_STRERROR''@|0|g' \
  1305. -e 's|@''REPLACE_STRERROR_R''@|0|g' \
  1306. -e 's|@''REPLACE_STRNCAT''@|0|g' \
  1307. -e 's|@''REPLACE_STRNDUP''@|0|g' \
  1308. -e 's|@''REPLACE_STRNLEN''@|0|g' \
  1309. -e 's|@''REPLACE_STRSIGNAL''@|0|g' \
  1310. -e 's|@''REPLACE_STRTOK_R''@|0|g' \
  1311. -e 's|@''UNDEFINE_STRTOK_R''@|0|g' \
  1312. -e '/definitions of _GL_FUNCDECL_RPL/r c++defs.h' \
  1313. -e '/definition of _GL_ARG_NONNULL/r arg-nonnull.h' \
  1314. -e '/definition of _GL_WARN_ON_USE/r warn-on-use.h'; \
  1315. < ./string.in.h; \
  1316. } > string.h-t && \
  1317. mv string.h-t string.h
  1318. /bin/mkdir -p sys
  1319. /bin/mkdir -p sys
  1320. rm -f sys/time.h-t sys/time.h && \
  1321. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  1322. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  1323. -e 's/@''HAVE_SYS_TIME_H''@/1/g' \
  1324. -e 's|@''INCLUDE_NEXT''@|include_next|g' \
  1325. -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
  1326. -e 's|@''PRAGMA_COLUMNS''@||g' \
  1327. -e 's|@''NEXT_SYS_TIME_H''@|<sys/time.h>|g' \
  1328. -e 's/@''GNULIB_GETTIMEOFDAY''@/1/g' \
  1329. -e 's|@''HAVE_WINSOCK2_H''@|0|g' \
  1330. -e 's/@''HAVE_GETTIMEOFDAY''@/1/g' \
  1331. -e 's/@''HAVE_STRUCT_TIMEVAL''@/1/g' \
  1332. -e 's/@''REPLACE_GETTIMEOFDAY''@/0/g' \
  1333. -e 's/@''REPLACE_STRUCT_TIMEVAL''@/0/g' \
  1334. -e '/definitions of _GL_FUNCDECL_RPL/r c++defs.h' \
  1335. -e '/definition of _GL_ARG_NONNULL/r arg-nonnull.h' \
  1336. -e '/definition of _GL_WARN_ON_USE/r warn-on-use.h' \
  1337. < ./sys_time.in.h; \
  1338. } > sys/time.h-t && \
  1339. mv sys/time.h-t sys/time.h
  1340. rm -f sys/stat.h-t sys/stat.h && \
  1341. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  1342. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  1343. -e 's|@''INCLUDE_NEXT''@|include_next|g' \
  1344. -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
  1345. -e 's|@''PRAGMA_COLUMNS''@||g' \
  1346. -e 's|@''NEXT_SYS_STAT_H''@|<sys/stat.h>|g' \
  1347. -e 's|@''WINDOWS_64_BIT_ST_SIZE''@|0|g' \
  1348. -e 's/@''GNULIB_FCHMODAT''@/0/g' \
  1349. -e 's/@''GNULIB_FSTAT''@/1/g' \
  1350. -e 's/@''GNULIB_FSTATAT''@/1/g' \
  1351. -e 's/@''GNULIB_FUTIMENS''@/0/g' \
  1352. -e 's/@''GNULIB_LCHMOD''@/0/g' \
  1353. -e 's/@''GNULIB_LSTAT''@/1/g' \
  1354. -e 's/@''GNULIB_MKDIRAT''@/0/g' \
  1355. -e 's/@''GNULIB_MKFIFO''@/0/g' \
  1356. -e 's/@''GNULIB_MKFIFOAT''@/0/g' \
  1357. -e 's/@''GNULIB_MKNOD''@/0/g' \
  1358. -e 's/@''GNULIB_MKNODAT''@/0/g' \
  1359. -e 's/@''GNULIB_STAT''@/1/g' \
  1360. -e 's/@''GNULIB_UTIMENSAT''@/0/g' \
  1361. -e 's|@''HAVE_FCHMODAT''@|1|g' \
  1362. -e 's|@''HAVE_FSTATAT''@|1|g' \
  1363. -e 's|@''HAVE_FUTIMENS''@|1|g' \
  1364. -e 's|@''HAVE_LCHMOD''@|1|g' \
  1365. -e 's|@''HAVE_LSTAT''@|1|g' \
  1366. -e 's|@''HAVE_MKDIRAT''@|1|g' \
  1367. -e 's|@''HAVE_MKFIFO''@|1|g' \
  1368. -e 's|@''HAVE_MKFIFOAT''@|1|g' \
  1369. -e 's|@''HAVE_MKNOD''@|1|g' \
  1370. -e 's|@''HAVE_MKNODAT''@|1|g' \
  1371. -e 's|@''HAVE_UTIMENSAT''@|1|g' \
  1372. -e 's|@''REPLACE_FSTAT''@|0|g' \
  1373. -e 's|@''REPLACE_FSTATAT''@|0|g' \
  1374. -e 's|@''REPLACE_FUTIMENS''@|0|g' \
  1375. -e 's|@''REPLACE_LSTAT''@|0|g' \
  1376. -e 's|@''REPLACE_MKDIR''@|0|g' \
  1377. -e 's|@''REPLACE_MKFIFO''@|0|g' \
  1378. -e 's|@''REPLACE_MKNOD''@|0|g' \
  1379. -e 's|@''REPLACE_STAT''@|0|g' \
  1380. -e 's|@''REPLACE_UTIMENSAT''@|0|g' \
  1381. -e '/definitions of _GL_FUNCDECL_RPL/r c++defs.h' \
  1382. -e '/definition of _GL_ARG_NONNULL/r arg-nonnull.h' \
  1383. -e '/definition of _GL_WARN_ON_USE/r warn-on-use.h' \
  1384. < ./sys_stat.in.h; \
  1385. } > sys/stat.h-t && \
  1386. mv sys/stat.h-t sys/stat.h
  1387. rm -f time.h-t time.h && \
  1388. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
  1389. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  1390. -e 's|@''INCLUDE_NEXT''@|include_next|g' \
  1391. -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
  1392. -e 's|@''PRAGMA_COLUMNS''@||g' \
  1393. -e 's|@''NEXT_TIME_H''@|<time.h>|g' \
  1394. -e 's/@''GNULIB_GETTIMEOFDAY''@/1/g' \
  1395. -e 's/@''GNULIB_MKTIME''@/0/g' \
  1396. -e 's/@''GNULIB_NANOSLEEP''@/0/g' \
  1397. -e 's/@''GNULIB_STRPTIME''@/0/g' \
  1398. -e 's/@''GNULIB_TIMEGM''@/0/g' \
  1399. -e 's/@''GNULIB_TIME_R''@/0/g' \
  1400. -e 's/@''GNULIB_TIME_RZ''@/0/g' \
  1401. -e 's|@''HAVE_DECL_LOCALTIME_R''@|1|g' \
  1402. -e 's|@''HAVE_NANOSLEEP''@|1|g' \
  1403. -e 's|@''HAVE_STRPTIME''@|1|g' \
  1404. -e 's|@''HAVE_TIMEGM''@|1|g' \
  1405. -e 's|@''HAVE_TIMEZONE_T''@|0|g' \
  1406. -e 's|@''REPLACE_GMTIME''@|0|g' \
  1407. -e 's|@''REPLACE_LOCALTIME''@|0|g' \
  1408. -e 's|@''REPLACE_LOCALTIME_R''@|GNULIB_PORTCHECK|g' \
  1409. -e 's|@''REPLACE_MKTIME''@|GNULIB_PORTCHECK|g' \
  1410. -e 's|@''REPLACE_NANOSLEEP''@|GNULIB_PORTCHECK|g' \
  1411. -e 's|@''REPLACE_TIMEGM''@|GNULIB_PORTCHECK|g' \
  1412. -e 's|@''PTHREAD_H_DEFINES_STRUCT_TIMESPEC''@|0|g' \
  1413. -e 's|@''SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|0|g' \
  1414. -e 's|@''TIME_H_DEFINES_STRUCT_TIMESPEC''@|1|g' \
  1415. -e 's|@''UNISTD_H_DEFINES_STRUCT_TIMESPEC''@|0|g' \
  1416. -e '/definitions of _GL_FUNCDECL_RPL/r c++defs.h' \
  1417. -e '/definition of _GL_ARG_NONNULL/r arg-nonnull.h' \
  1418. -e '/definition of _GL_WARN_ON_USE/r warn-on-use.h' \
  1419. < ./time.in.h; \
  1420. } > time.h-t && \
  1421. mv time.h-t time.h
  1422. rm -f unistd.h-t unistd.h && \
  1423. { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  1424. sed -e 's|@''GUARD_PREFIX''@|GL|g' \
  1425. -e 's|@''HAVE_UNISTD_H''@|1|g' \
  1426. -e 's|@''INCLUDE_NEXT''@|include_next|g' \
  1427. -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
  1428. -e 's|@''PRAGMA_COLUMNS''@||g' \
  1429. -e 's|@''NEXT_UNISTD_H''@|<unistd.h>|g' \
  1430. -e 's|@''WINDOWS_64_BIT_OFF_T''@|0|g' \
  1431. -e 's/@''GNULIB_CHDIR''@/1/g' \
  1432. -e 's/@''GNULIB_CHOWN''@/0/g' \
  1433. -e 's/@''GNULIB_CLOSE''@/1/g' \
  1434. -e 's/@''GNULIB_DUP''@/1/g' \
  1435. -e 's/@''GNULIB_DUP2''@/1/g' \
  1436. -e 's/@''GNULIB_DUP3''@/0/g' \
  1437. -e 's/@''GNULIB_ENVIRON''@/IN_GREP_GNULIB_TESTS/g' \
  1438. -e 's/@''GNULIB_EUIDACCESS''@/0/g' \
  1439. -e 's/@''GNULIB_FACCESSAT''@/0/g' \
  1440. -e 's/@''GNULIB_FCHDIR''@/1/g' \
  1441. -e 's/@''GNULIB_FCHOWNAT''@/0/g' \
  1442. -e 's/@''GNULIB_FDATASYNC''@/0/g' \
  1443. -e 's/@''GNULIB_FSYNC''@/0/g' \
  1444. -e 's/@''GNULIB_FTRUNCATE''@/0/g' \
  1445. -e 's/@''GNULIB_GETCWD''@/1/g' \
  1446. -e 's/@''GNULIB_GETDOMAINNAME''@/0/g' \
  1447. -e 's/@''GNULIB_GETDTABLESIZE''@/1/g' \
  1448. -e 's/@''GNULIB_GETGROUPS''@/0/g' \
  1449. -e 's/@''GNULIB_GETHOSTNAME''@/0/g' \
  1450. -e 's/@''GNULIB_GETLOGIN''@/0/g' \
  1451. -e 's/@''GNULIB_GETLOGIN_R''@/0/g' \
  1452. -e 's/@''GNULIB_GETPAGESIZE''@/1/g' \
  1453. -e 's/@''GNULIB_GETUSERSHELL''@/0/g' \
  1454. -e 's/@''GNULIB_GROUP_MEMBER''@/0/g' \
  1455. -e 's/@''GNULIB_ISATTY''@/1/g' \
  1456. -e 's/@''GNULIB_LCHOWN''@/0/g' \
  1457. -e 's/@''GNULIB_LINK''@/0/g' \
  1458. -e 's/@''GNULIB_LINKAT''@/0/g' \
  1459. -e 's/@''GNULIB_LSEEK''@/1/g' \
  1460. -e 's/@''GNULIB_PIPE''@/IN_GREP_GNULIB_TESTS/g' \
  1461. -e 's/@''GNULIB_PIPE2''@/0/g' \
  1462. -e 's/@''GNULIB_PREAD''@/0/g' \
  1463. -e 's/@''GNULIB_PWRITE''@/0/g' \
  1464. -e 's/@''GNULIB_READ''@/1/g' \
  1465. -e 's/@''GNULIB_READLINK''@/0/g' \
  1466. -e 's/@''GNULIB_READLINKAT''@/0/g' \
  1467. -e 's/@''GNULIB_RMDIR''@/0/g' \
  1468. -e 's/@''GNULIB_SETHOSTNAME''@/0/g' \
  1469. -e 's/@''GNULIB_SLEEP''@/0/g' \
  1470. -e 's/@''GNULIB_SYMLINK''@/IN_GREP_GNULIB_TESTS/g' \
  1471. -e 's/@''GNULIB_SYMLINKAT''@/0/g' \
  1472. -e 's/@''GNULIB_TTYNAME_R''@/0/g' \
  1473. -e 's/@''GNULIB_UNISTD_H_GETOPT''@/0/g' \
  1474. -e 's/@''GNULIB_UNISTD_H_NONBLOCKING''@/0/g' \
  1475. -e 's/@''GNULIB_UNISTD_H_SIGPIPE''@/0/g' \
  1476. -e 's/@''GNULIB_UNLINK''@/0/g' \
  1477. -e 's/@''GNULIB_UNLINKAT''@/0/g' \
  1478. -e 's/@''GNULIB_USLEEP''@/0/g' \
  1479. -e 's/@''GNULIB_WRITE''@/0/g' \
  1480. < ./unistd.in.h | \
  1481. sed -e 's|@''HAVE_CHOWN''@|1|g' \
  1482. -e 's|@''HAVE_DUP2''@|1|g' \
  1483. -e 's|@''HAVE_DUP3''@|1|g' \
  1484. -e 's|@''HAVE_EUIDACCESS''@|1|g' \
  1485. -e 's|@''HAVE_FACCESSAT''@|1|g' \
  1486. -e 's|@''HAVE_FCHDIR''@|1|g' \
  1487. -e 's|@''HAVE_FCHOWNAT''@|1|g' \
  1488. -e 's|@''HAVE_FDATASYNC''@|1|g' \
  1489. -e 's|@''HAVE_FSYNC''@|1|g' \
  1490. -e 's|@''HAVE_FTRUNCATE''@|1|g' \
  1491. -e 's|@''HAVE_GETDTABLESIZE''@|1|g' \
  1492. -e 's|@''HAVE_GETGROUPS''@|1|g' \
  1493. -e 's|@''HAVE_GETHOSTNAME''@|1|g' \
  1494. -e 's|@''HAVE_GETLOGIN''@|1|g' \
  1495. -e 's|@''HAVE_GETPAGESIZE''@|1|g' \
  1496. -e 's|@''HAVE_GROUP_MEMBER''@|1|g' \
  1497. -e 's|@''HAVE_LCHOWN''@|1|g' \
  1498. -e 's|@''HAVE_LINK''@|1|g' \
  1499. -e 's|@''HAVE_LINKAT''@|1|g' \
  1500. -e 's|@''HAVE_PIPE''@|1|g' \
  1501. -e 's|@''HAVE_PIPE2''@|1|g' \
  1502. -e 's|@''HAVE_PREAD''@|1|g' \
  1503. -e 's|@''HAVE_PWRITE''@|1|g' \
  1504. -e 's|@''HAVE_READLINK''@|1|g' \
  1505. -e 's|@''HAVE_READLINKAT''@|1|g' \
  1506. -e 's|@''HAVE_SETHOSTNAME''@|1|g' \
  1507. -e 's|@''HAVE_SLEEP''@|1|g' \
  1508. -e 's|@''HAVE_SYMLINK''@|1|g' \
  1509. -e 's|@''HAVE_SYMLINKAT''@|1|g' \
  1510. -e 's|@''HAVE_UNLINKAT''@|1|g' \
  1511. -e 's|@''HAVE_USLEEP''@|1|g' \
  1512. -e 's|@''HAVE_DECL_ENVIRON''@|1|g' \
  1513. -e 's|@''HAVE_DECL_FCHDIR''@|1|g' \
  1514. -e 's|@''HAVE_DECL_FDATASYNC''@|1|g' \
  1515. -e 's|@''HAVE_DECL_GETDOMAINNAME''@|1|g' \
  1516. -e 's|@''HAVE_DECL_GETLOGIN_R''@|1|g' \
  1517. -e 's|@''HAVE_DECL_GETPAGESIZE''@|1|g' \
  1518. -e 's|@''HAVE_DECL_GETUSERSHELL''@|1|g' \
  1519. -e 's|@''HAVE_DECL_SETHOSTNAME''@|1|g' \
  1520. -e 's|@''HAVE_DECL_TTYNAME_R''@|1|g' \
  1521. -e 's|@''HAVE_OS_H''@|0|g' \
  1522. -e 's|@''HAVE_SYS_PARAM_H''@|0|g' \
  1523. | \
  1524. sed -e 's|@''REPLACE_CHOWN''@|0|g' \
  1525. -e 's|@''REPLACE_CLOSE''@|0|g' \
  1526. -e 's|@''REPLACE_DUP''@|0|g' \
  1527. -e 's|@''REPLACE_DUP2''@|0|g' \
  1528. -e 's|@''REPLACE_FCHOWNAT''@|0|g' \
  1529. -e 's|@''REPLACE_FTRUNCATE''@|0|g' \
  1530. -e 's|@''REPLACE_GETCWD''@|0|g' \
  1531. -e 's|@''REPLACE_GETDOMAINNAME''@|0|g' \
  1532. -e 's|@''REPLACE_GETDTABLESIZE''@|0|g' \
  1533. -e 's|@''REPLACE_GETLOGIN_R''@|0|g' \
  1534. -e 's|@''REPLACE_GETGROUPS''@|0|g' \
  1535. -e 's|@''REPLACE_GETPAGESIZE''@|0|g' \
  1536. -e 's|@''REPLACE_ISATTY''@|0|g' \
  1537. -e 's|@''REPLACE_LCHOWN''@|0|g' \
  1538. -e 's|@''REPLACE_LINK''@|0|g' \
  1539. -e 's|@''REPLACE_LINKAT''@|0|g' \
  1540. -e 's|@''REPLACE_LSEEK''@|0|g' \
  1541. -e 's|@''REPLACE_PREAD''@|0|g' \
  1542. -e 's|@''REPLACE_PWRITE''@|0|g' \
  1543. -e 's|@''REPLACE_READ''@|0|g' \
  1544. -e 's|@''REPLACE_READLINK''@|0|g' \
  1545. -e 's|@''REPLACE_READLINKAT''@|0|g' \
  1546. -e 's|@''REPLACE_RMDIR''@|0|g' \
  1547. -e 's|@''REPLACE_SLEEP''@|0|g' \
  1548. -e 's|@''REPLACE_SYMLINK''@|0|g' \
  1549. -e 's|@''REPLACE_SYMLINKAT''@|0|g' \
  1550. -e 's|@''REPLACE_TTYNAME_R''@|0|g' \
  1551. -e 's|@''REPLACE_UNLINK''@|0|g' \
  1552. -e 's|@''REPLACE_UNLINKAT''@|0|g' \
  1553. -e 's|@''REPLACE_USLEEP''@|0|g' \
  1554. -e 's|@''REPLACE_WRITE''@|0|g' \
  1555. -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|0|g' \
  1556. -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|0|g' \
  1557. -e '/definitions of _GL_FUNCDECL_RPL/r c++defs.h' \
  1558. -e '/definition of _GL_ARG_NONNULL/r arg-nonnull.h' \
  1559. -e '/definition of _GL_WARN_ON_USE/r warn-on-use.h'; \
  1560. } > unistd.h-t && \
  1561. mv unistd.h-t unistd.h
  1562. make all-am
  1563. make[3]: Entering directory '/var/tmp/portage/sys-apps/grep-2.25/work/grep-2.25/lib'
  1564. Makefile:1687: target '.deps/alloca.Po' given more than once in the same rule
  1565. x86_64-pc-linux-gnu-gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -c -o argmatch.o argmatch.c
  1566. x86_64-pc-linux-gnu-gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -c -o binary-io.o binary-io.c
  1567. x86_64-pc-linux-gnu-gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -c -o bitrotate.o bitrotate.c
  1568. x86_64-pc-linux-gnu-gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -c -o c-ctype.o c-ctype.c
  1569. x86_64-pc-linux-gnu-gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -c -o c-strcasecmp.o c-strcasecmp.c
  1570. x86_64-pc-linux-gnu-gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -c -o c-strncasecmp.o c-strncasecmp.c
  1571. x86_64-pc-linux-gnu-gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -c -o cloexec.o cloexec.c
  1572. x86_64-pc-linux-gnu-gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -c -o close-stream.o close-stream.c
  1573. x86_64-pc-linux-gnu-gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -c -o closeout.o closeout.c
  1574. x86_64-pc-linux-gnu-gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -c -o cycle-check.o cycle-check.c
  1575. x86_64-pc-linux-gnu-gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -c -o opendir-safer.o opendir-safer.c
  1576. x86_64-pc-linux-gnu-gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -c -o dirname-lgpl.o dirname-lgpl.c
  1577. x86_64-pc-linux-gnu-gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -c -o basename-lgpl.o basename-lgpl.c
  1578. x86_64-pc-linux-gnu-gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -c -o stripslash.o stripslash.c
  1579. x86_64-pc-linux-gnu-gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -c -o exclude.o exclude.c
  1580. x86_64-pc-linux-gnu-gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -c -o exitfail.o exitfail.c
  1581. x86_64-pc-linux-gnu-gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -c -o creat-safer.o creat-safer.c
  1582. x86_64-pc-linux-gnu-gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -c -o open-safer.o open-safer.c
  1583. x86_64-pc-linux-gnu-gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -c -o fd-hook.o fd-hook.c
  1584. x86_64-pc-linux-gnu-gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -c -o filenamecat-lgpl.o filenamecat-lgpl.c
  1585. x86_64-pc-linux-gnu-gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -c -o hard-locale.o hard-locale.c
  1586. x86_64-pc-linux-gnu-gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -c -o hash.o hash.c
  1587. x86_64-pc-linux-gnu-gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -c -o i-ring.o i-ring.c
  1588. x86_64-pc-linux-gnu-gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -c -o localcharset.o localcharset.c
  1589. x86_64-pc-linux-gnu-gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -c -o malloca.o malloca.c
  1590. x86_64-pc-linux-gnu-gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -c -o mbchar.o mbchar.c
  1591. x86_64-pc-linux-gnu-gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -c -o mbiter.o mbiter.c
  1592. x86_64-pc-linux-gnu-gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -c -o mbscasecmp.o mbscasecmp.c
  1593. x86_64-pc-linux-gnu-gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -c -o mbslen.o mbslen.c
  1594. x86_64-pc-linux-gnu-gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -c -o mbsstr.o mbsstr.c
  1595. x86_64-pc-linux-gnu-gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -c -o mbuiter.o mbuiter.c
  1596. x86_64-pc-linux-gnu-gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -c -o memchr2.o memchr2.c
  1597. x86_64-pc-linux-gnu-gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -c -o openat-die.o openat-die.c
  1598. x86_64-pc-linux-gnu-gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -c -o openat-safer.o openat-safer.c
  1599. x86_64-pc-linux-gnu-gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -c -o progname.o progname.c
  1600. x86_64-pc-linux-gnu-gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -c -o propername.o propername.c
  1601. x86_64-pc-linux-gnu-gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -c -o quotearg.o quotearg.c
  1602. x86_64-pc-linux-gnu-gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -c -o safe-read.o safe-read.c
  1603. x86_64-pc-linux-gnu-gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -c -o save-cwd.o save-cwd.c
  1604. x86_64-pc-linux-gnu-gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -c -o striconv.o striconv.c
  1605. x86_64-pc-linux-gnu-gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -c -o strnlen1.o strnlen1.c
  1606. x86_64-pc-linux-gnu-gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -c -o glthread/threadlib.o glthread/threadlib.c
  1607. x86_64-pc-linux-gnu-gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -c -o trim.o trim.c
  1608. x86_64-pc-linux-gnu-gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -c -o unistd.o unistd.c
  1609. x86_64-pc-linux-gnu-gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -c -o dup-safer.o dup-safer.c
  1610. x86_64-pc-linux-gnu-gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -c -o fd-safer.o fd-safer.c
  1611. x86_64-pc-linux-gnu-gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -c -o pipe-safer.o pipe-safer.c
  1612. x86_64-pc-linux-gnu-gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -c -o version-etc.o version-etc.c
  1613. x86_64-pc-linux-gnu-gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -c -o version-etc-fsf.o version-etc-fsf.c
  1614. x86_64-pc-linux-gnu-gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -c -o wctype-h.o wctype-h.c
  1615. x86_64-pc-linux-gnu-gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -c -o xmalloc.o xmalloc.c
  1616. x86_64-pc-linux-gnu-gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -c -o xalloc-die.o xalloc-die.c
  1617. x86_64-pc-linux-gnu-gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -c -o xstriconv.o xstriconv.c
  1618. x86_64-pc-linux-gnu-gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -c -o xstrtoimax.o xstrtoimax.c
  1619. x86_64-pc-linux-gnu-gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -c -o xstrtol.o xstrtol.c
  1620. x86_64-pc-linux-gnu-gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -c -o xstrtoul.o xstrtoul.c
  1621. x86_64-pc-linux-gnu-gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -c -o xstrtol-error.o xstrtol-error.c
  1622. echo '#include <colorize-posix.c>' >colorize.c-t
  1623. mv colorize.c-t colorize.c
  1624. x86_64-pc-linux-gnu-gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -c -o chdir-long.o chdir-long.c
  1625. x86_64-pc-linux-gnu-gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -c -o fcntl.o fcntl.c
  1626. x86_64-pc-linux-gnu-gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -c -o fts.o fts.c
  1627. x86_64-pc-linux-gnu-gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -c -o mbrlen.o mbrlen.c
  1628. x86_64-pc-linux-gnu-gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -c -o mbrtowc.o mbrtowc.c
  1629. x86_64-pc-linux-gnu-gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -c -o obstack.o obstack.c
  1630. x86_64-pc-linux-gnu-gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -c -o openat-proc.o openat-proc.c
  1631. rm -f t-charset.alias charset.alias && \
  1632. /bin/sh ./config.charset 'x86_64-pc-linux-gnu' > t-charset.alias && \
  1633. mv t-charset.alias charset.alias
  1634. rm -f t-ref-add.sed ref-add.sed && \
  1635. sed -e '/^#/d' -e 's/@''PACKAGE''@/grep/g' ref-add.sin > t-ref-add.sed && \
  1636. mv t-ref-add.sed ref-add.sed
  1637. rm -f t-ref-del.sed ref-del.sed && \
  1638. sed -e '/^#/d' -e 's/@''PACKAGE''@/grep/g' ref-del.sin > t-ref-del.sed && \
  1639. mv t-ref-del.sed ref-del.sed
  1640. x86_64-pc-linux-gnu-gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -c -o glthread/lock.o glthread/lock.c
  1641. x86_64-pc-linux-gnu-gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -c -o unistr/u8-mbtoucr.o unistr/u8-mbtoucr.c
  1642. x86_64-pc-linux-gnu-gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -c -o unistr/u8-uctomb.o unistr/u8-uctomb.c
  1643. x86_64-pc-linux-gnu-gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -c -o unistr/u8-uctomb-aux.o unistr/u8-uctomb-aux.c
  1644. x86_64-pc-linux-gnu-gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -c -o uniwidth/width.o uniwidth/width.c
  1645. x86_64-pc-linux-gnu-gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -c -o colorize.o colorize.c
  1646. rm -f libgreputils.a
  1647. x86_64-pc-linux-gnu-ar cr libgreputils.a argmatch.o binary-io.o bitrotate.o c-ctype.o c-strcasecmp.o c-strncasecmp.o cloexec.o close-stream.o closeout.o cycle-check.o opendir-safer.o dirname-lgpl.o basename-lgpl.o stripslash.o exclude.o exitfail.o creat-safer.o open-safer.o fd-hook.o filenamecat-lgpl.o hard-locale.o hash.o i-ring.o localcharset.o glthread/lock.o malloca.o mbchar.o mbiter.o mbscasecmp.o mbslen.o mbsstr.o mbuiter.o memchr2.o openat-die.o openat-safer.o progname.o propername.o quotearg.o safe-read.o save-cwd.o striconv.o strnlen1.o glthread/threadlib.o trim.o unistd.o dup-safer.o fd-safer.o pipe-safer.o unistr/u8-mbtoucr.o unistr/u8-uctomb.o unistr/u8-uctomb-aux.o uniwidth/width.o version-etc.o version-etc-fsf.o wctype-h.o xmalloc.o xalloc-die.o xstriconv.o xstrtoimax.o xstrtol.o xstrtoul.o xstrtol-error.o colorize.o chdir-long.o fcntl.o fts.o mbrlen.o mbrtowc.o obstack.o openat-proc.o
  1648. x86_64-pc-linux-gnu-ranlib libgreputils.a
  1649. make[3]: Leaving directory '/var/tmp/portage/sys-apps/grep-2.25/work/grep-2.25/lib'
  1650. make[2]: Leaving directory '/var/tmp/portage/sys-apps/grep-2.25/work/grep-2.25/lib'
  1651. Making all in doc
  1652. make[2]: Entering directory '/var/tmp/portage/sys-apps/grep-2.25/work/grep-2.25/doc'
  1653. rm -f grep.1-t grep.1
  1654. rm -f fgrep.1-t fgrep.1
  1655. rm -f egrep.1-t egrep.1
  1656. sed 's/@''VERSION@/2.25/' ./grep.in.1 > grep.1-t
  1657. inst=`echo grep | sed 's,x,x,'`.1 \
  1658. && echo ".so man1/$inst" > fgrep.1-t
  1659. inst=`echo grep | sed 's,x,x,'`.1 \
  1660. && echo ".so man1/$inst" > egrep.1-t
  1661. chmod a=r grep.1-t
  1662. mv -f grep.1-t grep.1
  1663. chmod a=r fgrep.1-t
  1664. mv -f fgrep.1-t fgrep.1
  1665. chmod a=r egrep.1-t
  1666. mv -f egrep.1-t egrep.1
  1667. make[2]: Leaving directory '/var/tmp/portage/sys-apps/grep-2.25/work/grep-2.25/doc'
  1668. Making all in src
  1669. make[2]: Entering directory '/var/tmp/portage/sys-apps/grep-2.25/work/grep-2.25/src'
  1670. x86_64-pc-linux-gnu-gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I.. -I../lib -I../lib -O2 -pipe -c -o grep.o grep.c
  1671. x86_64-pc-linux-gnu-gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I.. -I../lib -I../lib -O2 -pipe -c -o searchutils.o searchutils.c
  1672. x86_64-pc-linux-gnu-gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I.. -I../lib -I../lib -O2 -pipe -c -o dfa.o dfa.c
  1673. x86_64-pc-linux-gnu-gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I.. -I../lib -I../lib -O2 -pipe -c -o dfasearch.o dfasearch.c
  1674. x86_64-pc-linux-gnu-gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I.. -I../lib -I../lib -O2 -pipe -c -o kwset.o kwset.c
  1675. x86_64-pc-linux-gnu-gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I.. -I../lib -I../lib -O2 -pipe -c -o kwsearch.o kwsearch.c
  1676. x86_64-pc-linux-gnu-gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I.. -I../lib -I../lib -O2 -pipe -c -o pcresearch.o pcresearch.c
  1677. grep=`echo grep | sed -e 's,x,x,'` && \
  1678. case egrep in egrep) option=-E;; fgrep) option=-F;; esac && \
  1679. shell_does_substrings='set x/y && d=${1%/*} && test "$d" = x' && \
  1680. if /bin/sh -c "$shell_does_substrings" 2>/dev/null; then \
  1681. edit_substring='s,X,X,'; \
  1682. else \
  1683. edit_substring='s,\${0%/\*},`expr "X$0" : '\''X\\(.*\\)/'\''`,g'; \
  1684. fi && \
  1685. sed -e 's|[@]SHELL@|/bin/sh|g' \
  1686. -e "$edit_substring" \
  1687. -e "s|[@]grep@|$grep|g" \
  1688. -e "s|[@]option@|$option|g" <./egrep.sh >egrep-t
  1689. grep=`echo grep | sed -e 's,x,x,'` && \
  1690. case fgrep in egrep) option=-E;; fgrep) option=-F;; esac && \
  1691. shell_does_substrings='set x/y && d=${1%/*} && test "$d" = x' && \
  1692. if /bin/sh -c "$shell_does_substrings" 2>/dev/null; then \
  1693. edit_substring='s,X,X,'; \
  1694. else \
  1695. edit_substring='s,\${0%/\*},`expr "X$0" : '\''X\\(.*\\)/'\''`,g'; \
  1696. fi && \
  1697. sed -e 's|[@]SHELL@|/bin/sh|g' \
  1698. -e "$edit_substring" \
  1699. -e "s|[@]grep@|$grep|g" \
  1700. -e "s|[@]option@|$option|g" <./egrep.sh >fgrep-t
  1701. chmod +x egrep-t
  1702. mv egrep-t egrep
  1703. chmod +x fgrep-t
  1704. mv fgrep-t fgrep
  1705. x86_64-pc-linux-gnu-gcc -std=gnu11 -O2 -pipe -Wl,-O1 -Wl,--as-needed -static -o grep grep.o searchutils.o dfa.o dfasearch.o kwset.o kwsearch.o pcresearch.o ../lib/libgreputils.a ../lib/libgreputils.a -lpcre
  1706. /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.4/../../../../lib64/libpcre.a(libpcre_la-pcre_jit_compile.o): In function `sljit_generate_code':
  1707. (.text+0x79f): undefined reference to `pthread_mutex_lock'
  1708. /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.4/../../../../lib64/libpcre.a(libpcre_la-pcre_jit_compile.o): In function `sljit_generate_code':
  1709. (.text+0x894): undefined reference to `pthread_mutex_unlock'
  1710. /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.4/../../../../lib64/libpcre.a(libpcre_la-pcre_jit_compile.o): In function `sljit_generate_code':
  1711. (.text+0xc0f): undefined reference to `pthread_mutex_unlock'
  1712. /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.4/../../../../lib64/libpcre.a(libpcre_la-pcre_jit_compile.o): In function `sljit_generate_code':
  1713. (.text+0xc5f): undefined reference to `pthread_mutex_unlock'
  1714. /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.4/../../../../lib64/libpcre.a(libpcre_la-pcre_jit_compile.o): In function `sljit_free_exec':
  1715. (.text+0xc8a): undefined reference to `pthread_mutex_lock'
  1716. /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.4/../../../../lib64/libpcre.a(libpcre_la-pcre_jit_compile.o): In function `pcre_jit_free_unused_memory':
  1717. (.text+0x28607): undefined reference to `pthread_mutex_lock'
  1718. /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.4/../../../../lib64/libpcre.a(libpcre_la-pcre_jit_compile.o): In function `sljit_free_exec':
  1719. (.text+0xcf0): undefined reference to `pthread_mutex_unlock'
  1720. /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.4/../../../../lib64/libpcre.a(libpcre_la-pcre_jit_compile.o): In function `pcre_jit_free_unused_memory':
  1721. (.text+0x28677): undefined reference to `pthread_mutex_unlock'
  1722. /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.4/libgcc_eh.a(unwind-dw2-fde-dip.o): In function `__register_frame_info_bases':
  1723. (.text+0x16e7): undefined reference to `pthread_mutex_lock'
  1724. /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.4/libgcc_eh.a(unwind-dw2-fde-dip.o): In function `__register_frame_info':
  1725. (.text+0x1782): undefined reference to `pthread_mutex_lock'
  1726. /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.4/libgcc_eh.a(unwind-dw2-fde-dip.o): In function `__register_frame':
  1727. (.text+0x1824): undefined reference to `pthread_mutex_lock'
  1728. /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.4/libgcc_eh.a(unwind-dw2-fde-dip.o): In function `__register_frame_info_table_bases':
  1729. (.text+0x18ab): undefined reference to `pthread_mutex_lock'
  1730. /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.4/libgcc_eh.a(unwind-dw2-fde-dip.o): In function `__deregister_frame_info_bases':
  1731. (.text+0x194e): undefined reference to `pthread_mutex_lock'
  1732. /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.4/libgcc_eh.a(unwind-dw2-fde-dip.o): In function `__deregister_frame_info_bases':
  1733. (.text+0x19e8): undefined reference to `pthread_mutex_unlock'
  1734. /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.4/libgcc_eh.a(unwind-dw2-fde-dip.o): In function `_Unwind_Find_FDE':
  1735. (.text+0x1ab6): undefined reference to `pthread_mutex_lock'
  1736. /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.4/libgcc_eh.a(unwind-dw2-fde-dip.o): In function `_Unwind_Find_FDE':
  1737. (.text+0x1b06): undefined reference to `pthread_mutex_unlock'
  1738. /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.4/libgcc_eh.a(unwind-dw2-fde-dip.o): In function `_Unwind_Find_FDE':
  1739. (.text+0x1bf0): undefined reference to `pthread_mutex_unlock'
  1740. /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.4/libgcc_eh.a(unwind-dw2-fde-dip.o): In function `__register_frame_info_bases':
  1741. (.text+0x1706): undefined reference to `pthread_mutex_unlock'
  1742. /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.4/libgcc_eh.a(unwind-dw2-fde-dip.o): In function `__register_frame_info':
  1743. (.text+0x17a1): undefined reference to `pthread_mutex_unlock'
  1744. /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.4/libgcc_eh.a(unwind-dw2-fde-dip.o): In function `__register_frame':
  1745. (.text+0x1848): undefined reference to `pthread_mutex_unlock'
  1746. /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.4/libgcc_eh.a(unwind-dw2-fde-dip.o):(.text+0x18ca): more undefined references to `pthread_mutex_unlock' follow
  1747. collect2: error: ld returned 1 exit status
  1748. Makefile:1290: recipe for target 'grep' failed
  1749. make[2]: *** [grep] Error 1
  1750. make[2]: Leaving directory '/var/tmp/portage/sys-apps/grep-2.25/work/grep-2.25/src'
  1751. Makefile:1279: recipe for target 'all-recursive' failed
  1752. make[1]: *** [all-recursive] Error 1
  1753. make[1]: Leaving directory '/var/tmp/portage/sys-apps/grep-2.25/work/grep-2.25'
  1754. Makefile:1220: recipe for target 'all' failed
  1755. make: *** [all] Error 2
  1756. * ERROR: sys-apps/grep-2.25::gentoo failed (compile phase):
  1757. * emake failed
  1758. *
  1759. * If you need support, post the output of `emerge --info '=sys-apps/grep-2.25::gentoo'`,
  1760. * the complete build log and the output of `emerge -pqv '=sys-apps/grep-2.25::gentoo'`.
  1761. * The complete build log is located at '/var/tmp/portage/sys-apps/grep-2.25/temp/build.log'.
  1762. * The ebuild environment file is located at '/var/tmp/portage/sys-apps/grep-2.25/temp/environment'.
  1763. * Working directory: '/var/tmp/portage/sys-apps/grep-2.25/work/grep-2.25'
  1764. * S: '/var/tmp/portage/sys-apps/grep-2.25/work/grep-2.25'
  1765.