Ticket #34311: config.log

File config.log, 687.5 KB (added by jowens@…, 12 years ago)
Line 
1This file contains any messages produced by compilers while
2running configure, to aid debugging if configure makes a mistake.
3
4It was created by configure, which was
5generated by GNU Autoconf 2.68.  Invocation command line was
6
7  $ ./configure --prefix=/opt/local --enable-shared --mandir=/opt/local/share/man --enable-pthread --without-tk --with-opt-dir=/opt/local --program-suffix=1.9 --with-rubylibprefix=/opt/local/lib/ruby1.9 --with-arch=x86_64
8
9## --------- ##
10## Platform. ##
11## --------- ##
12
13hostname = nanaimo-bar.local
14uname -m = x86_64
15uname -r = 11
16uname -s = Darwin
17uname -v = Darwin Kernel Version 11.3.0: Thu Jan 12 18:47:41 PST 2012; root:xnu-1699.24.23~1/RELEASE_X86_64
18
19/usr/bin/uname -p = i386
20/bin/uname -X     = unknown
21
22/bin/arch              = unknown
23/usr/bin/arch -k       = unknown
24/usr/convex/getsysinfo = unknown
25/usr/bin/hostinfo      = Mach kernel version:
26         Darwin Kernel Version 11.3.0: Thu Jan 12 18:47:41 PST 2012; root:xnu-1699.24.23~1/RELEASE_X86_64
27Kernel configured for up to 4 processors.
282 processors are physically available.
294 processors are logically available.
30Processor type: i486 (Intel 80486)
31Processors active: 0 1 2 3
32Primary memory available: 8.00 gigabytes
33Default processor set: 197 tasks, 1008 threads, 4 processors
34Load average: 7.08, Mach factor: 0.34
35/bin/machine           = unknown
36/usr/bin/oslevel       = unknown
37/bin/universe          = unknown
38
39PATH: /usr/texbin
40PATH: /opt/local/bin
41PATH: /opt/local/sbin
42PATH: /bin
43PATH: /sbin
44PATH: /usr/bin
45PATH: /usr/sbin
46
47
48## ----------- ##
49## Core tests. ##
50## ----------- ##
51
52configure:2765: checking build system type
53configure:2779: result: x86_64-apple-darwin11
54configure:2847: checking host system type
55configure:2860: result: x86_64-apple-darwin11
56configure:2880: checking target system type
57configure:2893: result: x86_64-apple-darwin11
58configure:3374: checking for C compiler version
59configure:3383: /usr/bin/clang --version >&5
60Apple clang version 3.1 (tags/Apple/clang-318.0.58) (based on LLVM 3.1svn)
61Target: x86_64-apple-darwin11.3.0
62Thread model: posix
63configure:3394: $? = 0
64configure:3383: /usr/bin/clang -v >&5
65Apple clang version 3.1 (tags/Apple/clang-318.0.58) (based on LLVM 3.1svn)
66Target: x86_64-apple-darwin11.3.0
67Thread model: posix
68configure:3394: $? = 0
69configure:3383: /usr/bin/clang -V >&5
70clang: error: argument to '-V' is missing (expected 1 value)
71clang: error: no input files
72configure:3394: $? = 1
73configure:3383: /usr/bin/clang -qversion >&5
74clang: error: no input files
75configure:3394: $? = 1
76configure:3414: checking whether the C compiler works
77configure:3436: /usr/bin/clang -O2 -arch x86_64 -I/opt/local/include -L/opt/local/lib -arch x86_64 conftest.c  >&5
78configure:3440: $? = 0
79configure:3488: result: yes
80configure:3491: checking for C compiler default output file name
81configure:3493: result: a.out
82configure:3499: checking for suffix of executables
83configure:3506: /usr/bin/clang -o conftest -O2 -arch x86_64 -I/opt/local/include -L/opt/local/lib -arch x86_64 conftest.c  >&5
84configure:3510: $? = 0
85configure:3532: result:
86configure:3554: checking whether we are cross compiling
87configure:3562: /usr/bin/clang -o conftest -O2 -arch x86_64 -I/opt/local/include -L/opt/local/lib -arch x86_64 conftest.c  >&5
88configure:3566: $? = 0
89configure:3573: ./conftest
90configure:3577: $? = 0
91configure:3592: result: no
92configure:3597: checking for suffix of object files
93configure:3619: /usr/bin/clang -c -O2 -arch x86_64 -I/opt/local/include conftest.c >&5
94configure:3623: $? = 0
95configure:3644: result: o
96configure:3648: checking whether we are using the GNU C compiler
97configure:3667: /usr/bin/clang -c -O2 -arch x86_64 -I/opt/local/include conftest.c >&5
98configure:3667: $? = 0
99configure:3676: result: yes
100configure:3685: checking whether /usr/bin/clang accepts -g
101configure:3705: /usr/bin/clang -c -g -I/opt/local/include conftest.c >&5
102configure:3705: $? = 0
103configure:3746: result: yes
104configure:3763: checking for /usr/bin/clang option to accept ISO C89
105configure:3827: /usr/bin/clang  -c -O2 -arch x86_64 -I/opt/local/include conftest.c >&5
106configure:3827: $? = 0
107configure:3840: result: none needed
108configure:3972: checking for C++ compiler version
109configure:3981: /usr/bin/clang++ --version >&5
110Apple clang version 3.1 (tags/Apple/clang-318.0.58) (based on LLVM 3.1svn)
111Target: x86_64-apple-darwin11.3.0
112Thread model: posix
113configure:3992: $? = 0
114configure:3981: /usr/bin/clang++ -v >&5
115Apple clang version 3.1 (tags/Apple/clang-318.0.58) (based on LLVM 3.1svn)
116Target: x86_64-apple-darwin11.3.0
117Thread model: posix
118configure:3992: $? = 0
119configure:3981: /usr/bin/clang++ -V >&5
120clang: error: argument to '-V' is missing (expected 1 value)
121clang: error: no input files
122configure:3992: $? = 1
123configure:3981: /usr/bin/clang++ -qversion >&5
124clang: error: no input files
125configure:3992: $? = 1
126configure:3996: checking whether we are using the GNU C++ compiler
127configure:4015: /usr/bin/clang++ -c -O2 -arch x86_64 -I/opt/local/include conftest.cpp >&5
128configure:4015: $? = 0
129configure:4024: result: yes
130configure:4033: checking whether /usr/bin/clang++ accepts -g
131configure:4053: /usr/bin/clang++ -c -g -I/opt/local/include conftest.cpp >&5
132configure:4053: $? = 0
133configure:4094: result: yes
134configure:4123: checking how to run the C preprocessor
135configure:4154: /usr/bin/clang -E -I/opt/local/include conftest.c
136configure:4154: $? = 0
137configure:4168: /usr/bin/clang -E -I/opt/local/include conftest.c
138conftest.c:10:10: fatal error: 'ac_nonexistent.h' file not found
139#include <ac_nonexistent.h>
140         ^
1411 error generated.
142configure:4168: $? = 1
143configure: failed program was:
144| /* confdefs.h */
145| #define PACKAGE_NAME ""
146| #define PACKAGE_TARNAME ""
147| #define PACKAGE_VERSION ""
148| #define PACKAGE_STRING ""
149| #define PACKAGE_BUGREPORT ""
150| #define PACKAGE_URL ""
151| #define CANONICALIZATION_FOR_MATHN 1
152| /* end confdefs.h.  */
153| #include <ac_nonexistent.h>
154configure:4193: result: /usr/bin/clang -E
155configure:4213: /usr/bin/clang -E -I/opt/local/include conftest.c
156configure:4213: $? = 0
157configure:4227: /usr/bin/clang -E -I/opt/local/include conftest.c
158conftest.c:10:10: fatal error: 'ac_nonexistent.h' file not found
159#include <ac_nonexistent.h>
160         ^
1611 error generated.
162configure:4227: $? = 1
163configure: failed program was:
164| /* confdefs.h */
165| #define PACKAGE_NAME ""
166| #define PACKAGE_TARNAME ""
167| #define PACKAGE_VERSION ""
168| #define PACKAGE_STRING ""
169| #define PACKAGE_BUGREPORT ""
170| #define PACKAGE_URL ""
171| #define CANONICALIZATION_FOR_MATHN 1
172| /* end confdefs.h.  */
173| #include <ac_nonexistent.h>
174configure:4256: checking for grep that handles long lines and -e
175configure:4314: result: /usr/bin/grep
176configure:4319: checking for egrep
177configure:4381: result: /usr/bin/grep -E
178configure:4387: checking whether /usr/bin/clang needs -traditional
179conftest.c:10:10: fatal error: 'termio.h' file not found
180#include <termio.h>
181         ^
1821 error generated.
183configure:4421: result: no
184configure:4446: checking whether the linker is GNU ld
185configure:4458: result: no
186configure:4462: checking whether /usr/bin/clang -E accepts -o
187configure:4473: /usr/bin/clang -E -o conftest.i conftest.c
188configure:4473: $? = 0
189configure:4482: result: yes
190configure:4553: checking target architectures
191configure:4584: result: x86_64
192configure:4737: checking for ranlib
193configure:4753: found /opt/local/bin/ranlib
194configure:4764: result: ranlib
195configure:4829: checking for ar
196configure:4845: found /opt/local/bin/ar
197configure:4856: result: ar
198configure:4967: checking for as
199configure:4983: found /opt/local/bin/as
200configure:4994: result: as
201configure:5076: checking for objdump
202configure:5106: result: no
203configure:5076: checking for gobjdump
204configure:5106: result: no
205configure:5176: checking for objcopy
206configure:5206: result: no
207configure:5176: checking for gobjcopy
208configure:5206: result: no
209configure:5614: checking for nm
210configure:5630: found /opt/local/bin/nm
211configure:5641: result: nm
212configure:5664: checking whether ln -s works
213configure:5668: result: yes
214configure:5675: checking whether make sets $(MAKE)
215configure:5697: result: yes
216configure:5720: checking for a BSD-compatible install
217configure:5788: result: /usr/bin/install -c
218configure:5799: checking for a thread-safe mkdir -p
219configure:5838: result: /opt/local/bin/gmkdir -p
220configure:5856: checking for dot
221configure:5872: found /opt/local/bin/dot
222configure:5883: result: dot
223configure:5898: checking for doxygen
224configure:5914: found /opt/local/bin/doxygen
225configure:5925: result: doxygen
226configure:5939: checking for pkg-config
227configure:5960: found /opt/local/bin/pkg-config
228configure:5983: result: pkg-config
229configure:5993: checking for ANSI C header files
230configure:6013: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include conftest.c >&5
231configure:6013: $? = 0
232configure:6086: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c  >&5
233configure:6086: $? = 0
234configure:6086: ./conftest
235configure:6086: $? = 0
236configure:6097: result: yes
237configure:6110: checking for sys/types.h
238configure:6110: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include conftest.c >&5
239configure:6110: $? = 0
240configure:6110: result: yes
241configure:6110: checking for sys/stat.h
242configure:6110: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include conftest.c >&5
243configure:6110: $? = 0
244configure:6110: result: yes
245configure:6110: checking for stdlib.h
246configure:6110: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include conftest.c >&5
247configure:6110: $? = 0
248configure:6110: result: yes
249configure:6110: checking for string.h
250configure:6110: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include conftest.c >&5
251configure:6110: $? = 0
252configure:6110: result: yes
253configure:6110: checking for memory.h
254configure:6110: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include conftest.c >&5
255configure:6110: $? = 0
256configure:6110: result: yes
257configure:6110: checking for strings.h
258configure:6110: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include conftest.c >&5
259configure:6110: $? = 0
260configure:6110: result: yes
261configure:6110: checking for inttypes.h
262configure:6110: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include conftest.c >&5
263configure:6110: $? = 0
264configure:6110: result: yes
265configure:6110: checking for stdint.h
266configure:6110: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include conftest.c >&5
267configure:6110: $? = 0
268configure:6110: result: yes
269configure:6110: checking for unistd.h
270configure:6110: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include conftest.c >&5
271configure:6110: $? = 0
272configure:6110: result: yes
273configure:6123: checking minix/config.h usability
274configure:6123: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include conftest.c >&5
275conftest.c:53:10: fatal error: 'minix/config.h' file not found
276#include <minix/config.h>
277         ^
2781 error generated.
279configure:6123: $? = 1
280configure: failed program was:
281| /* confdefs.h */
282| #define PACKAGE_NAME ""
283| #define PACKAGE_TARNAME ""
284| #define PACKAGE_VERSION ""
285| #define PACKAGE_STRING ""
286| #define PACKAGE_BUGREPORT ""
287| #define PACKAGE_URL ""
288| #define CANONICALIZATION_FOR_MATHN 1
289| #define STDC_HEADERS 1
290| #define HAVE_SYS_TYPES_H 1
291| #define HAVE_SYS_STAT_H 1
292| #define HAVE_STDLIB_H 1
293| #define HAVE_STRING_H 1
294| #define HAVE_MEMORY_H 1
295| #define HAVE_STRINGS_H 1
296| #define HAVE_INTTYPES_H 1
297| #define HAVE_STDINT_H 1
298| #define HAVE_UNISTD_H 1
299| /* end confdefs.h.  */
300| #include <stdio.h>
301| #ifdef HAVE_SYS_TYPES_H
302| # include <sys/types.h>
303| #endif
304| #ifdef HAVE_SYS_STAT_H
305| # include <sys/stat.h>
306| #endif
307| #ifdef STDC_HEADERS
308| # include <stdlib.h>
309| # include <stddef.h>
310| #else
311| # ifdef HAVE_STDLIB_H
312| #  include <stdlib.h>
313| # endif
314| #endif
315| #ifdef HAVE_STRING_H
316| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
317| #  include <memory.h>
318| # endif
319| # include <string.h>
320| #endif
321| #ifdef HAVE_STRINGS_H
322| # include <strings.h>
323| #endif
324| #ifdef HAVE_INTTYPES_H
325| # include <inttypes.h>
326| #endif
327| #ifdef HAVE_STDINT_H
328| # include <stdint.h>
329| #endif
330| #ifdef HAVE_UNISTD_H
331| # include <unistd.h>
332| #endif
333| #include <minix/config.h>
334configure:6123: result: no
335configure:6123: checking minix/config.h presence
336configure:6123: /usr/bin/clang -E -I/opt/local/include conftest.c
337conftest.c:20:10: fatal error: 'minix/config.h' file not found
338#include <minix/config.h>
339         ^
3401 error generated.
341configure:6123: $? = 1
342configure: failed program was:
343| /* confdefs.h */
344| #define PACKAGE_NAME ""
345| #define PACKAGE_TARNAME ""
346| #define PACKAGE_VERSION ""
347| #define PACKAGE_STRING ""
348| #define PACKAGE_BUGREPORT ""
349| #define PACKAGE_URL ""
350| #define CANONICALIZATION_FOR_MATHN 1
351| #define STDC_HEADERS 1
352| #define HAVE_SYS_TYPES_H 1
353| #define HAVE_SYS_STAT_H 1
354| #define HAVE_STDLIB_H 1
355| #define HAVE_STRING_H 1
356| #define HAVE_MEMORY_H 1
357| #define HAVE_STRINGS_H 1
358| #define HAVE_INTTYPES_H 1
359| #define HAVE_STDINT_H 1
360| #define HAVE_UNISTD_H 1
361| /* end confdefs.h.  */
362| #include <minix/config.h>
363configure:6123: result: no
364configure:6123: checking for minix/config.h
365configure:6123: result: no
366configure:6144: checking whether it is safe to define __EXTENSIONS__
367configure:6162: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include conftest.c >&5
368configure:6162: $? = 0
369configure:6169: result: yes
370configure:6201: checking for cd using physical directory
371configure:6216: result: cd -P
372configure:6247: checking whether -Wno-unused-parameter is accepted
373configure:6267: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -Wno-unused-parameter -I/opt/local/include conftest.c >&5
374configure:6267: $? = 0
375configure:6269: result: yes
376configure:6247: checking whether -Wno-parentheses is accepted
377configure:6267: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -Wno-parentheses -I/opt/local/include conftest.c >&5
378configure:6267: $? = 0
379configure:6269: result: yes
380configure:6247: checking whether -Wno-long-long is accepted
381configure:6267: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -Wno-long-long -I/opt/local/include conftest.c >&5
382configure:6267: $? = 0
383configure:6269: result: yes
384configure:6247: checking whether -Wno-missing-field-initializers is accepted
385configure:6267: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -Wno-missing-field-initializers -I/opt/local/include conftest.c >&5
386configure:6267: $? = 0
387configure:6269: result: yes
388configure:6247: checking whether -Werror=pointer-arith is accepted
389configure:6267: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -Werror=pointer-arith -I/opt/local/include conftest.c >&5
390configure:6267: $? = 0
391configure:6269: result: yes
392configure:6247: checking whether -Werror=write-strings is accepted
393configure:6267: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -Werror=write-strings -I/opt/local/include conftest.c >&5
394configure:6267: $? = 0
395configure:6269: result: yes
396configure:6247: checking whether -Werror=declaration-after-statement is accepted
397configure:6267: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -Werror=declaration-after-statement -I/opt/local/include conftest.c >&5
398configure:6267: $? = 0
399configure:6269: result: yes
400configure:6247: checking whether -Werror=shorten-64-to-32 is accepted
401configure:6267: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -Werror=shorten-64-to-32 -I/opt/local/include conftest.c >&5
402configure:6267: $? = 0
403configure:6269: result: yes
404configure:6247: checking whether -Werror=implicit-function-declaration is accepted
405configure:6267: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -Werror=implicit-function-declaration -I/opt/local/include conftest.c >&5
406configure:6267: $? = 0
407configure:6269: result: yes
408configure:6349: checking whether -Wextra is accepted
409configure:6369: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -Wextra -I/opt/local/include conftest.c >&5
410configure:6369: $? = 0
411configure:6371: result: yes
412configure:6396: checking whether -ggdb is accepted
413configure:6416: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -ggdb -I/opt/local/include conftest.c >&5
414clang: warning: argument unused during compilation: '-ggdb'
415configure:6416: $? = 0
416configure: failed program was:
417| /* confdefs.h */
418| #define PACKAGE_NAME ""
419| #define PACKAGE_TARNAME ""
420| #define PACKAGE_VERSION ""
421| #define PACKAGE_STRING ""
422| #define PACKAGE_BUGREPORT ""
423| #define PACKAGE_URL ""
424| #define CANONICALIZATION_FOR_MATHN 1
425| #define STDC_HEADERS 1
426| #define HAVE_SYS_TYPES_H 1
427| #define HAVE_SYS_STAT_H 1
428| #define HAVE_STDLIB_H 1
429| #define HAVE_STRING_H 1
430| #define HAVE_MEMORY_H 1
431| #define HAVE_STRINGS_H 1
432| #define HAVE_INTTYPES_H 1
433| #define HAVE_STDINT_H 1
434| #define HAVE_UNISTD_H 1
435| #define __EXTENSIONS__ 1
436| #define _ALL_SOURCE 1
437| #define _GNU_SOURCE 1
438| #define _POSIX_PTHREAD_SEMANTICS 1
439| #define _TANDEM_SOURCE 1
440| /* end confdefs.h.  */
441|
442| int
443| main ()
444| {
445|
446|   ;
447|   return 0;
448| }
449configure:6422: result: no
450configure:6438: checking whether -g3 is accepted
451configure:6458: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -g3 -I/opt/local/include conftest.c >&5
452configure:6458: $? = 0
453configure:6460: result: yes
454configure:6492: checking whether -fvisibility=hidden is accepted
455configure:6512: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -fvisibility=hidden -I/opt/local/include conftest.c >&5
456configure:6512: $? = 0
457configure:6522: result: yes
458configure:6555: checking whether -Wl,-unexported_symbol,_Init_* is accepted
459configure:6575: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -L/opt/local/lib -arch x86_64  -arch x86_64 -Wl,-unexported_symbol,_Init_* conftest.c  >&5
460configure:6575: $? = 0
461configure:6577: result: yes
462configure:6663: checking for special C compiler options needed for large files
463configure:6708: result: no
464configure:6714: checking for _FILE_OFFSET_BITS value needed for large files
465configure:6739: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include conftest.c >&5
466configure:6739: $? = 0
467configure:6771: result: no
468configure:6865: checking whether byte ordering is bigendian
469configure:6880: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include conftest.c >&5
470configure:6880: $? = 0
471configure:6925: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include conftest.c >&5
472configure:6925: $? = 0
473configure:6943: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include conftest.c >&5
474conftest.c:32:4: error: use of undeclared identifier 'not'
475                 not big endian
476                 ^
4771 error generated.
478configure:6943: $? = 1
479configure: failed program was:
480| /* confdefs.h */
481| #define PACKAGE_NAME ""
482| #define PACKAGE_TARNAME ""
483| #define PACKAGE_VERSION ""
484| #define PACKAGE_STRING ""
485| #define PACKAGE_BUGREPORT ""
486| #define PACKAGE_URL ""
487| #define CANONICALIZATION_FOR_MATHN 1
488| #define STDC_HEADERS 1
489| #define HAVE_SYS_TYPES_H 1
490| #define HAVE_SYS_STAT_H 1
491| #define HAVE_STDLIB_H 1
492| #define HAVE_STRING_H 1
493| #define HAVE_MEMORY_H 1
494| #define HAVE_STRINGS_H 1
495| #define HAVE_INTTYPES_H 1
496| #define HAVE_STDINT_H 1
497| #define HAVE_UNISTD_H 1
498| #define __EXTENSIONS__ 1
499| #define _ALL_SOURCE 1
500| #define _GNU_SOURCE 1
501| #define _POSIX_PTHREAD_SEMANTICS 1
502| #define _TANDEM_SOURCE 1
503| /* end confdefs.h.  */
504| #include <sys/types.h>
505|               #include <sys/param.h>
506|
507| int
508| main ()
509| {
510| #if BYTE_ORDER != BIG_ENDIAN
511|                not big endian
512|               #endif
513|
514|   ;
515|   return 0;
516| }
517configure:7071: result: no
518configure:7089: checking for an ANSI C-conforming const
519configure:7154: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include conftest.c >&5
520configure:7154: $? = 0
521configure:7161: result: yes
522configure:7169: checking whether char is unsigned
523configure:7187: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include conftest.c >&5
524configure:7187: $? = 0
525configure:7194: result: no
526configure:7201: checking for inline
527configure:7217: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include conftest.c >&5
528configure:7217: $? = 0
529configure:7225: result: inline
530configure:7243: checking for working volatile
531configure:7262: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include conftest.c >&5
532configure:7262: $? = 0
533configure:7269: result: yes
534configure:7285: checking for long long
535configure:7285: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include conftest.c >&5
536configure:7285: $? = 0
537configure:7285: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include conftest.c >&5
538conftest.c:61:24: error: expected expression
539if (sizeof ((long long)))
540                       ^
5411 error generated.
542configure:7285: $? = 1
543configure: failed program was:
544| /* confdefs.h */
545| #define PACKAGE_NAME ""
546| #define PACKAGE_TARNAME ""
547| #define PACKAGE_VERSION ""
548| #define PACKAGE_STRING ""
549| #define PACKAGE_BUGREPORT ""
550| #define PACKAGE_URL ""
551| #define CANONICALIZATION_FOR_MATHN 1
552| #define STDC_HEADERS 1
553| #define HAVE_SYS_TYPES_H 1
554| #define HAVE_SYS_STAT_H 1
555| #define HAVE_STDLIB_H 1
556| #define HAVE_STRING_H 1
557| #define HAVE_MEMORY_H 1
558| #define HAVE_STRINGS_H 1
559| #define HAVE_INTTYPES_H 1
560| #define HAVE_STDINT_H 1
561| #define HAVE_UNISTD_H 1
562| #define __EXTENSIONS__ 1
563| #define _ALL_SOURCE 1
564| #define _GNU_SOURCE 1
565| #define _POSIX_PTHREAD_SEMANTICS 1
566| #define _TANDEM_SOURCE 1
567| /* end confdefs.h.  */
568| #include <stdio.h>
569| #ifdef HAVE_SYS_TYPES_H
570| # include <sys/types.h>
571| #endif
572| #ifdef HAVE_SYS_STAT_H
573| # include <sys/stat.h>
574| #endif
575| #ifdef STDC_HEADERS
576| # include <stdlib.h>
577| # include <stddef.h>
578| #else
579| # ifdef HAVE_STDLIB_H
580| #  include <stdlib.h>
581| # endif
582| #endif
583| #ifdef HAVE_STRING_H
584| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
585| #  include <memory.h>
586| # endif
587| # include <string.h>
588| #endif
589| #ifdef HAVE_STRINGS_H
590| # include <strings.h>
591| #endif
592| #ifdef HAVE_INTTYPES_H
593| # include <inttypes.h>
594| #endif
595| #ifdef HAVE_STDINT_H
596| # include <stdint.h>
597| #endif
598| #ifdef HAVE_UNISTD_H
599| # include <unistd.h>
600| #endif
601| int
602| main ()
603| {
604| if (sizeof ((long long)))
605|           return 0;
606|   ;
607|   return 0;
608| }
609configure:7285: result: yes
610configure:7294: checking for off_t
611configure:7294: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include conftest.c >&5
612configure:7294: $? = 0
613configure:7294: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include conftest.c >&5
614conftest.c:62:20: error: expected expression
615if (sizeof ((off_t)))
616                   ^
6171 error generated.
618configure:7294: $? = 1
619configure: failed program was:
620| /* confdefs.h */
621| #define PACKAGE_NAME ""
622| #define PACKAGE_TARNAME ""
623| #define PACKAGE_VERSION ""
624| #define PACKAGE_STRING ""
625| #define PACKAGE_BUGREPORT ""
626| #define PACKAGE_URL ""
627| #define CANONICALIZATION_FOR_MATHN 1
628| #define STDC_HEADERS 1
629| #define HAVE_SYS_TYPES_H 1
630| #define HAVE_SYS_STAT_H 1
631| #define HAVE_STDLIB_H 1
632| #define HAVE_STRING_H 1
633| #define HAVE_MEMORY_H 1
634| #define HAVE_STRINGS_H 1
635| #define HAVE_INTTYPES_H 1
636| #define HAVE_STDINT_H 1
637| #define HAVE_UNISTD_H 1
638| #define __EXTENSIONS__ 1
639| #define _ALL_SOURCE 1
640| #define _GNU_SOURCE 1
641| #define _POSIX_PTHREAD_SEMANTICS 1
642| #define _TANDEM_SOURCE 1
643| #define HAVE_LONG_LONG 1
644| /* end confdefs.h.  */
645| #include <stdio.h>
646| #ifdef HAVE_SYS_TYPES_H
647| # include <sys/types.h>
648| #endif
649| #ifdef HAVE_SYS_STAT_H
650| # include <sys/stat.h>
651| #endif
652| #ifdef STDC_HEADERS
653| # include <stdlib.h>
654| # include <stddef.h>
655| #else
656| # ifdef HAVE_STDLIB_H
657| #  include <stdlib.h>
658| # endif
659| #endif
660| #ifdef HAVE_STRING_H
661| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
662| #  include <memory.h>
663| # endif
664| # include <string.h>
665| #endif
666| #ifdef HAVE_STRINGS_H
667| # include <strings.h>
668| #endif
669| #ifdef HAVE_INTTYPES_H
670| # include <inttypes.h>
671| #endif
672| #ifdef HAVE_STDINT_H
673| # include <stdint.h>
674| #endif
675| #ifdef HAVE_UNISTD_H
676| # include <unistd.h>
677| #endif
678| int
679| main ()
680| {
681| if (sizeof ((off_t)))
682|           return 0;
683|   ;
684|   return 0;
685| }
686configure:7294: result: yes
687configure:7305: checking char bit
688configure:7311: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c  >&5
689configure:7311: $? = 0
690configure:7311: ./conftest
691configure:7311: $? = 0
692configure:7320: result: 8
693configure:7445: checking size of int
694configure:7450: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c  >&5
695configure:7450: $? = 0
696configure:7450: ./conftest
697configure:7450: $? = 0
698configure:7464: result: 4
699configure:7543: checking size of short
700configure:7548: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c  >&5
701configure:7548: $? = 0
702configure:7548: ./conftest
703configure:7548: $? = 0
704configure:7562: result: 2
705configure:7718: checking size of long
706configure:7723: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c  >&5
707configure:7723: $? = 0
708configure:7723: ./conftest
709configure:7723: $? = 0
710configure:7737: result: 8
711configure:7816: checking size of long long
712configure:7821: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c  >&5
713configure:7821: $? = 0
714configure:7821: ./conftest
715configure:7821: $? = 0
716configure:7835: result: 8
717configure:7914: checking size of __int64
718configure:7919: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c  >&5
719conftest.c:64:57: error: use of undeclared identifier '__int64'; did you mean '__int64_t'?
720static long int longval () { return (long int) (sizeof (__int64)); }
721                                                        ^
722conftest.c:65:67: error: use of undeclared identifier '__int64'; did you mean '__int64_t'?
723static unsigned long int ulongval () { return (long int) (sizeof (__int64)); }
724                                                                  ^
725conftest.c:75:28: error: use of undeclared identifier '__int64'; did you mean '__int64_t'?
726  if (((long int) (sizeof (__int64))) < 0)
727                           ^
728conftest.c:78:37: error: use of undeclared identifier '__int64'; did you mean '__int64_t'?
729      if (i != ((long int) (sizeof (__int64))))
730                                    ^
731conftest.c:85:37: error: use of undeclared identifier '__int64'; did you mean '__int64_t'?
732      if (i != ((long int) (sizeof (__int64))))
733                                    ^
7345 errors generated.
735configure:7919: $? = 1
736configure: program exited with status 1
737configure: failed program was:
738| /* confdefs.h */
739| #define PACKAGE_NAME ""
740| #define PACKAGE_TARNAME ""
741| #define PACKAGE_VERSION ""
742| #define PACKAGE_STRING ""
743| #define PACKAGE_BUGREPORT ""
744| #define PACKAGE_URL ""
745| #define CANONICALIZATION_FOR_MATHN 1
746| #define STDC_HEADERS 1
747| #define HAVE_SYS_TYPES_H 1
748| #define HAVE_SYS_STAT_H 1
749| #define HAVE_STDLIB_H 1
750| #define HAVE_STRING_H 1
751| #define HAVE_MEMORY_H 1
752| #define HAVE_STRINGS_H 1
753| #define HAVE_INTTYPES_H 1
754| #define HAVE_STDINT_H 1
755| #define HAVE_UNISTD_H 1
756| #define __EXTENSIONS__ 1
757| #define _ALL_SOURCE 1
758| #define _GNU_SOURCE 1
759| #define _POSIX_PTHREAD_SEMANTICS 1
760| #define _TANDEM_SOURCE 1
761| #define HAVE_LONG_LONG 1
762| #define HAVE_OFF_T 1
763| #define SIZEOF_INT 4
764| #define SIZEOF_SHORT 2
765| #define SIZEOF_LONG 8
766| #define SIZEOF_LONG_LONG 8
767| /* end confdefs.h.  */
768| #include <stdio.h>
769| #ifdef HAVE_SYS_TYPES_H
770| # include <sys/types.h>
771| #endif
772| #ifdef HAVE_SYS_STAT_H
773| # include <sys/stat.h>
774| #endif
775| #ifdef STDC_HEADERS
776| # include <stdlib.h>
777| # include <stddef.h>
778| #else
779| # ifdef HAVE_STDLIB_H
780| #  include <stdlib.h>
781| # endif
782| #endif
783| #ifdef HAVE_STRING_H
784| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
785| #  include <memory.h>
786| # endif
787| # include <string.h>
788| #endif
789| #ifdef HAVE_STRINGS_H
790| # include <strings.h>
791| #endif
792| #ifdef HAVE_INTTYPES_H
793| # include <inttypes.h>
794| #endif
795| #ifdef HAVE_STDINT_H
796| # include <stdint.h>
797| #endif
798| #ifdef HAVE_UNISTD_H
799| # include <unistd.h>
800| #endif
801| static long int longval () { return (long int) (sizeof (__int64)); }
802| static unsigned long int ulongval () { return (long int) (sizeof (__int64)); }
803| #include <stdio.h>
804| #include <stdlib.h>
805| int
806| main ()
807| {
808|
809|   FILE *f = fopen ("conftest.val", "w");
810|   if (! f)
811|     return 1;
812|   if (((long int) (sizeof (__int64))) < 0)
813|     {
814|       long int i = longval ();
815|       if (i != ((long int) (sizeof (__int64))))
816|       return 1;
817|       fprintf (f, "%ld", i);
818|     }
819|   else
820|     {
821|       unsigned long int i = ulongval ();
822|       if (i != ((long int) (sizeof (__int64))))
823|       return 1;
824|       fprintf (f, "%lu", i);
825|     }
826|   /* Do not output a trailing newline, as this causes \r\n confusion
827|      on some platforms.  */
828|   return ferror (f) || fclose (f) != 0;
829|
830|   ;
831|   return 0;
832| }
833configure:7933: result: 0
834configure:8012: checking size of off_t
835configure:8017: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c  >&5
836configure:8017: $? = 0
837configure:8017: ./conftest
838configure:8017: $? = 0
839configure:8031: result: 8
840configure:8187: checking size of void*
841configure:8192: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c  >&5
842configure:8192: $? = 0
843configure:8192: ./conftest
844configure:8192: $? = 0
845configure:8206: result: 8
846configure:8285: checking size of float
847configure:8290: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c  >&5
848configure:8290: $? = 0
849configure:8290: ./conftest
850configure:8290: $? = 0
851configure:8304: result: 4
852configure:8383: checking size of double
853configure:8388: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c  >&5
854configure:8388: $? = 0
855configure:8388: ./conftest
856configure:8388: $? = 0
857configure:8402: result: 8
858configure:8510: checking size of time_t
859configure:8515: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c  >&5
860configure:8515: $? = 0
861configure:8515: ./conftest
862configure:8515: $? = 0
863configure:8530: result: 8
864configure:8547: checking for printf prefix for long long
865configure:8581: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include conftest.c >&5
866configure:8581: $? = 0
867configure:8592: result: ll
868configure:8660: checking for pid_t
869configure:8660: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include conftest.c >&5
870configure:8660: $? = 0
871configure:8660: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include conftest.c >&5
872conftest.c:74:20: error: expected expression
873if (sizeof ((pid_t)))
874                   ^
8751 error generated.
876configure:8660: $? = 1
877configure: failed program was:
878| /* confdefs.h */
879| #define PACKAGE_NAME ""
880| #define PACKAGE_TARNAME ""
881| #define PACKAGE_VERSION ""
882| #define PACKAGE_STRING ""
883| #define PACKAGE_BUGREPORT ""
884| #define PACKAGE_URL ""
885| #define CANONICALIZATION_FOR_MATHN 1
886| #define STDC_HEADERS 1
887| #define HAVE_SYS_TYPES_H 1
888| #define HAVE_SYS_STAT_H 1
889| #define HAVE_STDLIB_H 1
890| #define HAVE_STRING_H 1
891| #define HAVE_MEMORY_H 1
892| #define HAVE_STRINGS_H 1
893| #define HAVE_INTTYPES_H 1
894| #define HAVE_STDINT_H 1
895| #define HAVE_UNISTD_H 1
896| #define __EXTENSIONS__ 1
897| #define _ALL_SOURCE 1
898| #define _GNU_SOURCE 1
899| #define _POSIX_PTHREAD_SEMANTICS 1
900| #define _TANDEM_SOURCE 1
901| #define HAVE_LONG_LONG 1
902| #define HAVE_OFF_T 1
903| #define SIZEOF_INT 4
904| #define SIZEOF_SHORT 2
905| #define SIZEOF_LONG 8
906| #define SIZEOF_LONG_LONG 8
907| #define SIZEOF___INT64 0
908| #define SIZEOF_OFF_T 8
909| #define SIZEOF_VOIDP 8
910| #define SIZEOF_FLOAT 4
911| #define SIZEOF_DOUBLE 8
912| #define SIZEOF_TIME_T 8
913| #define PRI_LL_PREFIX "ll"
914| /* end confdefs.h.  */
915| #include <stdio.h>
916| #ifdef HAVE_SYS_TYPES_H
917| # include <sys/types.h>
918| #endif
919| #ifdef HAVE_SYS_STAT_H
920| # include <sys/stat.h>
921| #endif
922| #ifdef STDC_HEADERS
923| # include <stdlib.h>
924| # include <stddef.h>
925| #else
926| # ifdef HAVE_STDLIB_H
927| #  include <stdlib.h>
928| # endif
929| #endif
930| #ifdef HAVE_STRING_H
931| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
932| #  include <memory.h>
933| # endif
934| # include <string.h>
935| #endif
936| #ifdef HAVE_STRINGS_H
937| # include <strings.h>
938| #endif
939| #ifdef HAVE_INTTYPES_H
940| # include <inttypes.h>
941| #endif
942| #ifdef HAVE_STDINT_H
943| # include <stdint.h>
944| #endif
945| #ifdef HAVE_UNISTD_H
946| # include <unistd.h>
947| #endif
948| int
949| main ()
950| {
951| if (sizeof ((pid_t)))
952|           return 0;
953|   ;
954|   return 0;
955| }
956configure:8660: result: yes
957configure:8667: checking for convertible type of pid_t
958configure:8695: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include conftest.c >&5
959conftest.c:74:24: error: 'test_array' declared as an array with a negative size
960static int test_array [1 - 2 * !((pid_t)-1 > 0)];
961                       ^~~~~~~~~~~~~~~~~~~~~~~~
9621 error generated.
963configure:8695: $? = 1
964configure: failed program was:
965| /* confdefs.h */
966| #define PACKAGE_NAME ""
967| #define PACKAGE_TARNAME ""
968| #define PACKAGE_VERSION ""
969| #define PACKAGE_STRING ""
970| #define PACKAGE_BUGREPORT ""
971| #define PACKAGE_URL ""
972| #define CANONICALIZATION_FOR_MATHN 1
973| #define STDC_HEADERS 1
974| #define HAVE_SYS_TYPES_H 1
975| #define HAVE_SYS_STAT_H 1
976| #define HAVE_STDLIB_H 1
977| #define HAVE_STRING_H 1
978| #define HAVE_MEMORY_H 1
979| #define HAVE_STRINGS_H 1
980| #define HAVE_INTTYPES_H 1
981| #define HAVE_STDINT_H 1
982| #define HAVE_UNISTD_H 1
983| #define __EXTENSIONS__ 1
984| #define _ALL_SOURCE 1
985| #define _GNU_SOURCE 1
986| #define _POSIX_PTHREAD_SEMANTICS 1
987| #define _TANDEM_SOURCE 1
988| #define HAVE_LONG_LONG 1
989| #define HAVE_OFF_T 1
990| #define SIZEOF_INT 4
991| #define SIZEOF_SHORT 2
992| #define SIZEOF_LONG 8
993| #define SIZEOF_LONG_LONG 8
994| #define SIZEOF___INT64 0
995| #define SIZEOF_OFF_T 8
996| #define SIZEOF_VOIDP 8
997| #define SIZEOF_FLOAT 4
998| #define SIZEOF_DOUBLE 8
999| #define SIZEOF_TIME_T 8
1000| #define PRI_LL_PREFIX "ll"
1001| /* end confdefs.h.  */
1002| #include <stdio.h>
1003| #ifdef HAVE_SYS_TYPES_H
1004| # include <sys/types.h>
1005| #endif
1006| #ifdef HAVE_SYS_STAT_H
1007| # include <sys/stat.h>
1008| #endif
1009| #ifdef STDC_HEADERS
1010| # include <stdlib.h>
1011| # include <stddef.h>
1012| #else
1013| # ifdef HAVE_STDLIB_H
1014| #  include <stdlib.h>
1015| # endif
1016| #endif
1017| #ifdef HAVE_STRING_H
1018| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
1019| #  include <memory.h>
1020| # endif
1021| # include <string.h>
1022| #endif
1023| #ifdef HAVE_STRINGS_H
1024| # include <strings.h>
1025| #endif
1026| #ifdef HAVE_INTTYPES_H
1027| # include <inttypes.h>
1028| #endif
1029| #ifdef HAVE_STDINT_H
1030| # include <stdint.h>
1031| #endif
1032| #ifdef HAVE_UNISTD_H
1033| # include <unistd.h>
1034| #endif
1035| int
1036| main ()
1037| {
1038| static int test_array [1 - 2 * !((pid_t)-1 > 0)];
1039| test_array [0] = 0
1040|
1041|   ;
1042|   return 0;
1043| }
1044configure:8723: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include conftest.c >&5
1045conftest.c:74:38: error: redefinition of 'rbcv_conftest_var' with a different type
1046                        extern rbcv_conftest_replace_type rbcv_conftest_var;
1047                                                          ^
1048conftest.c:73:37: note: previous definition is here
1049                        extern rbcv_conftest_target_type rbcv_conftest_var;
1050                                                         ^
1051conftest.c:76:38: error: conflicting types for 'rbcv_conftest_func'
1052                        extern rbcv_conftest_replace_type rbcv_conftest_func(void);
1053                                                          ^
1054conftest.c:75:37: note: previous declaration is here
1055                        extern rbcv_conftest_target_type rbcv_conftest_func(void);
1056                                                         ^
1057conftest.c:81:24: error: 'test_array' declared as an array with a negative size
1058static int test_array [1 - 2 * !(sizeof(rbcv_conftest_target_type) == sizeof(rbcv_conftest_replace_type))];
1059                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
10603 errors generated.
1061configure:8723: $? = 1
1062configure: failed program was:
1063| /* confdefs.h */
1064| #define PACKAGE_NAME ""
1065| #define PACKAGE_TARNAME ""
1066| #define PACKAGE_VERSION ""
1067| #define PACKAGE_STRING ""
1068| #define PACKAGE_BUGREPORT ""
1069| #define PACKAGE_URL ""
1070| #define CANONICALIZATION_FOR_MATHN 1
1071| #define STDC_HEADERS 1
1072| #define HAVE_SYS_TYPES_H 1
1073| #define HAVE_SYS_STAT_H 1
1074| #define HAVE_STDLIB_H 1
1075| #define HAVE_STRING_H 1
1076| #define HAVE_MEMORY_H 1
1077| #define HAVE_STRINGS_H 1
1078| #define HAVE_INTTYPES_H 1
1079| #define HAVE_STDINT_H 1
1080| #define HAVE_UNISTD_H 1
1081| #define __EXTENSIONS__ 1
1082| #define _ALL_SOURCE 1
1083| #define _GNU_SOURCE 1
1084| #define _POSIX_PTHREAD_SEMANTICS 1
1085| #define _TANDEM_SOURCE 1
1086| #define HAVE_LONG_LONG 1
1087| #define HAVE_OFF_T 1
1088| #define SIZEOF_INT 4
1089| #define SIZEOF_SHORT 2
1090| #define SIZEOF_LONG 8
1091| #define SIZEOF_LONG_LONG 8
1092| #define SIZEOF___INT64 0
1093| #define SIZEOF_OFF_T 8
1094| #define SIZEOF_VOIDP 8
1095| #define SIZEOF_FLOAT 4
1096| #define SIZEOF_DOUBLE 8
1097| #define SIZEOF_TIME_T 8
1098| #define PRI_LL_PREFIX "ll"
1099| /* end confdefs.h.  */
1100| #include <stdio.h>
1101| #ifdef HAVE_SYS_TYPES_H
1102| # include <sys/types.h>
1103| #endif
1104| #ifdef HAVE_SYS_STAT_H
1105| # include <sys/stat.h>
1106| #endif
1107| #ifdef STDC_HEADERS
1108| # include <stdlib.h>
1109| # include <stddef.h>
1110| #else
1111| # ifdef HAVE_STDLIB_H
1112| #  include <stdlib.h>
1113| # endif
1114| #endif
1115| #ifdef HAVE_STRING_H
1116| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
1117| #  include <memory.h>
1118| # endif
1119| # include <string.h>
1120| #endif
1121| #ifdef HAVE_STRINGS_H
1122| # include <strings.h>
1123| #endif
1124| #ifdef HAVE_INTTYPES_H
1125| # include <inttypes.h>
1126| #endif
1127| #ifdef HAVE_STDINT_H
1128| # include <stdint.h>
1129| #endif
1130| #ifdef HAVE_UNISTD_H
1131| # include <unistd.h>
1132| #endif
1133|                       typedef pid_t rbcv_conftest_target_type;
1134|                       typedef long long rbcv_conftest_replace_type;
1135|                       extern rbcv_conftest_target_type rbcv_conftest_var;
1136|                       extern rbcv_conftest_replace_type rbcv_conftest_var;
1137|                       extern rbcv_conftest_target_type rbcv_conftest_func(void);
1138|                       extern rbcv_conftest_replace_type rbcv_conftest_func(void);
1139|
1140| int
1141| main ()
1142| {
1143| static int test_array [1 - 2 * !(sizeof(rbcv_conftest_target_type) == sizeof(rbcv_conftest_replace_type))];
1144| test_array [0] = 0
1145|
1146|   ;
1147|   return 0;
1148| }
1149configure:8723: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include conftest.c >&5
1150conftest.c:74:38: error: redefinition of 'rbcv_conftest_var' with a different type
1151                        extern rbcv_conftest_replace_type rbcv_conftest_var;
1152                                                          ^
1153conftest.c:73:37: note: previous definition is here
1154                        extern rbcv_conftest_target_type rbcv_conftest_var;
1155                                                         ^
1156conftest.c:76:38: error: conflicting types for 'rbcv_conftest_func'
1157                        extern rbcv_conftest_replace_type rbcv_conftest_func(void);
1158                                                          ^
1159conftest.c:75:37: note: previous declaration is here
1160                        extern rbcv_conftest_target_type rbcv_conftest_func(void);
1161                                                         ^
1162conftest.c:81:24: error: 'test_array' declared as an array with a negative size
1163static int test_array [1 - 2 * !(sizeof(rbcv_conftest_target_type) == sizeof(rbcv_conftest_replace_type))];
1164                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
11653 errors generated.
1166configure:8723: $? = 1
1167configure: failed program was:
1168| /* confdefs.h */
1169| #define PACKAGE_NAME ""
1170| #define PACKAGE_TARNAME ""
1171| #define PACKAGE_VERSION ""
1172| #define PACKAGE_STRING ""
1173| #define PACKAGE_BUGREPORT ""
1174| #define PACKAGE_URL ""
1175| #define CANONICALIZATION_FOR_MATHN 1
1176| #define STDC_HEADERS 1
1177| #define HAVE_SYS_TYPES_H 1
1178| #define HAVE_SYS_STAT_H 1
1179| #define HAVE_STDLIB_H 1
1180| #define HAVE_STRING_H 1
1181| #define HAVE_MEMORY_H 1
1182| #define HAVE_STRINGS_H 1
1183| #define HAVE_INTTYPES_H 1
1184| #define HAVE_STDINT_H 1
1185| #define HAVE_UNISTD_H 1
1186| #define __EXTENSIONS__ 1
1187| #define _ALL_SOURCE 1
1188| #define _GNU_SOURCE 1
1189| #define _POSIX_PTHREAD_SEMANTICS 1
1190| #define _TANDEM_SOURCE 1
1191| #define HAVE_LONG_LONG 1
1192| #define HAVE_OFF_T 1
1193| #define SIZEOF_INT 4
1194| #define SIZEOF_SHORT 2
1195| #define SIZEOF_LONG 8
1196| #define SIZEOF_LONG_LONG 8
1197| #define SIZEOF___INT64 0
1198| #define SIZEOF_OFF_T 8
1199| #define SIZEOF_VOIDP 8
1200| #define SIZEOF_FLOAT 4
1201| #define SIZEOF_DOUBLE 8
1202| #define SIZEOF_TIME_T 8
1203| #define PRI_LL_PREFIX "ll"
1204| /* end confdefs.h.  */
1205| #include <stdio.h>
1206| #ifdef HAVE_SYS_TYPES_H
1207| # include <sys/types.h>
1208| #endif
1209| #ifdef HAVE_SYS_STAT_H
1210| # include <sys/stat.h>
1211| #endif
1212| #ifdef STDC_HEADERS
1213| # include <stdlib.h>
1214| # include <stddef.h>
1215| #else
1216| # ifdef HAVE_STDLIB_H
1217| #  include <stdlib.h>
1218| # endif
1219| #endif
1220| #ifdef HAVE_STRING_H
1221| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
1222| #  include <memory.h>
1223| # endif
1224| # include <string.h>
1225| #endif
1226| #ifdef HAVE_STRINGS_H
1227| # include <strings.h>
1228| #endif
1229| #ifdef HAVE_INTTYPES_H
1230| # include <inttypes.h>
1231| #endif
1232| #ifdef HAVE_STDINT_H
1233| # include <stdint.h>
1234| #endif
1235| #ifdef HAVE_UNISTD_H
1236| # include <unistd.h>
1237| #endif
1238|                       typedef pid_t rbcv_conftest_target_type;
1239|                       typedef long rbcv_conftest_replace_type;
1240|                       extern rbcv_conftest_target_type rbcv_conftest_var;
1241|                       extern rbcv_conftest_replace_type rbcv_conftest_var;
1242|                       extern rbcv_conftest_target_type rbcv_conftest_func(void);
1243|                       extern rbcv_conftest_replace_type rbcv_conftest_func(void);
1244|
1245| int
1246| main ()
1247| {
1248| static int test_array [1 - 2 * !(sizeof(rbcv_conftest_target_type) == sizeof(rbcv_conftest_replace_type))];
1249| test_array [0] = 0
1250|
1251|   ;
1252|   return 0;
1253| }
1254configure:8723: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include conftest.c >&5
1255configure:8723: $? = 0
1256configure:8742: result: INT
1257configure:8762: checking for uid_t
1258configure:8762: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include conftest.c >&5
1259configure:8762: $? = 0
1260configure:8762: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include conftest.c >&5
1261conftest.c:78:20: error: expected expression
1262if (sizeof ((uid_t)))
1263                   ^
12641 error generated.
1265configure:8762: $? = 1
1266configure: failed program was:
1267| /* confdefs.h */
1268| #define PACKAGE_NAME ""
1269| #define PACKAGE_TARNAME ""
1270| #define PACKAGE_VERSION ""
1271| #define PACKAGE_STRING ""
1272| #define PACKAGE_BUGREPORT ""
1273| #define PACKAGE_URL ""
1274| #define CANONICALIZATION_FOR_MATHN 1
1275| #define STDC_HEADERS 1
1276| #define HAVE_SYS_TYPES_H 1
1277| #define HAVE_SYS_STAT_H 1
1278| #define HAVE_STDLIB_H 1
1279| #define HAVE_STRING_H 1
1280| #define HAVE_MEMORY_H 1
1281| #define HAVE_STRINGS_H 1
1282| #define HAVE_INTTYPES_H 1
1283| #define HAVE_STDINT_H 1
1284| #define HAVE_UNISTD_H 1
1285| #define __EXTENSIONS__ 1
1286| #define _ALL_SOURCE 1
1287| #define _GNU_SOURCE 1
1288| #define _POSIX_PTHREAD_SEMANTICS 1
1289| #define _TANDEM_SOURCE 1
1290| #define HAVE_LONG_LONG 1
1291| #define HAVE_OFF_T 1
1292| #define SIZEOF_INT 4
1293| #define SIZEOF_SHORT 2
1294| #define SIZEOF_LONG 8
1295| #define SIZEOF_LONG_LONG 8
1296| #define SIZEOF___INT64 0
1297| #define SIZEOF_OFF_T 8
1298| #define SIZEOF_VOIDP 8
1299| #define SIZEOF_FLOAT 4
1300| #define SIZEOF_DOUBLE 8
1301| #define SIZEOF_TIME_T 8
1302| #define PRI_LL_PREFIX "ll"
1303| #define rb_pid_t pid_t
1304| #define PIDT2NUM(v) INT2NUM(v)
1305| #define NUM2PIDT(v) NUM2INT(v)
1306| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
1307| /* end confdefs.h.  */
1308| #include <stdio.h>
1309| #ifdef HAVE_SYS_TYPES_H
1310| # include <sys/types.h>
1311| #endif
1312| #ifdef HAVE_SYS_STAT_H
1313| # include <sys/stat.h>
1314| #endif
1315| #ifdef STDC_HEADERS
1316| # include <stdlib.h>
1317| # include <stddef.h>
1318| #else
1319| # ifdef HAVE_STDLIB_H
1320| #  include <stdlib.h>
1321| # endif
1322| #endif
1323| #ifdef HAVE_STRING_H
1324| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
1325| #  include <memory.h>
1326| # endif
1327| # include <string.h>
1328| #endif
1329| #ifdef HAVE_STRINGS_H
1330| # include <strings.h>
1331| #endif
1332| #ifdef HAVE_INTTYPES_H
1333| # include <inttypes.h>
1334| #endif
1335| #ifdef HAVE_STDINT_H
1336| # include <stdint.h>
1337| #endif
1338| #ifdef HAVE_UNISTD_H
1339| # include <unistd.h>
1340| #endif
1341| int
1342| main ()
1343| {
1344| if (sizeof ((uid_t)))
1345|           return 0;
1346|   ;
1347|   return 0;
1348| }
1349configure:8762: result: yes
1350configure:8769: checking for convertible type of uid_t
1351configure:8797: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include conftest.c >&5
1352configure:8797: $? = 0
1353configure:8825: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include conftest.c >&5
1354conftest.c:78:38: error: redefinition of 'rbcv_conftest_var' with a different type
1355                        extern rbcv_conftest_replace_type rbcv_conftest_var;
1356                                                          ^
1357conftest.c:77:37: note: previous definition is here
1358                        extern rbcv_conftest_target_type rbcv_conftest_var;
1359                                                         ^
1360conftest.c:80:38: error: conflicting types for 'rbcv_conftest_func'
1361                        extern rbcv_conftest_replace_type rbcv_conftest_func(void);
1362                                                          ^
1363conftest.c:79:37: note: previous declaration is here
1364                        extern rbcv_conftest_target_type rbcv_conftest_func(void);
1365                                                         ^
1366conftest.c:85:24: error: 'test_array' declared as an array with a negative size
1367static int test_array [1 - 2 * !(sizeof(rbcv_conftest_target_type) == sizeof(rbcv_conftest_replace_type))];
1368                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
13693 errors generated.
1370configure:8825: $? = 1
1371configure: failed program was:
1372| /* confdefs.h */
1373| #define PACKAGE_NAME ""
1374| #define PACKAGE_TARNAME ""
1375| #define PACKAGE_VERSION ""
1376| #define PACKAGE_STRING ""
1377| #define PACKAGE_BUGREPORT ""
1378| #define PACKAGE_URL ""
1379| #define CANONICALIZATION_FOR_MATHN 1
1380| #define STDC_HEADERS 1
1381| #define HAVE_SYS_TYPES_H 1
1382| #define HAVE_SYS_STAT_H 1
1383| #define HAVE_STDLIB_H 1
1384| #define HAVE_STRING_H 1
1385| #define HAVE_MEMORY_H 1
1386| #define HAVE_STRINGS_H 1
1387| #define HAVE_INTTYPES_H 1
1388| #define HAVE_STDINT_H 1
1389| #define HAVE_UNISTD_H 1
1390| #define __EXTENSIONS__ 1
1391| #define _ALL_SOURCE 1
1392| #define _GNU_SOURCE 1
1393| #define _POSIX_PTHREAD_SEMANTICS 1
1394| #define _TANDEM_SOURCE 1
1395| #define HAVE_LONG_LONG 1
1396| #define HAVE_OFF_T 1
1397| #define SIZEOF_INT 4
1398| #define SIZEOF_SHORT 2
1399| #define SIZEOF_LONG 8
1400| #define SIZEOF_LONG_LONG 8
1401| #define SIZEOF___INT64 0
1402| #define SIZEOF_OFF_T 8
1403| #define SIZEOF_VOIDP 8
1404| #define SIZEOF_FLOAT 4
1405| #define SIZEOF_DOUBLE 8
1406| #define SIZEOF_TIME_T 8
1407| #define PRI_LL_PREFIX "ll"
1408| #define rb_pid_t pid_t
1409| #define PIDT2NUM(v) INT2NUM(v)
1410| #define NUM2PIDT(v) NUM2INT(v)
1411| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
1412| /* end confdefs.h.  */
1413| #include <stdio.h>
1414| #ifdef HAVE_SYS_TYPES_H
1415| # include <sys/types.h>
1416| #endif
1417| #ifdef HAVE_SYS_STAT_H
1418| # include <sys/stat.h>
1419| #endif
1420| #ifdef STDC_HEADERS
1421| # include <stdlib.h>
1422| # include <stddef.h>
1423| #else
1424| # ifdef HAVE_STDLIB_H
1425| #  include <stdlib.h>
1426| # endif
1427| #endif
1428| #ifdef HAVE_STRING_H
1429| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
1430| #  include <memory.h>
1431| # endif
1432| # include <string.h>
1433| #endif
1434| #ifdef HAVE_STRINGS_H
1435| # include <strings.h>
1436| #endif
1437| #ifdef HAVE_INTTYPES_H
1438| # include <inttypes.h>
1439| #endif
1440| #ifdef HAVE_STDINT_H
1441| # include <stdint.h>
1442| #endif
1443| #ifdef HAVE_UNISTD_H
1444| # include <unistd.h>
1445| #endif
1446|                       typedef uid_t rbcv_conftest_target_type;
1447|                       typedef unsigned long long rbcv_conftest_replace_type;
1448|                       extern rbcv_conftest_target_type rbcv_conftest_var;
1449|                       extern rbcv_conftest_replace_type rbcv_conftest_var;
1450|                       extern rbcv_conftest_target_type rbcv_conftest_func(void);
1451|                       extern rbcv_conftest_replace_type rbcv_conftest_func(void);
1452|
1453| int
1454| main ()
1455| {
1456| static int test_array [1 - 2 * !(sizeof(rbcv_conftest_target_type) == sizeof(rbcv_conftest_replace_type))];
1457| test_array [0] = 0
1458|
1459|   ;
1460|   return 0;
1461| }
1462configure:8825: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include conftest.c >&5
1463conftest.c:78:38: error: redefinition of 'rbcv_conftest_var' with a different type
1464                        extern rbcv_conftest_replace_type rbcv_conftest_var;
1465                                                          ^
1466conftest.c:77:37: note: previous definition is here
1467                        extern rbcv_conftest_target_type rbcv_conftest_var;
1468                                                         ^
1469conftest.c:80:38: error: conflicting types for 'rbcv_conftest_func'
1470                        extern rbcv_conftest_replace_type rbcv_conftest_func(void);
1471                                                          ^
1472conftest.c:79:37: note: previous declaration is here
1473                        extern rbcv_conftest_target_type rbcv_conftest_func(void);
1474                                                         ^
1475conftest.c:85:24: error: 'test_array' declared as an array with a negative size
1476static int test_array [1 - 2 * !(sizeof(rbcv_conftest_target_type) == sizeof(rbcv_conftest_replace_type))];
1477                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
14783 errors generated.
1479configure:8825: $? = 1
1480configure: failed program was:
1481| /* confdefs.h */
1482| #define PACKAGE_NAME ""
1483| #define PACKAGE_TARNAME ""
1484| #define PACKAGE_VERSION ""
1485| #define PACKAGE_STRING ""
1486| #define PACKAGE_BUGREPORT ""
1487| #define PACKAGE_URL ""
1488| #define CANONICALIZATION_FOR_MATHN 1
1489| #define STDC_HEADERS 1
1490| #define HAVE_SYS_TYPES_H 1
1491| #define HAVE_SYS_STAT_H 1
1492| #define HAVE_STDLIB_H 1
1493| #define HAVE_STRING_H 1
1494| #define HAVE_MEMORY_H 1
1495| #define HAVE_STRINGS_H 1
1496| #define HAVE_INTTYPES_H 1
1497| #define HAVE_STDINT_H 1
1498| #define HAVE_UNISTD_H 1
1499| #define __EXTENSIONS__ 1
1500| #define _ALL_SOURCE 1
1501| #define _GNU_SOURCE 1
1502| #define _POSIX_PTHREAD_SEMANTICS 1
1503| #define _TANDEM_SOURCE 1
1504| #define HAVE_LONG_LONG 1
1505| #define HAVE_OFF_T 1
1506| #define SIZEOF_INT 4
1507| #define SIZEOF_SHORT 2
1508| #define SIZEOF_LONG 8
1509| #define SIZEOF_LONG_LONG 8
1510| #define SIZEOF___INT64 0
1511| #define SIZEOF_OFF_T 8
1512| #define SIZEOF_VOIDP 8
1513| #define SIZEOF_FLOAT 4
1514| #define SIZEOF_DOUBLE 8
1515| #define SIZEOF_TIME_T 8
1516| #define PRI_LL_PREFIX "ll"
1517| #define rb_pid_t pid_t
1518| #define PIDT2NUM(v) INT2NUM(v)
1519| #define NUM2PIDT(v) NUM2INT(v)
1520| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
1521| /* end confdefs.h.  */
1522| #include <stdio.h>
1523| #ifdef HAVE_SYS_TYPES_H
1524| # include <sys/types.h>
1525| #endif
1526| #ifdef HAVE_SYS_STAT_H
1527| # include <sys/stat.h>
1528| #endif
1529| #ifdef STDC_HEADERS
1530| # include <stdlib.h>
1531| # include <stddef.h>
1532| #else
1533| # ifdef HAVE_STDLIB_H
1534| #  include <stdlib.h>
1535| # endif
1536| #endif
1537| #ifdef HAVE_STRING_H
1538| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
1539| #  include <memory.h>
1540| # endif
1541| # include <string.h>
1542| #endif
1543| #ifdef HAVE_STRINGS_H
1544| # include <strings.h>
1545| #endif
1546| #ifdef HAVE_INTTYPES_H
1547| # include <inttypes.h>
1548| #endif
1549| #ifdef HAVE_STDINT_H
1550| # include <stdint.h>
1551| #endif
1552| #ifdef HAVE_UNISTD_H
1553| # include <unistd.h>
1554| #endif
1555|                       typedef uid_t rbcv_conftest_target_type;
1556|                       typedef unsigned long rbcv_conftest_replace_type;
1557|                       extern rbcv_conftest_target_type rbcv_conftest_var;
1558|                       extern rbcv_conftest_replace_type rbcv_conftest_var;
1559|                       extern rbcv_conftest_target_type rbcv_conftest_func(void);
1560|                       extern rbcv_conftest_replace_type rbcv_conftest_func(void);
1561|
1562| int
1563| main ()
1564| {
1565| static int test_array [1 - 2 * !(sizeof(rbcv_conftest_target_type) == sizeof(rbcv_conftest_replace_type))];
1566| test_array [0] = 0
1567|
1568|   ;
1569|   return 0;
1570| }
1571configure:8825: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include conftest.c >&5
1572configure:8825: $? = 0
1573configure:8844: result: UINT
1574configure:8864: checking for gid_t
1575configure:8864: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include conftest.c >&5
1576configure:8864: $? = 0
1577configure:8864: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include conftest.c >&5
1578conftest.c:82:20: error: expected expression
1579if (sizeof ((gid_t)))
1580                   ^
15811 error generated.
1582configure:8864: $? = 1
1583configure: failed program was:
1584| /* confdefs.h */
1585| #define PACKAGE_NAME ""
1586| #define PACKAGE_TARNAME ""
1587| #define PACKAGE_VERSION ""
1588| #define PACKAGE_STRING ""
1589| #define PACKAGE_BUGREPORT ""
1590| #define PACKAGE_URL ""
1591| #define CANONICALIZATION_FOR_MATHN 1
1592| #define STDC_HEADERS 1
1593| #define HAVE_SYS_TYPES_H 1
1594| #define HAVE_SYS_STAT_H 1
1595| #define HAVE_STDLIB_H 1
1596| #define HAVE_STRING_H 1
1597| #define HAVE_MEMORY_H 1
1598| #define HAVE_STRINGS_H 1
1599| #define HAVE_INTTYPES_H 1
1600| #define HAVE_STDINT_H 1
1601| #define HAVE_UNISTD_H 1
1602| #define __EXTENSIONS__ 1
1603| #define _ALL_SOURCE 1
1604| #define _GNU_SOURCE 1
1605| #define _POSIX_PTHREAD_SEMANTICS 1
1606| #define _TANDEM_SOURCE 1
1607| #define HAVE_LONG_LONG 1
1608| #define HAVE_OFF_T 1
1609| #define SIZEOF_INT 4
1610| #define SIZEOF_SHORT 2
1611| #define SIZEOF_LONG 8
1612| #define SIZEOF_LONG_LONG 8
1613| #define SIZEOF___INT64 0
1614| #define SIZEOF_OFF_T 8
1615| #define SIZEOF_VOIDP 8
1616| #define SIZEOF_FLOAT 4
1617| #define SIZEOF_DOUBLE 8
1618| #define SIZEOF_TIME_T 8
1619| #define PRI_LL_PREFIX "ll"
1620| #define rb_pid_t pid_t
1621| #define PIDT2NUM(v) INT2NUM(v)
1622| #define NUM2PIDT(v) NUM2INT(v)
1623| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
1624| #define rb_uid_t uid_t
1625| #define UIDT2NUM(v) UINT2NUM(v)
1626| #define NUM2UIDT(v) NUM2UINT(v)
1627| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
1628| /* end confdefs.h.  */
1629| #include <stdio.h>
1630| #ifdef HAVE_SYS_TYPES_H
1631| # include <sys/types.h>
1632| #endif
1633| #ifdef HAVE_SYS_STAT_H
1634| # include <sys/stat.h>
1635| #endif
1636| #ifdef STDC_HEADERS
1637| # include <stdlib.h>
1638| # include <stddef.h>
1639| #else
1640| # ifdef HAVE_STDLIB_H
1641| #  include <stdlib.h>
1642| # endif
1643| #endif
1644| #ifdef HAVE_STRING_H
1645| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
1646| #  include <memory.h>
1647| # endif
1648| # include <string.h>
1649| #endif
1650| #ifdef HAVE_STRINGS_H
1651| # include <strings.h>
1652| #endif
1653| #ifdef HAVE_INTTYPES_H
1654| # include <inttypes.h>
1655| #endif
1656| #ifdef HAVE_STDINT_H
1657| # include <stdint.h>
1658| #endif
1659| #ifdef HAVE_UNISTD_H
1660| # include <unistd.h>
1661| #endif
1662| int
1663| main ()
1664| {
1665| if (sizeof ((gid_t)))
1666|           return 0;
1667|   ;
1668|   return 0;
1669| }
1670configure:8864: result: yes
1671configure:8871: checking for convertible type of gid_t
1672configure:8899: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include conftest.c >&5
1673configure:8899: $? = 0
1674configure:8927: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include conftest.c >&5
1675conftest.c:82:38: error: redefinition of 'rbcv_conftest_var' with a different type
1676                        extern rbcv_conftest_replace_type rbcv_conftest_var;
1677                                                          ^
1678conftest.c:81:37: note: previous definition is here
1679                        extern rbcv_conftest_target_type rbcv_conftest_var;
1680                                                         ^
1681conftest.c:84:38: error: conflicting types for 'rbcv_conftest_func'
1682                        extern rbcv_conftest_replace_type rbcv_conftest_func(void);
1683                                                          ^
1684conftest.c:83:37: note: previous declaration is here
1685                        extern rbcv_conftest_target_type rbcv_conftest_func(void);
1686                                                         ^
1687conftest.c:89:24: error: 'test_array' declared as an array with a negative size
1688static int test_array [1 - 2 * !(sizeof(rbcv_conftest_target_type) == sizeof(rbcv_conftest_replace_type))];
1689                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
16903 errors generated.
1691configure:8927: $? = 1
1692configure: failed program was:
1693| /* confdefs.h */
1694| #define PACKAGE_NAME ""
1695| #define PACKAGE_TARNAME ""
1696| #define PACKAGE_VERSION ""
1697| #define PACKAGE_STRING ""
1698| #define PACKAGE_BUGREPORT ""
1699| #define PACKAGE_URL ""
1700| #define CANONICALIZATION_FOR_MATHN 1
1701| #define STDC_HEADERS 1
1702| #define HAVE_SYS_TYPES_H 1
1703| #define HAVE_SYS_STAT_H 1
1704| #define HAVE_STDLIB_H 1
1705| #define HAVE_STRING_H 1
1706| #define HAVE_MEMORY_H 1
1707| #define HAVE_STRINGS_H 1
1708| #define HAVE_INTTYPES_H 1
1709| #define HAVE_STDINT_H 1
1710| #define HAVE_UNISTD_H 1
1711| #define __EXTENSIONS__ 1
1712| #define _ALL_SOURCE 1
1713| #define _GNU_SOURCE 1
1714| #define _POSIX_PTHREAD_SEMANTICS 1
1715| #define _TANDEM_SOURCE 1
1716| #define HAVE_LONG_LONG 1
1717| #define HAVE_OFF_T 1
1718| #define SIZEOF_INT 4
1719| #define SIZEOF_SHORT 2
1720| #define SIZEOF_LONG 8
1721| #define SIZEOF_LONG_LONG 8
1722| #define SIZEOF___INT64 0
1723| #define SIZEOF_OFF_T 8
1724| #define SIZEOF_VOIDP 8
1725| #define SIZEOF_FLOAT 4
1726| #define SIZEOF_DOUBLE 8
1727| #define SIZEOF_TIME_T 8
1728| #define PRI_LL_PREFIX "ll"
1729| #define rb_pid_t pid_t
1730| #define PIDT2NUM(v) INT2NUM(v)
1731| #define NUM2PIDT(v) NUM2INT(v)
1732| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
1733| #define rb_uid_t uid_t
1734| #define UIDT2NUM(v) UINT2NUM(v)
1735| #define NUM2UIDT(v) NUM2UINT(v)
1736| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
1737| /* end confdefs.h.  */
1738| #include <stdio.h>
1739| #ifdef HAVE_SYS_TYPES_H
1740| # include <sys/types.h>
1741| #endif
1742| #ifdef HAVE_SYS_STAT_H
1743| # include <sys/stat.h>
1744| #endif
1745| #ifdef STDC_HEADERS
1746| # include <stdlib.h>
1747| # include <stddef.h>
1748| #else
1749| # ifdef HAVE_STDLIB_H
1750| #  include <stdlib.h>
1751| # endif
1752| #endif
1753| #ifdef HAVE_STRING_H
1754| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
1755| #  include <memory.h>
1756| # endif
1757| # include <string.h>
1758| #endif
1759| #ifdef HAVE_STRINGS_H
1760| # include <strings.h>
1761| #endif
1762| #ifdef HAVE_INTTYPES_H
1763| # include <inttypes.h>
1764| #endif
1765| #ifdef HAVE_STDINT_H
1766| # include <stdint.h>
1767| #endif
1768| #ifdef HAVE_UNISTD_H
1769| # include <unistd.h>
1770| #endif
1771|                       typedef gid_t rbcv_conftest_target_type;
1772|                       typedef unsigned long long rbcv_conftest_replace_type;
1773|                       extern rbcv_conftest_target_type rbcv_conftest_var;
1774|                       extern rbcv_conftest_replace_type rbcv_conftest_var;
1775|                       extern rbcv_conftest_target_type rbcv_conftest_func(void);
1776|                       extern rbcv_conftest_replace_type rbcv_conftest_func(void);
1777|
1778| int
1779| main ()
1780| {
1781| static int test_array [1 - 2 * !(sizeof(rbcv_conftest_target_type) == sizeof(rbcv_conftest_replace_type))];
1782| test_array [0] = 0
1783|
1784|   ;
1785|   return 0;
1786| }
1787configure:8927: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include conftest.c >&5
1788conftest.c:82:38: error: redefinition of 'rbcv_conftest_var' with a different type
1789                        extern rbcv_conftest_replace_type rbcv_conftest_var;
1790                                                          ^
1791conftest.c:81:37: note: previous definition is here
1792                        extern rbcv_conftest_target_type rbcv_conftest_var;
1793                                                         ^
1794conftest.c:84:38: error: conflicting types for 'rbcv_conftest_func'
1795                        extern rbcv_conftest_replace_type rbcv_conftest_func(void);
1796                                                          ^
1797conftest.c:83:37: note: previous declaration is here
1798                        extern rbcv_conftest_target_type rbcv_conftest_func(void);
1799                                                         ^
1800conftest.c:89:24: error: 'test_array' declared as an array with a negative size
1801static int test_array [1 - 2 * !(sizeof(rbcv_conftest_target_type) == sizeof(rbcv_conftest_replace_type))];
1802                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
18033 errors generated.
1804configure:8927: $? = 1
1805configure: failed program was:
1806| /* confdefs.h */
1807| #define PACKAGE_NAME ""
1808| #define PACKAGE_TARNAME ""
1809| #define PACKAGE_VERSION ""
1810| #define PACKAGE_STRING ""
1811| #define PACKAGE_BUGREPORT ""
1812| #define PACKAGE_URL ""
1813| #define CANONICALIZATION_FOR_MATHN 1
1814| #define STDC_HEADERS 1
1815| #define HAVE_SYS_TYPES_H 1
1816| #define HAVE_SYS_STAT_H 1
1817| #define HAVE_STDLIB_H 1
1818| #define HAVE_STRING_H 1
1819| #define HAVE_MEMORY_H 1
1820| #define HAVE_STRINGS_H 1
1821| #define HAVE_INTTYPES_H 1
1822| #define HAVE_STDINT_H 1
1823| #define HAVE_UNISTD_H 1
1824| #define __EXTENSIONS__ 1
1825| #define _ALL_SOURCE 1
1826| #define _GNU_SOURCE 1
1827| #define _POSIX_PTHREAD_SEMANTICS 1
1828| #define _TANDEM_SOURCE 1
1829| #define HAVE_LONG_LONG 1
1830| #define HAVE_OFF_T 1
1831| #define SIZEOF_INT 4
1832| #define SIZEOF_SHORT 2
1833| #define SIZEOF_LONG 8
1834| #define SIZEOF_LONG_LONG 8
1835| #define SIZEOF___INT64 0
1836| #define SIZEOF_OFF_T 8
1837| #define SIZEOF_VOIDP 8
1838| #define SIZEOF_FLOAT 4
1839| #define SIZEOF_DOUBLE 8
1840| #define SIZEOF_TIME_T 8
1841| #define PRI_LL_PREFIX "ll"
1842| #define rb_pid_t pid_t
1843| #define PIDT2NUM(v) INT2NUM(v)
1844| #define NUM2PIDT(v) NUM2INT(v)
1845| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
1846| #define rb_uid_t uid_t
1847| #define UIDT2NUM(v) UINT2NUM(v)
1848| #define NUM2UIDT(v) NUM2UINT(v)
1849| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
1850| /* end confdefs.h.  */
1851| #include <stdio.h>
1852| #ifdef HAVE_SYS_TYPES_H
1853| # include <sys/types.h>
1854| #endif
1855| #ifdef HAVE_SYS_STAT_H
1856| # include <sys/stat.h>
1857| #endif
1858| #ifdef STDC_HEADERS
1859| # include <stdlib.h>
1860| # include <stddef.h>
1861| #else
1862| # ifdef HAVE_STDLIB_H
1863| #  include <stdlib.h>
1864| # endif
1865| #endif
1866| #ifdef HAVE_STRING_H
1867| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
1868| #  include <memory.h>
1869| # endif
1870| # include <string.h>
1871| #endif
1872| #ifdef HAVE_STRINGS_H
1873| # include <strings.h>
1874| #endif
1875| #ifdef HAVE_INTTYPES_H
1876| # include <inttypes.h>
1877| #endif
1878| #ifdef HAVE_STDINT_H
1879| # include <stdint.h>
1880| #endif
1881| #ifdef HAVE_UNISTD_H
1882| # include <unistd.h>
1883| #endif
1884|                       typedef gid_t rbcv_conftest_target_type;
1885|                       typedef unsigned long rbcv_conftest_replace_type;
1886|                       extern rbcv_conftest_target_type rbcv_conftest_var;
1887|                       extern rbcv_conftest_replace_type rbcv_conftest_var;
1888|                       extern rbcv_conftest_target_type rbcv_conftest_func(void);
1889|                       extern rbcv_conftest_replace_type rbcv_conftest_func(void);
1890|
1891| int
1892| main ()
1893| {
1894| static int test_array [1 - 2 * !(sizeof(rbcv_conftest_target_type) == sizeof(rbcv_conftest_replace_type))];
1895| test_array [0] = 0
1896|
1897|   ;
1898|   return 0;
1899| }
1900configure:8927: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include conftest.c >&5
1901configure:8927: $? = 0
1902configure:8946: result: UINT
1903configure:8966: checking for time_t
1904configure:8966: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include conftest.c >&5
1905configure:8966: $? = 0
1906configure:8966: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include conftest.c >&5
1907conftest.c:55:21: error: expected expression
1908if (sizeof ((time_t)))
1909                    ^
19101 error generated.
1911configure:8966: $? = 1
1912configure: failed program was:
1913| /* confdefs.h */
1914| #define PACKAGE_NAME ""
1915| #define PACKAGE_TARNAME ""
1916| #define PACKAGE_VERSION ""
1917| #define PACKAGE_STRING ""
1918| #define PACKAGE_BUGREPORT ""
1919| #define PACKAGE_URL ""
1920| #define CANONICALIZATION_FOR_MATHN 1
1921| #define STDC_HEADERS 1
1922| #define HAVE_SYS_TYPES_H 1
1923| #define HAVE_SYS_STAT_H 1
1924| #define HAVE_STDLIB_H 1
1925| #define HAVE_STRING_H 1
1926| #define HAVE_MEMORY_H 1
1927| #define HAVE_STRINGS_H 1
1928| #define HAVE_INTTYPES_H 1
1929| #define HAVE_STDINT_H 1
1930| #define HAVE_UNISTD_H 1
1931| #define __EXTENSIONS__ 1
1932| #define _ALL_SOURCE 1
1933| #define _GNU_SOURCE 1
1934| #define _POSIX_PTHREAD_SEMANTICS 1
1935| #define _TANDEM_SOURCE 1
1936| #define HAVE_LONG_LONG 1
1937| #define HAVE_OFF_T 1
1938| #define SIZEOF_INT 4
1939| #define SIZEOF_SHORT 2
1940| #define SIZEOF_LONG 8
1941| #define SIZEOF_LONG_LONG 8
1942| #define SIZEOF___INT64 0
1943| #define SIZEOF_OFF_T 8
1944| #define SIZEOF_VOIDP 8
1945| #define SIZEOF_FLOAT 4
1946| #define SIZEOF_DOUBLE 8
1947| #define SIZEOF_TIME_T 8
1948| #define PRI_LL_PREFIX "ll"
1949| #define rb_pid_t pid_t
1950| #define PIDT2NUM(v) INT2NUM(v)
1951| #define NUM2PIDT(v) NUM2INT(v)
1952| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
1953| #define rb_uid_t uid_t
1954| #define UIDT2NUM(v) UINT2NUM(v)
1955| #define NUM2UIDT(v) NUM2UINT(v)
1956| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
1957| #define rb_gid_t gid_t
1958| #define GIDT2NUM(v) UINT2NUM(v)
1959| #define NUM2GIDT(v) NUM2UINT(v)
1960| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
1961| /* end confdefs.h.  */
1962| #include <time.h>
1963|
1964| int
1965| main ()
1966| {
1967| if (sizeof ((time_t)))
1968|           return 0;
1969|   ;
1970|   return 0;
1971| }
1972configure:8966: result: yes
1973configure:8974: checking for convertible type of time_t
1974configure:9003: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include conftest.c >&5
1975conftest.c:55:24: error: 'test_array' declared as an array with a negative size
1976static int test_array [1 - 2 * !((time_t)-1 > 0)];
1977                       ^~~~~~~~~~~~~~~~~~~~~~~~~
19781 error generated.
1979configure:9003: $? = 1
1980configure: failed program was:
1981| /* confdefs.h */
1982| #define PACKAGE_NAME ""
1983| #define PACKAGE_TARNAME ""
1984| #define PACKAGE_VERSION ""
1985| #define PACKAGE_STRING ""
1986| #define PACKAGE_BUGREPORT ""
1987| #define PACKAGE_URL ""
1988| #define CANONICALIZATION_FOR_MATHN 1
1989| #define STDC_HEADERS 1
1990| #define HAVE_SYS_TYPES_H 1
1991| #define HAVE_SYS_STAT_H 1
1992| #define HAVE_STDLIB_H 1
1993| #define HAVE_STRING_H 1
1994| #define HAVE_MEMORY_H 1
1995| #define HAVE_STRINGS_H 1
1996| #define HAVE_INTTYPES_H 1
1997| #define HAVE_STDINT_H 1
1998| #define HAVE_UNISTD_H 1
1999| #define __EXTENSIONS__ 1
2000| #define _ALL_SOURCE 1
2001| #define _GNU_SOURCE 1
2002| #define _POSIX_PTHREAD_SEMANTICS 1
2003| #define _TANDEM_SOURCE 1
2004| #define HAVE_LONG_LONG 1
2005| #define HAVE_OFF_T 1
2006| #define SIZEOF_INT 4
2007| #define SIZEOF_SHORT 2
2008| #define SIZEOF_LONG 8
2009| #define SIZEOF_LONG_LONG 8
2010| #define SIZEOF___INT64 0
2011| #define SIZEOF_OFF_T 8
2012| #define SIZEOF_VOIDP 8
2013| #define SIZEOF_FLOAT 4
2014| #define SIZEOF_DOUBLE 8
2015| #define SIZEOF_TIME_T 8
2016| #define PRI_LL_PREFIX "ll"
2017| #define rb_pid_t pid_t
2018| #define PIDT2NUM(v) INT2NUM(v)
2019| #define NUM2PIDT(v) NUM2INT(v)
2020| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
2021| #define rb_uid_t uid_t
2022| #define UIDT2NUM(v) UINT2NUM(v)
2023| #define NUM2UIDT(v) NUM2UINT(v)
2024| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
2025| #define rb_gid_t gid_t
2026| #define GIDT2NUM(v) UINT2NUM(v)
2027| #define NUM2GIDT(v) NUM2UINT(v)
2028| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
2029| /* end confdefs.h.  */
2030| #include <time.h>
2031|
2032| int
2033| main ()
2034| {
2035| static int test_array [1 - 2 * !((time_t)-1 > 0)];
2036| test_array [0] = 0
2037|
2038|   ;
2039|   return 0;
2040| }
2041configure:9032: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include conftest.c >&5
2042conftest.c:55:38: error: redefinition of 'rbcv_conftest_var' with a different type
2043                        extern rbcv_conftest_replace_type rbcv_conftest_var;
2044                                                          ^
2045conftest.c:54:37: note: previous definition is here
2046                        extern rbcv_conftest_target_type rbcv_conftest_var;
2047                                                         ^
2048conftest.c:57:38: error: conflicting types for 'rbcv_conftest_func'
2049                        extern rbcv_conftest_replace_type rbcv_conftest_func(void);
2050                                                          ^
2051conftest.c:56:37: note: previous declaration is here
2052                        extern rbcv_conftest_target_type rbcv_conftest_func(void);
2053                                                         ^
20542 errors generated.
2055configure:9032: $? = 1
2056configure: failed program was:
2057| /* confdefs.h */
2058| #define PACKAGE_NAME ""
2059| #define PACKAGE_TARNAME ""
2060| #define PACKAGE_VERSION ""
2061| #define PACKAGE_STRING ""
2062| #define PACKAGE_BUGREPORT ""
2063| #define PACKAGE_URL ""
2064| #define CANONICALIZATION_FOR_MATHN 1
2065| #define STDC_HEADERS 1
2066| #define HAVE_SYS_TYPES_H 1
2067| #define HAVE_SYS_STAT_H 1
2068| #define HAVE_STDLIB_H 1
2069| #define HAVE_STRING_H 1
2070| #define HAVE_MEMORY_H 1
2071| #define HAVE_STRINGS_H 1
2072| #define HAVE_INTTYPES_H 1
2073| #define HAVE_STDINT_H 1
2074| #define HAVE_UNISTD_H 1
2075| #define __EXTENSIONS__ 1
2076| #define _ALL_SOURCE 1
2077| #define _GNU_SOURCE 1
2078| #define _POSIX_PTHREAD_SEMANTICS 1
2079| #define _TANDEM_SOURCE 1
2080| #define HAVE_LONG_LONG 1
2081| #define HAVE_OFF_T 1
2082| #define SIZEOF_INT 4
2083| #define SIZEOF_SHORT 2
2084| #define SIZEOF_LONG 8
2085| #define SIZEOF_LONG_LONG 8
2086| #define SIZEOF___INT64 0
2087| #define SIZEOF_OFF_T 8
2088| #define SIZEOF_VOIDP 8
2089| #define SIZEOF_FLOAT 4
2090| #define SIZEOF_DOUBLE 8
2091| #define SIZEOF_TIME_T 8
2092| #define PRI_LL_PREFIX "ll"
2093| #define rb_pid_t pid_t
2094| #define PIDT2NUM(v) INT2NUM(v)
2095| #define NUM2PIDT(v) NUM2INT(v)
2096| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
2097| #define rb_uid_t uid_t
2098| #define UIDT2NUM(v) UINT2NUM(v)
2099| #define NUM2UIDT(v) NUM2UINT(v)
2100| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
2101| #define rb_gid_t gid_t
2102| #define GIDT2NUM(v) UINT2NUM(v)
2103| #define NUM2GIDT(v) NUM2UINT(v)
2104| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
2105| /* end confdefs.h.  */
2106| #include <time.h>
2107|
2108|                       typedef time_t rbcv_conftest_target_type;
2109|                       typedef long long rbcv_conftest_replace_type;
2110|                       extern rbcv_conftest_target_type rbcv_conftest_var;
2111|                       extern rbcv_conftest_replace_type rbcv_conftest_var;
2112|                       extern rbcv_conftest_target_type rbcv_conftest_func(void);
2113|                       extern rbcv_conftest_replace_type rbcv_conftest_func(void);
2114|
2115| int
2116| main ()
2117| {
2118| static int test_array [1 - 2 * !(sizeof(rbcv_conftest_target_type) == sizeof(rbcv_conftest_replace_type))];
2119| test_array [0] = 0
2120|
2121|   ;
2122|   return 0;
2123| }
2124configure:9032: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include conftest.c >&5
2125configure:9032: $? = 0
2126configure:9051: result: LONG
2127configure:9071: checking for dev_t
2128configure:9071: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include conftest.c >&5
2129configure:9071: $? = 0
2130configure:9071: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include conftest.c >&5
2131conftest.c:90:20: error: expected expression
2132if (sizeof ((dev_t)))
2133                   ^
21341 error generated.
2135configure:9071: $? = 1
2136configure: failed program was:
2137| /* confdefs.h */
2138| #define PACKAGE_NAME ""
2139| #define PACKAGE_TARNAME ""
2140| #define PACKAGE_VERSION ""
2141| #define PACKAGE_STRING ""
2142| #define PACKAGE_BUGREPORT ""
2143| #define PACKAGE_URL ""
2144| #define CANONICALIZATION_FOR_MATHN 1
2145| #define STDC_HEADERS 1
2146| #define HAVE_SYS_TYPES_H 1
2147| #define HAVE_SYS_STAT_H 1
2148| #define HAVE_STDLIB_H 1
2149| #define HAVE_STRING_H 1
2150| #define HAVE_MEMORY_H 1
2151| #define HAVE_STRINGS_H 1
2152| #define HAVE_INTTYPES_H 1
2153| #define HAVE_STDINT_H 1
2154| #define HAVE_UNISTD_H 1
2155| #define __EXTENSIONS__ 1
2156| #define _ALL_SOURCE 1
2157| #define _GNU_SOURCE 1
2158| #define _POSIX_PTHREAD_SEMANTICS 1
2159| #define _TANDEM_SOURCE 1
2160| #define HAVE_LONG_LONG 1
2161| #define HAVE_OFF_T 1
2162| #define SIZEOF_INT 4
2163| #define SIZEOF_SHORT 2
2164| #define SIZEOF_LONG 8
2165| #define SIZEOF_LONG_LONG 8
2166| #define SIZEOF___INT64 0
2167| #define SIZEOF_OFF_T 8
2168| #define SIZEOF_VOIDP 8
2169| #define SIZEOF_FLOAT 4
2170| #define SIZEOF_DOUBLE 8
2171| #define SIZEOF_TIME_T 8
2172| #define PRI_LL_PREFIX "ll"
2173| #define rb_pid_t pid_t
2174| #define PIDT2NUM(v) INT2NUM(v)
2175| #define NUM2PIDT(v) NUM2INT(v)
2176| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
2177| #define rb_uid_t uid_t
2178| #define UIDT2NUM(v) UINT2NUM(v)
2179| #define NUM2UIDT(v) NUM2UINT(v)
2180| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
2181| #define rb_gid_t gid_t
2182| #define GIDT2NUM(v) UINT2NUM(v)
2183| #define NUM2GIDT(v) NUM2UINT(v)
2184| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
2185| #define rb_time_t time_t
2186| #define TIMET2NUM(v) LONG2NUM(v)
2187| #define NUM2TIMET(v) NUM2LONG(v)
2188| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
2189| /* end confdefs.h.  */
2190| #include <stdio.h>
2191| #ifdef HAVE_SYS_TYPES_H
2192| # include <sys/types.h>
2193| #endif
2194| #ifdef HAVE_SYS_STAT_H
2195| # include <sys/stat.h>
2196| #endif
2197| #ifdef STDC_HEADERS
2198| # include <stdlib.h>
2199| # include <stddef.h>
2200| #else
2201| # ifdef HAVE_STDLIB_H
2202| #  include <stdlib.h>
2203| # endif
2204| #endif
2205| #ifdef HAVE_STRING_H
2206| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
2207| #  include <memory.h>
2208| # endif
2209| # include <string.h>
2210| #endif
2211| #ifdef HAVE_STRINGS_H
2212| # include <strings.h>
2213| #endif
2214| #ifdef HAVE_INTTYPES_H
2215| # include <inttypes.h>
2216| #endif
2217| #ifdef HAVE_STDINT_H
2218| # include <stdint.h>
2219| #endif
2220| #ifdef HAVE_UNISTD_H
2221| # include <unistd.h>
2222| #endif
2223| int
2224| main ()
2225| {
2226| if (sizeof ((dev_t)))
2227|           return 0;
2228|   ;
2229|   return 0;
2230| }
2231configure:9071: result: yes
2232configure:9078: checking for convertible type of dev_t
2233configure:9106: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include conftest.c >&5
2234conftest.c:90:24: error: 'test_array' declared as an array with a negative size
2235static int test_array [1 - 2 * !((dev_t)-1 > 0)];
2236                       ^~~~~~~~~~~~~~~~~~~~~~~~
22371 error generated.
2238configure:9106: $? = 1
2239configure: failed program was:
2240| /* confdefs.h */
2241| #define PACKAGE_NAME ""
2242| #define PACKAGE_TARNAME ""
2243| #define PACKAGE_VERSION ""
2244| #define PACKAGE_STRING ""
2245| #define PACKAGE_BUGREPORT ""
2246| #define PACKAGE_URL ""
2247| #define CANONICALIZATION_FOR_MATHN 1
2248| #define STDC_HEADERS 1
2249| #define HAVE_SYS_TYPES_H 1
2250| #define HAVE_SYS_STAT_H 1
2251| #define HAVE_STDLIB_H 1
2252| #define HAVE_STRING_H 1
2253| #define HAVE_MEMORY_H 1
2254| #define HAVE_STRINGS_H 1
2255| #define HAVE_INTTYPES_H 1
2256| #define HAVE_STDINT_H 1
2257| #define HAVE_UNISTD_H 1
2258| #define __EXTENSIONS__ 1
2259| #define _ALL_SOURCE 1
2260| #define _GNU_SOURCE 1
2261| #define _POSIX_PTHREAD_SEMANTICS 1
2262| #define _TANDEM_SOURCE 1
2263| #define HAVE_LONG_LONG 1
2264| #define HAVE_OFF_T 1
2265| #define SIZEOF_INT 4
2266| #define SIZEOF_SHORT 2
2267| #define SIZEOF_LONG 8
2268| #define SIZEOF_LONG_LONG 8
2269| #define SIZEOF___INT64 0
2270| #define SIZEOF_OFF_T 8
2271| #define SIZEOF_VOIDP 8
2272| #define SIZEOF_FLOAT 4
2273| #define SIZEOF_DOUBLE 8
2274| #define SIZEOF_TIME_T 8
2275| #define PRI_LL_PREFIX "ll"
2276| #define rb_pid_t pid_t
2277| #define PIDT2NUM(v) INT2NUM(v)
2278| #define NUM2PIDT(v) NUM2INT(v)
2279| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
2280| #define rb_uid_t uid_t
2281| #define UIDT2NUM(v) UINT2NUM(v)
2282| #define NUM2UIDT(v) NUM2UINT(v)
2283| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
2284| #define rb_gid_t gid_t
2285| #define GIDT2NUM(v) UINT2NUM(v)
2286| #define NUM2GIDT(v) NUM2UINT(v)
2287| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
2288| #define rb_time_t time_t
2289| #define TIMET2NUM(v) LONG2NUM(v)
2290| #define NUM2TIMET(v) NUM2LONG(v)
2291| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
2292| /* end confdefs.h.  */
2293| #include <stdio.h>
2294| #ifdef HAVE_SYS_TYPES_H
2295| # include <sys/types.h>
2296| #endif
2297| #ifdef HAVE_SYS_STAT_H
2298| # include <sys/stat.h>
2299| #endif
2300| #ifdef STDC_HEADERS
2301| # include <stdlib.h>
2302| # include <stddef.h>
2303| #else
2304| # ifdef HAVE_STDLIB_H
2305| #  include <stdlib.h>
2306| # endif
2307| #endif
2308| #ifdef HAVE_STRING_H
2309| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
2310| #  include <memory.h>
2311| # endif
2312| # include <string.h>
2313| #endif
2314| #ifdef HAVE_STRINGS_H
2315| # include <strings.h>
2316| #endif
2317| #ifdef HAVE_INTTYPES_H
2318| # include <inttypes.h>
2319| #endif
2320| #ifdef HAVE_STDINT_H
2321| # include <stdint.h>
2322| #endif
2323| #ifdef HAVE_UNISTD_H
2324| # include <unistd.h>
2325| #endif
2326| int
2327| main ()
2328| {
2329| static int test_array [1 - 2 * !((dev_t)-1 > 0)];
2330| test_array [0] = 0
2331|
2332|   ;
2333|   return 0;
2334| }
2335configure:9134: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include conftest.c >&5
2336conftest.c:90:38: error: redefinition of 'rbcv_conftest_var' with a different type
2337                        extern rbcv_conftest_replace_type rbcv_conftest_var;
2338                                                          ^
2339conftest.c:89:37: note: previous definition is here
2340                        extern rbcv_conftest_target_type rbcv_conftest_var;
2341                                                         ^
2342conftest.c:92:38: error: conflicting types for 'rbcv_conftest_func'
2343                        extern rbcv_conftest_replace_type rbcv_conftest_func(void);
2344                                                          ^
2345conftest.c:91:37: note: previous declaration is here
2346                        extern rbcv_conftest_target_type rbcv_conftest_func(void);
2347                                                         ^
2348conftest.c:97:24: error: 'test_array' declared as an array with a negative size
2349static int test_array [1 - 2 * !(sizeof(rbcv_conftest_target_type) == sizeof(rbcv_conftest_replace_type))];
2350                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
23513 errors generated.
2352configure:9134: $? = 1
2353configure: failed program was:
2354| /* confdefs.h */
2355| #define PACKAGE_NAME ""
2356| #define PACKAGE_TARNAME ""
2357| #define PACKAGE_VERSION ""
2358| #define PACKAGE_STRING ""
2359| #define PACKAGE_BUGREPORT ""
2360| #define PACKAGE_URL ""
2361| #define CANONICALIZATION_FOR_MATHN 1
2362| #define STDC_HEADERS 1
2363| #define HAVE_SYS_TYPES_H 1
2364| #define HAVE_SYS_STAT_H 1
2365| #define HAVE_STDLIB_H 1
2366| #define HAVE_STRING_H 1
2367| #define HAVE_MEMORY_H 1
2368| #define HAVE_STRINGS_H 1
2369| #define HAVE_INTTYPES_H 1
2370| #define HAVE_STDINT_H 1
2371| #define HAVE_UNISTD_H 1
2372| #define __EXTENSIONS__ 1
2373| #define _ALL_SOURCE 1
2374| #define _GNU_SOURCE 1
2375| #define _POSIX_PTHREAD_SEMANTICS 1
2376| #define _TANDEM_SOURCE 1
2377| #define HAVE_LONG_LONG 1
2378| #define HAVE_OFF_T 1
2379| #define SIZEOF_INT 4
2380| #define SIZEOF_SHORT 2
2381| #define SIZEOF_LONG 8
2382| #define SIZEOF_LONG_LONG 8
2383| #define SIZEOF___INT64 0
2384| #define SIZEOF_OFF_T 8
2385| #define SIZEOF_VOIDP 8
2386| #define SIZEOF_FLOAT 4
2387| #define SIZEOF_DOUBLE 8
2388| #define SIZEOF_TIME_T 8
2389| #define PRI_LL_PREFIX "ll"
2390| #define rb_pid_t pid_t
2391| #define PIDT2NUM(v) INT2NUM(v)
2392| #define NUM2PIDT(v) NUM2INT(v)
2393| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
2394| #define rb_uid_t uid_t
2395| #define UIDT2NUM(v) UINT2NUM(v)
2396| #define NUM2UIDT(v) NUM2UINT(v)
2397| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
2398| #define rb_gid_t gid_t
2399| #define GIDT2NUM(v) UINT2NUM(v)
2400| #define NUM2GIDT(v) NUM2UINT(v)
2401| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
2402| #define rb_time_t time_t
2403| #define TIMET2NUM(v) LONG2NUM(v)
2404| #define NUM2TIMET(v) NUM2LONG(v)
2405| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
2406| /* end confdefs.h.  */
2407| #include <stdio.h>
2408| #ifdef HAVE_SYS_TYPES_H
2409| # include <sys/types.h>
2410| #endif
2411| #ifdef HAVE_SYS_STAT_H
2412| # include <sys/stat.h>
2413| #endif
2414| #ifdef STDC_HEADERS
2415| # include <stdlib.h>
2416| # include <stddef.h>
2417| #else
2418| # ifdef HAVE_STDLIB_H
2419| #  include <stdlib.h>
2420| # endif
2421| #endif
2422| #ifdef HAVE_STRING_H
2423| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
2424| #  include <memory.h>
2425| # endif
2426| # include <string.h>
2427| #endif
2428| #ifdef HAVE_STRINGS_H
2429| # include <strings.h>
2430| #endif
2431| #ifdef HAVE_INTTYPES_H
2432| # include <inttypes.h>
2433| #endif
2434| #ifdef HAVE_STDINT_H
2435| # include <stdint.h>
2436| #endif
2437| #ifdef HAVE_UNISTD_H
2438| # include <unistd.h>
2439| #endif
2440|                       typedef dev_t rbcv_conftest_target_type;
2441|                       typedef long long rbcv_conftest_replace_type;
2442|                       extern rbcv_conftest_target_type rbcv_conftest_var;
2443|                       extern rbcv_conftest_replace_type rbcv_conftest_var;
2444|                       extern rbcv_conftest_target_type rbcv_conftest_func(void);
2445|                       extern rbcv_conftest_replace_type rbcv_conftest_func(void);
2446|
2447| int
2448| main ()
2449| {
2450| static int test_array [1 - 2 * !(sizeof(rbcv_conftest_target_type) == sizeof(rbcv_conftest_replace_type))];
2451| test_array [0] = 0
2452|
2453|   ;
2454|   return 0;
2455| }
2456configure:9134: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include conftest.c >&5
2457conftest.c:90:38: error: redefinition of 'rbcv_conftest_var' with a different type
2458                        extern rbcv_conftest_replace_type rbcv_conftest_var;
2459                                                          ^
2460conftest.c:89:37: note: previous definition is here
2461                        extern rbcv_conftest_target_type rbcv_conftest_var;
2462                                                         ^
2463conftest.c:92:38: error: conflicting types for 'rbcv_conftest_func'
2464                        extern rbcv_conftest_replace_type rbcv_conftest_func(void);
2465                                                          ^
2466conftest.c:91:37: note: previous declaration is here
2467                        extern rbcv_conftest_target_type rbcv_conftest_func(void);
2468                                                         ^
2469conftest.c:97:24: error: 'test_array' declared as an array with a negative size
2470static int test_array [1 - 2 * !(sizeof(rbcv_conftest_target_type) == sizeof(rbcv_conftest_replace_type))];
2471                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
24723 errors generated.
2473configure:9134: $? = 1
2474configure: failed program was:
2475| /* confdefs.h */
2476| #define PACKAGE_NAME ""
2477| #define PACKAGE_TARNAME ""
2478| #define PACKAGE_VERSION ""
2479| #define PACKAGE_STRING ""
2480| #define PACKAGE_BUGREPORT ""
2481| #define PACKAGE_URL ""
2482| #define CANONICALIZATION_FOR_MATHN 1
2483| #define STDC_HEADERS 1
2484| #define HAVE_SYS_TYPES_H 1
2485| #define HAVE_SYS_STAT_H 1
2486| #define HAVE_STDLIB_H 1
2487| #define HAVE_STRING_H 1
2488| #define HAVE_MEMORY_H 1
2489| #define HAVE_STRINGS_H 1
2490| #define HAVE_INTTYPES_H 1
2491| #define HAVE_STDINT_H 1
2492| #define HAVE_UNISTD_H 1
2493| #define __EXTENSIONS__ 1
2494| #define _ALL_SOURCE 1
2495| #define _GNU_SOURCE 1
2496| #define _POSIX_PTHREAD_SEMANTICS 1
2497| #define _TANDEM_SOURCE 1
2498| #define HAVE_LONG_LONG 1
2499| #define HAVE_OFF_T 1
2500| #define SIZEOF_INT 4
2501| #define SIZEOF_SHORT 2
2502| #define SIZEOF_LONG 8
2503| #define SIZEOF_LONG_LONG 8
2504| #define SIZEOF___INT64 0
2505| #define SIZEOF_OFF_T 8
2506| #define SIZEOF_VOIDP 8
2507| #define SIZEOF_FLOAT 4
2508| #define SIZEOF_DOUBLE 8
2509| #define SIZEOF_TIME_T 8
2510| #define PRI_LL_PREFIX "ll"
2511| #define rb_pid_t pid_t
2512| #define PIDT2NUM(v) INT2NUM(v)
2513| #define NUM2PIDT(v) NUM2INT(v)
2514| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
2515| #define rb_uid_t uid_t
2516| #define UIDT2NUM(v) UINT2NUM(v)
2517| #define NUM2UIDT(v) NUM2UINT(v)
2518| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
2519| #define rb_gid_t gid_t
2520| #define GIDT2NUM(v) UINT2NUM(v)
2521| #define NUM2GIDT(v) NUM2UINT(v)
2522| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
2523| #define rb_time_t time_t
2524| #define TIMET2NUM(v) LONG2NUM(v)
2525| #define NUM2TIMET(v) NUM2LONG(v)
2526| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
2527| /* end confdefs.h.  */
2528| #include <stdio.h>
2529| #ifdef HAVE_SYS_TYPES_H
2530| # include <sys/types.h>
2531| #endif
2532| #ifdef HAVE_SYS_STAT_H
2533| # include <sys/stat.h>
2534| #endif
2535| #ifdef STDC_HEADERS
2536| # include <stdlib.h>
2537| # include <stddef.h>
2538| #else
2539| # ifdef HAVE_STDLIB_H
2540| #  include <stdlib.h>
2541| # endif
2542| #endif
2543| #ifdef HAVE_STRING_H
2544| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
2545| #  include <memory.h>
2546| # endif
2547| # include <string.h>
2548| #endif
2549| #ifdef HAVE_STRINGS_H
2550| # include <strings.h>
2551| #endif
2552| #ifdef HAVE_INTTYPES_H
2553| # include <inttypes.h>
2554| #endif
2555| #ifdef HAVE_STDINT_H
2556| # include <stdint.h>
2557| #endif
2558| #ifdef HAVE_UNISTD_H
2559| # include <unistd.h>
2560| #endif
2561|                       typedef dev_t rbcv_conftest_target_type;
2562|                       typedef long rbcv_conftest_replace_type;
2563|                       extern rbcv_conftest_target_type rbcv_conftest_var;
2564|                       extern rbcv_conftest_replace_type rbcv_conftest_var;
2565|                       extern rbcv_conftest_target_type rbcv_conftest_func(void);
2566|                       extern rbcv_conftest_replace_type rbcv_conftest_func(void);
2567|
2568| int
2569| main ()
2570| {
2571| static int test_array [1 - 2 * !(sizeof(rbcv_conftest_target_type) == sizeof(rbcv_conftest_replace_type))];
2572| test_array [0] = 0
2573|
2574|   ;
2575|   return 0;
2576| }
2577configure:9134: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include conftest.c >&5
2578configure:9134: $? = 0
2579configure:9153: result: INT
2580configure:9173: checking for mode_t
2581configure:9173: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include conftest.c >&5
2582configure:9173: $? = 0
2583configure:9173: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include conftest.c >&5
2584conftest.c:63:21: error: expected expression
2585if (sizeof ((mode_t)))
2586                    ^
25871 error generated.
2588configure:9173: $? = 1
2589configure: failed program was:
2590| /* confdefs.h */
2591| #define PACKAGE_NAME ""
2592| #define PACKAGE_TARNAME ""
2593| #define PACKAGE_VERSION ""
2594| #define PACKAGE_STRING ""
2595| #define PACKAGE_BUGREPORT ""
2596| #define PACKAGE_URL ""
2597| #define CANONICALIZATION_FOR_MATHN 1
2598| #define STDC_HEADERS 1
2599| #define HAVE_SYS_TYPES_H 1
2600| #define HAVE_SYS_STAT_H 1
2601| #define HAVE_STDLIB_H 1
2602| #define HAVE_STRING_H 1
2603| #define HAVE_MEMORY_H 1
2604| #define HAVE_STRINGS_H 1
2605| #define HAVE_INTTYPES_H 1
2606| #define HAVE_STDINT_H 1
2607| #define HAVE_UNISTD_H 1
2608| #define __EXTENSIONS__ 1
2609| #define _ALL_SOURCE 1
2610| #define _GNU_SOURCE 1
2611| #define _POSIX_PTHREAD_SEMANTICS 1
2612| #define _TANDEM_SOURCE 1
2613| #define HAVE_LONG_LONG 1
2614| #define HAVE_OFF_T 1
2615| #define SIZEOF_INT 4
2616| #define SIZEOF_SHORT 2
2617| #define SIZEOF_LONG 8
2618| #define SIZEOF_LONG_LONG 8
2619| #define SIZEOF___INT64 0
2620| #define SIZEOF_OFF_T 8
2621| #define SIZEOF_VOIDP 8
2622| #define SIZEOF_FLOAT 4
2623| #define SIZEOF_DOUBLE 8
2624| #define SIZEOF_TIME_T 8
2625| #define PRI_LL_PREFIX "ll"
2626| #define rb_pid_t pid_t
2627| #define PIDT2NUM(v) INT2NUM(v)
2628| #define NUM2PIDT(v) NUM2INT(v)
2629| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
2630| #define rb_uid_t uid_t
2631| #define UIDT2NUM(v) UINT2NUM(v)
2632| #define NUM2UIDT(v) NUM2UINT(v)
2633| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
2634| #define rb_gid_t gid_t
2635| #define GIDT2NUM(v) UINT2NUM(v)
2636| #define NUM2GIDT(v) NUM2UINT(v)
2637| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
2638| #define rb_time_t time_t
2639| #define TIMET2NUM(v) LONG2NUM(v)
2640| #define NUM2TIMET(v) NUM2LONG(v)
2641| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
2642| #define rb_dev_t dev_t
2643| #define DEVT2NUM(v) INT2NUM(v)
2644| #define NUM2DEVT(v) NUM2INT(v)
2645| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
2646| /* end confdefs.h.  */
2647| #include <sys/stat.h>
2648|
2649| int
2650| main ()
2651| {
2652| if (sizeof ((mode_t)))
2653|           return 0;
2654|   ;
2655|   return 0;
2656| }
2657configure:9173: result: yes
2658configure:9181: checking for convertible type of mode_t
2659configure:9210: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include conftest.c >&5
2660configure:9210: $? = 0
2661configure:9239: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include conftest.c >&5
2662conftest.c:63:38: error: redefinition of 'rbcv_conftest_var' with a different type
2663                        extern rbcv_conftest_replace_type rbcv_conftest_var;
2664                                                          ^
2665conftest.c:62:37: note: previous definition is here
2666                        extern rbcv_conftest_target_type rbcv_conftest_var;
2667                                                         ^
2668conftest.c:65:38: error: conflicting types for 'rbcv_conftest_func'
2669                        extern rbcv_conftest_replace_type rbcv_conftest_func(void);
2670                                                          ^
2671conftest.c:64:37: note: previous declaration is here
2672                        extern rbcv_conftest_target_type rbcv_conftest_func(void);
2673                                                         ^
2674conftest.c:70:24: error: 'test_array' declared as an array with a negative size
2675static int test_array [1 - 2 * !(sizeof(rbcv_conftest_target_type) == sizeof(rbcv_conftest_replace_type))];
2676                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
26773 errors generated.
2678configure:9239: $? = 1
2679configure: failed program was:
2680| /* confdefs.h */
2681| #define PACKAGE_NAME ""
2682| #define PACKAGE_TARNAME ""
2683| #define PACKAGE_VERSION ""
2684| #define PACKAGE_STRING ""
2685| #define PACKAGE_BUGREPORT ""
2686| #define PACKAGE_URL ""
2687| #define CANONICALIZATION_FOR_MATHN 1
2688| #define STDC_HEADERS 1
2689| #define HAVE_SYS_TYPES_H 1
2690| #define HAVE_SYS_STAT_H 1
2691| #define HAVE_STDLIB_H 1
2692| #define HAVE_STRING_H 1
2693| #define HAVE_MEMORY_H 1
2694| #define HAVE_STRINGS_H 1
2695| #define HAVE_INTTYPES_H 1
2696| #define HAVE_STDINT_H 1
2697| #define HAVE_UNISTD_H 1
2698| #define __EXTENSIONS__ 1
2699| #define _ALL_SOURCE 1
2700| #define _GNU_SOURCE 1
2701| #define _POSIX_PTHREAD_SEMANTICS 1
2702| #define _TANDEM_SOURCE 1
2703| #define HAVE_LONG_LONG 1
2704| #define HAVE_OFF_T 1
2705| #define SIZEOF_INT 4
2706| #define SIZEOF_SHORT 2
2707| #define SIZEOF_LONG 8
2708| #define SIZEOF_LONG_LONG 8
2709| #define SIZEOF___INT64 0
2710| #define SIZEOF_OFF_T 8
2711| #define SIZEOF_VOIDP 8
2712| #define SIZEOF_FLOAT 4
2713| #define SIZEOF_DOUBLE 8
2714| #define SIZEOF_TIME_T 8
2715| #define PRI_LL_PREFIX "ll"
2716| #define rb_pid_t pid_t
2717| #define PIDT2NUM(v) INT2NUM(v)
2718| #define NUM2PIDT(v) NUM2INT(v)
2719| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
2720| #define rb_uid_t uid_t
2721| #define UIDT2NUM(v) UINT2NUM(v)
2722| #define NUM2UIDT(v) NUM2UINT(v)
2723| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
2724| #define rb_gid_t gid_t
2725| #define GIDT2NUM(v) UINT2NUM(v)
2726| #define NUM2GIDT(v) NUM2UINT(v)
2727| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
2728| #define rb_time_t time_t
2729| #define TIMET2NUM(v) LONG2NUM(v)
2730| #define NUM2TIMET(v) NUM2LONG(v)
2731| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
2732| #define rb_dev_t dev_t
2733| #define DEVT2NUM(v) INT2NUM(v)
2734| #define NUM2DEVT(v) NUM2INT(v)
2735| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
2736| /* end confdefs.h.  */
2737| #include <sys/stat.h>
2738|
2739|                       typedef mode_t rbcv_conftest_target_type;
2740|                       typedef unsigned long long rbcv_conftest_replace_type;
2741|                       extern rbcv_conftest_target_type rbcv_conftest_var;
2742|                       extern rbcv_conftest_replace_type rbcv_conftest_var;
2743|                       extern rbcv_conftest_target_type rbcv_conftest_func(void);
2744|                       extern rbcv_conftest_replace_type rbcv_conftest_func(void);
2745|
2746| int
2747| main ()
2748| {
2749| static int test_array [1 - 2 * !(sizeof(rbcv_conftest_target_type) == sizeof(rbcv_conftest_replace_type))];
2750| test_array [0] = 0
2751|
2752|   ;
2753|   return 0;
2754| }
2755configure:9239: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include conftest.c >&5
2756conftest.c:63:38: error: redefinition of 'rbcv_conftest_var' with a different type
2757                        extern rbcv_conftest_replace_type rbcv_conftest_var;
2758                                                          ^
2759conftest.c:62:37: note: previous definition is here
2760                        extern rbcv_conftest_target_type rbcv_conftest_var;
2761                                                         ^
2762conftest.c:65:38: error: conflicting types for 'rbcv_conftest_func'
2763                        extern rbcv_conftest_replace_type rbcv_conftest_func(void);
2764                                                          ^
2765conftest.c:64:37: note: previous declaration is here
2766                        extern rbcv_conftest_target_type rbcv_conftest_func(void);
2767                                                         ^
2768conftest.c:70:24: error: 'test_array' declared as an array with a negative size
2769static int test_array [1 - 2 * !(sizeof(rbcv_conftest_target_type) == sizeof(rbcv_conftest_replace_type))];
2770                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
27713 errors generated.
2772configure:9239: $? = 1
2773configure: failed program was:
2774| /* confdefs.h */
2775| #define PACKAGE_NAME ""
2776| #define PACKAGE_TARNAME ""
2777| #define PACKAGE_VERSION ""
2778| #define PACKAGE_STRING ""
2779| #define PACKAGE_BUGREPORT ""
2780| #define PACKAGE_URL ""
2781| #define CANONICALIZATION_FOR_MATHN 1
2782| #define STDC_HEADERS 1
2783| #define HAVE_SYS_TYPES_H 1
2784| #define HAVE_SYS_STAT_H 1
2785| #define HAVE_STDLIB_H 1
2786| #define HAVE_STRING_H 1
2787| #define HAVE_MEMORY_H 1
2788| #define HAVE_STRINGS_H 1
2789| #define HAVE_INTTYPES_H 1
2790| #define HAVE_STDINT_H 1
2791| #define HAVE_UNISTD_H 1
2792| #define __EXTENSIONS__ 1
2793| #define _ALL_SOURCE 1
2794| #define _GNU_SOURCE 1
2795| #define _POSIX_PTHREAD_SEMANTICS 1
2796| #define _TANDEM_SOURCE 1
2797| #define HAVE_LONG_LONG 1
2798| #define HAVE_OFF_T 1
2799| #define SIZEOF_INT 4
2800| #define SIZEOF_SHORT 2
2801| #define SIZEOF_LONG 8
2802| #define SIZEOF_LONG_LONG 8
2803| #define SIZEOF___INT64 0
2804| #define SIZEOF_OFF_T 8
2805| #define SIZEOF_VOIDP 8
2806| #define SIZEOF_FLOAT 4
2807| #define SIZEOF_DOUBLE 8
2808| #define SIZEOF_TIME_T 8
2809| #define PRI_LL_PREFIX "ll"
2810| #define rb_pid_t pid_t
2811| #define PIDT2NUM(v) INT2NUM(v)
2812| #define NUM2PIDT(v) NUM2INT(v)
2813| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
2814| #define rb_uid_t uid_t
2815| #define UIDT2NUM(v) UINT2NUM(v)
2816| #define NUM2UIDT(v) NUM2UINT(v)
2817| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
2818| #define rb_gid_t gid_t
2819| #define GIDT2NUM(v) UINT2NUM(v)
2820| #define NUM2GIDT(v) NUM2UINT(v)
2821| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
2822| #define rb_time_t time_t
2823| #define TIMET2NUM(v) LONG2NUM(v)
2824| #define NUM2TIMET(v) NUM2LONG(v)
2825| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
2826| #define rb_dev_t dev_t
2827| #define DEVT2NUM(v) INT2NUM(v)
2828| #define NUM2DEVT(v) NUM2INT(v)
2829| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
2830| /* end confdefs.h.  */
2831| #include <sys/stat.h>
2832|
2833|                       typedef mode_t rbcv_conftest_target_type;
2834|                       typedef unsigned long rbcv_conftest_replace_type;
2835|                       extern rbcv_conftest_target_type rbcv_conftest_var;
2836|                       extern rbcv_conftest_replace_type rbcv_conftest_var;
2837|                       extern rbcv_conftest_target_type rbcv_conftest_func(void);
2838|                       extern rbcv_conftest_replace_type rbcv_conftest_func(void);
2839|
2840| int
2841| main ()
2842| {
2843| static int test_array [1 - 2 * !(sizeof(rbcv_conftest_target_type) == sizeof(rbcv_conftest_replace_type))];
2844| test_array [0] = 0
2845|
2846|   ;
2847|   return 0;
2848| }
2849configure:9239: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include conftest.c >&5
2850conftest.c:63:38: error: redefinition of 'rbcv_conftest_var' with a different type
2851                        extern rbcv_conftest_replace_type rbcv_conftest_var;
2852                                                          ^
2853conftest.c:62:37: note: previous definition is here
2854                        extern rbcv_conftest_target_type rbcv_conftest_var;
2855                                                         ^
2856conftest.c:65:38: error: conflicting types for 'rbcv_conftest_func'
2857                        extern rbcv_conftest_replace_type rbcv_conftest_func(void);
2858                                                          ^
2859conftest.c:64:37: note: previous declaration is here
2860                        extern rbcv_conftest_target_type rbcv_conftest_func(void);
2861                                                         ^
2862conftest.c:70:24: error: 'test_array' declared as an array with a negative size
2863static int test_array [1 - 2 * !(sizeof(rbcv_conftest_target_type) == sizeof(rbcv_conftest_replace_type))];
2864                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
28653 errors generated.
2866configure:9239: $? = 1
2867configure: failed program was:
2868| /* confdefs.h */
2869| #define PACKAGE_NAME ""
2870| #define PACKAGE_TARNAME ""
2871| #define PACKAGE_VERSION ""
2872| #define PACKAGE_STRING ""
2873| #define PACKAGE_BUGREPORT ""
2874| #define PACKAGE_URL ""
2875| #define CANONICALIZATION_FOR_MATHN 1
2876| #define STDC_HEADERS 1
2877| #define HAVE_SYS_TYPES_H 1
2878| #define HAVE_SYS_STAT_H 1
2879| #define HAVE_STDLIB_H 1
2880| #define HAVE_STRING_H 1
2881| #define HAVE_MEMORY_H 1
2882| #define HAVE_STRINGS_H 1
2883| #define HAVE_INTTYPES_H 1
2884| #define HAVE_STDINT_H 1
2885| #define HAVE_UNISTD_H 1
2886| #define __EXTENSIONS__ 1
2887| #define _ALL_SOURCE 1
2888| #define _GNU_SOURCE 1
2889| #define _POSIX_PTHREAD_SEMANTICS 1
2890| #define _TANDEM_SOURCE 1
2891| #define HAVE_LONG_LONG 1
2892| #define HAVE_OFF_T 1
2893| #define SIZEOF_INT 4
2894| #define SIZEOF_SHORT 2
2895| #define SIZEOF_LONG 8
2896| #define SIZEOF_LONG_LONG 8
2897| #define SIZEOF___INT64 0
2898| #define SIZEOF_OFF_T 8
2899| #define SIZEOF_VOIDP 8
2900| #define SIZEOF_FLOAT 4
2901| #define SIZEOF_DOUBLE 8
2902| #define SIZEOF_TIME_T 8
2903| #define PRI_LL_PREFIX "ll"
2904| #define rb_pid_t pid_t
2905| #define PIDT2NUM(v) INT2NUM(v)
2906| #define NUM2PIDT(v) NUM2INT(v)
2907| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
2908| #define rb_uid_t uid_t
2909| #define UIDT2NUM(v) UINT2NUM(v)
2910| #define NUM2UIDT(v) NUM2UINT(v)
2911| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
2912| #define rb_gid_t gid_t
2913| #define GIDT2NUM(v) UINT2NUM(v)
2914| #define NUM2GIDT(v) NUM2UINT(v)
2915| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
2916| #define rb_time_t time_t
2917| #define TIMET2NUM(v) LONG2NUM(v)
2918| #define NUM2TIMET(v) NUM2LONG(v)
2919| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
2920| #define rb_dev_t dev_t
2921| #define DEVT2NUM(v) INT2NUM(v)
2922| #define NUM2DEVT(v) NUM2INT(v)
2923| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
2924| /* end confdefs.h.  */
2925| #include <sys/stat.h>
2926|
2927|                       typedef mode_t rbcv_conftest_target_type;
2928|                       typedef unsigned int rbcv_conftest_replace_type;
2929|                       extern rbcv_conftest_target_type rbcv_conftest_var;
2930|                       extern rbcv_conftest_replace_type rbcv_conftest_var;
2931|                       extern rbcv_conftest_target_type rbcv_conftest_func(void);
2932|                       extern rbcv_conftest_replace_type rbcv_conftest_func(void);
2933|
2934| int
2935| main ()
2936| {
2937| static int test_array [1 - 2 * !(sizeof(rbcv_conftest_target_type) == sizeof(rbcv_conftest_replace_type))];
2938| test_array [0] = 0
2939|
2940|   ;
2941|   return 0;
2942| }
2943configure:9239: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include conftest.c >&5
2944configure:9239: $? = 0
2945configure:9258: result: UINT
2946configure:9278: checking for rlim_t
2947configure:9278: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include conftest.c >&5
2948configure:9278: $? = 0
2949configure:9278: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include conftest.c >&5
2950conftest.c:67:21: error: expected expression
2951if (sizeof ((rlim_t)))
2952                    ^
29531 error generated.
2954configure:9278: $? = 1
2955configure: failed program was:
2956| /* confdefs.h */
2957| #define PACKAGE_NAME ""
2958| #define PACKAGE_TARNAME ""
2959| #define PACKAGE_VERSION ""
2960| #define PACKAGE_STRING ""
2961| #define PACKAGE_BUGREPORT ""
2962| #define PACKAGE_URL ""
2963| #define CANONICALIZATION_FOR_MATHN 1
2964| #define STDC_HEADERS 1
2965| #define HAVE_SYS_TYPES_H 1
2966| #define HAVE_SYS_STAT_H 1
2967| #define HAVE_STDLIB_H 1
2968| #define HAVE_STRING_H 1
2969| #define HAVE_MEMORY_H 1
2970| #define HAVE_STRINGS_H 1
2971| #define HAVE_INTTYPES_H 1
2972| #define HAVE_STDINT_H 1
2973| #define HAVE_UNISTD_H 1
2974| #define __EXTENSIONS__ 1
2975| #define _ALL_SOURCE 1
2976| #define _GNU_SOURCE 1
2977| #define _POSIX_PTHREAD_SEMANTICS 1
2978| #define _TANDEM_SOURCE 1
2979| #define HAVE_LONG_LONG 1
2980| #define HAVE_OFF_T 1
2981| #define SIZEOF_INT 4
2982| #define SIZEOF_SHORT 2
2983| #define SIZEOF_LONG 8
2984| #define SIZEOF_LONG_LONG 8
2985| #define SIZEOF___INT64 0
2986| #define SIZEOF_OFF_T 8
2987| #define SIZEOF_VOIDP 8
2988| #define SIZEOF_FLOAT 4
2989| #define SIZEOF_DOUBLE 8
2990| #define SIZEOF_TIME_T 8
2991| #define PRI_LL_PREFIX "ll"
2992| #define rb_pid_t pid_t
2993| #define PIDT2NUM(v) INT2NUM(v)
2994| #define NUM2PIDT(v) NUM2INT(v)
2995| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
2996| #define rb_uid_t uid_t
2997| #define UIDT2NUM(v) UINT2NUM(v)
2998| #define NUM2UIDT(v) NUM2UINT(v)
2999| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
3000| #define rb_gid_t gid_t
3001| #define GIDT2NUM(v) UINT2NUM(v)
3002| #define NUM2GIDT(v) NUM2UINT(v)
3003| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
3004| #define rb_time_t time_t
3005| #define TIMET2NUM(v) LONG2NUM(v)
3006| #define NUM2TIMET(v) NUM2LONG(v)
3007| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
3008| #define rb_dev_t dev_t
3009| #define DEVT2NUM(v) INT2NUM(v)
3010| #define NUM2DEVT(v) NUM2INT(v)
3011| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
3012| #define rb_mode_t mode_t
3013| #define MODET2NUM(v) UINT2NUM(v)
3014| #define NUM2MODET(v) NUM2UINT(v)
3015| #define PRI_MODET_PREFIX PRI_INT_PREFIX
3016| /* end confdefs.h.  */
3017| #include <sys/resource.h>
3018|
3019| int
3020| main ()
3021| {
3022| if (sizeof ((rlim_t)))
3023|           return 0;
3024|   ;
3025|   return 0;
3026| }
3027configure:9278: result: yes
3028configure:9286: checking for convertible type of rlim_t
3029configure:9315: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include conftest.c >&5
3030configure:9315: $? = 0
3031configure:9344: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include conftest.c >&5
3032configure:9344: $? = 0
3033configure:9363: result: ULL
3034configure:9384: checking for prototypes
3035configure:9400: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include conftest.c >&5
3036configure:9400: $? = 0
3037configure:9407: result: yes
3038configure:9414: checking token paste string
3039configure:9430: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include conftest.c >&5
3040configure:9430: $? = 0
3041configure:9437: result: ansi
3042configure:9447: checking stringization
3043configure:9475: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include conftest.c >&5
3044configure:9475: $? = 0
3045configure:9484: result: #expr
3046configure:9497: checking string literal concatenation
3047configure:9520: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include conftest.c >&5
3048configure:9520: $? = 0
3049configure:9528: result: yes
3050configure:9535: checking for variable length prototypes and stdarg.h
3051configure:9561: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include conftest.c >&5
3052configure:9561: $? = 0
3053configure:9568: result: yes
3054configure:9575: checking for variable length macro
3055configure:9594: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include conftest.c >&5
3056configure:9594: $? = 0
3057configure:9601: result: yes
3058configure:9612: checking for noreturn function attribute
3059configure:9641: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include conftest.c >&5
3060configure:9641: $? = 0
3061configure:9653: result: __attribute__ ((noreturn)) x
3062configure:9672: checking for deprecated function attribute
3063configure:9701: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include conftest.c >&5
3064configure:9701: $? = 0
3065configure:9713: result: __attribute__ ((deprecated)) x
3066configure:9732: checking for noinline function attribute
3067configure:9761: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include conftest.c >&5
3068configure:9761: $? = 0
3069configure:9773: result: __attribute__ ((noinline)) x
3070configure:9794: checking for stdcall function attribute
3071configure:9825: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include conftest.c >&5
3072configure:9825: $? = 0
3073configure:9837: result: __attribute__ ((stdcall)) x
3074configure:9856: checking for cdecl function attribute
3075configure:9887: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include conftest.c >&5
3076configure:9887: $? = 0
3077configure:9899: result: __attribute__ ((cdecl)) x
3078configure:9918: checking for fastcall function attribute
3079configure:9949: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include conftest.c >&5
3080configure:9949: $? = 0
3081configure:9961: result: __attribute__ ((fastcall)) x
3082configure:9981: checking for function alias
3083configure:10000: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c  >&5
3084conftest.c:78:33: error: only weak aliases are supported on darwin
3085                void bar(void) __attribute__((alias("foo")));
3086                                              ^
30871 error generated.
3088configure:10000: $? = 1
3089configure: failed program was:
3090| /* confdefs.h */
3091| #define PACKAGE_NAME ""
3092| #define PACKAGE_TARNAME ""
3093| #define PACKAGE_VERSION ""
3094| #define PACKAGE_STRING ""
3095| #define PACKAGE_BUGREPORT ""
3096| #define PACKAGE_URL ""
3097| #define CANONICALIZATION_FOR_MATHN 1
3098| #define STDC_HEADERS 1
3099| #define HAVE_SYS_TYPES_H 1
3100| #define HAVE_SYS_STAT_H 1
3101| #define HAVE_STDLIB_H 1
3102| #define HAVE_STRING_H 1
3103| #define HAVE_MEMORY_H 1
3104| #define HAVE_STRINGS_H 1
3105| #define HAVE_INTTYPES_H 1
3106| #define HAVE_STDINT_H 1
3107| #define HAVE_UNISTD_H 1
3108| #define __EXTENSIONS__ 1
3109| #define _ALL_SOURCE 1
3110| #define _GNU_SOURCE 1
3111| #define _POSIX_PTHREAD_SEMANTICS 1
3112| #define _TANDEM_SOURCE 1
3113| #define HAVE_LONG_LONG 1
3114| #define HAVE_OFF_T 1
3115| #define SIZEOF_INT 4
3116| #define SIZEOF_SHORT 2
3117| #define SIZEOF_LONG 8
3118| #define SIZEOF_LONG_LONG 8
3119| #define SIZEOF___INT64 0
3120| #define SIZEOF_OFF_T 8
3121| #define SIZEOF_VOIDP 8
3122| #define SIZEOF_FLOAT 4
3123| #define SIZEOF_DOUBLE 8
3124| #define SIZEOF_TIME_T 8
3125| #define PRI_LL_PREFIX "ll"
3126| #define rb_pid_t pid_t
3127| #define PIDT2NUM(v) INT2NUM(v)
3128| #define NUM2PIDT(v) NUM2INT(v)
3129| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
3130| #define rb_uid_t uid_t
3131| #define UIDT2NUM(v) UINT2NUM(v)
3132| #define NUM2UIDT(v) NUM2UINT(v)
3133| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
3134| #define rb_gid_t gid_t
3135| #define GIDT2NUM(v) UINT2NUM(v)
3136| #define NUM2GIDT(v) NUM2UINT(v)
3137| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
3138| #define rb_time_t time_t
3139| #define TIMET2NUM(v) LONG2NUM(v)
3140| #define NUM2TIMET(v) NUM2LONG(v)
3141| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
3142| #define rb_dev_t dev_t
3143| #define DEVT2NUM(v) INT2NUM(v)
3144| #define NUM2DEVT(v) NUM2INT(v)
3145| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
3146| #define rb_mode_t mode_t
3147| #define MODET2NUM(v) UINT2NUM(v)
3148| #define NUM2MODET(v) NUM2UINT(v)
3149| #define PRI_MODET_PREFIX PRI_INT_PREFIX
3150| #define rb_rlim_t rlim_t
3151| #define RLIM2NUM(v) ULL2NUM(v)
3152| #define NUM2RLIM(v) NUM2ULL(v)
3153| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
3154| #define HAVE_PROTOTYPES 1
3155| #define TOKEN_PASTE(x,y) x##y
3156| #define STRINGIZE(expr) STRINGIZE0(expr)
3157| #define HAVE_STDARG_PROTOTYPES 1
3158| #define HAVE_VA_ARGS_MACRO 1
3159| #define NORETURN(x) __attribute__ ((noreturn)) x
3160| #define DEPRECATED(x) __attribute__ ((deprecated)) x
3161| #define NOINLINE(x) __attribute__ ((noinline)) x
3162| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
3163| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
3164| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
3165| /* end confdefs.h.  */
3166| void foo(void) {}
3167|               void bar(void) __attribute__((alias("foo")));
3168| int
3169| main ()
3170| {
3171| bar()
3172|   ;
3173|   return 0;
3174| }
3175configure:10000: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c  >&5
3176conftest.c:78:38: error: only weak aliases are supported on darwin
3177                void bar(void) __attribute__((weak,alias("foo")));
3178                                                   ^
31791 error generated.
3180configure:10000: $? = 1
3181configure: failed program was:
3182| /* confdefs.h */
3183| #define PACKAGE_NAME ""
3184| #define PACKAGE_TARNAME ""
3185| #define PACKAGE_VERSION ""
3186| #define PACKAGE_STRING ""
3187| #define PACKAGE_BUGREPORT ""
3188| #define PACKAGE_URL ""
3189| #define CANONICALIZATION_FOR_MATHN 1
3190| #define STDC_HEADERS 1
3191| #define HAVE_SYS_TYPES_H 1
3192| #define HAVE_SYS_STAT_H 1
3193| #define HAVE_STDLIB_H 1
3194| #define HAVE_STRING_H 1
3195| #define HAVE_MEMORY_H 1
3196| #define HAVE_STRINGS_H 1
3197| #define HAVE_INTTYPES_H 1
3198| #define HAVE_STDINT_H 1
3199| #define HAVE_UNISTD_H 1
3200| #define __EXTENSIONS__ 1
3201| #define _ALL_SOURCE 1
3202| #define _GNU_SOURCE 1
3203| #define _POSIX_PTHREAD_SEMANTICS 1
3204| #define _TANDEM_SOURCE 1
3205| #define HAVE_LONG_LONG 1
3206| #define HAVE_OFF_T 1
3207| #define SIZEOF_INT 4
3208| #define SIZEOF_SHORT 2
3209| #define SIZEOF_LONG 8
3210| #define SIZEOF_LONG_LONG 8
3211| #define SIZEOF___INT64 0
3212| #define SIZEOF_OFF_T 8
3213| #define SIZEOF_VOIDP 8
3214| #define SIZEOF_FLOAT 4
3215| #define SIZEOF_DOUBLE 8
3216| #define SIZEOF_TIME_T 8
3217| #define PRI_LL_PREFIX "ll"
3218| #define rb_pid_t pid_t
3219| #define PIDT2NUM(v) INT2NUM(v)
3220| #define NUM2PIDT(v) NUM2INT(v)
3221| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
3222| #define rb_uid_t uid_t
3223| #define UIDT2NUM(v) UINT2NUM(v)
3224| #define NUM2UIDT(v) NUM2UINT(v)
3225| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
3226| #define rb_gid_t gid_t
3227| #define GIDT2NUM(v) UINT2NUM(v)
3228| #define NUM2GIDT(v) NUM2UINT(v)
3229| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
3230| #define rb_time_t time_t
3231| #define TIMET2NUM(v) LONG2NUM(v)
3232| #define NUM2TIMET(v) NUM2LONG(v)
3233| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
3234| #define rb_dev_t dev_t
3235| #define DEVT2NUM(v) INT2NUM(v)
3236| #define NUM2DEVT(v) NUM2INT(v)
3237| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
3238| #define rb_mode_t mode_t
3239| #define MODET2NUM(v) UINT2NUM(v)
3240| #define NUM2MODET(v) NUM2UINT(v)
3241| #define PRI_MODET_PREFIX PRI_INT_PREFIX
3242| #define rb_rlim_t rlim_t
3243| #define RLIM2NUM(v) ULL2NUM(v)
3244| #define NUM2RLIM(v) NUM2ULL(v)
3245| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
3246| #define HAVE_PROTOTYPES 1
3247| #define TOKEN_PASTE(x,y) x##y
3248| #define STRINGIZE(expr) STRINGIZE0(expr)
3249| #define HAVE_STDARG_PROTOTYPES 1
3250| #define HAVE_VA_ARGS_MACRO 1
3251| #define NORETURN(x) __attribute__ ((noreturn)) x
3252| #define DEPRECATED(x) __attribute__ ((deprecated)) x
3253| #define NOINLINE(x) __attribute__ ((noinline)) x
3254| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
3255| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
3256| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
3257| /* end confdefs.h.  */
3258| void foo(void) {}
3259|               void bar(void) __attribute__((weak,alias("foo")));
3260| int
3261| main ()
3262| {
3263| bar()
3264|   ;
3265|   return 0;
3266| }
3267configure:10007: result: no
3268configure:10019: checking for atomic builtins
3269configure:10041: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c  >&5
3270configure:10041: $? = 0
3271configure:10049: result: yes
3272configure:10057: checking for exported function attribute
3273configure:10084: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include conftest.c >&5
3274configure:10084: $? = 0
3275configure:10096: result: __attribute__ ((visibility("default")))
3276configure:10116: checking whether sys_nerr is declared
3277configure:10116: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include conftest.c >&5
3278configure:10116: $? = 0
3279configure:10116: result: yes
3280configure:10232: checking whether Mac OS X 10.5 or later
3281configure:10243: /usr/bin/clang -E -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c
3282configure:10243: $? = 0
3283configure:10249: result: yes
3284configure:10262: checking for broken crypt with 8bit chars
3285configure:10298: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -lobjc >&5
3286configure:10298: $? = 0
3287configure:10298: ./conftest
3288configure:10298: $? = 0
3289configure:10308: result: no
3290configure:10611: checking for crypt in -lcrypt
3291configure:10645: result: no
3292configure:10656: checking for dlopen in -ldl
3293configure:10681: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl  -lobjc >&5
3294configure:10681: $? = 0
3295configure:10690: result: yes
3296configure:10701: checking for shl_load in -ldld
3297configure:10726: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldld  -ldl -lobjc >&5
3298ld: library not found for -ldld
3299clang: error: linker command failed with exit code 1 (use -v to see invocation)
3300configure:10726: $? = 1
3301configure: failed program was:
3302| /* confdefs.h */
3303| #define PACKAGE_NAME ""
3304| #define PACKAGE_TARNAME ""
3305| #define PACKAGE_VERSION ""
3306| #define PACKAGE_STRING ""
3307| #define PACKAGE_BUGREPORT ""
3308| #define PACKAGE_URL ""
3309| #define CANONICALIZATION_FOR_MATHN 1
3310| #define STDC_HEADERS 1
3311| #define HAVE_SYS_TYPES_H 1
3312| #define HAVE_SYS_STAT_H 1
3313| #define HAVE_STDLIB_H 1
3314| #define HAVE_STRING_H 1
3315| #define HAVE_MEMORY_H 1
3316| #define HAVE_STRINGS_H 1
3317| #define HAVE_INTTYPES_H 1
3318| #define HAVE_STDINT_H 1
3319| #define HAVE_UNISTD_H 1
3320| #define __EXTENSIONS__ 1
3321| #define _ALL_SOURCE 1
3322| #define _GNU_SOURCE 1
3323| #define _POSIX_PTHREAD_SEMANTICS 1
3324| #define _TANDEM_SOURCE 1
3325| #define HAVE_LONG_LONG 1
3326| #define HAVE_OFF_T 1
3327| #define SIZEOF_INT 4
3328| #define SIZEOF_SHORT 2
3329| #define SIZEOF_LONG 8
3330| #define SIZEOF_LONG_LONG 8
3331| #define SIZEOF___INT64 0
3332| #define SIZEOF_OFF_T 8
3333| #define SIZEOF_VOIDP 8
3334| #define SIZEOF_FLOAT 4
3335| #define SIZEOF_DOUBLE 8
3336| #define SIZEOF_TIME_T 8
3337| #define PRI_LL_PREFIX "ll"
3338| #define rb_pid_t pid_t
3339| #define PIDT2NUM(v) INT2NUM(v)
3340| #define NUM2PIDT(v) NUM2INT(v)
3341| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
3342| #define rb_uid_t uid_t
3343| #define UIDT2NUM(v) UINT2NUM(v)
3344| #define NUM2UIDT(v) NUM2UINT(v)
3345| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
3346| #define rb_gid_t gid_t
3347| #define GIDT2NUM(v) UINT2NUM(v)
3348| #define NUM2GIDT(v) NUM2UINT(v)
3349| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
3350| #define rb_time_t time_t
3351| #define TIMET2NUM(v) LONG2NUM(v)
3352| #define NUM2TIMET(v) NUM2LONG(v)
3353| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
3354| #define rb_dev_t dev_t
3355| #define DEVT2NUM(v) INT2NUM(v)
3356| #define NUM2DEVT(v) NUM2INT(v)
3357| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
3358| #define rb_mode_t mode_t
3359| #define MODET2NUM(v) UINT2NUM(v)
3360| #define NUM2MODET(v) NUM2UINT(v)
3361| #define PRI_MODET_PREFIX PRI_INT_PREFIX
3362| #define rb_rlim_t rlim_t
3363| #define RLIM2NUM(v) ULL2NUM(v)
3364| #define NUM2RLIM(v) NUM2ULL(v)
3365| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
3366| #define HAVE_PROTOTYPES 1
3367| #define TOKEN_PASTE(x,y) x##y
3368| #define STRINGIZE(expr) STRINGIZE0(expr)
3369| #define HAVE_STDARG_PROTOTYPES 1
3370| #define HAVE_VA_ARGS_MACRO 1
3371| #define NORETURN(x) __attribute__ ((noreturn)) x
3372| #define DEPRECATED(x) __attribute__ ((deprecated)) x
3373| #define NOINLINE(x) __attribute__ ((noinline)) x
3374| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
3375| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
3376| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
3377| #define HAVE_GCC_ATOMIC_BUILTINS 1
3378| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
3379| #define HAVE_DECL_SYS_NERR 1
3380| #define HAVE_LIBDL 1
3381| /* end confdefs.h.  */
3382|
3383| /* Override any GCC internal prototype to avoid an error.
3384|    Use char because int might match the return type of a GCC
3385|    builtin and then its argument prototype would still apply.  */
3386| #ifdef __cplusplus
3387| extern "C"
3388| #endif
3389| char shl_load ();
3390| int
3391| main ()
3392| {
3393| return shl_load ();
3394|   ;
3395|   return 0;
3396| }
3397configure:10735: result: no
3398configure:10746: checking for socketpair in -lsocket
3399configure:10771: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -lsocket  -ldl -lobjc >&5
3400ld: library not found for -lsocket
3401clang: error: linker command failed with exit code 1 (use -v to see invocation)
3402configure:10771: $? = 1
3403configure: failed program was:
3404| /* confdefs.h */
3405| #define PACKAGE_NAME ""
3406| #define PACKAGE_TARNAME ""
3407| #define PACKAGE_VERSION ""
3408| #define PACKAGE_STRING ""
3409| #define PACKAGE_BUGREPORT ""
3410| #define PACKAGE_URL ""
3411| #define CANONICALIZATION_FOR_MATHN 1
3412| #define STDC_HEADERS 1
3413| #define HAVE_SYS_TYPES_H 1
3414| #define HAVE_SYS_STAT_H 1
3415| #define HAVE_STDLIB_H 1
3416| #define HAVE_STRING_H 1
3417| #define HAVE_MEMORY_H 1
3418| #define HAVE_STRINGS_H 1
3419| #define HAVE_INTTYPES_H 1
3420| #define HAVE_STDINT_H 1
3421| #define HAVE_UNISTD_H 1
3422| #define __EXTENSIONS__ 1
3423| #define _ALL_SOURCE 1
3424| #define _GNU_SOURCE 1
3425| #define _POSIX_PTHREAD_SEMANTICS 1
3426| #define _TANDEM_SOURCE 1
3427| #define HAVE_LONG_LONG 1
3428| #define HAVE_OFF_T 1
3429| #define SIZEOF_INT 4
3430| #define SIZEOF_SHORT 2
3431| #define SIZEOF_LONG 8
3432| #define SIZEOF_LONG_LONG 8
3433| #define SIZEOF___INT64 0
3434| #define SIZEOF_OFF_T 8
3435| #define SIZEOF_VOIDP 8
3436| #define SIZEOF_FLOAT 4
3437| #define SIZEOF_DOUBLE 8
3438| #define SIZEOF_TIME_T 8
3439| #define PRI_LL_PREFIX "ll"
3440| #define rb_pid_t pid_t
3441| #define PIDT2NUM(v) INT2NUM(v)
3442| #define NUM2PIDT(v) NUM2INT(v)
3443| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
3444| #define rb_uid_t uid_t
3445| #define UIDT2NUM(v) UINT2NUM(v)
3446| #define NUM2UIDT(v) NUM2UINT(v)
3447| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
3448| #define rb_gid_t gid_t
3449| #define GIDT2NUM(v) UINT2NUM(v)
3450| #define NUM2GIDT(v) NUM2UINT(v)
3451| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
3452| #define rb_time_t time_t
3453| #define TIMET2NUM(v) LONG2NUM(v)
3454| #define NUM2TIMET(v) NUM2LONG(v)
3455| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
3456| #define rb_dev_t dev_t
3457| #define DEVT2NUM(v) INT2NUM(v)
3458| #define NUM2DEVT(v) NUM2INT(v)
3459| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
3460| #define rb_mode_t mode_t
3461| #define MODET2NUM(v) UINT2NUM(v)
3462| #define NUM2MODET(v) NUM2UINT(v)
3463| #define PRI_MODET_PREFIX PRI_INT_PREFIX
3464| #define rb_rlim_t rlim_t
3465| #define RLIM2NUM(v) ULL2NUM(v)
3466| #define NUM2RLIM(v) NUM2ULL(v)
3467| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
3468| #define HAVE_PROTOTYPES 1
3469| #define TOKEN_PASTE(x,y) x##y
3470| #define STRINGIZE(expr) STRINGIZE0(expr)
3471| #define HAVE_STDARG_PROTOTYPES 1
3472| #define HAVE_VA_ARGS_MACRO 1
3473| #define NORETURN(x) __attribute__ ((noreturn)) x
3474| #define DEPRECATED(x) __attribute__ ((deprecated)) x
3475| #define NOINLINE(x) __attribute__ ((noinline)) x
3476| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
3477| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
3478| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
3479| #define HAVE_GCC_ATOMIC_BUILTINS 1
3480| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
3481| #define HAVE_DECL_SYS_NERR 1
3482| #define HAVE_LIBDL 1
3483| /* end confdefs.h.  */
3484|
3485| /* Override any GCC internal prototype to avoid an error.
3486|    Use char because int might match the return type of a GCC
3487|    builtin and then its argument prototype would still apply.  */
3488| #ifdef __cplusplus
3489| extern "C"
3490| #endif
3491| char socketpair ();
3492| int
3493| main ()
3494| {
3495| return socketpair ();
3496|   ;
3497|   return 0;
3498| }
3499configure:10780: result: no
3500configure:10791: checking for clock_gettime in -lrt
3501configure:10816: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -lrt  -ldl -lobjc >&5
3502ld: library not found for -lrt
3503clang: error: linker command failed with exit code 1 (use -v to see invocation)
3504configure:10816: $? = 1
3505configure: failed program was:
3506| /* confdefs.h */
3507| #define PACKAGE_NAME ""
3508| #define PACKAGE_TARNAME ""
3509| #define PACKAGE_VERSION ""
3510| #define PACKAGE_STRING ""
3511| #define PACKAGE_BUGREPORT ""
3512| #define PACKAGE_URL ""
3513| #define CANONICALIZATION_FOR_MATHN 1
3514| #define STDC_HEADERS 1
3515| #define HAVE_SYS_TYPES_H 1
3516| #define HAVE_SYS_STAT_H 1
3517| #define HAVE_STDLIB_H 1
3518| #define HAVE_STRING_H 1
3519| #define HAVE_MEMORY_H 1
3520| #define HAVE_STRINGS_H 1
3521| #define HAVE_INTTYPES_H 1
3522| #define HAVE_STDINT_H 1
3523| #define HAVE_UNISTD_H 1
3524| #define __EXTENSIONS__ 1
3525| #define _ALL_SOURCE 1
3526| #define _GNU_SOURCE 1
3527| #define _POSIX_PTHREAD_SEMANTICS 1
3528| #define _TANDEM_SOURCE 1
3529| #define HAVE_LONG_LONG 1
3530| #define HAVE_OFF_T 1
3531| #define SIZEOF_INT 4
3532| #define SIZEOF_SHORT 2
3533| #define SIZEOF_LONG 8
3534| #define SIZEOF_LONG_LONG 8
3535| #define SIZEOF___INT64 0
3536| #define SIZEOF_OFF_T 8
3537| #define SIZEOF_VOIDP 8
3538| #define SIZEOF_FLOAT 4
3539| #define SIZEOF_DOUBLE 8
3540| #define SIZEOF_TIME_T 8
3541| #define PRI_LL_PREFIX "ll"
3542| #define rb_pid_t pid_t
3543| #define PIDT2NUM(v) INT2NUM(v)
3544| #define NUM2PIDT(v) NUM2INT(v)
3545| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
3546| #define rb_uid_t uid_t
3547| #define UIDT2NUM(v) UINT2NUM(v)
3548| #define NUM2UIDT(v) NUM2UINT(v)
3549| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
3550| #define rb_gid_t gid_t
3551| #define GIDT2NUM(v) UINT2NUM(v)
3552| #define NUM2GIDT(v) NUM2UINT(v)
3553| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
3554| #define rb_time_t time_t
3555| #define TIMET2NUM(v) LONG2NUM(v)
3556| #define NUM2TIMET(v) NUM2LONG(v)
3557| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
3558| #define rb_dev_t dev_t
3559| #define DEVT2NUM(v) INT2NUM(v)
3560| #define NUM2DEVT(v) NUM2INT(v)
3561| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
3562| #define rb_mode_t mode_t
3563| #define MODET2NUM(v) UINT2NUM(v)
3564| #define NUM2MODET(v) NUM2UINT(v)
3565| #define PRI_MODET_PREFIX PRI_INT_PREFIX
3566| #define rb_rlim_t rlim_t
3567| #define RLIM2NUM(v) ULL2NUM(v)
3568| #define NUM2RLIM(v) NUM2ULL(v)
3569| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
3570| #define HAVE_PROTOTYPES 1
3571| #define TOKEN_PASTE(x,y) x##y
3572| #define STRINGIZE(expr) STRINGIZE0(expr)
3573| #define HAVE_STDARG_PROTOTYPES 1
3574| #define HAVE_VA_ARGS_MACRO 1
3575| #define NORETURN(x) __attribute__ ((noreturn)) x
3576| #define DEPRECATED(x) __attribute__ ((deprecated)) x
3577| #define NOINLINE(x) __attribute__ ((noinline)) x
3578| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
3579| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
3580| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
3581| #define HAVE_GCC_ATOMIC_BUILTINS 1
3582| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
3583| #define HAVE_DECL_SYS_NERR 1
3584| #define HAVE_LIBDL 1
3585| /* end confdefs.h.  */
3586|
3587| /* Override any GCC internal prototype to avoid an error.
3588|    Use char because int might match the return type of a GCC
3589|    builtin and then its argument prototype would still apply.  */
3590| #ifdef __cplusplus
3591| extern "C"
3592| #endif
3593| char clock_gettime ();
3594| int
3595| main ()
3596| {
3597| return clock_gettime ();
3598|   ;
3599|   return 0;
3600| }
3601configure:10825: result: no
3602configure:10914: checking for dirent.h that defines DIR
3603configure:10933: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
3604configure:10933: $? = 0
3605configure:10941: result: yes
3606configure:10954: checking for library containing opendir
3607configure:10985: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
3608configure:10985: $? = 0
3609configure:11002: result: none required
3610configure:11069: checking for stdbool.h that conforms to C99
3611configure:11136: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
3612configure:11136: $? = 0
3613configure:11143: result: yes
3614configure:11145: checking for _Bool
3615configure:11145: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
3616configure:11145: $? = 0
3617configure:11145: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
3618conftest.c:118:20: error: expected expression
3619if (sizeof ((_Bool)))
3620                   ^
36211 error generated.
3622configure:11145: $? = 1
3623configure: failed program was:
3624| /* confdefs.h */
3625| #define PACKAGE_NAME ""
3626| #define PACKAGE_TARNAME ""
3627| #define PACKAGE_VERSION ""
3628| #define PACKAGE_STRING ""
3629| #define PACKAGE_BUGREPORT ""
3630| #define PACKAGE_URL ""
3631| #define CANONICALIZATION_FOR_MATHN 1
3632| #define STDC_HEADERS 1
3633| #define HAVE_SYS_TYPES_H 1
3634| #define HAVE_SYS_STAT_H 1
3635| #define HAVE_STDLIB_H 1
3636| #define HAVE_STRING_H 1
3637| #define HAVE_MEMORY_H 1
3638| #define HAVE_STRINGS_H 1
3639| #define HAVE_INTTYPES_H 1
3640| #define HAVE_STDINT_H 1
3641| #define HAVE_UNISTD_H 1
3642| #define __EXTENSIONS__ 1
3643| #define _ALL_SOURCE 1
3644| #define _GNU_SOURCE 1
3645| #define _POSIX_PTHREAD_SEMANTICS 1
3646| #define _TANDEM_SOURCE 1
3647| #define HAVE_LONG_LONG 1
3648| #define HAVE_OFF_T 1
3649| #define SIZEOF_INT 4
3650| #define SIZEOF_SHORT 2
3651| #define SIZEOF_LONG 8
3652| #define SIZEOF_LONG_LONG 8
3653| #define SIZEOF___INT64 0
3654| #define SIZEOF_OFF_T 8
3655| #define SIZEOF_VOIDP 8
3656| #define SIZEOF_FLOAT 4
3657| #define SIZEOF_DOUBLE 8
3658| #define SIZEOF_TIME_T 8
3659| #define PRI_LL_PREFIX "ll"
3660| #define rb_pid_t pid_t
3661| #define PIDT2NUM(v) INT2NUM(v)
3662| #define NUM2PIDT(v) NUM2INT(v)
3663| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
3664| #define rb_uid_t uid_t
3665| #define UIDT2NUM(v) UINT2NUM(v)
3666| #define NUM2UIDT(v) NUM2UINT(v)
3667| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
3668| #define rb_gid_t gid_t
3669| #define GIDT2NUM(v) UINT2NUM(v)
3670| #define NUM2GIDT(v) NUM2UINT(v)
3671| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
3672| #define rb_time_t time_t
3673| #define TIMET2NUM(v) LONG2NUM(v)
3674| #define NUM2TIMET(v) NUM2LONG(v)
3675| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
3676| #define rb_dev_t dev_t
3677| #define DEVT2NUM(v) INT2NUM(v)
3678| #define NUM2DEVT(v) NUM2INT(v)
3679| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
3680| #define rb_mode_t mode_t
3681| #define MODET2NUM(v) UINT2NUM(v)
3682| #define NUM2MODET(v) NUM2UINT(v)
3683| #define PRI_MODET_PREFIX PRI_INT_PREFIX
3684| #define rb_rlim_t rlim_t
3685| #define RLIM2NUM(v) ULL2NUM(v)
3686| #define NUM2RLIM(v) NUM2ULL(v)
3687| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
3688| #define HAVE_PROTOTYPES 1
3689| #define TOKEN_PASTE(x,y) x##y
3690| #define STRINGIZE(expr) STRINGIZE0(expr)
3691| #define HAVE_STDARG_PROTOTYPES 1
3692| #define HAVE_VA_ARGS_MACRO 1
3693| #define NORETURN(x) __attribute__ ((noreturn)) x
3694| #define DEPRECATED(x) __attribute__ ((deprecated)) x
3695| #define NOINLINE(x) __attribute__ ((noinline)) x
3696| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
3697| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
3698| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
3699| #define HAVE_GCC_ATOMIC_BUILTINS 1
3700| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
3701| #define HAVE_DECL_SYS_NERR 1
3702| #define HAVE_LIBDL 1
3703| #define HAVE_DIRENT_H 1
3704| /* end confdefs.h.  */
3705| #include <stdio.h>
3706| #ifdef HAVE_SYS_TYPES_H
3707| # include <sys/types.h>
3708| #endif
3709| #ifdef HAVE_SYS_STAT_H
3710| # include <sys/stat.h>
3711| #endif
3712| #ifdef STDC_HEADERS
3713| # include <stdlib.h>
3714| # include <stddef.h>
3715| #else
3716| # ifdef HAVE_STDLIB_H
3717| #  include <stdlib.h>
3718| # endif
3719| #endif
3720| #ifdef HAVE_STRING_H
3721| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
3722| #  include <memory.h>
3723| # endif
3724| # include <string.h>
3725| #endif
3726| #ifdef HAVE_STRINGS_H
3727| # include <strings.h>
3728| #endif
3729| #ifdef HAVE_INTTYPES_H
3730| # include <inttypes.h>
3731| #endif
3732| #ifdef HAVE_STDINT_H
3733| # include <stdint.h>
3734| #endif
3735| #ifdef HAVE_UNISTD_H
3736| # include <unistd.h>
3737| #endif
3738| int
3739| main ()
3740| {
3741| if (sizeof ((_Bool)))
3742|           return 0;
3743|   ;
3744|   return 0;
3745| }
3746configure:11145: result: yes
3747configure:11161: checking for sys/wait.h that is POSIX.1 compatible
3748configure:11187: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
3749configure:11187: $? = 0
3750configure:11194: result: yes
3751configure:11210: checking limits.h usability
3752configure:11210: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
3753configure:11210: $? = 0
3754configure:11210: result: yes
3755configure:11210: checking limits.h presence
3756configure:11210: /usr/bin/clang -E -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c
3757configure:11210: $? = 0
3758configure:11210: result: yes
3759configure:11210: checking for limits.h
3760configure:11210: result: yes
3761configure:11210: checking sys/file.h usability
3762configure:11210: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
3763configure:11210: $? = 0
3764configure:11210: result: yes
3765configure:11210: checking sys/file.h presence
3766configure:11210: /usr/bin/clang -E -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c
3767configure:11210: $? = 0
3768configure:11210: result: yes
3769configure:11210: checking for sys/file.h
3770configure:11210: result: yes
3771configure:11210: checking sys/ioctl.h usability
3772configure:11210: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
3773configure:11210: $? = 0
3774configure:11210: result: yes
3775configure:11210: checking sys/ioctl.h presence
3776configure:11210: /usr/bin/clang -E -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c
3777configure:11210: $? = 0
3778configure:11210: result: yes
3779configure:11210: checking for sys/ioctl.h
3780configure:11210: result: yes
3781configure:11210: checking sys/syscall.h usability
3782configure:11210: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
3783configure:11210: $? = 0
3784configure:11210: result: yes
3785configure:11210: checking sys/syscall.h presence
3786configure:11210: /usr/bin/clang -E -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c
3787configure:11210: $? = 0
3788configure:11210: result: yes
3789configure:11210: checking for sys/syscall.h
3790configure:11210: result: yes
3791configure:11210: checking fcntl.h usability
3792configure:11210: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
3793configure:11210: $? = 0
3794configure:11210: result: yes
3795configure:11210: checking fcntl.h presence
3796configure:11210: /usr/bin/clang -E -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c
3797configure:11210: $? = 0
3798configure:11210: result: yes
3799configure:11210: checking for fcntl.h
3800configure:11210: result: yes
3801configure:11210: checking sys/fcntl.h usability
3802configure:11210: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
3803configure:11210: $? = 0
3804configure:11210: result: yes
3805configure:11210: checking sys/fcntl.h presence
3806configure:11210: /usr/bin/clang -E -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c
3807configure:11210: $? = 0
3808configure:11210: result: yes
3809configure:11210: checking for sys/fcntl.h
3810configure:11210: result: yes
3811configure:11210: checking sys/select.h usability
3812configure:11210: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
3813configure:11210: $? = 0
3814configure:11210: result: yes
3815configure:11210: checking sys/select.h presence
3816configure:11210: /usr/bin/clang -E -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c
3817configure:11210: $? = 0
3818configure:11210: result: yes
3819configure:11210: checking for sys/select.h
3820configure:11210: result: yes
3821configure:11210: checking sys/time.h usability
3822configure:11210: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
3823configure:11210: $? = 0
3824configure:11210: result: yes
3825configure:11210: checking sys/time.h presence
3826configure:11210: /usr/bin/clang -E -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c
3827configure:11210: $? = 0
3828configure:11210: result: yes
3829configure:11210: checking for sys/time.h
3830configure:11210: result: yes
3831configure:11210: checking sys/times.h usability
3832configure:11210: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
3833configure:11210: $? = 0
3834configure:11210: result: yes
3835configure:11210: checking sys/times.h presence
3836configure:11210: /usr/bin/clang -E -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c
3837configure:11210: $? = 0
3838configure:11210: result: yes
3839configure:11210: checking for sys/times.h
3840configure:11210: result: yes
3841configure:11210: checking sys/param.h usability
3842configure:11210: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
3843configure:11210: $? = 0
3844configure:11210: result: yes
3845configure:11210: checking sys/param.h presence
3846configure:11210: /usr/bin/clang -E -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c
3847configure:11210: $? = 0
3848configure:11210: result: yes
3849configure:11210: checking for sys/param.h
3850configure:11210: result: yes
3851configure:11210: checking syscall.h usability
3852configure:11210: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
3853conftest.c:128:10: fatal error: 'syscall.h' file not found
3854#include <syscall.h>
3855         ^
38561 error generated.
3857configure:11210: $? = 1
3858configure: failed program was:
3859| /* confdefs.h */
3860| #define PACKAGE_NAME ""
3861| #define PACKAGE_TARNAME ""
3862| #define PACKAGE_VERSION ""
3863| #define PACKAGE_STRING ""
3864| #define PACKAGE_BUGREPORT ""
3865| #define PACKAGE_URL ""
3866| #define CANONICALIZATION_FOR_MATHN 1
3867| #define STDC_HEADERS 1
3868| #define HAVE_SYS_TYPES_H 1
3869| #define HAVE_SYS_STAT_H 1
3870| #define HAVE_STDLIB_H 1
3871| #define HAVE_STRING_H 1
3872| #define HAVE_MEMORY_H 1
3873| #define HAVE_STRINGS_H 1
3874| #define HAVE_INTTYPES_H 1
3875| #define HAVE_STDINT_H 1
3876| #define HAVE_UNISTD_H 1
3877| #define __EXTENSIONS__ 1
3878| #define _ALL_SOURCE 1
3879| #define _GNU_SOURCE 1
3880| #define _POSIX_PTHREAD_SEMANTICS 1
3881| #define _TANDEM_SOURCE 1
3882| #define HAVE_LONG_LONG 1
3883| #define HAVE_OFF_T 1
3884| #define SIZEOF_INT 4
3885| #define SIZEOF_SHORT 2
3886| #define SIZEOF_LONG 8
3887| #define SIZEOF_LONG_LONG 8
3888| #define SIZEOF___INT64 0
3889| #define SIZEOF_OFF_T 8
3890| #define SIZEOF_VOIDP 8
3891| #define SIZEOF_FLOAT 4
3892| #define SIZEOF_DOUBLE 8
3893| #define SIZEOF_TIME_T 8
3894| #define PRI_LL_PREFIX "ll"
3895| #define rb_pid_t pid_t
3896| #define PIDT2NUM(v) INT2NUM(v)
3897| #define NUM2PIDT(v) NUM2INT(v)
3898| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
3899| #define rb_uid_t uid_t
3900| #define UIDT2NUM(v) UINT2NUM(v)
3901| #define NUM2UIDT(v) NUM2UINT(v)
3902| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
3903| #define rb_gid_t gid_t
3904| #define GIDT2NUM(v) UINT2NUM(v)
3905| #define NUM2GIDT(v) NUM2UINT(v)
3906| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
3907| #define rb_time_t time_t
3908| #define TIMET2NUM(v) LONG2NUM(v)
3909| #define NUM2TIMET(v) NUM2LONG(v)
3910| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
3911| #define rb_dev_t dev_t
3912| #define DEVT2NUM(v) INT2NUM(v)
3913| #define NUM2DEVT(v) NUM2INT(v)
3914| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
3915| #define rb_mode_t mode_t
3916| #define MODET2NUM(v) UINT2NUM(v)
3917| #define NUM2MODET(v) NUM2UINT(v)
3918| #define PRI_MODET_PREFIX PRI_INT_PREFIX
3919| #define rb_rlim_t rlim_t
3920| #define RLIM2NUM(v) ULL2NUM(v)
3921| #define NUM2RLIM(v) NUM2ULL(v)
3922| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
3923| #define HAVE_PROTOTYPES 1
3924| #define TOKEN_PASTE(x,y) x##y
3925| #define STRINGIZE(expr) STRINGIZE0(expr)
3926| #define HAVE_STDARG_PROTOTYPES 1
3927| #define HAVE_VA_ARGS_MACRO 1
3928| #define NORETURN(x) __attribute__ ((noreturn)) x
3929| #define DEPRECATED(x) __attribute__ ((deprecated)) x
3930| #define NOINLINE(x) __attribute__ ((noinline)) x
3931| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
3932| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
3933| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
3934| #define HAVE_GCC_ATOMIC_BUILTINS 1
3935| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
3936| #define HAVE_DECL_SYS_NERR 1
3937| #define HAVE_LIBDL 1
3938| #define HAVE_DIRENT_H 1
3939| #define HAVE__BOOL 1
3940| #define HAVE_STDBOOL_H 1
3941| #define HAVE_SYS_WAIT_H 1
3942| #define HAVE_LIMITS_H 1
3943| #define HAVE_SYS_FILE_H 1
3944| #define HAVE_SYS_IOCTL_H 1
3945| #define HAVE_SYS_SYSCALL_H 1
3946| #define HAVE_FCNTL_H 1
3947| #define HAVE_SYS_FCNTL_H 1
3948| #define HAVE_SYS_SELECT_H 1
3949| #define HAVE_SYS_TIME_H 1
3950| #define HAVE_SYS_TIMES_H 1
3951| #define HAVE_SYS_PARAM_H 1
3952| /* end confdefs.h.  */
3953| #include <stdio.h>
3954| #ifdef HAVE_SYS_TYPES_H
3955| # include <sys/types.h>
3956| #endif
3957| #ifdef HAVE_SYS_STAT_H
3958| # include <sys/stat.h>
3959| #endif
3960| #ifdef STDC_HEADERS
3961| # include <stdlib.h>
3962| # include <stddef.h>
3963| #else
3964| # ifdef HAVE_STDLIB_H
3965| #  include <stdlib.h>
3966| # endif
3967| #endif
3968| #ifdef HAVE_STRING_H
3969| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
3970| #  include <memory.h>
3971| # endif
3972| # include <string.h>
3973| #endif
3974| #ifdef HAVE_STRINGS_H
3975| # include <strings.h>
3976| #endif
3977| #ifdef HAVE_INTTYPES_H
3978| # include <inttypes.h>
3979| #endif
3980| #ifdef HAVE_STDINT_H
3981| # include <stdint.h>
3982| #endif
3983| #ifdef HAVE_UNISTD_H
3984| # include <unistd.h>
3985| #endif
3986| #include <syscall.h>
3987configure:11210: result: no
3988configure:11210: checking syscall.h presence
3989configure:11210: /usr/bin/clang -E -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c
3990conftest.c:95:10: fatal error: 'syscall.h' file not found
3991#include <syscall.h>
3992         ^
39931 error generated.
3994configure:11210: $? = 1
3995configure: failed program was:
3996| /* confdefs.h */
3997| #define PACKAGE_NAME ""
3998| #define PACKAGE_TARNAME ""
3999| #define PACKAGE_VERSION ""
4000| #define PACKAGE_STRING ""
4001| #define PACKAGE_BUGREPORT ""
4002| #define PACKAGE_URL ""
4003| #define CANONICALIZATION_FOR_MATHN 1
4004| #define STDC_HEADERS 1
4005| #define HAVE_SYS_TYPES_H 1
4006| #define HAVE_SYS_STAT_H 1
4007| #define HAVE_STDLIB_H 1
4008| #define HAVE_STRING_H 1
4009| #define HAVE_MEMORY_H 1
4010| #define HAVE_STRINGS_H 1
4011| #define HAVE_INTTYPES_H 1
4012| #define HAVE_STDINT_H 1
4013| #define HAVE_UNISTD_H 1
4014| #define __EXTENSIONS__ 1
4015| #define _ALL_SOURCE 1
4016| #define _GNU_SOURCE 1
4017| #define _POSIX_PTHREAD_SEMANTICS 1
4018| #define _TANDEM_SOURCE 1
4019| #define HAVE_LONG_LONG 1
4020| #define HAVE_OFF_T 1
4021| #define SIZEOF_INT 4
4022| #define SIZEOF_SHORT 2
4023| #define SIZEOF_LONG 8
4024| #define SIZEOF_LONG_LONG 8
4025| #define SIZEOF___INT64 0
4026| #define SIZEOF_OFF_T 8
4027| #define SIZEOF_VOIDP 8
4028| #define SIZEOF_FLOAT 4
4029| #define SIZEOF_DOUBLE 8
4030| #define SIZEOF_TIME_T 8
4031| #define PRI_LL_PREFIX "ll"
4032| #define rb_pid_t pid_t
4033| #define PIDT2NUM(v) INT2NUM(v)
4034| #define NUM2PIDT(v) NUM2INT(v)
4035| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
4036| #define rb_uid_t uid_t
4037| #define UIDT2NUM(v) UINT2NUM(v)
4038| #define NUM2UIDT(v) NUM2UINT(v)
4039| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
4040| #define rb_gid_t gid_t
4041| #define GIDT2NUM(v) UINT2NUM(v)
4042| #define NUM2GIDT(v) NUM2UINT(v)
4043| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
4044| #define rb_time_t time_t
4045| #define TIMET2NUM(v) LONG2NUM(v)
4046| #define NUM2TIMET(v) NUM2LONG(v)
4047| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
4048| #define rb_dev_t dev_t
4049| #define DEVT2NUM(v) INT2NUM(v)
4050| #define NUM2DEVT(v) NUM2INT(v)
4051| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
4052| #define rb_mode_t mode_t
4053| #define MODET2NUM(v) UINT2NUM(v)
4054| #define NUM2MODET(v) NUM2UINT(v)
4055| #define PRI_MODET_PREFIX PRI_INT_PREFIX
4056| #define rb_rlim_t rlim_t
4057| #define RLIM2NUM(v) ULL2NUM(v)
4058| #define NUM2RLIM(v) NUM2ULL(v)
4059| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
4060| #define HAVE_PROTOTYPES 1
4061| #define TOKEN_PASTE(x,y) x##y
4062| #define STRINGIZE(expr) STRINGIZE0(expr)
4063| #define HAVE_STDARG_PROTOTYPES 1
4064| #define HAVE_VA_ARGS_MACRO 1
4065| #define NORETURN(x) __attribute__ ((noreturn)) x
4066| #define DEPRECATED(x) __attribute__ ((deprecated)) x
4067| #define NOINLINE(x) __attribute__ ((noinline)) x
4068| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
4069| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
4070| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
4071| #define HAVE_GCC_ATOMIC_BUILTINS 1
4072| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
4073| #define HAVE_DECL_SYS_NERR 1
4074| #define HAVE_LIBDL 1
4075| #define HAVE_DIRENT_H 1
4076| #define HAVE__BOOL 1
4077| #define HAVE_STDBOOL_H 1
4078| #define HAVE_SYS_WAIT_H 1
4079| #define HAVE_LIMITS_H 1
4080| #define HAVE_SYS_FILE_H 1
4081| #define HAVE_SYS_IOCTL_H 1
4082| #define HAVE_SYS_SYSCALL_H 1
4083| #define HAVE_FCNTL_H 1
4084| #define HAVE_SYS_FCNTL_H 1
4085| #define HAVE_SYS_SELECT_H 1
4086| #define HAVE_SYS_TIME_H 1
4087| #define HAVE_SYS_TIMES_H 1
4088| #define HAVE_SYS_PARAM_H 1
4089| /* end confdefs.h.  */
4090| #include <syscall.h>
4091configure:11210: result: no
4092configure:11210: checking for syscall.h
4093configure:11210: result: no
4094configure:11210: checking pwd.h usability
4095configure:11210: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
4096configure:11210: $? = 0
4097configure:11210: result: yes
4098configure:11210: checking pwd.h presence
4099configure:11210: /usr/bin/clang -E -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c
4100configure:11210: $? = 0
4101configure:11210: result: yes
4102configure:11210: checking for pwd.h
4103configure:11210: result: yes
4104configure:11210: checking grp.h usability
4105configure:11210: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
4106configure:11210: $? = 0
4107configure:11210: result: yes
4108configure:11210: checking grp.h presence
4109configure:11210: /usr/bin/clang -E -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c
4110configure:11210: $? = 0
4111configure:11210: result: yes
4112configure:11210: checking for grp.h
4113configure:11210: result: yes
4114configure:11210: checking a.out.h usability
4115configure:11210: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
4116conftest.c:130:10: fatal error: 'a.out.h' file not found
4117#include <a.out.h>
4118         ^
41191 error generated.
4120configure:11210: $? = 1
4121configure: failed program was:
4122| /* confdefs.h */
4123| #define PACKAGE_NAME ""
4124| #define PACKAGE_TARNAME ""
4125| #define PACKAGE_VERSION ""
4126| #define PACKAGE_STRING ""
4127| #define PACKAGE_BUGREPORT ""
4128| #define PACKAGE_URL ""
4129| #define CANONICALIZATION_FOR_MATHN 1
4130| #define STDC_HEADERS 1
4131| #define HAVE_SYS_TYPES_H 1
4132| #define HAVE_SYS_STAT_H 1
4133| #define HAVE_STDLIB_H 1
4134| #define HAVE_STRING_H 1
4135| #define HAVE_MEMORY_H 1
4136| #define HAVE_STRINGS_H 1
4137| #define HAVE_INTTYPES_H 1
4138| #define HAVE_STDINT_H 1
4139| #define HAVE_UNISTD_H 1
4140| #define __EXTENSIONS__ 1
4141| #define _ALL_SOURCE 1
4142| #define _GNU_SOURCE 1
4143| #define _POSIX_PTHREAD_SEMANTICS 1
4144| #define _TANDEM_SOURCE 1
4145| #define HAVE_LONG_LONG 1
4146| #define HAVE_OFF_T 1
4147| #define SIZEOF_INT 4
4148| #define SIZEOF_SHORT 2
4149| #define SIZEOF_LONG 8
4150| #define SIZEOF_LONG_LONG 8
4151| #define SIZEOF___INT64 0
4152| #define SIZEOF_OFF_T 8
4153| #define SIZEOF_VOIDP 8
4154| #define SIZEOF_FLOAT 4
4155| #define SIZEOF_DOUBLE 8
4156| #define SIZEOF_TIME_T 8
4157| #define PRI_LL_PREFIX "ll"
4158| #define rb_pid_t pid_t
4159| #define PIDT2NUM(v) INT2NUM(v)
4160| #define NUM2PIDT(v) NUM2INT(v)
4161| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
4162| #define rb_uid_t uid_t
4163| #define UIDT2NUM(v) UINT2NUM(v)
4164| #define NUM2UIDT(v) NUM2UINT(v)
4165| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
4166| #define rb_gid_t gid_t
4167| #define GIDT2NUM(v) UINT2NUM(v)
4168| #define NUM2GIDT(v) NUM2UINT(v)
4169| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
4170| #define rb_time_t time_t
4171| #define TIMET2NUM(v) LONG2NUM(v)
4172| #define NUM2TIMET(v) NUM2LONG(v)
4173| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
4174| #define rb_dev_t dev_t
4175| #define DEVT2NUM(v) INT2NUM(v)
4176| #define NUM2DEVT(v) NUM2INT(v)
4177| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
4178| #define rb_mode_t mode_t
4179| #define MODET2NUM(v) UINT2NUM(v)
4180| #define NUM2MODET(v) NUM2UINT(v)
4181| #define PRI_MODET_PREFIX PRI_INT_PREFIX
4182| #define rb_rlim_t rlim_t
4183| #define RLIM2NUM(v) ULL2NUM(v)
4184| #define NUM2RLIM(v) NUM2ULL(v)
4185| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
4186| #define HAVE_PROTOTYPES 1
4187| #define TOKEN_PASTE(x,y) x##y
4188| #define STRINGIZE(expr) STRINGIZE0(expr)
4189| #define HAVE_STDARG_PROTOTYPES 1
4190| #define HAVE_VA_ARGS_MACRO 1
4191| #define NORETURN(x) __attribute__ ((noreturn)) x
4192| #define DEPRECATED(x) __attribute__ ((deprecated)) x
4193| #define NOINLINE(x) __attribute__ ((noinline)) x
4194| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
4195| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
4196| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
4197| #define HAVE_GCC_ATOMIC_BUILTINS 1
4198| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
4199| #define HAVE_DECL_SYS_NERR 1
4200| #define HAVE_LIBDL 1
4201| #define HAVE_DIRENT_H 1
4202| #define HAVE__BOOL 1
4203| #define HAVE_STDBOOL_H 1
4204| #define HAVE_SYS_WAIT_H 1
4205| #define HAVE_LIMITS_H 1
4206| #define HAVE_SYS_FILE_H 1
4207| #define HAVE_SYS_IOCTL_H 1
4208| #define HAVE_SYS_SYSCALL_H 1
4209| #define HAVE_FCNTL_H 1
4210| #define HAVE_SYS_FCNTL_H 1
4211| #define HAVE_SYS_SELECT_H 1
4212| #define HAVE_SYS_TIME_H 1
4213| #define HAVE_SYS_TIMES_H 1
4214| #define HAVE_SYS_PARAM_H 1
4215| #define HAVE_PWD_H 1
4216| #define HAVE_GRP_H 1
4217| /* end confdefs.h.  */
4218| #include <stdio.h>
4219| #ifdef HAVE_SYS_TYPES_H
4220| # include <sys/types.h>
4221| #endif
4222| #ifdef HAVE_SYS_STAT_H
4223| # include <sys/stat.h>
4224| #endif
4225| #ifdef STDC_HEADERS
4226| # include <stdlib.h>
4227| # include <stddef.h>
4228| #else
4229| # ifdef HAVE_STDLIB_H
4230| #  include <stdlib.h>
4231| # endif
4232| #endif
4233| #ifdef HAVE_STRING_H
4234| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
4235| #  include <memory.h>
4236| # endif
4237| # include <string.h>
4238| #endif
4239| #ifdef HAVE_STRINGS_H
4240| # include <strings.h>
4241| #endif
4242| #ifdef HAVE_INTTYPES_H
4243| # include <inttypes.h>
4244| #endif
4245| #ifdef HAVE_STDINT_H
4246| # include <stdint.h>
4247| #endif
4248| #ifdef HAVE_UNISTD_H
4249| # include <unistd.h>
4250| #endif
4251| #include <a.out.h>
4252configure:11210: result: no
4253configure:11210: checking a.out.h presence
4254configure:11210: /usr/bin/clang -E -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c
4255conftest.c:97:10: fatal error: 'a.out.h' file not found
4256#include <a.out.h>
4257         ^
42581 error generated.
4259configure:11210: $? = 1
4260configure: failed program was:
4261| /* confdefs.h */
4262| #define PACKAGE_NAME ""
4263| #define PACKAGE_TARNAME ""
4264| #define PACKAGE_VERSION ""
4265| #define PACKAGE_STRING ""
4266| #define PACKAGE_BUGREPORT ""
4267| #define PACKAGE_URL ""
4268| #define CANONICALIZATION_FOR_MATHN 1
4269| #define STDC_HEADERS 1
4270| #define HAVE_SYS_TYPES_H 1
4271| #define HAVE_SYS_STAT_H 1
4272| #define HAVE_STDLIB_H 1
4273| #define HAVE_STRING_H 1
4274| #define HAVE_MEMORY_H 1
4275| #define HAVE_STRINGS_H 1
4276| #define HAVE_INTTYPES_H 1
4277| #define HAVE_STDINT_H 1
4278| #define HAVE_UNISTD_H 1
4279| #define __EXTENSIONS__ 1
4280| #define _ALL_SOURCE 1
4281| #define _GNU_SOURCE 1
4282| #define _POSIX_PTHREAD_SEMANTICS 1
4283| #define _TANDEM_SOURCE 1
4284| #define HAVE_LONG_LONG 1
4285| #define HAVE_OFF_T 1
4286| #define SIZEOF_INT 4
4287| #define SIZEOF_SHORT 2
4288| #define SIZEOF_LONG 8
4289| #define SIZEOF_LONG_LONG 8
4290| #define SIZEOF___INT64 0
4291| #define SIZEOF_OFF_T 8
4292| #define SIZEOF_VOIDP 8
4293| #define SIZEOF_FLOAT 4
4294| #define SIZEOF_DOUBLE 8
4295| #define SIZEOF_TIME_T 8
4296| #define PRI_LL_PREFIX "ll"
4297| #define rb_pid_t pid_t
4298| #define PIDT2NUM(v) INT2NUM(v)
4299| #define NUM2PIDT(v) NUM2INT(v)
4300| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
4301| #define rb_uid_t uid_t
4302| #define UIDT2NUM(v) UINT2NUM(v)
4303| #define NUM2UIDT(v) NUM2UINT(v)
4304| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
4305| #define rb_gid_t gid_t
4306| #define GIDT2NUM(v) UINT2NUM(v)
4307| #define NUM2GIDT(v) NUM2UINT(v)
4308| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
4309| #define rb_time_t time_t
4310| #define TIMET2NUM(v) LONG2NUM(v)
4311| #define NUM2TIMET(v) NUM2LONG(v)
4312| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
4313| #define rb_dev_t dev_t
4314| #define DEVT2NUM(v) INT2NUM(v)
4315| #define NUM2DEVT(v) NUM2INT(v)
4316| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
4317| #define rb_mode_t mode_t
4318| #define MODET2NUM(v) UINT2NUM(v)
4319| #define NUM2MODET(v) NUM2UINT(v)
4320| #define PRI_MODET_PREFIX PRI_INT_PREFIX
4321| #define rb_rlim_t rlim_t
4322| #define RLIM2NUM(v) ULL2NUM(v)
4323| #define NUM2RLIM(v) NUM2ULL(v)
4324| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
4325| #define HAVE_PROTOTYPES 1
4326| #define TOKEN_PASTE(x,y) x##y
4327| #define STRINGIZE(expr) STRINGIZE0(expr)
4328| #define HAVE_STDARG_PROTOTYPES 1
4329| #define HAVE_VA_ARGS_MACRO 1
4330| #define NORETURN(x) __attribute__ ((noreturn)) x
4331| #define DEPRECATED(x) __attribute__ ((deprecated)) x
4332| #define NOINLINE(x) __attribute__ ((noinline)) x
4333| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
4334| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
4335| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
4336| #define HAVE_GCC_ATOMIC_BUILTINS 1
4337| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
4338| #define HAVE_DECL_SYS_NERR 1
4339| #define HAVE_LIBDL 1
4340| #define HAVE_DIRENT_H 1
4341| #define HAVE__BOOL 1
4342| #define HAVE_STDBOOL_H 1
4343| #define HAVE_SYS_WAIT_H 1
4344| #define HAVE_LIMITS_H 1
4345| #define HAVE_SYS_FILE_H 1
4346| #define HAVE_SYS_IOCTL_H 1
4347| #define HAVE_SYS_SYSCALL_H 1
4348| #define HAVE_FCNTL_H 1
4349| #define HAVE_SYS_FCNTL_H 1
4350| #define HAVE_SYS_SELECT_H 1
4351| #define HAVE_SYS_TIME_H 1
4352| #define HAVE_SYS_TIMES_H 1
4353| #define HAVE_SYS_PARAM_H 1
4354| #define HAVE_PWD_H 1
4355| #define HAVE_GRP_H 1
4356| /* end confdefs.h.  */
4357| #include <a.out.h>
4358configure:11210: result: no
4359configure:11210: checking for a.out.h
4360configure:11210: result: no
4361configure:11210: checking utime.h usability
4362configure:11210: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
4363configure:11210: $? = 0
4364configure:11210: result: yes
4365configure:11210: checking utime.h presence
4366configure:11210: /usr/bin/clang -E -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c
4367configure:11210: $? = 0
4368configure:11210: result: yes
4369configure:11210: checking for utime.h
4370configure:11210: result: yes
4371configure:11210: checking direct.h usability
4372configure:11210: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
4373conftest.c:131:10: fatal error: 'direct.h' file not found
4374#include <direct.h>
4375         ^
43761 error generated.
4377configure:11210: $? = 1
4378configure: failed program was:
4379| /* confdefs.h */
4380| #define PACKAGE_NAME ""
4381| #define PACKAGE_TARNAME ""
4382| #define PACKAGE_VERSION ""
4383| #define PACKAGE_STRING ""
4384| #define PACKAGE_BUGREPORT ""
4385| #define PACKAGE_URL ""
4386| #define CANONICALIZATION_FOR_MATHN 1
4387| #define STDC_HEADERS 1
4388| #define HAVE_SYS_TYPES_H 1
4389| #define HAVE_SYS_STAT_H 1
4390| #define HAVE_STDLIB_H 1
4391| #define HAVE_STRING_H 1
4392| #define HAVE_MEMORY_H 1
4393| #define HAVE_STRINGS_H 1
4394| #define HAVE_INTTYPES_H 1
4395| #define HAVE_STDINT_H 1
4396| #define HAVE_UNISTD_H 1
4397| #define __EXTENSIONS__ 1
4398| #define _ALL_SOURCE 1
4399| #define _GNU_SOURCE 1
4400| #define _POSIX_PTHREAD_SEMANTICS 1
4401| #define _TANDEM_SOURCE 1
4402| #define HAVE_LONG_LONG 1
4403| #define HAVE_OFF_T 1
4404| #define SIZEOF_INT 4
4405| #define SIZEOF_SHORT 2
4406| #define SIZEOF_LONG 8
4407| #define SIZEOF_LONG_LONG 8
4408| #define SIZEOF___INT64 0
4409| #define SIZEOF_OFF_T 8
4410| #define SIZEOF_VOIDP 8
4411| #define SIZEOF_FLOAT 4
4412| #define SIZEOF_DOUBLE 8
4413| #define SIZEOF_TIME_T 8
4414| #define PRI_LL_PREFIX "ll"
4415| #define rb_pid_t pid_t
4416| #define PIDT2NUM(v) INT2NUM(v)
4417| #define NUM2PIDT(v) NUM2INT(v)
4418| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
4419| #define rb_uid_t uid_t
4420| #define UIDT2NUM(v) UINT2NUM(v)
4421| #define NUM2UIDT(v) NUM2UINT(v)
4422| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
4423| #define rb_gid_t gid_t
4424| #define GIDT2NUM(v) UINT2NUM(v)
4425| #define NUM2GIDT(v) NUM2UINT(v)
4426| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
4427| #define rb_time_t time_t
4428| #define TIMET2NUM(v) LONG2NUM(v)
4429| #define NUM2TIMET(v) NUM2LONG(v)
4430| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
4431| #define rb_dev_t dev_t
4432| #define DEVT2NUM(v) INT2NUM(v)
4433| #define NUM2DEVT(v) NUM2INT(v)
4434| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
4435| #define rb_mode_t mode_t
4436| #define MODET2NUM(v) UINT2NUM(v)
4437| #define NUM2MODET(v) NUM2UINT(v)
4438| #define PRI_MODET_PREFIX PRI_INT_PREFIX
4439| #define rb_rlim_t rlim_t
4440| #define RLIM2NUM(v) ULL2NUM(v)
4441| #define NUM2RLIM(v) NUM2ULL(v)
4442| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
4443| #define HAVE_PROTOTYPES 1
4444| #define TOKEN_PASTE(x,y) x##y
4445| #define STRINGIZE(expr) STRINGIZE0(expr)
4446| #define HAVE_STDARG_PROTOTYPES 1
4447| #define HAVE_VA_ARGS_MACRO 1
4448| #define NORETURN(x) __attribute__ ((noreturn)) x
4449| #define DEPRECATED(x) __attribute__ ((deprecated)) x
4450| #define NOINLINE(x) __attribute__ ((noinline)) x
4451| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
4452| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
4453| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
4454| #define HAVE_GCC_ATOMIC_BUILTINS 1
4455| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
4456| #define HAVE_DECL_SYS_NERR 1
4457| #define HAVE_LIBDL 1
4458| #define HAVE_DIRENT_H 1
4459| #define HAVE__BOOL 1
4460| #define HAVE_STDBOOL_H 1
4461| #define HAVE_SYS_WAIT_H 1
4462| #define HAVE_LIMITS_H 1
4463| #define HAVE_SYS_FILE_H 1
4464| #define HAVE_SYS_IOCTL_H 1
4465| #define HAVE_SYS_SYSCALL_H 1
4466| #define HAVE_FCNTL_H 1
4467| #define HAVE_SYS_FCNTL_H 1
4468| #define HAVE_SYS_SELECT_H 1
4469| #define HAVE_SYS_TIME_H 1
4470| #define HAVE_SYS_TIMES_H 1
4471| #define HAVE_SYS_PARAM_H 1
4472| #define HAVE_PWD_H 1
4473| #define HAVE_GRP_H 1
4474| #define HAVE_UTIME_H 1
4475| /* end confdefs.h.  */
4476| #include <stdio.h>
4477| #ifdef HAVE_SYS_TYPES_H
4478| # include <sys/types.h>
4479| #endif
4480| #ifdef HAVE_SYS_STAT_H
4481| # include <sys/stat.h>
4482| #endif
4483| #ifdef STDC_HEADERS
4484| # include <stdlib.h>
4485| # include <stddef.h>
4486| #else
4487| # ifdef HAVE_STDLIB_H
4488| #  include <stdlib.h>
4489| # endif
4490| #endif
4491| #ifdef HAVE_STRING_H
4492| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
4493| #  include <memory.h>
4494| # endif
4495| # include <string.h>
4496| #endif
4497| #ifdef HAVE_STRINGS_H
4498| # include <strings.h>
4499| #endif
4500| #ifdef HAVE_INTTYPES_H
4501| # include <inttypes.h>
4502| #endif
4503| #ifdef HAVE_STDINT_H
4504| # include <stdint.h>
4505| #endif
4506| #ifdef HAVE_UNISTD_H
4507| # include <unistd.h>
4508| #endif
4509| #include <direct.h>
4510configure:11210: result: no
4511configure:11210: checking direct.h presence
4512configure:11210: /usr/bin/clang -E -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c
4513conftest.c:98:10: fatal error: 'direct.h' file not found
4514#include <direct.h>
4515         ^
45161 error generated.
4517configure:11210: $? = 1
4518configure: failed program was:
4519| /* confdefs.h */
4520| #define PACKAGE_NAME ""
4521| #define PACKAGE_TARNAME ""
4522| #define PACKAGE_VERSION ""
4523| #define PACKAGE_STRING ""
4524| #define PACKAGE_BUGREPORT ""
4525| #define PACKAGE_URL ""
4526| #define CANONICALIZATION_FOR_MATHN 1
4527| #define STDC_HEADERS 1
4528| #define HAVE_SYS_TYPES_H 1
4529| #define HAVE_SYS_STAT_H 1
4530| #define HAVE_STDLIB_H 1
4531| #define HAVE_STRING_H 1
4532| #define HAVE_MEMORY_H 1
4533| #define HAVE_STRINGS_H 1
4534| #define HAVE_INTTYPES_H 1
4535| #define HAVE_STDINT_H 1
4536| #define HAVE_UNISTD_H 1
4537| #define __EXTENSIONS__ 1
4538| #define _ALL_SOURCE 1
4539| #define _GNU_SOURCE 1
4540| #define _POSIX_PTHREAD_SEMANTICS 1
4541| #define _TANDEM_SOURCE 1
4542| #define HAVE_LONG_LONG 1
4543| #define HAVE_OFF_T 1
4544| #define SIZEOF_INT 4
4545| #define SIZEOF_SHORT 2
4546| #define SIZEOF_LONG 8
4547| #define SIZEOF_LONG_LONG 8
4548| #define SIZEOF___INT64 0
4549| #define SIZEOF_OFF_T 8
4550| #define SIZEOF_VOIDP 8
4551| #define SIZEOF_FLOAT 4
4552| #define SIZEOF_DOUBLE 8
4553| #define SIZEOF_TIME_T 8
4554| #define PRI_LL_PREFIX "ll"
4555| #define rb_pid_t pid_t
4556| #define PIDT2NUM(v) INT2NUM(v)
4557| #define NUM2PIDT(v) NUM2INT(v)
4558| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
4559| #define rb_uid_t uid_t
4560| #define UIDT2NUM(v) UINT2NUM(v)
4561| #define NUM2UIDT(v) NUM2UINT(v)
4562| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
4563| #define rb_gid_t gid_t
4564| #define GIDT2NUM(v) UINT2NUM(v)
4565| #define NUM2GIDT(v) NUM2UINT(v)
4566| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
4567| #define rb_time_t time_t
4568| #define TIMET2NUM(v) LONG2NUM(v)
4569| #define NUM2TIMET(v) NUM2LONG(v)
4570| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
4571| #define rb_dev_t dev_t
4572| #define DEVT2NUM(v) INT2NUM(v)
4573| #define NUM2DEVT(v) NUM2INT(v)
4574| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
4575| #define rb_mode_t mode_t
4576| #define MODET2NUM(v) UINT2NUM(v)
4577| #define NUM2MODET(v) NUM2UINT(v)
4578| #define PRI_MODET_PREFIX PRI_INT_PREFIX
4579| #define rb_rlim_t rlim_t
4580| #define RLIM2NUM(v) ULL2NUM(v)
4581| #define NUM2RLIM(v) NUM2ULL(v)
4582| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
4583| #define HAVE_PROTOTYPES 1
4584| #define TOKEN_PASTE(x,y) x##y
4585| #define STRINGIZE(expr) STRINGIZE0(expr)
4586| #define HAVE_STDARG_PROTOTYPES 1
4587| #define HAVE_VA_ARGS_MACRO 1
4588| #define NORETURN(x) __attribute__ ((noreturn)) x
4589| #define DEPRECATED(x) __attribute__ ((deprecated)) x
4590| #define NOINLINE(x) __attribute__ ((noinline)) x
4591| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
4592| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
4593| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
4594| #define HAVE_GCC_ATOMIC_BUILTINS 1
4595| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
4596| #define HAVE_DECL_SYS_NERR 1
4597| #define HAVE_LIBDL 1
4598| #define HAVE_DIRENT_H 1
4599| #define HAVE__BOOL 1
4600| #define HAVE_STDBOOL_H 1
4601| #define HAVE_SYS_WAIT_H 1
4602| #define HAVE_LIMITS_H 1
4603| #define HAVE_SYS_FILE_H 1
4604| #define HAVE_SYS_IOCTL_H 1
4605| #define HAVE_SYS_SYSCALL_H 1
4606| #define HAVE_FCNTL_H 1
4607| #define HAVE_SYS_FCNTL_H 1
4608| #define HAVE_SYS_SELECT_H 1
4609| #define HAVE_SYS_TIME_H 1
4610| #define HAVE_SYS_TIMES_H 1
4611| #define HAVE_SYS_PARAM_H 1
4612| #define HAVE_PWD_H 1
4613| #define HAVE_GRP_H 1
4614| #define HAVE_UTIME_H 1
4615| /* end confdefs.h.  */
4616| #include <direct.h>
4617configure:11210: result: no
4618configure:11210: checking for direct.h
4619configure:11210: result: no
4620configure:11210: checking sys/resource.h usability
4621configure:11210: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
4622configure:11210: $? = 0
4623configure:11210: result: yes
4624configure:11210: checking sys/resource.h presence
4625configure:11210: /usr/bin/clang -E -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c
4626configure:11210: $? = 0
4627configure:11210: result: yes
4628configure:11210: checking for sys/resource.h
4629configure:11210: result: yes
4630configure:11210: checking sys/mkdev.h usability
4631configure:11210: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
4632conftest.c:132:10: fatal error: 'sys/mkdev.h' file not found
4633#include <sys/mkdev.h>
4634         ^
46351 error generated.
4636configure:11210: $? = 1
4637configure: failed program was:
4638| /* confdefs.h */
4639| #define PACKAGE_NAME ""
4640| #define PACKAGE_TARNAME ""
4641| #define PACKAGE_VERSION ""
4642| #define PACKAGE_STRING ""
4643| #define PACKAGE_BUGREPORT ""
4644| #define PACKAGE_URL ""
4645| #define CANONICALIZATION_FOR_MATHN 1
4646| #define STDC_HEADERS 1
4647| #define HAVE_SYS_TYPES_H 1
4648| #define HAVE_SYS_STAT_H 1
4649| #define HAVE_STDLIB_H 1
4650| #define HAVE_STRING_H 1
4651| #define HAVE_MEMORY_H 1
4652| #define HAVE_STRINGS_H 1
4653| #define HAVE_INTTYPES_H 1
4654| #define HAVE_STDINT_H 1
4655| #define HAVE_UNISTD_H 1
4656| #define __EXTENSIONS__ 1
4657| #define _ALL_SOURCE 1
4658| #define _GNU_SOURCE 1
4659| #define _POSIX_PTHREAD_SEMANTICS 1
4660| #define _TANDEM_SOURCE 1
4661| #define HAVE_LONG_LONG 1
4662| #define HAVE_OFF_T 1
4663| #define SIZEOF_INT 4
4664| #define SIZEOF_SHORT 2
4665| #define SIZEOF_LONG 8
4666| #define SIZEOF_LONG_LONG 8
4667| #define SIZEOF___INT64 0
4668| #define SIZEOF_OFF_T 8
4669| #define SIZEOF_VOIDP 8
4670| #define SIZEOF_FLOAT 4
4671| #define SIZEOF_DOUBLE 8
4672| #define SIZEOF_TIME_T 8
4673| #define PRI_LL_PREFIX "ll"
4674| #define rb_pid_t pid_t
4675| #define PIDT2NUM(v) INT2NUM(v)
4676| #define NUM2PIDT(v) NUM2INT(v)
4677| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
4678| #define rb_uid_t uid_t
4679| #define UIDT2NUM(v) UINT2NUM(v)
4680| #define NUM2UIDT(v) NUM2UINT(v)
4681| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
4682| #define rb_gid_t gid_t
4683| #define GIDT2NUM(v) UINT2NUM(v)
4684| #define NUM2GIDT(v) NUM2UINT(v)
4685| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
4686| #define rb_time_t time_t
4687| #define TIMET2NUM(v) LONG2NUM(v)
4688| #define NUM2TIMET(v) NUM2LONG(v)
4689| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
4690| #define rb_dev_t dev_t
4691| #define DEVT2NUM(v) INT2NUM(v)
4692| #define NUM2DEVT(v) NUM2INT(v)
4693| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
4694| #define rb_mode_t mode_t
4695| #define MODET2NUM(v) UINT2NUM(v)
4696| #define NUM2MODET(v) NUM2UINT(v)
4697| #define PRI_MODET_PREFIX PRI_INT_PREFIX
4698| #define rb_rlim_t rlim_t
4699| #define RLIM2NUM(v) ULL2NUM(v)
4700| #define NUM2RLIM(v) NUM2ULL(v)
4701| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
4702| #define HAVE_PROTOTYPES 1
4703| #define TOKEN_PASTE(x,y) x##y
4704| #define STRINGIZE(expr) STRINGIZE0(expr)
4705| #define HAVE_STDARG_PROTOTYPES 1
4706| #define HAVE_VA_ARGS_MACRO 1
4707| #define NORETURN(x) __attribute__ ((noreturn)) x
4708| #define DEPRECATED(x) __attribute__ ((deprecated)) x
4709| #define NOINLINE(x) __attribute__ ((noinline)) x
4710| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
4711| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
4712| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
4713| #define HAVE_GCC_ATOMIC_BUILTINS 1
4714| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
4715| #define HAVE_DECL_SYS_NERR 1
4716| #define HAVE_LIBDL 1
4717| #define HAVE_DIRENT_H 1
4718| #define HAVE__BOOL 1
4719| #define HAVE_STDBOOL_H 1
4720| #define HAVE_SYS_WAIT_H 1
4721| #define HAVE_LIMITS_H 1
4722| #define HAVE_SYS_FILE_H 1
4723| #define HAVE_SYS_IOCTL_H 1
4724| #define HAVE_SYS_SYSCALL_H 1
4725| #define HAVE_FCNTL_H 1
4726| #define HAVE_SYS_FCNTL_H 1
4727| #define HAVE_SYS_SELECT_H 1
4728| #define HAVE_SYS_TIME_H 1
4729| #define HAVE_SYS_TIMES_H 1
4730| #define HAVE_SYS_PARAM_H 1
4731| #define HAVE_PWD_H 1
4732| #define HAVE_GRP_H 1
4733| #define HAVE_UTIME_H 1
4734| #define HAVE_SYS_RESOURCE_H 1
4735| /* end confdefs.h.  */
4736| #include <stdio.h>
4737| #ifdef HAVE_SYS_TYPES_H
4738| # include <sys/types.h>
4739| #endif
4740| #ifdef HAVE_SYS_STAT_H
4741| # include <sys/stat.h>
4742| #endif
4743| #ifdef STDC_HEADERS
4744| # include <stdlib.h>
4745| # include <stddef.h>
4746| #else
4747| # ifdef HAVE_STDLIB_H
4748| #  include <stdlib.h>
4749| # endif
4750| #endif
4751| #ifdef HAVE_STRING_H
4752| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
4753| #  include <memory.h>
4754| # endif
4755| # include <string.h>
4756| #endif
4757| #ifdef HAVE_STRINGS_H
4758| # include <strings.h>
4759| #endif
4760| #ifdef HAVE_INTTYPES_H
4761| # include <inttypes.h>
4762| #endif
4763| #ifdef HAVE_STDINT_H
4764| # include <stdint.h>
4765| #endif
4766| #ifdef HAVE_UNISTD_H
4767| # include <unistd.h>
4768| #endif
4769| #include <sys/mkdev.h>
4770configure:11210: result: no
4771configure:11210: checking sys/mkdev.h presence
4772configure:11210: /usr/bin/clang -E -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c
4773conftest.c:99:10: fatal error: 'sys/mkdev.h' file not found
4774#include <sys/mkdev.h>
4775         ^
47761 error generated.
4777configure:11210: $? = 1
4778configure: failed program was:
4779| /* confdefs.h */
4780| #define PACKAGE_NAME ""
4781| #define PACKAGE_TARNAME ""
4782| #define PACKAGE_VERSION ""
4783| #define PACKAGE_STRING ""
4784| #define PACKAGE_BUGREPORT ""
4785| #define PACKAGE_URL ""
4786| #define CANONICALIZATION_FOR_MATHN 1
4787| #define STDC_HEADERS 1
4788| #define HAVE_SYS_TYPES_H 1
4789| #define HAVE_SYS_STAT_H 1
4790| #define HAVE_STDLIB_H 1
4791| #define HAVE_STRING_H 1
4792| #define HAVE_MEMORY_H 1
4793| #define HAVE_STRINGS_H 1
4794| #define HAVE_INTTYPES_H 1
4795| #define HAVE_STDINT_H 1
4796| #define HAVE_UNISTD_H 1
4797| #define __EXTENSIONS__ 1
4798| #define _ALL_SOURCE 1
4799| #define _GNU_SOURCE 1
4800| #define _POSIX_PTHREAD_SEMANTICS 1
4801| #define _TANDEM_SOURCE 1
4802| #define HAVE_LONG_LONG 1
4803| #define HAVE_OFF_T 1
4804| #define SIZEOF_INT 4
4805| #define SIZEOF_SHORT 2
4806| #define SIZEOF_LONG 8
4807| #define SIZEOF_LONG_LONG 8
4808| #define SIZEOF___INT64 0
4809| #define SIZEOF_OFF_T 8
4810| #define SIZEOF_VOIDP 8
4811| #define SIZEOF_FLOAT 4
4812| #define SIZEOF_DOUBLE 8
4813| #define SIZEOF_TIME_T 8
4814| #define PRI_LL_PREFIX "ll"
4815| #define rb_pid_t pid_t
4816| #define PIDT2NUM(v) INT2NUM(v)
4817| #define NUM2PIDT(v) NUM2INT(v)
4818| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
4819| #define rb_uid_t uid_t
4820| #define UIDT2NUM(v) UINT2NUM(v)
4821| #define NUM2UIDT(v) NUM2UINT(v)
4822| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
4823| #define rb_gid_t gid_t
4824| #define GIDT2NUM(v) UINT2NUM(v)
4825| #define NUM2GIDT(v) NUM2UINT(v)
4826| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
4827| #define rb_time_t time_t
4828| #define TIMET2NUM(v) LONG2NUM(v)
4829| #define NUM2TIMET(v) NUM2LONG(v)
4830| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
4831| #define rb_dev_t dev_t
4832| #define DEVT2NUM(v) INT2NUM(v)
4833| #define NUM2DEVT(v) NUM2INT(v)
4834| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
4835| #define rb_mode_t mode_t
4836| #define MODET2NUM(v) UINT2NUM(v)
4837| #define NUM2MODET(v) NUM2UINT(v)
4838| #define PRI_MODET_PREFIX PRI_INT_PREFIX
4839| #define rb_rlim_t rlim_t
4840| #define RLIM2NUM(v) ULL2NUM(v)
4841| #define NUM2RLIM(v) NUM2ULL(v)
4842| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
4843| #define HAVE_PROTOTYPES 1
4844| #define TOKEN_PASTE(x,y) x##y
4845| #define STRINGIZE(expr) STRINGIZE0(expr)
4846| #define HAVE_STDARG_PROTOTYPES 1
4847| #define HAVE_VA_ARGS_MACRO 1
4848| #define NORETURN(x) __attribute__ ((noreturn)) x
4849| #define DEPRECATED(x) __attribute__ ((deprecated)) x
4850| #define NOINLINE(x) __attribute__ ((noinline)) x
4851| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
4852| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
4853| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
4854| #define HAVE_GCC_ATOMIC_BUILTINS 1
4855| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
4856| #define HAVE_DECL_SYS_NERR 1
4857| #define HAVE_LIBDL 1
4858| #define HAVE_DIRENT_H 1
4859| #define HAVE__BOOL 1
4860| #define HAVE_STDBOOL_H 1
4861| #define HAVE_SYS_WAIT_H 1
4862| #define HAVE_LIMITS_H 1
4863| #define HAVE_SYS_FILE_H 1
4864| #define HAVE_SYS_IOCTL_H 1
4865| #define HAVE_SYS_SYSCALL_H 1
4866| #define HAVE_FCNTL_H 1
4867| #define HAVE_SYS_FCNTL_H 1
4868| #define HAVE_SYS_SELECT_H 1
4869| #define HAVE_SYS_TIME_H 1
4870| #define HAVE_SYS_TIMES_H 1
4871| #define HAVE_SYS_PARAM_H 1
4872| #define HAVE_PWD_H 1
4873| #define HAVE_GRP_H 1
4874| #define HAVE_UTIME_H 1
4875| #define HAVE_SYS_RESOURCE_H 1
4876| /* end confdefs.h.  */
4877| #include <sys/mkdev.h>
4878configure:11210: result: no
4879configure:11210: checking for sys/mkdev.h
4880configure:11210: result: no
4881configure:11210: checking sys/utime.h usability
4882configure:11210: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
4883conftest.c:132:10: fatal error: 'sys/utime.h' file not found
4884#include <sys/utime.h>
4885         ^
48861 error generated.
4887configure:11210: $? = 1
4888configure: failed program was:
4889| /* confdefs.h */
4890| #define PACKAGE_NAME ""
4891| #define PACKAGE_TARNAME ""
4892| #define PACKAGE_VERSION ""
4893| #define PACKAGE_STRING ""
4894| #define PACKAGE_BUGREPORT ""
4895| #define PACKAGE_URL ""
4896| #define CANONICALIZATION_FOR_MATHN 1
4897| #define STDC_HEADERS 1
4898| #define HAVE_SYS_TYPES_H 1
4899| #define HAVE_SYS_STAT_H 1
4900| #define HAVE_STDLIB_H 1
4901| #define HAVE_STRING_H 1
4902| #define HAVE_MEMORY_H 1
4903| #define HAVE_STRINGS_H 1
4904| #define HAVE_INTTYPES_H 1
4905| #define HAVE_STDINT_H 1
4906| #define HAVE_UNISTD_H 1
4907| #define __EXTENSIONS__ 1
4908| #define _ALL_SOURCE 1
4909| #define _GNU_SOURCE 1
4910| #define _POSIX_PTHREAD_SEMANTICS 1
4911| #define _TANDEM_SOURCE 1
4912| #define HAVE_LONG_LONG 1
4913| #define HAVE_OFF_T 1
4914| #define SIZEOF_INT 4
4915| #define SIZEOF_SHORT 2
4916| #define SIZEOF_LONG 8
4917| #define SIZEOF_LONG_LONG 8
4918| #define SIZEOF___INT64 0
4919| #define SIZEOF_OFF_T 8
4920| #define SIZEOF_VOIDP 8
4921| #define SIZEOF_FLOAT 4
4922| #define SIZEOF_DOUBLE 8
4923| #define SIZEOF_TIME_T 8
4924| #define PRI_LL_PREFIX "ll"
4925| #define rb_pid_t pid_t
4926| #define PIDT2NUM(v) INT2NUM(v)
4927| #define NUM2PIDT(v) NUM2INT(v)
4928| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
4929| #define rb_uid_t uid_t
4930| #define UIDT2NUM(v) UINT2NUM(v)
4931| #define NUM2UIDT(v) NUM2UINT(v)
4932| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
4933| #define rb_gid_t gid_t
4934| #define GIDT2NUM(v) UINT2NUM(v)
4935| #define NUM2GIDT(v) NUM2UINT(v)
4936| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
4937| #define rb_time_t time_t
4938| #define TIMET2NUM(v) LONG2NUM(v)
4939| #define NUM2TIMET(v) NUM2LONG(v)
4940| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
4941| #define rb_dev_t dev_t
4942| #define DEVT2NUM(v) INT2NUM(v)
4943| #define NUM2DEVT(v) NUM2INT(v)
4944| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
4945| #define rb_mode_t mode_t
4946| #define MODET2NUM(v) UINT2NUM(v)
4947| #define NUM2MODET(v) NUM2UINT(v)
4948| #define PRI_MODET_PREFIX PRI_INT_PREFIX
4949| #define rb_rlim_t rlim_t
4950| #define RLIM2NUM(v) ULL2NUM(v)
4951| #define NUM2RLIM(v) NUM2ULL(v)
4952| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
4953| #define HAVE_PROTOTYPES 1
4954| #define TOKEN_PASTE(x,y) x##y
4955| #define STRINGIZE(expr) STRINGIZE0(expr)
4956| #define HAVE_STDARG_PROTOTYPES 1
4957| #define HAVE_VA_ARGS_MACRO 1
4958| #define NORETURN(x) __attribute__ ((noreturn)) x
4959| #define DEPRECATED(x) __attribute__ ((deprecated)) x
4960| #define NOINLINE(x) __attribute__ ((noinline)) x
4961| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
4962| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
4963| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
4964| #define HAVE_GCC_ATOMIC_BUILTINS 1
4965| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
4966| #define HAVE_DECL_SYS_NERR 1
4967| #define HAVE_LIBDL 1
4968| #define HAVE_DIRENT_H 1
4969| #define HAVE__BOOL 1
4970| #define HAVE_STDBOOL_H 1
4971| #define HAVE_SYS_WAIT_H 1
4972| #define HAVE_LIMITS_H 1
4973| #define HAVE_SYS_FILE_H 1
4974| #define HAVE_SYS_IOCTL_H 1
4975| #define HAVE_SYS_SYSCALL_H 1
4976| #define HAVE_FCNTL_H 1
4977| #define HAVE_SYS_FCNTL_H 1
4978| #define HAVE_SYS_SELECT_H 1
4979| #define HAVE_SYS_TIME_H 1
4980| #define HAVE_SYS_TIMES_H 1
4981| #define HAVE_SYS_PARAM_H 1
4982| #define HAVE_PWD_H 1
4983| #define HAVE_GRP_H 1
4984| #define HAVE_UTIME_H 1
4985| #define HAVE_SYS_RESOURCE_H 1
4986| /* end confdefs.h.  */
4987| #include <stdio.h>
4988| #ifdef HAVE_SYS_TYPES_H
4989| # include <sys/types.h>
4990| #endif
4991| #ifdef HAVE_SYS_STAT_H
4992| # include <sys/stat.h>
4993| #endif
4994| #ifdef STDC_HEADERS
4995| # include <stdlib.h>
4996| # include <stddef.h>
4997| #else
4998| # ifdef HAVE_STDLIB_H
4999| #  include <stdlib.h>
5000| # endif
5001| #endif
5002| #ifdef HAVE_STRING_H
5003| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
5004| #  include <memory.h>
5005| # endif
5006| # include <string.h>
5007| #endif
5008| #ifdef HAVE_STRINGS_H
5009| # include <strings.h>
5010| #endif
5011| #ifdef HAVE_INTTYPES_H
5012| # include <inttypes.h>
5013| #endif
5014| #ifdef HAVE_STDINT_H
5015| # include <stdint.h>
5016| #endif
5017| #ifdef HAVE_UNISTD_H
5018| # include <unistd.h>
5019| #endif
5020| #include <sys/utime.h>
5021configure:11210: result: no
5022configure:11210: checking sys/utime.h presence
5023configure:11210: /usr/bin/clang -E -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c
5024conftest.c:99:10: fatal error: 'sys/utime.h' file not found
5025#include <sys/utime.h>
5026         ^
50271 error generated.
5028configure:11210: $? = 1
5029configure: failed program was:
5030| /* confdefs.h */
5031| #define PACKAGE_NAME ""
5032| #define PACKAGE_TARNAME ""
5033| #define PACKAGE_VERSION ""
5034| #define PACKAGE_STRING ""
5035| #define PACKAGE_BUGREPORT ""
5036| #define PACKAGE_URL ""
5037| #define CANONICALIZATION_FOR_MATHN 1
5038| #define STDC_HEADERS 1
5039| #define HAVE_SYS_TYPES_H 1
5040| #define HAVE_SYS_STAT_H 1
5041| #define HAVE_STDLIB_H 1
5042| #define HAVE_STRING_H 1
5043| #define HAVE_MEMORY_H 1
5044| #define HAVE_STRINGS_H 1
5045| #define HAVE_INTTYPES_H 1
5046| #define HAVE_STDINT_H 1
5047| #define HAVE_UNISTD_H 1
5048| #define __EXTENSIONS__ 1
5049| #define _ALL_SOURCE 1
5050| #define _GNU_SOURCE 1
5051| #define _POSIX_PTHREAD_SEMANTICS 1
5052| #define _TANDEM_SOURCE 1
5053| #define HAVE_LONG_LONG 1
5054| #define HAVE_OFF_T 1
5055| #define SIZEOF_INT 4
5056| #define SIZEOF_SHORT 2
5057| #define SIZEOF_LONG 8
5058| #define SIZEOF_LONG_LONG 8
5059| #define SIZEOF___INT64 0
5060| #define SIZEOF_OFF_T 8
5061| #define SIZEOF_VOIDP 8
5062| #define SIZEOF_FLOAT 4
5063| #define SIZEOF_DOUBLE 8
5064| #define SIZEOF_TIME_T 8
5065| #define PRI_LL_PREFIX "ll"
5066| #define rb_pid_t pid_t
5067| #define PIDT2NUM(v) INT2NUM(v)
5068| #define NUM2PIDT(v) NUM2INT(v)
5069| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
5070| #define rb_uid_t uid_t
5071| #define UIDT2NUM(v) UINT2NUM(v)
5072| #define NUM2UIDT(v) NUM2UINT(v)
5073| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
5074| #define rb_gid_t gid_t
5075| #define GIDT2NUM(v) UINT2NUM(v)
5076| #define NUM2GIDT(v) NUM2UINT(v)
5077| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
5078| #define rb_time_t time_t
5079| #define TIMET2NUM(v) LONG2NUM(v)
5080| #define NUM2TIMET(v) NUM2LONG(v)
5081| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
5082| #define rb_dev_t dev_t
5083| #define DEVT2NUM(v) INT2NUM(v)
5084| #define NUM2DEVT(v) NUM2INT(v)
5085| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
5086| #define rb_mode_t mode_t
5087| #define MODET2NUM(v) UINT2NUM(v)
5088| #define NUM2MODET(v) NUM2UINT(v)
5089| #define PRI_MODET_PREFIX PRI_INT_PREFIX
5090| #define rb_rlim_t rlim_t
5091| #define RLIM2NUM(v) ULL2NUM(v)
5092| #define NUM2RLIM(v) NUM2ULL(v)
5093| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
5094| #define HAVE_PROTOTYPES 1
5095| #define TOKEN_PASTE(x,y) x##y
5096| #define STRINGIZE(expr) STRINGIZE0(expr)
5097| #define HAVE_STDARG_PROTOTYPES 1
5098| #define HAVE_VA_ARGS_MACRO 1
5099| #define NORETURN(x) __attribute__ ((noreturn)) x
5100| #define DEPRECATED(x) __attribute__ ((deprecated)) x
5101| #define NOINLINE(x) __attribute__ ((noinline)) x
5102| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
5103| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
5104| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
5105| #define HAVE_GCC_ATOMIC_BUILTINS 1
5106| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
5107| #define HAVE_DECL_SYS_NERR 1
5108| #define HAVE_LIBDL 1
5109| #define HAVE_DIRENT_H 1
5110| #define HAVE__BOOL 1
5111| #define HAVE_STDBOOL_H 1
5112| #define HAVE_SYS_WAIT_H 1
5113| #define HAVE_LIMITS_H 1
5114| #define HAVE_SYS_FILE_H 1
5115| #define HAVE_SYS_IOCTL_H 1
5116| #define HAVE_SYS_SYSCALL_H 1
5117| #define HAVE_FCNTL_H 1
5118| #define HAVE_SYS_FCNTL_H 1
5119| #define HAVE_SYS_SELECT_H 1
5120| #define HAVE_SYS_TIME_H 1
5121| #define HAVE_SYS_TIMES_H 1
5122| #define HAVE_SYS_PARAM_H 1
5123| #define HAVE_PWD_H 1
5124| #define HAVE_GRP_H 1
5125| #define HAVE_UTIME_H 1
5126| #define HAVE_SYS_RESOURCE_H 1
5127| /* end confdefs.h.  */
5128| #include <sys/utime.h>
5129configure:11210: result: no
5130configure:11210: checking for sys/utime.h
5131configure:11210: result: no
5132configure:11210: checking xti.h usability
5133configure:11210: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
5134conftest.c:132:10: fatal error: 'xti.h' file not found
5135#include <xti.h>
5136         ^
51371 error generated.
5138configure:11210: $? = 1
5139configure: failed program was:
5140| /* confdefs.h */
5141| #define PACKAGE_NAME ""
5142| #define PACKAGE_TARNAME ""
5143| #define PACKAGE_VERSION ""
5144| #define PACKAGE_STRING ""
5145| #define PACKAGE_BUGREPORT ""
5146| #define PACKAGE_URL ""
5147| #define CANONICALIZATION_FOR_MATHN 1
5148| #define STDC_HEADERS 1
5149| #define HAVE_SYS_TYPES_H 1
5150| #define HAVE_SYS_STAT_H 1
5151| #define HAVE_STDLIB_H 1
5152| #define HAVE_STRING_H 1
5153| #define HAVE_MEMORY_H 1
5154| #define HAVE_STRINGS_H 1
5155| #define HAVE_INTTYPES_H 1
5156| #define HAVE_STDINT_H 1
5157| #define HAVE_UNISTD_H 1
5158| #define __EXTENSIONS__ 1
5159| #define _ALL_SOURCE 1
5160| #define _GNU_SOURCE 1
5161| #define _POSIX_PTHREAD_SEMANTICS 1
5162| #define _TANDEM_SOURCE 1
5163| #define HAVE_LONG_LONG 1
5164| #define HAVE_OFF_T 1
5165| #define SIZEOF_INT 4
5166| #define SIZEOF_SHORT 2
5167| #define SIZEOF_LONG 8
5168| #define SIZEOF_LONG_LONG 8
5169| #define SIZEOF___INT64 0
5170| #define SIZEOF_OFF_T 8
5171| #define SIZEOF_VOIDP 8
5172| #define SIZEOF_FLOAT 4
5173| #define SIZEOF_DOUBLE 8
5174| #define SIZEOF_TIME_T 8
5175| #define PRI_LL_PREFIX "ll"
5176| #define rb_pid_t pid_t
5177| #define PIDT2NUM(v) INT2NUM(v)
5178| #define NUM2PIDT(v) NUM2INT(v)
5179| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
5180| #define rb_uid_t uid_t
5181| #define UIDT2NUM(v) UINT2NUM(v)
5182| #define NUM2UIDT(v) NUM2UINT(v)
5183| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
5184| #define rb_gid_t gid_t
5185| #define GIDT2NUM(v) UINT2NUM(v)
5186| #define NUM2GIDT(v) NUM2UINT(v)
5187| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
5188| #define rb_time_t time_t
5189| #define TIMET2NUM(v) LONG2NUM(v)
5190| #define NUM2TIMET(v) NUM2LONG(v)
5191| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
5192| #define rb_dev_t dev_t
5193| #define DEVT2NUM(v) INT2NUM(v)
5194| #define NUM2DEVT(v) NUM2INT(v)
5195| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
5196| #define rb_mode_t mode_t
5197| #define MODET2NUM(v) UINT2NUM(v)
5198| #define NUM2MODET(v) NUM2UINT(v)
5199| #define PRI_MODET_PREFIX PRI_INT_PREFIX
5200| #define rb_rlim_t rlim_t
5201| #define RLIM2NUM(v) ULL2NUM(v)
5202| #define NUM2RLIM(v) NUM2ULL(v)
5203| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
5204| #define HAVE_PROTOTYPES 1
5205| #define TOKEN_PASTE(x,y) x##y
5206| #define STRINGIZE(expr) STRINGIZE0(expr)
5207| #define HAVE_STDARG_PROTOTYPES 1
5208| #define HAVE_VA_ARGS_MACRO 1
5209| #define NORETURN(x) __attribute__ ((noreturn)) x
5210| #define DEPRECATED(x) __attribute__ ((deprecated)) x
5211| #define NOINLINE(x) __attribute__ ((noinline)) x
5212| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
5213| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
5214| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
5215| #define HAVE_GCC_ATOMIC_BUILTINS 1
5216| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
5217| #define HAVE_DECL_SYS_NERR 1
5218| #define HAVE_LIBDL 1
5219| #define HAVE_DIRENT_H 1
5220| #define HAVE__BOOL 1
5221| #define HAVE_STDBOOL_H 1
5222| #define HAVE_SYS_WAIT_H 1
5223| #define HAVE_LIMITS_H 1
5224| #define HAVE_SYS_FILE_H 1
5225| #define HAVE_SYS_IOCTL_H 1
5226| #define HAVE_SYS_SYSCALL_H 1
5227| #define HAVE_FCNTL_H 1
5228| #define HAVE_SYS_FCNTL_H 1
5229| #define HAVE_SYS_SELECT_H 1
5230| #define HAVE_SYS_TIME_H 1
5231| #define HAVE_SYS_TIMES_H 1
5232| #define HAVE_SYS_PARAM_H 1
5233| #define HAVE_PWD_H 1
5234| #define HAVE_GRP_H 1
5235| #define HAVE_UTIME_H 1
5236| #define HAVE_SYS_RESOURCE_H 1
5237| /* end confdefs.h.  */
5238| #include <stdio.h>
5239| #ifdef HAVE_SYS_TYPES_H
5240| # include <sys/types.h>
5241| #endif
5242| #ifdef HAVE_SYS_STAT_H
5243| # include <sys/stat.h>
5244| #endif
5245| #ifdef STDC_HEADERS
5246| # include <stdlib.h>
5247| # include <stddef.h>
5248| #else
5249| # ifdef HAVE_STDLIB_H
5250| #  include <stdlib.h>
5251| # endif
5252| #endif
5253| #ifdef HAVE_STRING_H
5254| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
5255| #  include <memory.h>
5256| # endif
5257| # include <string.h>
5258| #endif
5259| #ifdef HAVE_STRINGS_H
5260| # include <strings.h>
5261| #endif
5262| #ifdef HAVE_INTTYPES_H
5263| # include <inttypes.h>
5264| #endif
5265| #ifdef HAVE_STDINT_H
5266| # include <stdint.h>
5267| #endif
5268| #ifdef HAVE_UNISTD_H
5269| # include <unistd.h>
5270| #endif
5271| #include <xti.h>
5272configure:11210: result: no
5273configure:11210: checking xti.h presence
5274configure:11210: /usr/bin/clang -E -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c
5275conftest.c:99:10: fatal error: 'xti.h' file not found
5276#include <xti.h>
5277         ^
52781 error generated.
5279configure:11210: $? = 1
5280configure: failed program was:
5281| /* confdefs.h */
5282| #define PACKAGE_NAME ""
5283| #define PACKAGE_TARNAME ""
5284| #define PACKAGE_VERSION ""
5285| #define PACKAGE_STRING ""
5286| #define PACKAGE_BUGREPORT ""
5287| #define PACKAGE_URL ""
5288| #define CANONICALIZATION_FOR_MATHN 1
5289| #define STDC_HEADERS 1
5290| #define HAVE_SYS_TYPES_H 1
5291| #define HAVE_SYS_STAT_H 1
5292| #define HAVE_STDLIB_H 1
5293| #define HAVE_STRING_H 1
5294| #define HAVE_MEMORY_H 1
5295| #define HAVE_STRINGS_H 1
5296| #define HAVE_INTTYPES_H 1
5297| #define HAVE_STDINT_H 1
5298| #define HAVE_UNISTD_H 1
5299| #define __EXTENSIONS__ 1
5300| #define _ALL_SOURCE 1
5301| #define _GNU_SOURCE 1
5302| #define _POSIX_PTHREAD_SEMANTICS 1
5303| #define _TANDEM_SOURCE 1
5304| #define HAVE_LONG_LONG 1
5305| #define HAVE_OFF_T 1
5306| #define SIZEOF_INT 4
5307| #define SIZEOF_SHORT 2
5308| #define SIZEOF_LONG 8
5309| #define SIZEOF_LONG_LONG 8
5310| #define SIZEOF___INT64 0
5311| #define SIZEOF_OFF_T 8
5312| #define SIZEOF_VOIDP 8
5313| #define SIZEOF_FLOAT 4
5314| #define SIZEOF_DOUBLE 8
5315| #define SIZEOF_TIME_T 8
5316| #define PRI_LL_PREFIX "ll"
5317| #define rb_pid_t pid_t
5318| #define PIDT2NUM(v) INT2NUM(v)
5319| #define NUM2PIDT(v) NUM2INT(v)
5320| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
5321| #define rb_uid_t uid_t
5322| #define UIDT2NUM(v) UINT2NUM(v)
5323| #define NUM2UIDT(v) NUM2UINT(v)
5324| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
5325| #define rb_gid_t gid_t
5326| #define GIDT2NUM(v) UINT2NUM(v)
5327| #define NUM2GIDT(v) NUM2UINT(v)
5328| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
5329| #define rb_time_t time_t
5330| #define TIMET2NUM(v) LONG2NUM(v)
5331| #define NUM2TIMET(v) NUM2LONG(v)
5332| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
5333| #define rb_dev_t dev_t
5334| #define DEVT2NUM(v) INT2NUM(v)
5335| #define NUM2DEVT(v) NUM2INT(v)
5336| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
5337| #define rb_mode_t mode_t
5338| #define MODET2NUM(v) UINT2NUM(v)
5339| #define NUM2MODET(v) NUM2UINT(v)
5340| #define PRI_MODET_PREFIX PRI_INT_PREFIX
5341| #define rb_rlim_t rlim_t
5342| #define RLIM2NUM(v) ULL2NUM(v)
5343| #define NUM2RLIM(v) NUM2ULL(v)
5344| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
5345| #define HAVE_PROTOTYPES 1
5346| #define TOKEN_PASTE(x,y) x##y
5347| #define STRINGIZE(expr) STRINGIZE0(expr)
5348| #define HAVE_STDARG_PROTOTYPES 1
5349| #define HAVE_VA_ARGS_MACRO 1
5350| #define NORETURN(x) __attribute__ ((noreturn)) x
5351| #define DEPRECATED(x) __attribute__ ((deprecated)) x
5352| #define NOINLINE(x) __attribute__ ((noinline)) x
5353| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
5354| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
5355| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
5356| #define HAVE_GCC_ATOMIC_BUILTINS 1
5357| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
5358| #define HAVE_DECL_SYS_NERR 1
5359| #define HAVE_LIBDL 1
5360| #define HAVE_DIRENT_H 1
5361| #define HAVE__BOOL 1
5362| #define HAVE_STDBOOL_H 1
5363| #define HAVE_SYS_WAIT_H 1
5364| #define HAVE_LIMITS_H 1
5365| #define HAVE_SYS_FILE_H 1
5366| #define HAVE_SYS_IOCTL_H 1
5367| #define HAVE_SYS_SYSCALL_H 1
5368| #define HAVE_FCNTL_H 1
5369| #define HAVE_SYS_FCNTL_H 1
5370| #define HAVE_SYS_SELECT_H 1
5371| #define HAVE_SYS_TIME_H 1
5372| #define HAVE_SYS_TIMES_H 1
5373| #define HAVE_SYS_PARAM_H 1
5374| #define HAVE_PWD_H 1
5375| #define HAVE_GRP_H 1
5376| #define HAVE_UTIME_H 1
5377| #define HAVE_SYS_RESOURCE_H 1
5378| /* end confdefs.h.  */
5379| #include <xti.h>
5380configure:11210: result: no
5381configure:11210: checking for xti.h
5382configure:11210: result: no
5383configure:11210: checking netinet/in_systm.h usability
5384configure:11210: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
5385configure:11210: $? = 0
5386configure:11210: result: yes
5387configure:11210: checking netinet/in_systm.h presence
5388configure:11210: /usr/bin/clang -E -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c
5389configure:11210: $? = 0
5390configure:11210: result: yes
5391configure:11210: checking for netinet/in_systm.h
5392configure:11210: result: yes
5393configure:11210: checking float.h usability
5394configure:11210: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
5395configure:11210: $? = 0
5396configure:11210: result: yes
5397configure:11210: checking float.h presence
5398configure:11210: /usr/bin/clang -E -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c
5399configure:11210: $? = 0
5400configure:11210: result: yes
5401configure:11210: checking for float.h
5402configure:11210: result: yes
5403configure:11210: checking ieeefp.h usability
5404configure:11210: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
5405conftest.c:134:10: fatal error: 'ieeefp.h' file not found
5406#include <ieeefp.h>
5407         ^
54081 error generated.
5409configure:11210: $? = 1
5410configure: failed program was:
5411| /* confdefs.h */
5412| #define PACKAGE_NAME ""
5413| #define PACKAGE_TARNAME ""
5414| #define PACKAGE_VERSION ""
5415| #define PACKAGE_STRING ""
5416| #define PACKAGE_BUGREPORT ""
5417| #define PACKAGE_URL ""
5418| #define CANONICALIZATION_FOR_MATHN 1
5419| #define STDC_HEADERS 1
5420| #define HAVE_SYS_TYPES_H 1
5421| #define HAVE_SYS_STAT_H 1
5422| #define HAVE_STDLIB_H 1
5423| #define HAVE_STRING_H 1
5424| #define HAVE_MEMORY_H 1
5425| #define HAVE_STRINGS_H 1
5426| #define HAVE_INTTYPES_H 1
5427| #define HAVE_STDINT_H 1
5428| #define HAVE_UNISTD_H 1
5429| #define __EXTENSIONS__ 1
5430| #define _ALL_SOURCE 1
5431| #define _GNU_SOURCE 1
5432| #define _POSIX_PTHREAD_SEMANTICS 1
5433| #define _TANDEM_SOURCE 1
5434| #define HAVE_LONG_LONG 1
5435| #define HAVE_OFF_T 1
5436| #define SIZEOF_INT 4
5437| #define SIZEOF_SHORT 2
5438| #define SIZEOF_LONG 8
5439| #define SIZEOF_LONG_LONG 8
5440| #define SIZEOF___INT64 0
5441| #define SIZEOF_OFF_T 8
5442| #define SIZEOF_VOIDP 8
5443| #define SIZEOF_FLOAT 4
5444| #define SIZEOF_DOUBLE 8
5445| #define SIZEOF_TIME_T 8
5446| #define PRI_LL_PREFIX "ll"
5447| #define rb_pid_t pid_t
5448| #define PIDT2NUM(v) INT2NUM(v)
5449| #define NUM2PIDT(v) NUM2INT(v)
5450| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
5451| #define rb_uid_t uid_t
5452| #define UIDT2NUM(v) UINT2NUM(v)
5453| #define NUM2UIDT(v) NUM2UINT(v)
5454| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
5455| #define rb_gid_t gid_t
5456| #define GIDT2NUM(v) UINT2NUM(v)
5457| #define NUM2GIDT(v) NUM2UINT(v)
5458| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
5459| #define rb_time_t time_t
5460| #define TIMET2NUM(v) LONG2NUM(v)
5461| #define NUM2TIMET(v) NUM2LONG(v)
5462| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
5463| #define rb_dev_t dev_t
5464| #define DEVT2NUM(v) INT2NUM(v)
5465| #define NUM2DEVT(v) NUM2INT(v)
5466| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
5467| #define rb_mode_t mode_t
5468| #define MODET2NUM(v) UINT2NUM(v)
5469| #define NUM2MODET(v) NUM2UINT(v)
5470| #define PRI_MODET_PREFIX PRI_INT_PREFIX
5471| #define rb_rlim_t rlim_t
5472| #define RLIM2NUM(v) ULL2NUM(v)
5473| #define NUM2RLIM(v) NUM2ULL(v)
5474| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
5475| #define HAVE_PROTOTYPES 1
5476| #define TOKEN_PASTE(x,y) x##y
5477| #define STRINGIZE(expr) STRINGIZE0(expr)
5478| #define HAVE_STDARG_PROTOTYPES 1
5479| #define HAVE_VA_ARGS_MACRO 1
5480| #define NORETURN(x) __attribute__ ((noreturn)) x
5481| #define DEPRECATED(x) __attribute__ ((deprecated)) x
5482| #define NOINLINE(x) __attribute__ ((noinline)) x
5483| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
5484| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
5485| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
5486| #define HAVE_GCC_ATOMIC_BUILTINS 1
5487| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
5488| #define HAVE_DECL_SYS_NERR 1
5489| #define HAVE_LIBDL 1
5490| #define HAVE_DIRENT_H 1
5491| #define HAVE__BOOL 1
5492| #define HAVE_STDBOOL_H 1
5493| #define HAVE_SYS_WAIT_H 1
5494| #define HAVE_LIMITS_H 1
5495| #define HAVE_SYS_FILE_H 1
5496| #define HAVE_SYS_IOCTL_H 1
5497| #define HAVE_SYS_SYSCALL_H 1
5498| #define HAVE_FCNTL_H 1
5499| #define HAVE_SYS_FCNTL_H 1
5500| #define HAVE_SYS_SELECT_H 1
5501| #define HAVE_SYS_TIME_H 1
5502| #define HAVE_SYS_TIMES_H 1
5503| #define HAVE_SYS_PARAM_H 1
5504| #define HAVE_PWD_H 1
5505| #define HAVE_GRP_H 1
5506| #define HAVE_UTIME_H 1
5507| #define HAVE_SYS_RESOURCE_H 1
5508| #define HAVE_NETINET_IN_SYSTM_H 1
5509| #define HAVE_FLOAT_H 1
5510| /* end confdefs.h.  */
5511| #include <stdio.h>
5512| #ifdef HAVE_SYS_TYPES_H
5513| # include <sys/types.h>
5514| #endif
5515| #ifdef HAVE_SYS_STAT_H
5516| # include <sys/stat.h>
5517| #endif
5518| #ifdef STDC_HEADERS
5519| # include <stdlib.h>
5520| # include <stddef.h>
5521| #else
5522| # ifdef HAVE_STDLIB_H
5523| #  include <stdlib.h>
5524| # endif
5525| #endif
5526| #ifdef HAVE_STRING_H
5527| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
5528| #  include <memory.h>
5529| # endif
5530| # include <string.h>
5531| #endif
5532| #ifdef HAVE_STRINGS_H
5533| # include <strings.h>
5534| #endif
5535| #ifdef HAVE_INTTYPES_H
5536| # include <inttypes.h>
5537| #endif
5538| #ifdef HAVE_STDINT_H
5539| # include <stdint.h>
5540| #endif
5541| #ifdef HAVE_UNISTD_H
5542| # include <unistd.h>
5543| #endif
5544| #include <ieeefp.h>
5545configure:11210: result: no
5546configure:11210: checking ieeefp.h presence
5547configure:11210: /usr/bin/clang -E -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c
5548conftest.c:101:10: fatal error: 'ieeefp.h' file not found
5549#include <ieeefp.h>
5550         ^
55511 error generated.
5552configure:11210: $? = 1
5553configure: failed program was:
5554| /* confdefs.h */
5555| #define PACKAGE_NAME ""
5556| #define PACKAGE_TARNAME ""
5557| #define PACKAGE_VERSION ""
5558| #define PACKAGE_STRING ""
5559| #define PACKAGE_BUGREPORT ""
5560| #define PACKAGE_URL ""
5561| #define CANONICALIZATION_FOR_MATHN 1
5562| #define STDC_HEADERS 1
5563| #define HAVE_SYS_TYPES_H 1
5564| #define HAVE_SYS_STAT_H 1
5565| #define HAVE_STDLIB_H 1
5566| #define HAVE_STRING_H 1
5567| #define HAVE_MEMORY_H 1
5568| #define HAVE_STRINGS_H 1
5569| #define HAVE_INTTYPES_H 1
5570| #define HAVE_STDINT_H 1
5571| #define HAVE_UNISTD_H 1
5572| #define __EXTENSIONS__ 1
5573| #define _ALL_SOURCE 1
5574| #define _GNU_SOURCE 1
5575| #define _POSIX_PTHREAD_SEMANTICS 1
5576| #define _TANDEM_SOURCE 1
5577| #define HAVE_LONG_LONG 1
5578| #define HAVE_OFF_T 1
5579| #define SIZEOF_INT 4
5580| #define SIZEOF_SHORT 2
5581| #define SIZEOF_LONG 8
5582| #define SIZEOF_LONG_LONG 8
5583| #define SIZEOF___INT64 0
5584| #define SIZEOF_OFF_T 8
5585| #define SIZEOF_VOIDP 8
5586| #define SIZEOF_FLOAT 4
5587| #define SIZEOF_DOUBLE 8
5588| #define SIZEOF_TIME_T 8
5589| #define PRI_LL_PREFIX "ll"
5590| #define rb_pid_t pid_t
5591| #define PIDT2NUM(v) INT2NUM(v)
5592| #define NUM2PIDT(v) NUM2INT(v)
5593| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
5594| #define rb_uid_t uid_t
5595| #define UIDT2NUM(v) UINT2NUM(v)
5596| #define NUM2UIDT(v) NUM2UINT(v)
5597| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
5598| #define rb_gid_t gid_t
5599| #define GIDT2NUM(v) UINT2NUM(v)
5600| #define NUM2GIDT(v) NUM2UINT(v)
5601| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
5602| #define rb_time_t time_t
5603| #define TIMET2NUM(v) LONG2NUM(v)
5604| #define NUM2TIMET(v) NUM2LONG(v)
5605| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
5606| #define rb_dev_t dev_t
5607| #define DEVT2NUM(v) INT2NUM(v)
5608| #define NUM2DEVT(v) NUM2INT(v)
5609| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
5610| #define rb_mode_t mode_t
5611| #define MODET2NUM(v) UINT2NUM(v)
5612| #define NUM2MODET(v) NUM2UINT(v)
5613| #define PRI_MODET_PREFIX PRI_INT_PREFIX
5614| #define rb_rlim_t rlim_t
5615| #define RLIM2NUM(v) ULL2NUM(v)
5616| #define NUM2RLIM(v) NUM2ULL(v)
5617| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
5618| #define HAVE_PROTOTYPES 1
5619| #define TOKEN_PASTE(x,y) x##y
5620| #define STRINGIZE(expr) STRINGIZE0(expr)
5621| #define HAVE_STDARG_PROTOTYPES 1
5622| #define HAVE_VA_ARGS_MACRO 1
5623| #define NORETURN(x) __attribute__ ((noreturn)) x
5624| #define DEPRECATED(x) __attribute__ ((deprecated)) x
5625| #define NOINLINE(x) __attribute__ ((noinline)) x
5626| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
5627| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
5628| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
5629| #define HAVE_GCC_ATOMIC_BUILTINS 1
5630| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
5631| #define HAVE_DECL_SYS_NERR 1
5632| #define HAVE_LIBDL 1
5633| #define HAVE_DIRENT_H 1
5634| #define HAVE__BOOL 1
5635| #define HAVE_STDBOOL_H 1
5636| #define HAVE_SYS_WAIT_H 1
5637| #define HAVE_LIMITS_H 1
5638| #define HAVE_SYS_FILE_H 1
5639| #define HAVE_SYS_IOCTL_H 1
5640| #define HAVE_SYS_SYSCALL_H 1
5641| #define HAVE_FCNTL_H 1
5642| #define HAVE_SYS_FCNTL_H 1
5643| #define HAVE_SYS_SELECT_H 1
5644| #define HAVE_SYS_TIME_H 1
5645| #define HAVE_SYS_TIMES_H 1
5646| #define HAVE_SYS_PARAM_H 1
5647| #define HAVE_PWD_H 1
5648| #define HAVE_GRP_H 1
5649| #define HAVE_UTIME_H 1
5650| #define HAVE_SYS_RESOURCE_H 1
5651| #define HAVE_NETINET_IN_SYSTM_H 1
5652| #define HAVE_FLOAT_H 1
5653| /* end confdefs.h.  */
5654| #include <ieeefp.h>
5655configure:11210: result: no
5656configure:11210: checking for ieeefp.h
5657configure:11210: result: no
5658configure:11210: checking for ucontext.h
5659configure:11210: result: no
5660configure:11210: checking intrinsics.h usability
5661configure:11210: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
5662conftest.c:134:10: fatal error: 'intrinsics.h' file not found
5663#include <intrinsics.h>
5664         ^
56651 error generated.
5666configure:11210: $? = 1
5667configure: failed program was:
5668| /* confdefs.h */
5669| #define PACKAGE_NAME ""
5670| #define PACKAGE_TARNAME ""
5671| #define PACKAGE_VERSION ""
5672| #define PACKAGE_STRING ""
5673| #define PACKAGE_BUGREPORT ""
5674| #define PACKAGE_URL ""
5675| #define CANONICALIZATION_FOR_MATHN 1
5676| #define STDC_HEADERS 1
5677| #define HAVE_SYS_TYPES_H 1
5678| #define HAVE_SYS_STAT_H 1
5679| #define HAVE_STDLIB_H 1
5680| #define HAVE_STRING_H 1
5681| #define HAVE_MEMORY_H 1
5682| #define HAVE_STRINGS_H 1
5683| #define HAVE_INTTYPES_H 1
5684| #define HAVE_STDINT_H 1
5685| #define HAVE_UNISTD_H 1
5686| #define __EXTENSIONS__ 1
5687| #define _ALL_SOURCE 1
5688| #define _GNU_SOURCE 1
5689| #define _POSIX_PTHREAD_SEMANTICS 1
5690| #define _TANDEM_SOURCE 1
5691| #define HAVE_LONG_LONG 1
5692| #define HAVE_OFF_T 1
5693| #define SIZEOF_INT 4
5694| #define SIZEOF_SHORT 2
5695| #define SIZEOF_LONG 8
5696| #define SIZEOF_LONG_LONG 8
5697| #define SIZEOF___INT64 0
5698| #define SIZEOF_OFF_T 8
5699| #define SIZEOF_VOIDP 8
5700| #define SIZEOF_FLOAT 4
5701| #define SIZEOF_DOUBLE 8
5702| #define SIZEOF_TIME_T 8
5703| #define PRI_LL_PREFIX "ll"
5704| #define rb_pid_t pid_t
5705| #define PIDT2NUM(v) INT2NUM(v)
5706| #define NUM2PIDT(v) NUM2INT(v)
5707| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
5708| #define rb_uid_t uid_t
5709| #define UIDT2NUM(v) UINT2NUM(v)
5710| #define NUM2UIDT(v) NUM2UINT(v)
5711| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
5712| #define rb_gid_t gid_t
5713| #define GIDT2NUM(v) UINT2NUM(v)
5714| #define NUM2GIDT(v) NUM2UINT(v)
5715| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
5716| #define rb_time_t time_t
5717| #define TIMET2NUM(v) LONG2NUM(v)
5718| #define NUM2TIMET(v) NUM2LONG(v)
5719| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
5720| #define rb_dev_t dev_t
5721| #define DEVT2NUM(v) INT2NUM(v)
5722| #define NUM2DEVT(v) NUM2INT(v)
5723| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
5724| #define rb_mode_t mode_t
5725| #define MODET2NUM(v) UINT2NUM(v)
5726| #define NUM2MODET(v) NUM2UINT(v)
5727| #define PRI_MODET_PREFIX PRI_INT_PREFIX
5728| #define rb_rlim_t rlim_t
5729| #define RLIM2NUM(v) ULL2NUM(v)
5730| #define NUM2RLIM(v) NUM2ULL(v)
5731| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
5732| #define HAVE_PROTOTYPES 1
5733| #define TOKEN_PASTE(x,y) x##y
5734| #define STRINGIZE(expr) STRINGIZE0(expr)
5735| #define HAVE_STDARG_PROTOTYPES 1
5736| #define HAVE_VA_ARGS_MACRO 1
5737| #define NORETURN(x) __attribute__ ((noreturn)) x
5738| #define DEPRECATED(x) __attribute__ ((deprecated)) x
5739| #define NOINLINE(x) __attribute__ ((noinline)) x
5740| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
5741| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
5742| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
5743| #define HAVE_GCC_ATOMIC_BUILTINS 1
5744| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
5745| #define HAVE_DECL_SYS_NERR 1
5746| #define HAVE_LIBDL 1
5747| #define HAVE_DIRENT_H 1
5748| #define HAVE__BOOL 1
5749| #define HAVE_STDBOOL_H 1
5750| #define HAVE_SYS_WAIT_H 1
5751| #define HAVE_LIMITS_H 1
5752| #define HAVE_SYS_FILE_H 1
5753| #define HAVE_SYS_IOCTL_H 1
5754| #define HAVE_SYS_SYSCALL_H 1
5755| #define HAVE_FCNTL_H 1
5756| #define HAVE_SYS_FCNTL_H 1
5757| #define HAVE_SYS_SELECT_H 1
5758| #define HAVE_SYS_TIME_H 1
5759| #define HAVE_SYS_TIMES_H 1
5760| #define HAVE_SYS_PARAM_H 1
5761| #define HAVE_PWD_H 1
5762| #define HAVE_GRP_H 1
5763| #define HAVE_UTIME_H 1
5764| #define HAVE_SYS_RESOURCE_H 1
5765| #define HAVE_NETINET_IN_SYSTM_H 1
5766| #define HAVE_FLOAT_H 1
5767| /* end confdefs.h.  */
5768| #include <stdio.h>
5769| #ifdef HAVE_SYS_TYPES_H
5770| # include <sys/types.h>
5771| #endif
5772| #ifdef HAVE_SYS_STAT_H
5773| # include <sys/stat.h>
5774| #endif
5775| #ifdef STDC_HEADERS
5776| # include <stdlib.h>
5777| # include <stddef.h>
5778| #else
5779| # ifdef HAVE_STDLIB_H
5780| #  include <stdlib.h>
5781| # endif
5782| #endif
5783| #ifdef HAVE_STRING_H
5784| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
5785| #  include <memory.h>
5786| # endif
5787| # include <string.h>
5788| #endif
5789| #ifdef HAVE_STRINGS_H
5790| # include <strings.h>
5791| #endif
5792| #ifdef HAVE_INTTYPES_H
5793| # include <inttypes.h>
5794| #endif
5795| #ifdef HAVE_STDINT_H
5796| # include <stdint.h>
5797| #endif
5798| #ifdef HAVE_UNISTD_H
5799| # include <unistd.h>
5800| #endif
5801| #include <intrinsics.h>
5802configure:11210: result: no
5803configure:11210: checking intrinsics.h presence
5804configure:11210: /usr/bin/clang -E -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c
5805conftest.c:101:10: fatal error: 'intrinsics.h' file not found
5806#include <intrinsics.h>
5807         ^
58081 error generated.
5809configure:11210: $? = 1
5810configure: failed program was:
5811| /* confdefs.h */
5812| #define PACKAGE_NAME ""
5813| #define PACKAGE_TARNAME ""
5814| #define PACKAGE_VERSION ""
5815| #define PACKAGE_STRING ""
5816| #define PACKAGE_BUGREPORT ""
5817| #define PACKAGE_URL ""
5818| #define CANONICALIZATION_FOR_MATHN 1
5819| #define STDC_HEADERS 1
5820| #define HAVE_SYS_TYPES_H 1
5821| #define HAVE_SYS_STAT_H 1
5822| #define HAVE_STDLIB_H 1
5823| #define HAVE_STRING_H 1
5824| #define HAVE_MEMORY_H 1
5825| #define HAVE_STRINGS_H 1
5826| #define HAVE_INTTYPES_H 1
5827| #define HAVE_STDINT_H 1
5828| #define HAVE_UNISTD_H 1
5829| #define __EXTENSIONS__ 1
5830| #define _ALL_SOURCE 1
5831| #define _GNU_SOURCE 1
5832| #define _POSIX_PTHREAD_SEMANTICS 1
5833| #define _TANDEM_SOURCE 1
5834| #define HAVE_LONG_LONG 1
5835| #define HAVE_OFF_T 1
5836| #define SIZEOF_INT 4
5837| #define SIZEOF_SHORT 2
5838| #define SIZEOF_LONG 8
5839| #define SIZEOF_LONG_LONG 8
5840| #define SIZEOF___INT64 0
5841| #define SIZEOF_OFF_T 8
5842| #define SIZEOF_VOIDP 8
5843| #define SIZEOF_FLOAT 4
5844| #define SIZEOF_DOUBLE 8
5845| #define SIZEOF_TIME_T 8
5846| #define PRI_LL_PREFIX "ll"
5847| #define rb_pid_t pid_t
5848| #define PIDT2NUM(v) INT2NUM(v)
5849| #define NUM2PIDT(v) NUM2INT(v)
5850| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
5851| #define rb_uid_t uid_t
5852| #define UIDT2NUM(v) UINT2NUM(v)
5853| #define NUM2UIDT(v) NUM2UINT(v)
5854| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
5855| #define rb_gid_t gid_t
5856| #define GIDT2NUM(v) UINT2NUM(v)
5857| #define NUM2GIDT(v) NUM2UINT(v)
5858| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
5859| #define rb_time_t time_t
5860| #define TIMET2NUM(v) LONG2NUM(v)
5861| #define NUM2TIMET(v) NUM2LONG(v)
5862| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
5863| #define rb_dev_t dev_t
5864| #define DEVT2NUM(v) INT2NUM(v)
5865| #define NUM2DEVT(v) NUM2INT(v)
5866| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
5867| #define rb_mode_t mode_t
5868| #define MODET2NUM(v) UINT2NUM(v)
5869| #define NUM2MODET(v) NUM2UINT(v)
5870| #define PRI_MODET_PREFIX PRI_INT_PREFIX
5871| #define rb_rlim_t rlim_t
5872| #define RLIM2NUM(v) ULL2NUM(v)
5873| #define NUM2RLIM(v) NUM2ULL(v)
5874| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
5875| #define HAVE_PROTOTYPES 1
5876| #define TOKEN_PASTE(x,y) x##y
5877| #define STRINGIZE(expr) STRINGIZE0(expr)
5878| #define HAVE_STDARG_PROTOTYPES 1
5879| #define HAVE_VA_ARGS_MACRO 1
5880| #define NORETURN(x) __attribute__ ((noreturn)) x
5881| #define DEPRECATED(x) __attribute__ ((deprecated)) x
5882| #define NOINLINE(x) __attribute__ ((noinline)) x
5883| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
5884| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
5885| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
5886| #define HAVE_GCC_ATOMIC_BUILTINS 1
5887| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
5888| #define HAVE_DECL_SYS_NERR 1
5889| #define HAVE_LIBDL 1
5890| #define HAVE_DIRENT_H 1
5891| #define HAVE__BOOL 1
5892| #define HAVE_STDBOOL_H 1
5893| #define HAVE_SYS_WAIT_H 1
5894| #define HAVE_LIMITS_H 1
5895| #define HAVE_SYS_FILE_H 1
5896| #define HAVE_SYS_IOCTL_H 1
5897| #define HAVE_SYS_SYSCALL_H 1
5898| #define HAVE_FCNTL_H 1
5899| #define HAVE_SYS_FCNTL_H 1
5900| #define HAVE_SYS_SELECT_H 1
5901| #define HAVE_SYS_TIME_H 1
5902| #define HAVE_SYS_TIMES_H 1
5903| #define HAVE_SYS_PARAM_H 1
5904| #define HAVE_PWD_H 1
5905| #define HAVE_GRP_H 1
5906| #define HAVE_UTIME_H 1
5907| #define HAVE_SYS_RESOURCE_H 1
5908| #define HAVE_NETINET_IN_SYSTM_H 1
5909| #define HAVE_FLOAT_H 1
5910| /* end confdefs.h.  */
5911| #include <intrinsics.h>
5912configure:11210: result: no
5913configure:11210: checking for intrinsics.h
5914configure:11210: result: no
5915configure:11210: checking langinfo.h usability
5916configure:11210: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
5917configure:11210: $? = 0
5918configure:11210: result: yes
5919configure:11210: checking langinfo.h presence
5920configure:11210: /usr/bin/clang -E -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c
5921configure:11210: $? = 0
5922configure:11210: result: yes
5923configure:11210: checking for langinfo.h
5924configure:11210: result: yes
5925configure:11210: checking locale.h usability
5926configure:11210: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
5927configure:11210: $? = 0
5928configure:11210: result: yes
5929configure:11210: checking locale.h presence
5930configure:11210: /usr/bin/clang -E -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c
5931configure:11210: $? = 0
5932configure:11210: result: yes
5933configure:11210: checking for locale.h
5934configure:11210: result: yes
5935configure:11210: checking sys/sendfile.h usability
5936configure:11210: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
5937conftest.c:136:10: fatal error: 'sys/sendfile.h' file not found
5938#include <sys/sendfile.h>
5939         ^
59401 error generated.
5941configure:11210: $? = 1
5942configure: failed program was:
5943| /* confdefs.h */
5944| #define PACKAGE_NAME ""
5945| #define PACKAGE_TARNAME ""
5946| #define PACKAGE_VERSION ""
5947| #define PACKAGE_STRING ""
5948| #define PACKAGE_BUGREPORT ""
5949| #define PACKAGE_URL ""
5950| #define CANONICALIZATION_FOR_MATHN 1
5951| #define STDC_HEADERS 1
5952| #define HAVE_SYS_TYPES_H 1
5953| #define HAVE_SYS_STAT_H 1
5954| #define HAVE_STDLIB_H 1
5955| #define HAVE_STRING_H 1
5956| #define HAVE_MEMORY_H 1
5957| #define HAVE_STRINGS_H 1
5958| #define HAVE_INTTYPES_H 1
5959| #define HAVE_STDINT_H 1
5960| #define HAVE_UNISTD_H 1
5961| #define __EXTENSIONS__ 1
5962| #define _ALL_SOURCE 1
5963| #define _GNU_SOURCE 1
5964| #define _POSIX_PTHREAD_SEMANTICS 1
5965| #define _TANDEM_SOURCE 1
5966| #define HAVE_LONG_LONG 1
5967| #define HAVE_OFF_T 1
5968| #define SIZEOF_INT 4
5969| #define SIZEOF_SHORT 2
5970| #define SIZEOF_LONG 8
5971| #define SIZEOF_LONG_LONG 8
5972| #define SIZEOF___INT64 0
5973| #define SIZEOF_OFF_T 8
5974| #define SIZEOF_VOIDP 8
5975| #define SIZEOF_FLOAT 4
5976| #define SIZEOF_DOUBLE 8
5977| #define SIZEOF_TIME_T 8
5978| #define PRI_LL_PREFIX "ll"
5979| #define rb_pid_t pid_t
5980| #define PIDT2NUM(v) INT2NUM(v)
5981| #define NUM2PIDT(v) NUM2INT(v)
5982| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
5983| #define rb_uid_t uid_t
5984| #define UIDT2NUM(v) UINT2NUM(v)
5985| #define NUM2UIDT(v) NUM2UINT(v)
5986| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
5987| #define rb_gid_t gid_t
5988| #define GIDT2NUM(v) UINT2NUM(v)
5989| #define NUM2GIDT(v) NUM2UINT(v)
5990| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
5991| #define rb_time_t time_t
5992| #define TIMET2NUM(v) LONG2NUM(v)
5993| #define NUM2TIMET(v) NUM2LONG(v)
5994| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
5995| #define rb_dev_t dev_t
5996| #define DEVT2NUM(v) INT2NUM(v)
5997| #define NUM2DEVT(v) NUM2INT(v)
5998| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
5999| #define rb_mode_t mode_t
6000| #define MODET2NUM(v) UINT2NUM(v)
6001| #define NUM2MODET(v) NUM2UINT(v)
6002| #define PRI_MODET_PREFIX PRI_INT_PREFIX
6003| #define rb_rlim_t rlim_t
6004| #define RLIM2NUM(v) ULL2NUM(v)
6005| #define NUM2RLIM(v) NUM2ULL(v)
6006| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
6007| #define HAVE_PROTOTYPES 1
6008| #define TOKEN_PASTE(x,y) x##y
6009| #define STRINGIZE(expr) STRINGIZE0(expr)
6010| #define HAVE_STDARG_PROTOTYPES 1
6011| #define HAVE_VA_ARGS_MACRO 1
6012| #define NORETURN(x) __attribute__ ((noreturn)) x
6013| #define DEPRECATED(x) __attribute__ ((deprecated)) x
6014| #define NOINLINE(x) __attribute__ ((noinline)) x
6015| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
6016| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
6017| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
6018| #define HAVE_GCC_ATOMIC_BUILTINS 1
6019| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
6020| #define HAVE_DECL_SYS_NERR 1
6021| #define HAVE_LIBDL 1
6022| #define HAVE_DIRENT_H 1
6023| #define HAVE__BOOL 1
6024| #define HAVE_STDBOOL_H 1
6025| #define HAVE_SYS_WAIT_H 1
6026| #define HAVE_LIMITS_H 1
6027| #define HAVE_SYS_FILE_H 1
6028| #define HAVE_SYS_IOCTL_H 1
6029| #define HAVE_SYS_SYSCALL_H 1
6030| #define HAVE_FCNTL_H 1
6031| #define HAVE_SYS_FCNTL_H 1
6032| #define HAVE_SYS_SELECT_H 1
6033| #define HAVE_SYS_TIME_H 1
6034| #define HAVE_SYS_TIMES_H 1
6035| #define HAVE_SYS_PARAM_H 1
6036| #define HAVE_PWD_H 1
6037| #define HAVE_GRP_H 1
6038| #define HAVE_UTIME_H 1
6039| #define HAVE_SYS_RESOURCE_H 1
6040| #define HAVE_NETINET_IN_SYSTM_H 1
6041| #define HAVE_FLOAT_H 1
6042| #define HAVE_LANGINFO_H 1
6043| #define HAVE_LOCALE_H 1
6044| /* end confdefs.h.  */
6045| #include <stdio.h>
6046| #ifdef HAVE_SYS_TYPES_H
6047| # include <sys/types.h>
6048| #endif
6049| #ifdef HAVE_SYS_STAT_H
6050| # include <sys/stat.h>
6051| #endif
6052| #ifdef STDC_HEADERS
6053| # include <stdlib.h>
6054| # include <stddef.h>
6055| #else
6056| # ifdef HAVE_STDLIB_H
6057| #  include <stdlib.h>
6058| # endif
6059| #endif
6060| #ifdef HAVE_STRING_H
6061| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
6062| #  include <memory.h>
6063| # endif
6064| # include <string.h>
6065| #endif
6066| #ifdef HAVE_STRINGS_H
6067| # include <strings.h>
6068| #endif
6069| #ifdef HAVE_INTTYPES_H
6070| # include <inttypes.h>
6071| #endif
6072| #ifdef HAVE_STDINT_H
6073| # include <stdint.h>
6074| #endif
6075| #ifdef HAVE_UNISTD_H
6076| # include <unistd.h>
6077| #endif
6078| #include <sys/sendfile.h>
6079configure:11210: result: no
6080configure:11210: checking sys/sendfile.h presence
6081configure:11210: /usr/bin/clang -E -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c
6082conftest.c:103:10: fatal error: 'sys/sendfile.h' file not found
6083#include <sys/sendfile.h>
6084         ^
60851 error generated.
6086configure:11210: $? = 1
6087configure: failed program was:
6088| /* confdefs.h */
6089| #define PACKAGE_NAME ""
6090| #define PACKAGE_TARNAME ""
6091| #define PACKAGE_VERSION ""
6092| #define PACKAGE_STRING ""
6093| #define PACKAGE_BUGREPORT ""
6094| #define PACKAGE_URL ""
6095| #define CANONICALIZATION_FOR_MATHN 1
6096| #define STDC_HEADERS 1
6097| #define HAVE_SYS_TYPES_H 1
6098| #define HAVE_SYS_STAT_H 1
6099| #define HAVE_STDLIB_H 1
6100| #define HAVE_STRING_H 1
6101| #define HAVE_MEMORY_H 1
6102| #define HAVE_STRINGS_H 1
6103| #define HAVE_INTTYPES_H 1
6104| #define HAVE_STDINT_H 1
6105| #define HAVE_UNISTD_H 1
6106| #define __EXTENSIONS__ 1
6107| #define _ALL_SOURCE 1
6108| #define _GNU_SOURCE 1
6109| #define _POSIX_PTHREAD_SEMANTICS 1
6110| #define _TANDEM_SOURCE 1
6111| #define HAVE_LONG_LONG 1
6112| #define HAVE_OFF_T 1
6113| #define SIZEOF_INT 4
6114| #define SIZEOF_SHORT 2
6115| #define SIZEOF_LONG 8
6116| #define SIZEOF_LONG_LONG 8
6117| #define SIZEOF___INT64 0
6118| #define SIZEOF_OFF_T 8
6119| #define SIZEOF_VOIDP 8
6120| #define SIZEOF_FLOAT 4
6121| #define SIZEOF_DOUBLE 8
6122| #define SIZEOF_TIME_T 8
6123| #define PRI_LL_PREFIX "ll"
6124| #define rb_pid_t pid_t
6125| #define PIDT2NUM(v) INT2NUM(v)
6126| #define NUM2PIDT(v) NUM2INT(v)
6127| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
6128| #define rb_uid_t uid_t
6129| #define UIDT2NUM(v) UINT2NUM(v)
6130| #define NUM2UIDT(v) NUM2UINT(v)
6131| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
6132| #define rb_gid_t gid_t
6133| #define GIDT2NUM(v) UINT2NUM(v)
6134| #define NUM2GIDT(v) NUM2UINT(v)
6135| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
6136| #define rb_time_t time_t
6137| #define TIMET2NUM(v) LONG2NUM(v)
6138| #define NUM2TIMET(v) NUM2LONG(v)
6139| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
6140| #define rb_dev_t dev_t
6141| #define DEVT2NUM(v) INT2NUM(v)
6142| #define NUM2DEVT(v) NUM2INT(v)
6143| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
6144| #define rb_mode_t mode_t
6145| #define MODET2NUM(v) UINT2NUM(v)
6146| #define NUM2MODET(v) NUM2UINT(v)
6147| #define PRI_MODET_PREFIX PRI_INT_PREFIX
6148| #define rb_rlim_t rlim_t
6149| #define RLIM2NUM(v) ULL2NUM(v)
6150| #define NUM2RLIM(v) NUM2ULL(v)
6151| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
6152| #define HAVE_PROTOTYPES 1
6153| #define TOKEN_PASTE(x,y) x##y
6154| #define STRINGIZE(expr) STRINGIZE0(expr)
6155| #define HAVE_STDARG_PROTOTYPES 1
6156| #define HAVE_VA_ARGS_MACRO 1
6157| #define NORETURN(x) __attribute__ ((noreturn)) x
6158| #define DEPRECATED(x) __attribute__ ((deprecated)) x
6159| #define NOINLINE(x) __attribute__ ((noinline)) x
6160| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
6161| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
6162| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
6163| #define HAVE_GCC_ATOMIC_BUILTINS 1
6164| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
6165| #define HAVE_DECL_SYS_NERR 1
6166| #define HAVE_LIBDL 1
6167| #define HAVE_DIRENT_H 1
6168| #define HAVE__BOOL 1
6169| #define HAVE_STDBOOL_H 1
6170| #define HAVE_SYS_WAIT_H 1
6171| #define HAVE_LIMITS_H 1
6172| #define HAVE_SYS_FILE_H 1
6173| #define HAVE_SYS_IOCTL_H 1
6174| #define HAVE_SYS_SYSCALL_H 1
6175| #define HAVE_FCNTL_H 1
6176| #define HAVE_SYS_FCNTL_H 1
6177| #define HAVE_SYS_SELECT_H 1
6178| #define HAVE_SYS_TIME_H 1
6179| #define HAVE_SYS_TIMES_H 1
6180| #define HAVE_SYS_PARAM_H 1
6181| #define HAVE_PWD_H 1
6182| #define HAVE_GRP_H 1
6183| #define HAVE_UTIME_H 1
6184| #define HAVE_SYS_RESOURCE_H 1
6185| #define HAVE_NETINET_IN_SYSTM_H 1
6186| #define HAVE_FLOAT_H 1
6187| #define HAVE_LANGINFO_H 1
6188| #define HAVE_LOCALE_H 1
6189| /* end confdefs.h.  */
6190| #include <sys/sendfile.h>
6191configure:11210: result: no
6192configure:11210: checking for sys/sendfile.h
6193configure:11210: result: no
6194configure:11210: checking time.h usability
6195configure:11210: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
6196configure:11210: $? = 0
6197configure:11210: result: yes
6198configure:11210: checking time.h presence
6199configure:11210: /usr/bin/clang -E -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c
6200configure:11210: $? = 0
6201configure:11210: result: yes
6202configure:11210: checking for time.h
6203configure:11210: result: yes
6204configure:11210: checking for net/socket.h
6205configure:11210: result: no
6206configure:11210: checking for sys/socket.h
6207configure:11210: result: yes
6208configure:11210: checking process.h usability
6209configure:11210: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
6210conftest.c:138:10: fatal error: 'process.h' file not found
6211#include <process.h>
6212         ^
62131 error generated.
6214configure:11210: $? = 1
6215configure: failed program was:
6216| /* confdefs.h */
6217| #define PACKAGE_NAME ""
6218| #define PACKAGE_TARNAME ""
6219| #define PACKAGE_VERSION ""
6220| #define PACKAGE_STRING ""
6221| #define PACKAGE_BUGREPORT ""
6222| #define PACKAGE_URL ""
6223| #define CANONICALIZATION_FOR_MATHN 1
6224| #define STDC_HEADERS 1
6225| #define HAVE_SYS_TYPES_H 1
6226| #define HAVE_SYS_STAT_H 1
6227| #define HAVE_STDLIB_H 1
6228| #define HAVE_STRING_H 1
6229| #define HAVE_MEMORY_H 1
6230| #define HAVE_STRINGS_H 1
6231| #define HAVE_INTTYPES_H 1
6232| #define HAVE_STDINT_H 1
6233| #define HAVE_UNISTD_H 1
6234| #define __EXTENSIONS__ 1
6235| #define _ALL_SOURCE 1
6236| #define _GNU_SOURCE 1
6237| #define _POSIX_PTHREAD_SEMANTICS 1
6238| #define _TANDEM_SOURCE 1
6239| #define HAVE_LONG_LONG 1
6240| #define HAVE_OFF_T 1
6241| #define SIZEOF_INT 4
6242| #define SIZEOF_SHORT 2
6243| #define SIZEOF_LONG 8
6244| #define SIZEOF_LONG_LONG 8
6245| #define SIZEOF___INT64 0
6246| #define SIZEOF_OFF_T 8
6247| #define SIZEOF_VOIDP 8
6248| #define SIZEOF_FLOAT 4
6249| #define SIZEOF_DOUBLE 8
6250| #define SIZEOF_TIME_T 8
6251| #define PRI_LL_PREFIX "ll"
6252| #define rb_pid_t pid_t
6253| #define PIDT2NUM(v) INT2NUM(v)
6254| #define NUM2PIDT(v) NUM2INT(v)
6255| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
6256| #define rb_uid_t uid_t
6257| #define UIDT2NUM(v) UINT2NUM(v)
6258| #define NUM2UIDT(v) NUM2UINT(v)
6259| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
6260| #define rb_gid_t gid_t
6261| #define GIDT2NUM(v) UINT2NUM(v)
6262| #define NUM2GIDT(v) NUM2UINT(v)
6263| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
6264| #define rb_time_t time_t
6265| #define TIMET2NUM(v) LONG2NUM(v)
6266| #define NUM2TIMET(v) NUM2LONG(v)
6267| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
6268| #define rb_dev_t dev_t
6269| #define DEVT2NUM(v) INT2NUM(v)
6270| #define NUM2DEVT(v) NUM2INT(v)
6271| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
6272| #define rb_mode_t mode_t
6273| #define MODET2NUM(v) UINT2NUM(v)
6274| #define NUM2MODET(v) NUM2UINT(v)
6275| #define PRI_MODET_PREFIX PRI_INT_PREFIX
6276| #define rb_rlim_t rlim_t
6277| #define RLIM2NUM(v) ULL2NUM(v)
6278| #define NUM2RLIM(v) NUM2ULL(v)
6279| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
6280| #define HAVE_PROTOTYPES 1
6281| #define TOKEN_PASTE(x,y) x##y
6282| #define STRINGIZE(expr) STRINGIZE0(expr)
6283| #define HAVE_STDARG_PROTOTYPES 1
6284| #define HAVE_VA_ARGS_MACRO 1
6285| #define NORETURN(x) __attribute__ ((noreturn)) x
6286| #define DEPRECATED(x) __attribute__ ((deprecated)) x
6287| #define NOINLINE(x) __attribute__ ((noinline)) x
6288| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
6289| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
6290| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
6291| #define HAVE_GCC_ATOMIC_BUILTINS 1
6292| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
6293| #define HAVE_DECL_SYS_NERR 1
6294| #define HAVE_LIBDL 1
6295| #define HAVE_DIRENT_H 1
6296| #define HAVE__BOOL 1
6297| #define HAVE_STDBOOL_H 1
6298| #define HAVE_SYS_WAIT_H 1
6299| #define HAVE_LIMITS_H 1
6300| #define HAVE_SYS_FILE_H 1
6301| #define HAVE_SYS_IOCTL_H 1
6302| #define HAVE_SYS_SYSCALL_H 1
6303| #define HAVE_FCNTL_H 1
6304| #define HAVE_SYS_FCNTL_H 1
6305| #define HAVE_SYS_SELECT_H 1
6306| #define HAVE_SYS_TIME_H 1
6307| #define HAVE_SYS_TIMES_H 1
6308| #define HAVE_SYS_PARAM_H 1
6309| #define HAVE_PWD_H 1
6310| #define HAVE_GRP_H 1
6311| #define HAVE_UTIME_H 1
6312| #define HAVE_SYS_RESOURCE_H 1
6313| #define HAVE_NETINET_IN_SYSTM_H 1
6314| #define HAVE_FLOAT_H 1
6315| #define HAVE_LANGINFO_H 1
6316| #define HAVE_LOCALE_H 1
6317| #define HAVE_TIME_H 1
6318| #define HAVE_SYS_SOCKET_H 1
6319| /* end confdefs.h.  */
6320| #include <stdio.h>
6321| #ifdef HAVE_SYS_TYPES_H
6322| # include <sys/types.h>
6323| #endif
6324| #ifdef HAVE_SYS_STAT_H
6325| # include <sys/stat.h>
6326| #endif
6327| #ifdef STDC_HEADERS
6328| # include <stdlib.h>
6329| # include <stddef.h>
6330| #else
6331| # ifdef HAVE_STDLIB_H
6332| #  include <stdlib.h>
6333| # endif
6334| #endif
6335| #ifdef HAVE_STRING_H
6336| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
6337| #  include <memory.h>
6338| # endif
6339| # include <string.h>
6340| #endif
6341| #ifdef HAVE_STRINGS_H
6342| # include <strings.h>
6343| #endif
6344| #ifdef HAVE_INTTYPES_H
6345| # include <inttypes.h>
6346| #endif
6347| #ifdef HAVE_STDINT_H
6348| # include <stdint.h>
6349| #endif
6350| #ifdef HAVE_UNISTD_H
6351| # include <unistd.h>
6352| #endif
6353| #include <process.h>
6354configure:11210: result: no
6355configure:11210: checking process.h presence
6356configure:11210: /usr/bin/clang -E -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c
6357conftest.c:105:10: fatal error: 'process.h' file not found
6358#include <process.h>
6359         ^
63601 error generated.
6361configure:11210: $? = 1
6362configure: failed program was:
6363| /* confdefs.h */
6364| #define PACKAGE_NAME ""
6365| #define PACKAGE_TARNAME ""
6366| #define PACKAGE_VERSION ""
6367| #define PACKAGE_STRING ""
6368| #define PACKAGE_BUGREPORT ""
6369| #define PACKAGE_URL ""
6370| #define CANONICALIZATION_FOR_MATHN 1
6371| #define STDC_HEADERS 1
6372| #define HAVE_SYS_TYPES_H 1
6373| #define HAVE_SYS_STAT_H 1
6374| #define HAVE_STDLIB_H 1
6375| #define HAVE_STRING_H 1
6376| #define HAVE_MEMORY_H 1
6377| #define HAVE_STRINGS_H 1
6378| #define HAVE_INTTYPES_H 1
6379| #define HAVE_STDINT_H 1
6380| #define HAVE_UNISTD_H 1
6381| #define __EXTENSIONS__ 1
6382| #define _ALL_SOURCE 1
6383| #define _GNU_SOURCE 1
6384| #define _POSIX_PTHREAD_SEMANTICS 1
6385| #define _TANDEM_SOURCE 1
6386| #define HAVE_LONG_LONG 1
6387| #define HAVE_OFF_T 1
6388| #define SIZEOF_INT 4
6389| #define SIZEOF_SHORT 2
6390| #define SIZEOF_LONG 8
6391| #define SIZEOF_LONG_LONG 8
6392| #define SIZEOF___INT64 0
6393| #define SIZEOF_OFF_T 8
6394| #define SIZEOF_VOIDP 8
6395| #define SIZEOF_FLOAT 4
6396| #define SIZEOF_DOUBLE 8
6397| #define SIZEOF_TIME_T 8
6398| #define PRI_LL_PREFIX "ll"
6399| #define rb_pid_t pid_t
6400| #define PIDT2NUM(v) INT2NUM(v)
6401| #define NUM2PIDT(v) NUM2INT(v)
6402| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
6403| #define rb_uid_t uid_t
6404| #define UIDT2NUM(v) UINT2NUM(v)
6405| #define NUM2UIDT(v) NUM2UINT(v)
6406| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
6407| #define rb_gid_t gid_t
6408| #define GIDT2NUM(v) UINT2NUM(v)
6409| #define NUM2GIDT(v) NUM2UINT(v)
6410| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
6411| #define rb_time_t time_t
6412| #define TIMET2NUM(v) LONG2NUM(v)
6413| #define NUM2TIMET(v) NUM2LONG(v)
6414| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
6415| #define rb_dev_t dev_t
6416| #define DEVT2NUM(v) INT2NUM(v)
6417| #define NUM2DEVT(v) NUM2INT(v)
6418| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
6419| #define rb_mode_t mode_t
6420| #define MODET2NUM(v) UINT2NUM(v)
6421| #define NUM2MODET(v) NUM2UINT(v)
6422| #define PRI_MODET_PREFIX PRI_INT_PREFIX
6423| #define rb_rlim_t rlim_t
6424| #define RLIM2NUM(v) ULL2NUM(v)
6425| #define NUM2RLIM(v) NUM2ULL(v)
6426| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
6427| #define HAVE_PROTOTYPES 1
6428| #define TOKEN_PASTE(x,y) x##y
6429| #define STRINGIZE(expr) STRINGIZE0(expr)
6430| #define HAVE_STDARG_PROTOTYPES 1
6431| #define HAVE_VA_ARGS_MACRO 1
6432| #define NORETURN(x) __attribute__ ((noreturn)) x
6433| #define DEPRECATED(x) __attribute__ ((deprecated)) x
6434| #define NOINLINE(x) __attribute__ ((noinline)) x
6435| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
6436| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
6437| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
6438| #define HAVE_GCC_ATOMIC_BUILTINS 1
6439| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
6440| #define HAVE_DECL_SYS_NERR 1
6441| #define HAVE_LIBDL 1
6442| #define HAVE_DIRENT_H 1
6443| #define HAVE__BOOL 1
6444| #define HAVE_STDBOOL_H 1
6445| #define HAVE_SYS_WAIT_H 1
6446| #define HAVE_LIMITS_H 1
6447| #define HAVE_SYS_FILE_H 1
6448| #define HAVE_SYS_IOCTL_H 1
6449| #define HAVE_SYS_SYSCALL_H 1
6450| #define HAVE_FCNTL_H 1
6451| #define HAVE_SYS_FCNTL_H 1
6452| #define HAVE_SYS_SELECT_H 1
6453| #define HAVE_SYS_TIME_H 1
6454| #define HAVE_SYS_TIMES_H 1
6455| #define HAVE_SYS_PARAM_H 1
6456| #define HAVE_PWD_H 1
6457| #define HAVE_GRP_H 1
6458| #define HAVE_UTIME_H 1
6459| #define HAVE_SYS_RESOURCE_H 1
6460| #define HAVE_NETINET_IN_SYSTM_H 1
6461| #define HAVE_FLOAT_H 1
6462| #define HAVE_LANGINFO_H 1
6463| #define HAVE_LOCALE_H 1
6464| #define HAVE_TIME_H 1
6465| #define HAVE_SYS_SOCKET_H 1
6466| /* end confdefs.h.  */
6467| #include <process.h>
6468configure:11210: result: no
6469configure:11210: checking for process.h
6470configure:11210: result: no
6471configure:11221: checking for size_t
6472configure:11221: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
6473configure:11221: $? = 0
6474configure:11221: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
6475conftest.c:141:21: error: expected expression
6476if (sizeof ((size_t)))
6477                    ^
64781 error generated.
6479configure:11221: $? = 1
6480configure: failed program was:
6481| /* confdefs.h */
6482| #define PACKAGE_NAME ""
6483| #define PACKAGE_TARNAME ""
6484| #define PACKAGE_VERSION ""
6485| #define PACKAGE_STRING ""
6486| #define PACKAGE_BUGREPORT ""
6487| #define PACKAGE_URL ""
6488| #define CANONICALIZATION_FOR_MATHN 1
6489| #define STDC_HEADERS 1
6490| #define HAVE_SYS_TYPES_H 1
6491| #define HAVE_SYS_STAT_H 1
6492| #define HAVE_STDLIB_H 1
6493| #define HAVE_STRING_H 1
6494| #define HAVE_MEMORY_H 1
6495| #define HAVE_STRINGS_H 1
6496| #define HAVE_INTTYPES_H 1
6497| #define HAVE_STDINT_H 1
6498| #define HAVE_UNISTD_H 1
6499| #define __EXTENSIONS__ 1
6500| #define _ALL_SOURCE 1
6501| #define _GNU_SOURCE 1
6502| #define _POSIX_PTHREAD_SEMANTICS 1
6503| #define _TANDEM_SOURCE 1
6504| #define HAVE_LONG_LONG 1
6505| #define HAVE_OFF_T 1
6506| #define SIZEOF_INT 4
6507| #define SIZEOF_SHORT 2
6508| #define SIZEOF_LONG 8
6509| #define SIZEOF_LONG_LONG 8
6510| #define SIZEOF___INT64 0
6511| #define SIZEOF_OFF_T 8
6512| #define SIZEOF_VOIDP 8
6513| #define SIZEOF_FLOAT 4
6514| #define SIZEOF_DOUBLE 8
6515| #define SIZEOF_TIME_T 8
6516| #define PRI_LL_PREFIX "ll"
6517| #define rb_pid_t pid_t
6518| #define PIDT2NUM(v) INT2NUM(v)
6519| #define NUM2PIDT(v) NUM2INT(v)
6520| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
6521| #define rb_uid_t uid_t
6522| #define UIDT2NUM(v) UINT2NUM(v)
6523| #define NUM2UIDT(v) NUM2UINT(v)
6524| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
6525| #define rb_gid_t gid_t
6526| #define GIDT2NUM(v) UINT2NUM(v)
6527| #define NUM2GIDT(v) NUM2UINT(v)
6528| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
6529| #define rb_time_t time_t
6530| #define TIMET2NUM(v) LONG2NUM(v)
6531| #define NUM2TIMET(v) NUM2LONG(v)
6532| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
6533| #define rb_dev_t dev_t
6534| #define DEVT2NUM(v) INT2NUM(v)
6535| #define NUM2DEVT(v) NUM2INT(v)
6536| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
6537| #define rb_mode_t mode_t
6538| #define MODET2NUM(v) UINT2NUM(v)
6539| #define NUM2MODET(v) NUM2UINT(v)
6540| #define PRI_MODET_PREFIX PRI_INT_PREFIX
6541| #define rb_rlim_t rlim_t
6542| #define RLIM2NUM(v) ULL2NUM(v)
6543| #define NUM2RLIM(v) NUM2ULL(v)
6544| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
6545| #define HAVE_PROTOTYPES 1
6546| #define TOKEN_PASTE(x,y) x##y
6547| #define STRINGIZE(expr) STRINGIZE0(expr)
6548| #define HAVE_STDARG_PROTOTYPES 1
6549| #define HAVE_VA_ARGS_MACRO 1
6550| #define NORETURN(x) __attribute__ ((noreturn)) x
6551| #define DEPRECATED(x) __attribute__ ((deprecated)) x
6552| #define NOINLINE(x) __attribute__ ((noinline)) x
6553| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
6554| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
6555| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
6556| #define HAVE_GCC_ATOMIC_BUILTINS 1
6557| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
6558| #define HAVE_DECL_SYS_NERR 1
6559| #define HAVE_LIBDL 1
6560| #define HAVE_DIRENT_H 1
6561| #define HAVE__BOOL 1
6562| #define HAVE_STDBOOL_H 1
6563| #define HAVE_SYS_WAIT_H 1
6564| #define HAVE_LIMITS_H 1
6565| #define HAVE_SYS_FILE_H 1
6566| #define HAVE_SYS_IOCTL_H 1
6567| #define HAVE_SYS_SYSCALL_H 1
6568| #define HAVE_FCNTL_H 1
6569| #define HAVE_SYS_FCNTL_H 1
6570| #define HAVE_SYS_SELECT_H 1
6571| #define HAVE_SYS_TIME_H 1
6572| #define HAVE_SYS_TIMES_H 1
6573| #define HAVE_SYS_PARAM_H 1
6574| #define HAVE_PWD_H 1
6575| #define HAVE_GRP_H 1
6576| #define HAVE_UTIME_H 1
6577| #define HAVE_SYS_RESOURCE_H 1
6578| #define HAVE_NETINET_IN_SYSTM_H 1
6579| #define HAVE_FLOAT_H 1
6580| #define HAVE_LANGINFO_H 1
6581| #define HAVE_LOCALE_H 1
6582| #define HAVE_TIME_H 1
6583| #define HAVE_SYS_SOCKET_H 1
6584| /* end confdefs.h.  */
6585| #include <stdio.h>
6586| #ifdef HAVE_SYS_TYPES_H
6587| # include <sys/types.h>
6588| #endif
6589| #ifdef HAVE_SYS_STAT_H
6590| # include <sys/stat.h>
6591| #endif
6592| #ifdef STDC_HEADERS
6593| # include <stdlib.h>
6594| # include <stddef.h>
6595| #else
6596| # ifdef HAVE_STDLIB_H
6597| #  include <stdlib.h>
6598| # endif
6599| #endif
6600| #ifdef HAVE_STRING_H
6601| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
6602| #  include <memory.h>
6603| # endif
6604| # include <string.h>
6605| #endif
6606| #ifdef HAVE_STRINGS_H
6607| # include <strings.h>
6608| #endif
6609| #ifdef HAVE_INTTYPES_H
6610| # include <inttypes.h>
6611| #endif
6612| #ifdef HAVE_STDINT_H
6613| # include <stdint.h>
6614| #endif
6615| #ifdef HAVE_UNISTD_H
6616| # include <unistd.h>
6617| #endif
6618| int
6619| main ()
6620| {
6621| if (sizeof ((size_t)))
6622|           return 0;
6623|   ;
6624|   return 0;
6625| }
6626configure:11221: result: yes
6627configure:11328: checking size of size_t
6628configure:11333: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
6629configure:11333: $? = 0
6630configure:11333: ./conftest
6631configure:11333: $? = 0
6632configure:11348: result: 8
6633configure:11456: checking size of ptrdiff_t
6634configure:11461: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
6635configure:11461: $? = 0
6636configure:11461: ./conftest
6637configure:11461: $? = 0
6638configure:11476: result: 8
6639configure:11489: checking for printf prefix for size_t
6640configure:11523: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
6641configure:11523: $? = 0
6642configure:11534: result: z
6643configure:11544: checking for printf prefix for ptrdiff_t
6644configure:11578: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
6645configure:11578: $? = 0
6646configure:11589: result: t
6647configure:11598: checking for struct stat.st_blksize
6648configure:11598: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
6649configure:11598: $? = 0
6650configure:11598: result: yes
6651configure:11611: checking for struct stat.st_blocks
6652configure:11611: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
6653configure:11611: $? = 0
6654configure:11611: result: yes
6655configure:11631: checking for struct stat.st_rdev
6656configure:11631: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
6657configure:11631: $? = 0
6658configure:11631: result: yes
6659configure:11645: checking size of struct stat.st_size
6660configure:11674: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
6661conftest.c:125:24: error: 'test_array' declared as an array with a negative size
6662static int test_array [1 - 2 * !(SIZEOF_STRUCT_STAT_ST_SIZE == sizeof(int))];
6663                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
66641 error generated.
6665configure:11674: $? = 1
6666configure: failed program was:
6667| /* confdefs.h */
6668| #define PACKAGE_NAME ""
6669| #define PACKAGE_TARNAME ""
6670| #define PACKAGE_VERSION ""
6671| #define PACKAGE_STRING ""
6672| #define PACKAGE_BUGREPORT ""
6673| #define PACKAGE_URL ""
6674| #define CANONICALIZATION_FOR_MATHN 1
6675| #define STDC_HEADERS 1
6676| #define HAVE_SYS_TYPES_H 1
6677| #define HAVE_SYS_STAT_H 1
6678| #define HAVE_STDLIB_H 1
6679| #define HAVE_STRING_H 1
6680| #define HAVE_MEMORY_H 1
6681| #define HAVE_STRINGS_H 1
6682| #define HAVE_INTTYPES_H 1
6683| #define HAVE_STDINT_H 1
6684| #define HAVE_UNISTD_H 1
6685| #define __EXTENSIONS__ 1
6686| #define _ALL_SOURCE 1
6687| #define _GNU_SOURCE 1
6688| #define _POSIX_PTHREAD_SEMANTICS 1
6689| #define _TANDEM_SOURCE 1
6690| #define HAVE_LONG_LONG 1
6691| #define HAVE_OFF_T 1
6692| #define SIZEOF_INT 4
6693| #define SIZEOF_SHORT 2
6694| #define SIZEOF_LONG 8
6695| #define SIZEOF_LONG_LONG 8
6696| #define SIZEOF___INT64 0
6697| #define SIZEOF_OFF_T 8
6698| #define SIZEOF_VOIDP 8
6699| #define SIZEOF_FLOAT 4
6700| #define SIZEOF_DOUBLE 8
6701| #define SIZEOF_TIME_T 8
6702| #define PRI_LL_PREFIX "ll"
6703| #define rb_pid_t pid_t
6704| #define PIDT2NUM(v) INT2NUM(v)
6705| #define NUM2PIDT(v) NUM2INT(v)
6706| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
6707| #define rb_uid_t uid_t
6708| #define UIDT2NUM(v) UINT2NUM(v)
6709| #define NUM2UIDT(v) NUM2UINT(v)
6710| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
6711| #define rb_gid_t gid_t
6712| #define GIDT2NUM(v) UINT2NUM(v)
6713| #define NUM2GIDT(v) NUM2UINT(v)
6714| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
6715| #define rb_time_t time_t
6716| #define TIMET2NUM(v) LONG2NUM(v)
6717| #define NUM2TIMET(v) NUM2LONG(v)
6718| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
6719| #define rb_dev_t dev_t
6720| #define DEVT2NUM(v) INT2NUM(v)
6721| #define NUM2DEVT(v) NUM2INT(v)
6722| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
6723| #define rb_mode_t mode_t
6724| #define MODET2NUM(v) UINT2NUM(v)
6725| #define NUM2MODET(v) NUM2UINT(v)
6726| #define PRI_MODET_PREFIX PRI_INT_PREFIX
6727| #define rb_rlim_t rlim_t
6728| #define RLIM2NUM(v) ULL2NUM(v)
6729| #define NUM2RLIM(v) NUM2ULL(v)
6730| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
6731| #define HAVE_PROTOTYPES 1
6732| #define TOKEN_PASTE(x,y) x##y
6733| #define STRINGIZE(expr) STRINGIZE0(expr)
6734| #define HAVE_STDARG_PROTOTYPES 1
6735| #define HAVE_VA_ARGS_MACRO 1
6736| #define NORETURN(x) __attribute__ ((noreturn)) x
6737| #define DEPRECATED(x) __attribute__ ((deprecated)) x
6738| #define NOINLINE(x) __attribute__ ((noinline)) x
6739| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
6740| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
6741| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
6742| #define HAVE_GCC_ATOMIC_BUILTINS 1
6743| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
6744| #define HAVE_DECL_SYS_NERR 1
6745| #define HAVE_LIBDL 1
6746| #define HAVE_DIRENT_H 1
6747| #define HAVE__BOOL 1
6748| #define HAVE_STDBOOL_H 1
6749| #define HAVE_SYS_WAIT_H 1
6750| #define HAVE_LIMITS_H 1
6751| #define HAVE_SYS_FILE_H 1
6752| #define HAVE_SYS_IOCTL_H 1
6753| #define HAVE_SYS_SYSCALL_H 1
6754| #define HAVE_FCNTL_H 1
6755| #define HAVE_SYS_FCNTL_H 1
6756| #define HAVE_SYS_SELECT_H 1
6757| #define HAVE_SYS_TIME_H 1
6758| #define HAVE_SYS_TIMES_H 1
6759| #define HAVE_SYS_PARAM_H 1
6760| #define HAVE_PWD_H 1
6761| #define HAVE_GRP_H 1
6762| #define HAVE_UTIME_H 1
6763| #define HAVE_SYS_RESOURCE_H 1
6764| #define HAVE_NETINET_IN_SYSTM_H 1
6765| #define HAVE_FLOAT_H 1
6766| #define HAVE_LANGINFO_H 1
6767| #define HAVE_LOCALE_H 1
6768| #define HAVE_TIME_H 1
6769| #define HAVE_SYS_SOCKET_H 1
6770| #define SIZEOF_SIZE_T 8
6771| #define SIZEOF_PTRDIFF_T 8
6772| #define PRI_SIZE_PREFIX "z"
6773| #define PRI_PTRDIFF_PREFIX "t"
6774| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6775| #define HAVE_ST_BLKSIZE 1
6776| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6777| #define HAVE_ST_BLOCKS 1
6778| #define HAVE_STRUCT_STAT_ST_RDEV 1
6779| #define HAVE_ST_RDEV 1
6780| /* end confdefs.h.  */
6781| #include <sys/stat.h>
6782|               
6783| typedef struct stat ac__type_sizeof_;
6784| static ac__type_sizeof_ *rbcv_ptr;
6785| #define SIZEOF_STRUCT_STAT_ST_SIZE sizeof((*rbcv_ptr).st_size)
6786|
6787|
6788| int
6789| main ()
6790| {
6791| static int test_array [1 - 2 * !(SIZEOF_STRUCT_STAT_ST_SIZE == sizeof(int))];
6792| test_array [0] = 0
6793|
6794|   ;
6795|   return 0;
6796| }
6797configure:11674: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
6798configure:11674: $? = 0
6799configure:11712: result: SIZEOF_LONG
6800configure:11739: checking size of struct stat.st_blocks
6801configure:11768: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
6802conftest.c:126:24: error: 'test_array' declared as an array with a negative size
6803static int test_array [1 - 2 * !(SIZEOF_STRUCT_STAT_ST_BLOCKS == sizeof(int))];
6804                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
68051 error generated.
6806configure:11768: $? = 1
6807configure: failed program was:
6808| /* confdefs.h */
6809| #define PACKAGE_NAME ""
6810| #define PACKAGE_TARNAME ""
6811| #define PACKAGE_VERSION ""
6812| #define PACKAGE_STRING ""
6813| #define PACKAGE_BUGREPORT ""
6814| #define PACKAGE_URL ""
6815| #define CANONICALIZATION_FOR_MATHN 1
6816| #define STDC_HEADERS 1
6817| #define HAVE_SYS_TYPES_H 1
6818| #define HAVE_SYS_STAT_H 1
6819| #define HAVE_STDLIB_H 1
6820| #define HAVE_STRING_H 1
6821| #define HAVE_MEMORY_H 1
6822| #define HAVE_STRINGS_H 1
6823| #define HAVE_INTTYPES_H 1
6824| #define HAVE_STDINT_H 1
6825| #define HAVE_UNISTD_H 1
6826| #define __EXTENSIONS__ 1
6827| #define _ALL_SOURCE 1
6828| #define _GNU_SOURCE 1
6829| #define _POSIX_PTHREAD_SEMANTICS 1
6830| #define _TANDEM_SOURCE 1
6831| #define HAVE_LONG_LONG 1
6832| #define HAVE_OFF_T 1
6833| #define SIZEOF_INT 4
6834| #define SIZEOF_SHORT 2
6835| #define SIZEOF_LONG 8
6836| #define SIZEOF_LONG_LONG 8
6837| #define SIZEOF___INT64 0
6838| #define SIZEOF_OFF_T 8
6839| #define SIZEOF_VOIDP 8
6840| #define SIZEOF_FLOAT 4
6841| #define SIZEOF_DOUBLE 8
6842| #define SIZEOF_TIME_T 8
6843| #define PRI_LL_PREFIX "ll"
6844| #define rb_pid_t pid_t
6845| #define PIDT2NUM(v) INT2NUM(v)
6846| #define NUM2PIDT(v) NUM2INT(v)
6847| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
6848| #define rb_uid_t uid_t
6849| #define UIDT2NUM(v) UINT2NUM(v)
6850| #define NUM2UIDT(v) NUM2UINT(v)
6851| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
6852| #define rb_gid_t gid_t
6853| #define GIDT2NUM(v) UINT2NUM(v)
6854| #define NUM2GIDT(v) NUM2UINT(v)
6855| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
6856| #define rb_time_t time_t
6857| #define TIMET2NUM(v) LONG2NUM(v)
6858| #define NUM2TIMET(v) NUM2LONG(v)
6859| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
6860| #define rb_dev_t dev_t
6861| #define DEVT2NUM(v) INT2NUM(v)
6862| #define NUM2DEVT(v) NUM2INT(v)
6863| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
6864| #define rb_mode_t mode_t
6865| #define MODET2NUM(v) UINT2NUM(v)
6866| #define NUM2MODET(v) NUM2UINT(v)
6867| #define PRI_MODET_PREFIX PRI_INT_PREFIX
6868| #define rb_rlim_t rlim_t
6869| #define RLIM2NUM(v) ULL2NUM(v)
6870| #define NUM2RLIM(v) NUM2ULL(v)
6871| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
6872| #define HAVE_PROTOTYPES 1
6873| #define TOKEN_PASTE(x,y) x##y
6874| #define STRINGIZE(expr) STRINGIZE0(expr)
6875| #define HAVE_STDARG_PROTOTYPES 1
6876| #define HAVE_VA_ARGS_MACRO 1
6877| #define NORETURN(x) __attribute__ ((noreturn)) x
6878| #define DEPRECATED(x) __attribute__ ((deprecated)) x
6879| #define NOINLINE(x) __attribute__ ((noinline)) x
6880| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
6881| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
6882| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
6883| #define HAVE_GCC_ATOMIC_BUILTINS 1
6884| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
6885| #define HAVE_DECL_SYS_NERR 1
6886| #define HAVE_LIBDL 1
6887| #define HAVE_DIRENT_H 1
6888| #define HAVE__BOOL 1
6889| #define HAVE_STDBOOL_H 1
6890| #define HAVE_SYS_WAIT_H 1
6891| #define HAVE_LIMITS_H 1
6892| #define HAVE_SYS_FILE_H 1
6893| #define HAVE_SYS_IOCTL_H 1
6894| #define HAVE_SYS_SYSCALL_H 1
6895| #define HAVE_FCNTL_H 1
6896| #define HAVE_SYS_FCNTL_H 1
6897| #define HAVE_SYS_SELECT_H 1
6898| #define HAVE_SYS_TIME_H 1
6899| #define HAVE_SYS_TIMES_H 1
6900| #define HAVE_SYS_PARAM_H 1
6901| #define HAVE_PWD_H 1
6902| #define HAVE_GRP_H 1
6903| #define HAVE_UTIME_H 1
6904| #define HAVE_SYS_RESOURCE_H 1
6905| #define HAVE_NETINET_IN_SYSTM_H 1
6906| #define HAVE_FLOAT_H 1
6907| #define HAVE_LANGINFO_H 1
6908| #define HAVE_LOCALE_H 1
6909| #define HAVE_TIME_H 1
6910| #define HAVE_SYS_SOCKET_H 1
6911| #define SIZEOF_SIZE_T 8
6912| #define SIZEOF_PTRDIFF_T 8
6913| #define PRI_SIZE_PREFIX "z"
6914| #define PRI_PTRDIFF_PREFIX "t"
6915| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6916| #define HAVE_ST_BLKSIZE 1
6917| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6918| #define HAVE_ST_BLOCKS 1
6919| #define HAVE_STRUCT_STAT_ST_RDEV 1
6920| #define HAVE_ST_RDEV 1
6921| #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
6922| /* end confdefs.h.  */
6923| #include <sys/stat.h>
6924|               
6925| typedef struct stat ac__type_sizeof_;
6926| static ac__type_sizeof_ *rbcv_ptr;
6927| #define SIZEOF_STRUCT_STAT_ST_BLOCKS sizeof((*rbcv_ptr).st_blocks)
6928|
6929|
6930| int
6931| main ()
6932| {
6933| static int test_array [1 - 2 * !(SIZEOF_STRUCT_STAT_ST_BLOCKS == sizeof(int))];
6934| test_array [0] = 0
6935|
6936|   ;
6937|   return 0;
6938| }
6939configure:11768: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
6940configure:11768: $? = 0
6941configure:11806: result: SIZEOF_LONG
6942configure:11832: checking for struct stat.st_atim
6943configure:11832: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
6944conftest.c:154:13: error: no member named 'st_atim' in 'struct stat'
6945if (ac_aggr.st_atim)
6946    ~~~~~~~ ^
69471 error generated.
6948configure:11832: $? = 1
6949configure: failed program was:
6950| /* confdefs.h */
6951| #define PACKAGE_NAME ""
6952| #define PACKAGE_TARNAME ""
6953| #define PACKAGE_VERSION ""
6954| #define PACKAGE_STRING ""
6955| #define PACKAGE_BUGREPORT ""
6956| #define PACKAGE_URL ""
6957| #define CANONICALIZATION_FOR_MATHN 1
6958| #define STDC_HEADERS 1
6959| #define HAVE_SYS_TYPES_H 1
6960| #define HAVE_SYS_STAT_H 1
6961| #define HAVE_STDLIB_H 1
6962| #define HAVE_STRING_H 1
6963| #define HAVE_MEMORY_H 1
6964| #define HAVE_STRINGS_H 1
6965| #define HAVE_INTTYPES_H 1
6966| #define HAVE_STDINT_H 1
6967| #define HAVE_UNISTD_H 1
6968| #define __EXTENSIONS__ 1
6969| #define _ALL_SOURCE 1
6970| #define _GNU_SOURCE 1
6971| #define _POSIX_PTHREAD_SEMANTICS 1
6972| #define _TANDEM_SOURCE 1
6973| #define HAVE_LONG_LONG 1
6974| #define HAVE_OFF_T 1
6975| #define SIZEOF_INT 4
6976| #define SIZEOF_SHORT 2
6977| #define SIZEOF_LONG 8
6978| #define SIZEOF_LONG_LONG 8
6979| #define SIZEOF___INT64 0
6980| #define SIZEOF_OFF_T 8
6981| #define SIZEOF_VOIDP 8
6982| #define SIZEOF_FLOAT 4
6983| #define SIZEOF_DOUBLE 8
6984| #define SIZEOF_TIME_T 8
6985| #define PRI_LL_PREFIX "ll"
6986| #define rb_pid_t pid_t
6987| #define PIDT2NUM(v) INT2NUM(v)
6988| #define NUM2PIDT(v) NUM2INT(v)
6989| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
6990| #define rb_uid_t uid_t
6991| #define UIDT2NUM(v) UINT2NUM(v)
6992| #define NUM2UIDT(v) NUM2UINT(v)
6993| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
6994| #define rb_gid_t gid_t
6995| #define GIDT2NUM(v) UINT2NUM(v)
6996| #define NUM2GIDT(v) NUM2UINT(v)
6997| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
6998| #define rb_time_t time_t
6999| #define TIMET2NUM(v) LONG2NUM(v)
7000| #define NUM2TIMET(v) NUM2LONG(v)
7001| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
7002| #define rb_dev_t dev_t
7003| #define DEVT2NUM(v) INT2NUM(v)
7004| #define NUM2DEVT(v) NUM2INT(v)
7005| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
7006| #define rb_mode_t mode_t
7007| #define MODET2NUM(v) UINT2NUM(v)
7008| #define NUM2MODET(v) NUM2UINT(v)
7009| #define PRI_MODET_PREFIX PRI_INT_PREFIX
7010| #define rb_rlim_t rlim_t
7011| #define RLIM2NUM(v) ULL2NUM(v)
7012| #define NUM2RLIM(v) NUM2ULL(v)
7013| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
7014| #define HAVE_PROTOTYPES 1
7015| #define TOKEN_PASTE(x,y) x##y
7016| #define STRINGIZE(expr) STRINGIZE0(expr)
7017| #define HAVE_STDARG_PROTOTYPES 1
7018| #define HAVE_VA_ARGS_MACRO 1
7019| #define NORETURN(x) __attribute__ ((noreturn)) x
7020| #define DEPRECATED(x) __attribute__ ((deprecated)) x
7021| #define NOINLINE(x) __attribute__ ((noinline)) x
7022| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
7023| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
7024| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
7025| #define HAVE_GCC_ATOMIC_BUILTINS 1
7026| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
7027| #define HAVE_DECL_SYS_NERR 1
7028| #define HAVE_LIBDL 1
7029| #define HAVE_DIRENT_H 1
7030| #define HAVE__BOOL 1
7031| #define HAVE_STDBOOL_H 1
7032| #define HAVE_SYS_WAIT_H 1
7033| #define HAVE_LIMITS_H 1
7034| #define HAVE_SYS_FILE_H 1
7035| #define HAVE_SYS_IOCTL_H 1
7036| #define HAVE_SYS_SYSCALL_H 1
7037| #define HAVE_FCNTL_H 1
7038| #define HAVE_SYS_FCNTL_H 1
7039| #define HAVE_SYS_SELECT_H 1
7040| #define HAVE_SYS_TIME_H 1
7041| #define HAVE_SYS_TIMES_H 1
7042| #define HAVE_SYS_PARAM_H 1
7043| #define HAVE_PWD_H 1
7044| #define HAVE_GRP_H 1
7045| #define HAVE_UTIME_H 1
7046| #define HAVE_SYS_RESOURCE_H 1
7047| #define HAVE_NETINET_IN_SYSTM_H 1
7048| #define HAVE_FLOAT_H 1
7049| #define HAVE_LANGINFO_H 1
7050| #define HAVE_LOCALE_H 1
7051| #define HAVE_TIME_H 1
7052| #define HAVE_SYS_SOCKET_H 1
7053| #define SIZEOF_SIZE_T 8
7054| #define SIZEOF_PTRDIFF_T 8
7055| #define PRI_SIZE_PREFIX "z"
7056| #define PRI_PTRDIFF_PREFIX "t"
7057| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
7058| #define HAVE_ST_BLKSIZE 1
7059| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
7060| #define HAVE_ST_BLOCKS 1
7061| #define HAVE_STRUCT_STAT_ST_RDEV 1
7062| #define HAVE_ST_RDEV 1
7063| #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
7064| #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
7065| /* end confdefs.h.  */
7066| #include <stdio.h>
7067| #ifdef HAVE_SYS_TYPES_H
7068| # include <sys/types.h>
7069| #endif
7070| #ifdef HAVE_SYS_STAT_H
7071| # include <sys/stat.h>
7072| #endif
7073| #ifdef STDC_HEADERS
7074| # include <stdlib.h>
7075| # include <stddef.h>
7076| #else
7077| # ifdef HAVE_STDLIB_H
7078| #  include <stdlib.h>
7079| # endif
7080| #endif
7081| #ifdef HAVE_STRING_H
7082| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
7083| #  include <memory.h>
7084| # endif
7085| # include <string.h>
7086| #endif
7087| #ifdef HAVE_STRINGS_H
7088| # include <strings.h>
7089| #endif
7090| #ifdef HAVE_INTTYPES_H
7091| # include <inttypes.h>
7092| #endif
7093| #ifdef HAVE_STDINT_H
7094| # include <stdint.h>
7095| #endif
7096| #ifdef HAVE_UNISTD_H
7097| # include <unistd.h>
7098| #endif
7099| int
7100| main ()
7101| {
7102| static struct stat ac_aggr;
7103| if (ac_aggr.st_atim)
7104| return 0;
7105|   ;
7106|   return 0;
7107| }
7108configure:11832: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
7109conftest.c:154:20: error: no member named 'st_atim' in 'struct stat'
7110if (sizeof ac_aggr.st_atim)
7111           ~~~~~~~ ^
71121 error generated.
7113configure:11832: $? = 1
7114configure: failed program was:
7115| /* confdefs.h */
7116| #define PACKAGE_NAME ""
7117| #define PACKAGE_TARNAME ""
7118| #define PACKAGE_VERSION ""
7119| #define PACKAGE_STRING ""
7120| #define PACKAGE_BUGREPORT ""
7121| #define PACKAGE_URL ""
7122| #define CANONICALIZATION_FOR_MATHN 1
7123| #define STDC_HEADERS 1
7124| #define HAVE_SYS_TYPES_H 1
7125| #define HAVE_SYS_STAT_H 1
7126| #define HAVE_STDLIB_H 1
7127| #define HAVE_STRING_H 1
7128| #define HAVE_MEMORY_H 1
7129| #define HAVE_STRINGS_H 1
7130| #define HAVE_INTTYPES_H 1
7131| #define HAVE_STDINT_H 1
7132| #define HAVE_UNISTD_H 1
7133| #define __EXTENSIONS__ 1
7134| #define _ALL_SOURCE 1
7135| #define _GNU_SOURCE 1
7136| #define _POSIX_PTHREAD_SEMANTICS 1
7137| #define _TANDEM_SOURCE 1
7138| #define HAVE_LONG_LONG 1
7139| #define HAVE_OFF_T 1
7140| #define SIZEOF_INT 4
7141| #define SIZEOF_SHORT 2
7142| #define SIZEOF_LONG 8
7143| #define SIZEOF_LONG_LONG 8
7144| #define SIZEOF___INT64 0
7145| #define SIZEOF_OFF_T 8
7146| #define SIZEOF_VOIDP 8
7147| #define SIZEOF_FLOAT 4
7148| #define SIZEOF_DOUBLE 8
7149| #define SIZEOF_TIME_T 8
7150| #define PRI_LL_PREFIX "ll"
7151| #define rb_pid_t pid_t
7152| #define PIDT2NUM(v) INT2NUM(v)
7153| #define NUM2PIDT(v) NUM2INT(v)
7154| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
7155| #define rb_uid_t uid_t
7156| #define UIDT2NUM(v) UINT2NUM(v)
7157| #define NUM2UIDT(v) NUM2UINT(v)
7158| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
7159| #define rb_gid_t gid_t
7160| #define GIDT2NUM(v) UINT2NUM(v)
7161| #define NUM2GIDT(v) NUM2UINT(v)
7162| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
7163| #define rb_time_t time_t
7164| #define TIMET2NUM(v) LONG2NUM(v)
7165| #define NUM2TIMET(v) NUM2LONG(v)
7166| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
7167| #define rb_dev_t dev_t
7168| #define DEVT2NUM(v) INT2NUM(v)
7169| #define NUM2DEVT(v) NUM2INT(v)
7170| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
7171| #define rb_mode_t mode_t
7172| #define MODET2NUM(v) UINT2NUM(v)
7173| #define NUM2MODET(v) NUM2UINT(v)
7174| #define PRI_MODET_PREFIX PRI_INT_PREFIX
7175| #define rb_rlim_t rlim_t
7176| #define RLIM2NUM(v) ULL2NUM(v)
7177| #define NUM2RLIM(v) NUM2ULL(v)
7178| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
7179| #define HAVE_PROTOTYPES 1
7180| #define TOKEN_PASTE(x,y) x##y
7181| #define STRINGIZE(expr) STRINGIZE0(expr)
7182| #define HAVE_STDARG_PROTOTYPES 1
7183| #define HAVE_VA_ARGS_MACRO 1
7184| #define NORETURN(x) __attribute__ ((noreturn)) x
7185| #define DEPRECATED(x) __attribute__ ((deprecated)) x
7186| #define NOINLINE(x) __attribute__ ((noinline)) x
7187| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
7188| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
7189| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
7190| #define HAVE_GCC_ATOMIC_BUILTINS 1
7191| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
7192| #define HAVE_DECL_SYS_NERR 1
7193| #define HAVE_LIBDL 1
7194| #define HAVE_DIRENT_H 1
7195| #define HAVE__BOOL 1
7196| #define HAVE_STDBOOL_H 1
7197| #define HAVE_SYS_WAIT_H 1
7198| #define HAVE_LIMITS_H 1
7199| #define HAVE_SYS_FILE_H 1
7200| #define HAVE_SYS_IOCTL_H 1
7201| #define HAVE_SYS_SYSCALL_H 1
7202| #define HAVE_FCNTL_H 1
7203| #define HAVE_SYS_FCNTL_H 1
7204| #define HAVE_SYS_SELECT_H 1
7205| #define HAVE_SYS_TIME_H 1
7206| #define HAVE_SYS_TIMES_H 1
7207| #define HAVE_SYS_PARAM_H 1
7208| #define HAVE_PWD_H 1
7209| #define HAVE_GRP_H 1
7210| #define HAVE_UTIME_H 1
7211| #define HAVE_SYS_RESOURCE_H 1
7212| #define HAVE_NETINET_IN_SYSTM_H 1
7213| #define HAVE_FLOAT_H 1
7214| #define HAVE_LANGINFO_H 1
7215| #define HAVE_LOCALE_H 1
7216| #define HAVE_TIME_H 1
7217| #define HAVE_SYS_SOCKET_H 1
7218| #define SIZEOF_SIZE_T 8
7219| #define SIZEOF_PTRDIFF_T 8
7220| #define PRI_SIZE_PREFIX "z"
7221| #define PRI_PTRDIFF_PREFIX "t"
7222| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
7223| #define HAVE_ST_BLKSIZE 1
7224| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
7225| #define HAVE_ST_BLOCKS 1
7226| #define HAVE_STRUCT_STAT_ST_RDEV 1
7227| #define HAVE_ST_RDEV 1
7228| #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
7229| #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
7230| /* end confdefs.h.  */
7231| #include <stdio.h>
7232| #ifdef HAVE_SYS_TYPES_H
7233| # include <sys/types.h>
7234| #endif
7235| #ifdef HAVE_SYS_STAT_H
7236| # include <sys/stat.h>
7237| #endif
7238| #ifdef STDC_HEADERS
7239| # include <stdlib.h>
7240| # include <stddef.h>
7241| #else
7242| # ifdef HAVE_STDLIB_H
7243| #  include <stdlib.h>
7244| # endif
7245| #endif
7246| #ifdef HAVE_STRING_H
7247| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
7248| #  include <memory.h>
7249| # endif
7250| # include <string.h>
7251| #endif
7252| #ifdef HAVE_STRINGS_H
7253| # include <strings.h>
7254| #endif
7255| #ifdef HAVE_INTTYPES_H
7256| # include <inttypes.h>
7257| #endif
7258| #ifdef HAVE_STDINT_H
7259| # include <stdint.h>
7260| #endif
7261| #ifdef HAVE_UNISTD_H
7262| # include <unistd.h>
7263| #endif
7264| int
7265| main ()
7266| {
7267| static struct stat ac_aggr;
7268| if (sizeof ac_aggr.st_atim)
7269| return 0;
7270|   ;
7271|   return 0;
7272| }
7273configure:11832: result: no
7274configure:11842: checking for struct stat.st_atimespec
7275configure:11842: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
7276conftest.c:154:1: error: statement requires expression of scalar type ('struct timespec' invalid)
7277if (ac_aggr.st_atimespec)
7278^   ~~~~~~~~~~~~~~~~~~~~
72791 error generated.
7280configure:11842: $? = 1
7281configure: failed program was:
7282| /* confdefs.h */
7283| #define PACKAGE_NAME ""
7284| #define PACKAGE_TARNAME ""
7285| #define PACKAGE_VERSION ""
7286| #define PACKAGE_STRING ""
7287| #define PACKAGE_BUGREPORT ""
7288| #define PACKAGE_URL ""
7289| #define CANONICALIZATION_FOR_MATHN 1
7290| #define STDC_HEADERS 1
7291| #define HAVE_SYS_TYPES_H 1
7292| #define HAVE_SYS_STAT_H 1
7293| #define HAVE_STDLIB_H 1
7294| #define HAVE_STRING_H 1
7295| #define HAVE_MEMORY_H 1
7296| #define HAVE_STRINGS_H 1
7297| #define HAVE_INTTYPES_H 1
7298| #define HAVE_STDINT_H 1
7299| #define HAVE_UNISTD_H 1
7300| #define __EXTENSIONS__ 1
7301| #define _ALL_SOURCE 1
7302| #define _GNU_SOURCE 1
7303| #define _POSIX_PTHREAD_SEMANTICS 1
7304| #define _TANDEM_SOURCE 1
7305| #define HAVE_LONG_LONG 1
7306| #define HAVE_OFF_T 1
7307| #define SIZEOF_INT 4
7308| #define SIZEOF_SHORT 2
7309| #define SIZEOF_LONG 8
7310| #define SIZEOF_LONG_LONG 8
7311| #define SIZEOF___INT64 0
7312| #define SIZEOF_OFF_T 8
7313| #define SIZEOF_VOIDP 8
7314| #define SIZEOF_FLOAT 4
7315| #define SIZEOF_DOUBLE 8
7316| #define SIZEOF_TIME_T 8
7317| #define PRI_LL_PREFIX "ll"
7318| #define rb_pid_t pid_t
7319| #define PIDT2NUM(v) INT2NUM(v)
7320| #define NUM2PIDT(v) NUM2INT(v)
7321| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
7322| #define rb_uid_t uid_t
7323| #define UIDT2NUM(v) UINT2NUM(v)
7324| #define NUM2UIDT(v) NUM2UINT(v)
7325| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
7326| #define rb_gid_t gid_t
7327| #define GIDT2NUM(v) UINT2NUM(v)
7328| #define NUM2GIDT(v) NUM2UINT(v)
7329| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
7330| #define rb_time_t time_t
7331| #define TIMET2NUM(v) LONG2NUM(v)
7332| #define NUM2TIMET(v) NUM2LONG(v)
7333| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
7334| #define rb_dev_t dev_t
7335| #define DEVT2NUM(v) INT2NUM(v)
7336| #define NUM2DEVT(v) NUM2INT(v)
7337| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
7338| #define rb_mode_t mode_t
7339| #define MODET2NUM(v) UINT2NUM(v)
7340| #define NUM2MODET(v) NUM2UINT(v)
7341| #define PRI_MODET_PREFIX PRI_INT_PREFIX
7342| #define rb_rlim_t rlim_t
7343| #define RLIM2NUM(v) ULL2NUM(v)
7344| #define NUM2RLIM(v) NUM2ULL(v)
7345| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
7346| #define HAVE_PROTOTYPES 1
7347| #define TOKEN_PASTE(x,y) x##y
7348| #define STRINGIZE(expr) STRINGIZE0(expr)
7349| #define HAVE_STDARG_PROTOTYPES 1
7350| #define HAVE_VA_ARGS_MACRO 1
7351| #define NORETURN(x) __attribute__ ((noreturn)) x
7352| #define DEPRECATED(x) __attribute__ ((deprecated)) x
7353| #define NOINLINE(x) __attribute__ ((noinline)) x
7354| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
7355| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
7356| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
7357| #define HAVE_GCC_ATOMIC_BUILTINS 1
7358| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
7359| #define HAVE_DECL_SYS_NERR 1
7360| #define HAVE_LIBDL 1
7361| #define HAVE_DIRENT_H 1
7362| #define HAVE__BOOL 1
7363| #define HAVE_STDBOOL_H 1
7364| #define HAVE_SYS_WAIT_H 1
7365| #define HAVE_LIMITS_H 1
7366| #define HAVE_SYS_FILE_H 1
7367| #define HAVE_SYS_IOCTL_H 1
7368| #define HAVE_SYS_SYSCALL_H 1
7369| #define HAVE_FCNTL_H 1
7370| #define HAVE_SYS_FCNTL_H 1
7371| #define HAVE_SYS_SELECT_H 1
7372| #define HAVE_SYS_TIME_H 1
7373| #define HAVE_SYS_TIMES_H 1
7374| #define HAVE_SYS_PARAM_H 1
7375| #define HAVE_PWD_H 1
7376| #define HAVE_GRP_H 1
7377| #define HAVE_UTIME_H 1
7378| #define HAVE_SYS_RESOURCE_H 1
7379| #define HAVE_NETINET_IN_SYSTM_H 1
7380| #define HAVE_FLOAT_H 1
7381| #define HAVE_LANGINFO_H 1
7382| #define HAVE_LOCALE_H 1
7383| #define HAVE_TIME_H 1
7384| #define HAVE_SYS_SOCKET_H 1
7385| #define SIZEOF_SIZE_T 8
7386| #define SIZEOF_PTRDIFF_T 8
7387| #define PRI_SIZE_PREFIX "z"
7388| #define PRI_PTRDIFF_PREFIX "t"
7389| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
7390| #define HAVE_ST_BLKSIZE 1
7391| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
7392| #define HAVE_ST_BLOCKS 1
7393| #define HAVE_STRUCT_STAT_ST_RDEV 1
7394| #define HAVE_ST_RDEV 1
7395| #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
7396| #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
7397| /* end confdefs.h.  */
7398| #include <stdio.h>
7399| #ifdef HAVE_SYS_TYPES_H
7400| # include <sys/types.h>
7401| #endif
7402| #ifdef HAVE_SYS_STAT_H
7403| # include <sys/stat.h>
7404| #endif
7405| #ifdef STDC_HEADERS
7406| # include <stdlib.h>
7407| # include <stddef.h>
7408| #else
7409| # ifdef HAVE_STDLIB_H
7410| #  include <stdlib.h>
7411| # endif
7412| #endif
7413| #ifdef HAVE_STRING_H
7414| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
7415| #  include <memory.h>
7416| # endif
7417| # include <string.h>
7418| #endif
7419| #ifdef HAVE_STRINGS_H
7420| # include <strings.h>
7421| #endif
7422| #ifdef HAVE_INTTYPES_H
7423| # include <inttypes.h>
7424| #endif
7425| #ifdef HAVE_STDINT_H
7426| # include <stdint.h>
7427| #endif
7428| #ifdef HAVE_UNISTD_H
7429| # include <unistd.h>
7430| #endif
7431| int
7432| main ()
7433| {
7434| static struct stat ac_aggr;
7435| if (ac_aggr.st_atimespec)
7436| return 0;
7437|   ;
7438|   return 0;
7439| }
7440configure:11842: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
7441configure:11842: $? = 0
7442configure:11842: result: yes
7443configure:11852: checking for struct stat.st_atimensec
7444configure:11852: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
7445conftest.c:155:13: error: no member named 'st_atimensec' in 'struct stat'; did you mean 'st_atimespec'?
7446if (ac_aggr.st_atimensec)
7447            ^~~~~~~~~~~~
7448            st_atimespec
7449/usr/include/sys/stat.h:225:13: note: 'st_atimespec' declared here
7450struct stat __DARWIN_STRUCT_STAT64;
7451            ^
7452/usr/include/sys/stat.h:209:2: note: expanded from macro '__DARWIN_STRUCT_STAT64'
7453        __DARWIN_STRUCT_STAT64_TIMES \
7454        ^
7455/usr/include/sys/stat.h:172:18: note: expanded from macro '__DARWIN_STRUCT_STAT64_TIMES'
7456        struct timespec st_atimespec;           /* time of last access */ \
7457                        ^
7458conftest.c:155:1: error: statement requires expression of scalar type ('struct timespec' invalid)
7459if (ac_aggr.st_atimensec)
7460^   ~~~~~~~~~~~~~~~~~~~~
74612 errors generated.
7462configure:11852: $? = 1
7463configure: failed program was:
7464| /* confdefs.h */
7465| #define PACKAGE_NAME ""
7466| #define PACKAGE_TARNAME ""
7467| #define PACKAGE_VERSION ""
7468| #define PACKAGE_STRING ""
7469| #define PACKAGE_BUGREPORT ""
7470| #define PACKAGE_URL ""
7471| #define CANONICALIZATION_FOR_MATHN 1
7472| #define STDC_HEADERS 1
7473| #define HAVE_SYS_TYPES_H 1
7474| #define HAVE_SYS_STAT_H 1
7475| #define HAVE_STDLIB_H 1
7476| #define HAVE_STRING_H 1
7477| #define HAVE_MEMORY_H 1
7478| #define HAVE_STRINGS_H 1
7479| #define HAVE_INTTYPES_H 1
7480| #define HAVE_STDINT_H 1
7481| #define HAVE_UNISTD_H 1
7482| #define __EXTENSIONS__ 1
7483| #define _ALL_SOURCE 1
7484| #define _GNU_SOURCE 1
7485| #define _POSIX_PTHREAD_SEMANTICS 1
7486| #define _TANDEM_SOURCE 1
7487| #define HAVE_LONG_LONG 1
7488| #define HAVE_OFF_T 1
7489| #define SIZEOF_INT 4
7490| #define SIZEOF_SHORT 2
7491| #define SIZEOF_LONG 8
7492| #define SIZEOF_LONG_LONG 8
7493| #define SIZEOF___INT64 0
7494| #define SIZEOF_OFF_T 8
7495| #define SIZEOF_VOIDP 8
7496| #define SIZEOF_FLOAT 4
7497| #define SIZEOF_DOUBLE 8
7498| #define SIZEOF_TIME_T 8
7499| #define PRI_LL_PREFIX "ll"
7500| #define rb_pid_t pid_t
7501| #define PIDT2NUM(v) INT2NUM(v)
7502| #define NUM2PIDT(v) NUM2INT(v)
7503| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
7504| #define rb_uid_t uid_t
7505| #define UIDT2NUM(v) UINT2NUM(v)
7506| #define NUM2UIDT(v) NUM2UINT(v)
7507| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
7508| #define rb_gid_t gid_t
7509| #define GIDT2NUM(v) UINT2NUM(v)
7510| #define NUM2GIDT(v) NUM2UINT(v)
7511| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
7512| #define rb_time_t time_t
7513| #define TIMET2NUM(v) LONG2NUM(v)
7514| #define NUM2TIMET(v) NUM2LONG(v)
7515| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
7516| #define rb_dev_t dev_t
7517| #define DEVT2NUM(v) INT2NUM(v)
7518| #define NUM2DEVT(v) NUM2INT(v)
7519| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
7520| #define rb_mode_t mode_t
7521| #define MODET2NUM(v) UINT2NUM(v)
7522| #define NUM2MODET(v) NUM2UINT(v)
7523| #define PRI_MODET_PREFIX PRI_INT_PREFIX
7524| #define rb_rlim_t rlim_t
7525| #define RLIM2NUM(v) ULL2NUM(v)
7526| #define NUM2RLIM(v) NUM2ULL(v)
7527| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
7528| #define HAVE_PROTOTYPES 1
7529| #define TOKEN_PASTE(x,y) x##y
7530| #define STRINGIZE(expr) STRINGIZE0(expr)
7531| #define HAVE_STDARG_PROTOTYPES 1
7532| #define HAVE_VA_ARGS_MACRO 1
7533| #define NORETURN(x) __attribute__ ((noreturn)) x
7534| #define DEPRECATED(x) __attribute__ ((deprecated)) x
7535| #define NOINLINE(x) __attribute__ ((noinline)) x
7536| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
7537| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
7538| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
7539| #define HAVE_GCC_ATOMIC_BUILTINS 1
7540| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
7541| #define HAVE_DECL_SYS_NERR 1
7542| #define HAVE_LIBDL 1
7543| #define HAVE_DIRENT_H 1
7544| #define HAVE__BOOL 1
7545| #define HAVE_STDBOOL_H 1
7546| #define HAVE_SYS_WAIT_H 1
7547| #define HAVE_LIMITS_H 1
7548| #define HAVE_SYS_FILE_H 1
7549| #define HAVE_SYS_IOCTL_H 1
7550| #define HAVE_SYS_SYSCALL_H 1
7551| #define HAVE_FCNTL_H 1
7552| #define HAVE_SYS_FCNTL_H 1
7553| #define HAVE_SYS_SELECT_H 1
7554| #define HAVE_SYS_TIME_H 1
7555| #define HAVE_SYS_TIMES_H 1
7556| #define HAVE_SYS_PARAM_H 1
7557| #define HAVE_PWD_H 1
7558| #define HAVE_GRP_H 1
7559| #define HAVE_UTIME_H 1
7560| #define HAVE_SYS_RESOURCE_H 1
7561| #define HAVE_NETINET_IN_SYSTM_H 1
7562| #define HAVE_FLOAT_H 1
7563| #define HAVE_LANGINFO_H 1
7564| #define HAVE_LOCALE_H 1
7565| #define HAVE_TIME_H 1
7566| #define HAVE_SYS_SOCKET_H 1
7567| #define SIZEOF_SIZE_T 8
7568| #define SIZEOF_PTRDIFF_T 8
7569| #define PRI_SIZE_PREFIX "z"
7570| #define PRI_PTRDIFF_PREFIX "t"
7571| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
7572| #define HAVE_ST_BLKSIZE 1
7573| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
7574| #define HAVE_ST_BLOCKS 1
7575| #define HAVE_STRUCT_STAT_ST_RDEV 1
7576| #define HAVE_ST_RDEV 1
7577| #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
7578| #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
7579| #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
7580| /* end confdefs.h.  */
7581| #include <stdio.h>
7582| #ifdef HAVE_SYS_TYPES_H
7583| # include <sys/types.h>
7584| #endif
7585| #ifdef HAVE_SYS_STAT_H
7586| # include <sys/stat.h>
7587| #endif
7588| #ifdef STDC_HEADERS
7589| # include <stdlib.h>
7590| # include <stddef.h>
7591| #else
7592| # ifdef HAVE_STDLIB_H
7593| #  include <stdlib.h>
7594| # endif
7595| #endif
7596| #ifdef HAVE_STRING_H
7597| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
7598| #  include <memory.h>
7599| # endif
7600| # include <string.h>
7601| #endif
7602| #ifdef HAVE_STRINGS_H
7603| # include <strings.h>
7604| #endif
7605| #ifdef HAVE_INTTYPES_H
7606| # include <inttypes.h>
7607| #endif
7608| #ifdef HAVE_STDINT_H
7609| # include <stdint.h>
7610| #endif
7611| #ifdef HAVE_UNISTD_H
7612| # include <unistd.h>
7613| #endif
7614| int
7615| main ()
7616| {
7617| static struct stat ac_aggr;
7618| if (ac_aggr.st_atimensec)
7619| return 0;
7620|   ;
7621|   return 0;
7622| }
7623configure:11852: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
7624conftest.c:155:20: error: no member named 'st_atimensec' in 'struct stat'; did you mean 'st_atimespec'?
7625if (sizeof ac_aggr.st_atimensec)
7626                   ^~~~~~~~~~~~
7627                   st_atimespec
7628/usr/include/sys/stat.h:225:13: note: 'st_atimespec' declared here
7629struct stat __DARWIN_STRUCT_STAT64;
7630            ^
7631/usr/include/sys/stat.h:209:2: note: expanded from macro '__DARWIN_STRUCT_STAT64'
7632        __DARWIN_STRUCT_STAT64_TIMES \
7633        ^
7634/usr/include/sys/stat.h:172:18: note: expanded from macro '__DARWIN_STRUCT_STAT64_TIMES'
7635        struct timespec st_atimespec;           /* time of last access */ \
7636                        ^
76371 error generated.
7638configure:11852: $? = 1
7639configure: failed program was:
7640| /* confdefs.h */
7641| #define PACKAGE_NAME ""
7642| #define PACKAGE_TARNAME ""
7643| #define PACKAGE_VERSION ""
7644| #define PACKAGE_STRING ""
7645| #define PACKAGE_BUGREPORT ""
7646| #define PACKAGE_URL ""
7647| #define CANONICALIZATION_FOR_MATHN 1
7648| #define STDC_HEADERS 1
7649| #define HAVE_SYS_TYPES_H 1
7650| #define HAVE_SYS_STAT_H 1
7651| #define HAVE_STDLIB_H 1
7652| #define HAVE_STRING_H 1
7653| #define HAVE_MEMORY_H 1
7654| #define HAVE_STRINGS_H 1
7655| #define HAVE_INTTYPES_H 1
7656| #define HAVE_STDINT_H 1
7657| #define HAVE_UNISTD_H 1
7658| #define __EXTENSIONS__ 1
7659| #define _ALL_SOURCE 1
7660| #define _GNU_SOURCE 1
7661| #define _POSIX_PTHREAD_SEMANTICS 1
7662| #define _TANDEM_SOURCE 1
7663| #define HAVE_LONG_LONG 1
7664| #define HAVE_OFF_T 1
7665| #define SIZEOF_INT 4
7666| #define SIZEOF_SHORT 2
7667| #define SIZEOF_LONG 8
7668| #define SIZEOF_LONG_LONG 8
7669| #define SIZEOF___INT64 0
7670| #define SIZEOF_OFF_T 8
7671| #define SIZEOF_VOIDP 8
7672| #define SIZEOF_FLOAT 4
7673| #define SIZEOF_DOUBLE 8
7674| #define SIZEOF_TIME_T 8
7675| #define PRI_LL_PREFIX "ll"
7676| #define rb_pid_t pid_t
7677| #define PIDT2NUM(v) INT2NUM(v)
7678| #define NUM2PIDT(v) NUM2INT(v)
7679| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
7680| #define rb_uid_t uid_t
7681| #define UIDT2NUM(v) UINT2NUM(v)
7682| #define NUM2UIDT(v) NUM2UINT(v)
7683| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
7684| #define rb_gid_t gid_t
7685| #define GIDT2NUM(v) UINT2NUM(v)
7686| #define NUM2GIDT(v) NUM2UINT(v)
7687| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
7688| #define rb_time_t time_t
7689| #define TIMET2NUM(v) LONG2NUM(v)
7690| #define NUM2TIMET(v) NUM2LONG(v)
7691| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
7692| #define rb_dev_t dev_t
7693| #define DEVT2NUM(v) INT2NUM(v)
7694| #define NUM2DEVT(v) NUM2INT(v)
7695| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
7696| #define rb_mode_t mode_t
7697| #define MODET2NUM(v) UINT2NUM(v)
7698| #define NUM2MODET(v) NUM2UINT(v)
7699| #define PRI_MODET_PREFIX PRI_INT_PREFIX
7700| #define rb_rlim_t rlim_t
7701| #define RLIM2NUM(v) ULL2NUM(v)
7702| #define NUM2RLIM(v) NUM2ULL(v)
7703| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
7704| #define HAVE_PROTOTYPES 1
7705| #define TOKEN_PASTE(x,y) x##y
7706| #define STRINGIZE(expr) STRINGIZE0(expr)
7707| #define HAVE_STDARG_PROTOTYPES 1
7708| #define HAVE_VA_ARGS_MACRO 1
7709| #define NORETURN(x) __attribute__ ((noreturn)) x
7710| #define DEPRECATED(x) __attribute__ ((deprecated)) x
7711| #define NOINLINE(x) __attribute__ ((noinline)) x
7712| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
7713| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
7714| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
7715| #define HAVE_GCC_ATOMIC_BUILTINS 1
7716| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
7717| #define HAVE_DECL_SYS_NERR 1
7718| #define HAVE_LIBDL 1
7719| #define HAVE_DIRENT_H 1
7720| #define HAVE__BOOL 1
7721| #define HAVE_STDBOOL_H 1
7722| #define HAVE_SYS_WAIT_H 1
7723| #define HAVE_LIMITS_H 1
7724| #define HAVE_SYS_FILE_H 1
7725| #define HAVE_SYS_IOCTL_H 1
7726| #define HAVE_SYS_SYSCALL_H 1
7727| #define HAVE_FCNTL_H 1
7728| #define HAVE_SYS_FCNTL_H 1
7729| #define HAVE_SYS_SELECT_H 1
7730| #define HAVE_SYS_TIME_H 1
7731| #define HAVE_SYS_TIMES_H 1
7732| #define HAVE_SYS_PARAM_H 1
7733| #define HAVE_PWD_H 1
7734| #define HAVE_GRP_H 1
7735| #define HAVE_UTIME_H 1
7736| #define HAVE_SYS_RESOURCE_H 1
7737| #define HAVE_NETINET_IN_SYSTM_H 1
7738| #define HAVE_FLOAT_H 1
7739| #define HAVE_LANGINFO_H 1
7740| #define HAVE_LOCALE_H 1
7741| #define HAVE_TIME_H 1
7742| #define HAVE_SYS_SOCKET_H 1
7743| #define SIZEOF_SIZE_T 8
7744| #define SIZEOF_PTRDIFF_T 8
7745| #define PRI_SIZE_PREFIX "z"
7746| #define PRI_PTRDIFF_PREFIX "t"
7747| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
7748| #define HAVE_ST_BLKSIZE 1
7749| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
7750| #define HAVE_ST_BLOCKS 1
7751| #define HAVE_STRUCT_STAT_ST_RDEV 1
7752| #define HAVE_ST_RDEV 1
7753| #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
7754| #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
7755| #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
7756| /* end confdefs.h.  */
7757| #include <stdio.h>
7758| #ifdef HAVE_SYS_TYPES_H
7759| # include <sys/types.h>
7760| #endif
7761| #ifdef HAVE_SYS_STAT_H
7762| # include <sys/stat.h>
7763| #endif
7764| #ifdef STDC_HEADERS
7765| # include <stdlib.h>
7766| # include <stddef.h>
7767| #else
7768| # ifdef HAVE_STDLIB_H
7769| #  include <stdlib.h>
7770| # endif
7771| #endif
7772| #ifdef HAVE_STRING_H
7773| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
7774| #  include <memory.h>
7775| # endif
7776| # include <string.h>
7777| #endif
7778| #ifdef HAVE_STRINGS_H
7779| # include <strings.h>
7780| #endif
7781| #ifdef HAVE_INTTYPES_H
7782| # include <inttypes.h>
7783| #endif
7784| #ifdef HAVE_STDINT_H
7785| # include <stdint.h>
7786| #endif
7787| #ifdef HAVE_UNISTD_H
7788| # include <unistd.h>
7789| #endif
7790| int
7791| main ()
7792| {
7793| static struct stat ac_aggr;
7794| if (sizeof ac_aggr.st_atimensec)
7795| return 0;
7796|   ;
7797|   return 0;
7798| }
7799configure:11852: result: no
7800configure:11862: checking for struct stat.st_mtim
7801configure:11862: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
7802conftest.c:155:13: error: no member named 'st_mtim' in 'struct stat'
7803if (ac_aggr.st_mtim)
7804    ~~~~~~~ ^
78051 error generated.
7806configure:11862: $? = 1
7807configure: failed program was:
7808| /* confdefs.h */
7809| #define PACKAGE_NAME ""
7810| #define PACKAGE_TARNAME ""
7811| #define PACKAGE_VERSION ""
7812| #define PACKAGE_STRING ""
7813| #define PACKAGE_BUGREPORT ""
7814| #define PACKAGE_URL ""
7815| #define CANONICALIZATION_FOR_MATHN 1
7816| #define STDC_HEADERS 1
7817| #define HAVE_SYS_TYPES_H 1
7818| #define HAVE_SYS_STAT_H 1
7819| #define HAVE_STDLIB_H 1
7820| #define HAVE_STRING_H 1
7821| #define HAVE_MEMORY_H 1
7822| #define HAVE_STRINGS_H 1
7823| #define HAVE_INTTYPES_H 1
7824| #define HAVE_STDINT_H 1
7825| #define HAVE_UNISTD_H 1
7826| #define __EXTENSIONS__ 1
7827| #define _ALL_SOURCE 1
7828| #define _GNU_SOURCE 1
7829| #define _POSIX_PTHREAD_SEMANTICS 1
7830| #define _TANDEM_SOURCE 1
7831| #define HAVE_LONG_LONG 1
7832| #define HAVE_OFF_T 1
7833| #define SIZEOF_INT 4
7834| #define SIZEOF_SHORT 2
7835| #define SIZEOF_LONG 8
7836| #define SIZEOF_LONG_LONG 8
7837| #define SIZEOF___INT64 0
7838| #define SIZEOF_OFF_T 8
7839| #define SIZEOF_VOIDP 8
7840| #define SIZEOF_FLOAT 4
7841| #define SIZEOF_DOUBLE 8
7842| #define SIZEOF_TIME_T 8
7843| #define PRI_LL_PREFIX "ll"
7844| #define rb_pid_t pid_t
7845| #define PIDT2NUM(v) INT2NUM(v)
7846| #define NUM2PIDT(v) NUM2INT(v)
7847| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
7848| #define rb_uid_t uid_t
7849| #define UIDT2NUM(v) UINT2NUM(v)
7850| #define NUM2UIDT(v) NUM2UINT(v)
7851| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
7852| #define rb_gid_t gid_t
7853| #define GIDT2NUM(v) UINT2NUM(v)
7854| #define NUM2GIDT(v) NUM2UINT(v)
7855| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
7856| #define rb_time_t time_t
7857| #define TIMET2NUM(v) LONG2NUM(v)
7858| #define NUM2TIMET(v) NUM2LONG(v)
7859| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
7860| #define rb_dev_t dev_t
7861| #define DEVT2NUM(v) INT2NUM(v)
7862| #define NUM2DEVT(v) NUM2INT(v)
7863| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
7864| #define rb_mode_t mode_t
7865| #define MODET2NUM(v) UINT2NUM(v)
7866| #define NUM2MODET(v) NUM2UINT(v)
7867| #define PRI_MODET_PREFIX PRI_INT_PREFIX
7868| #define rb_rlim_t rlim_t
7869| #define RLIM2NUM(v) ULL2NUM(v)
7870| #define NUM2RLIM(v) NUM2ULL(v)
7871| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
7872| #define HAVE_PROTOTYPES 1
7873| #define TOKEN_PASTE(x,y) x##y
7874| #define STRINGIZE(expr) STRINGIZE0(expr)
7875| #define HAVE_STDARG_PROTOTYPES 1
7876| #define HAVE_VA_ARGS_MACRO 1
7877| #define NORETURN(x) __attribute__ ((noreturn)) x
7878| #define DEPRECATED(x) __attribute__ ((deprecated)) x
7879| #define NOINLINE(x) __attribute__ ((noinline)) x
7880| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
7881| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
7882| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
7883| #define HAVE_GCC_ATOMIC_BUILTINS 1
7884| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
7885| #define HAVE_DECL_SYS_NERR 1
7886| #define HAVE_LIBDL 1
7887| #define HAVE_DIRENT_H 1
7888| #define HAVE__BOOL 1
7889| #define HAVE_STDBOOL_H 1
7890| #define HAVE_SYS_WAIT_H 1
7891| #define HAVE_LIMITS_H 1
7892| #define HAVE_SYS_FILE_H 1
7893| #define HAVE_SYS_IOCTL_H 1
7894| #define HAVE_SYS_SYSCALL_H 1
7895| #define HAVE_FCNTL_H 1
7896| #define HAVE_SYS_FCNTL_H 1
7897| #define HAVE_SYS_SELECT_H 1
7898| #define HAVE_SYS_TIME_H 1
7899| #define HAVE_SYS_TIMES_H 1
7900| #define HAVE_SYS_PARAM_H 1
7901| #define HAVE_PWD_H 1
7902| #define HAVE_GRP_H 1
7903| #define HAVE_UTIME_H 1
7904| #define HAVE_SYS_RESOURCE_H 1
7905| #define HAVE_NETINET_IN_SYSTM_H 1
7906| #define HAVE_FLOAT_H 1
7907| #define HAVE_LANGINFO_H 1
7908| #define HAVE_LOCALE_H 1
7909| #define HAVE_TIME_H 1
7910| #define HAVE_SYS_SOCKET_H 1
7911| #define SIZEOF_SIZE_T 8
7912| #define SIZEOF_PTRDIFF_T 8
7913| #define PRI_SIZE_PREFIX "z"
7914| #define PRI_PTRDIFF_PREFIX "t"
7915| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
7916| #define HAVE_ST_BLKSIZE 1
7917| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
7918| #define HAVE_ST_BLOCKS 1
7919| #define HAVE_STRUCT_STAT_ST_RDEV 1
7920| #define HAVE_ST_RDEV 1
7921| #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
7922| #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
7923| #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
7924| /* end confdefs.h.  */
7925| #include <stdio.h>
7926| #ifdef HAVE_SYS_TYPES_H
7927| # include <sys/types.h>
7928| #endif
7929| #ifdef HAVE_SYS_STAT_H
7930| # include <sys/stat.h>
7931| #endif
7932| #ifdef STDC_HEADERS
7933| # include <stdlib.h>
7934| # include <stddef.h>
7935| #else
7936| # ifdef HAVE_STDLIB_H
7937| #  include <stdlib.h>
7938| # endif
7939| #endif
7940| #ifdef HAVE_STRING_H
7941| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
7942| #  include <memory.h>
7943| # endif
7944| # include <string.h>
7945| #endif
7946| #ifdef HAVE_STRINGS_H
7947| # include <strings.h>
7948| #endif
7949| #ifdef HAVE_INTTYPES_H
7950| # include <inttypes.h>
7951| #endif
7952| #ifdef HAVE_STDINT_H
7953| # include <stdint.h>
7954| #endif
7955| #ifdef HAVE_UNISTD_H
7956| # include <unistd.h>
7957| #endif
7958| int
7959| main ()
7960| {
7961| static struct stat ac_aggr;
7962| if (ac_aggr.st_mtim)
7963| return 0;
7964|   ;
7965|   return 0;
7966| }
7967configure:11862: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
7968conftest.c:155:20: error: no member named 'st_mtim' in 'struct stat'
7969if (sizeof ac_aggr.st_mtim)
7970           ~~~~~~~ ^
79711 error generated.
7972configure:11862: $? = 1
7973configure: failed program was:
7974| /* confdefs.h */
7975| #define PACKAGE_NAME ""
7976| #define PACKAGE_TARNAME ""
7977| #define PACKAGE_VERSION ""
7978| #define PACKAGE_STRING ""
7979| #define PACKAGE_BUGREPORT ""
7980| #define PACKAGE_URL ""
7981| #define CANONICALIZATION_FOR_MATHN 1
7982| #define STDC_HEADERS 1
7983| #define HAVE_SYS_TYPES_H 1
7984| #define HAVE_SYS_STAT_H 1
7985| #define HAVE_STDLIB_H 1
7986| #define HAVE_STRING_H 1
7987| #define HAVE_MEMORY_H 1
7988| #define HAVE_STRINGS_H 1
7989| #define HAVE_INTTYPES_H 1
7990| #define HAVE_STDINT_H 1
7991| #define HAVE_UNISTD_H 1
7992| #define __EXTENSIONS__ 1
7993| #define _ALL_SOURCE 1
7994| #define _GNU_SOURCE 1
7995| #define _POSIX_PTHREAD_SEMANTICS 1
7996| #define _TANDEM_SOURCE 1
7997| #define HAVE_LONG_LONG 1
7998| #define HAVE_OFF_T 1
7999| #define SIZEOF_INT 4
8000| #define SIZEOF_SHORT 2
8001| #define SIZEOF_LONG 8
8002| #define SIZEOF_LONG_LONG 8
8003| #define SIZEOF___INT64 0
8004| #define SIZEOF_OFF_T 8
8005| #define SIZEOF_VOIDP 8
8006| #define SIZEOF_FLOAT 4
8007| #define SIZEOF_DOUBLE 8
8008| #define SIZEOF_TIME_T 8
8009| #define PRI_LL_PREFIX "ll"
8010| #define rb_pid_t pid_t
8011| #define PIDT2NUM(v) INT2NUM(v)
8012| #define NUM2PIDT(v) NUM2INT(v)
8013| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
8014| #define rb_uid_t uid_t
8015| #define UIDT2NUM(v) UINT2NUM(v)
8016| #define NUM2UIDT(v) NUM2UINT(v)
8017| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
8018| #define rb_gid_t gid_t
8019| #define GIDT2NUM(v) UINT2NUM(v)
8020| #define NUM2GIDT(v) NUM2UINT(v)
8021| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
8022| #define rb_time_t time_t
8023| #define TIMET2NUM(v) LONG2NUM(v)
8024| #define NUM2TIMET(v) NUM2LONG(v)
8025| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
8026| #define rb_dev_t dev_t
8027| #define DEVT2NUM(v) INT2NUM(v)
8028| #define NUM2DEVT(v) NUM2INT(v)
8029| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
8030| #define rb_mode_t mode_t
8031| #define MODET2NUM(v) UINT2NUM(v)
8032| #define NUM2MODET(v) NUM2UINT(v)
8033| #define PRI_MODET_PREFIX PRI_INT_PREFIX
8034| #define rb_rlim_t rlim_t
8035| #define RLIM2NUM(v) ULL2NUM(v)
8036| #define NUM2RLIM(v) NUM2ULL(v)
8037| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
8038| #define HAVE_PROTOTYPES 1
8039| #define TOKEN_PASTE(x,y) x##y
8040| #define STRINGIZE(expr) STRINGIZE0(expr)
8041| #define HAVE_STDARG_PROTOTYPES 1
8042| #define HAVE_VA_ARGS_MACRO 1
8043| #define NORETURN(x) __attribute__ ((noreturn)) x
8044| #define DEPRECATED(x) __attribute__ ((deprecated)) x
8045| #define NOINLINE(x) __attribute__ ((noinline)) x
8046| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
8047| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
8048| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
8049| #define HAVE_GCC_ATOMIC_BUILTINS 1
8050| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
8051| #define HAVE_DECL_SYS_NERR 1
8052| #define HAVE_LIBDL 1
8053| #define HAVE_DIRENT_H 1
8054| #define HAVE__BOOL 1
8055| #define HAVE_STDBOOL_H 1
8056| #define HAVE_SYS_WAIT_H 1
8057| #define HAVE_LIMITS_H 1
8058| #define HAVE_SYS_FILE_H 1
8059| #define HAVE_SYS_IOCTL_H 1
8060| #define HAVE_SYS_SYSCALL_H 1
8061| #define HAVE_FCNTL_H 1
8062| #define HAVE_SYS_FCNTL_H 1
8063| #define HAVE_SYS_SELECT_H 1
8064| #define HAVE_SYS_TIME_H 1
8065| #define HAVE_SYS_TIMES_H 1
8066| #define HAVE_SYS_PARAM_H 1
8067| #define HAVE_PWD_H 1
8068| #define HAVE_GRP_H 1
8069| #define HAVE_UTIME_H 1
8070| #define HAVE_SYS_RESOURCE_H 1
8071| #define HAVE_NETINET_IN_SYSTM_H 1
8072| #define HAVE_FLOAT_H 1
8073| #define HAVE_LANGINFO_H 1
8074| #define HAVE_LOCALE_H 1
8075| #define HAVE_TIME_H 1
8076| #define HAVE_SYS_SOCKET_H 1
8077| #define SIZEOF_SIZE_T 8
8078| #define SIZEOF_PTRDIFF_T 8
8079| #define PRI_SIZE_PREFIX "z"
8080| #define PRI_PTRDIFF_PREFIX "t"
8081| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
8082| #define HAVE_ST_BLKSIZE 1
8083| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
8084| #define HAVE_ST_BLOCKS 1
8085| #define HAVE_STRUCT_STAT_ST_RDEV 1
8086| #define HAVE_ST_RDEV 1
8087| #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
8088| #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
8089| #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
8090| /* end confdefs.h.  */
8091| #include <stdio.h>
8092| #ifdef HAVE_SYS_TYPES_H
8093| # include <sys/types.h>
8094| #endif
8095| #ifdef HAVE_SYS_STAT_H
8096| # include <sys/stat.h>
8097| #endif
8098| #ifdef STDC_HEADERS
8099| # include <stdlib.h>
8100| # include <stddef.h>
8101| #else
8102| # ifdef HAVE_STDLIB_H
8103| #  include <stdlib.h>
8104| # endif
8105| #endif
8106| #ifdef HAVE_STRING_H
8107| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
8108| #  include <memory.h>
8109| # endif
8110| # include <string.h>
8111| #endif
8112| #ifdef HAVE_STRINGS_H
8113| # include <strings.h>
8114| #endif
8115| #ifdef HAVE_INTTYPES_H
8116| # include <inttypes.h>
8117| #endif
8118| #ifdef HAVE_STDINT_H
8119| # include <stdint.h>
8120| #endif
8121| #ifdef HAVE_UNISTD_H
8122| # include <unistd.h>
8123| #endif
8124| int
8125| main ()
8126| {
8127| static struct stat ac_aggr;
8128| if (sizeof ac_aggr.st_mtim)
8129| return 0;
8130|   ;
8131|   return 0;
8132| }
8133configure:11862: result: no
8134configure:11872: checking for struct stat.st_mtimespec
8135configure:11872: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
8136conftest.c:155:1: error: statement requires expression of scalar type ('struct timespec' invalid)
8137if (ac_aggr.st_mtimespec)
8138^   ~~~~~~~~~~~~~~~~~~~~
81391 error generated.
8140configure:11872: $? = 1
8141configure: failed program was:
8142| /* confdefs.h */
8143| #define PACKAGE_NAME ""
8144| #define PACKAGE_TARNAME ""
8145| #define PACKAGE_VERSION ""
8146| #define PACKAGE_STRING ""
8147| #define PACKAGE_BUGREPORT ""
8148| #define PACKAGE_URL ""
8149| #define CANONICALIZATION_FOR_MATHN 1
8150| #define STDC_HEADERS 1
8151| #define HAVE_SYS_TYPES_H 1
8152| #define HAVE_SYS_STAT_H 1
8153| #define HAVE_STDLIB_H 1
8154| #define HAVE_STRING_H 1
8155| #define HAVE_MEMORY_H 1
8156| #define HAVE_STRINGS_H 1
8157| #define HAVE_INTTYPES_H 1
8158| #define HAVE_STDINT_H 1
8159| #define HAVE_UNISTD_H 1
8160| #define __EXTENSIONS__ 1
8161| #define _ALL_SOURCE 1
8162| #define _GNU_SOURCE 1
8163| #define _POSIX_PTHREAD_SEMANTICS 1
8164| #define _TANDEM_SOURCE 1
8165| #define HAVE_LONG_LONG 1
8166| #define HAVE_OFF_T 1
8167| #define SIZEOF_INT 4
8168| #define SIZEOF_SHORT 2
8169| #define SIZEOF_LONG 8
8170| #define SIZEOF_LONG_LONG 8
8171| #define SIZEOF___INT64 0
8172| #define SIZEOF_OFF_T 8
8173| #define SIZEOF_VOIDP 8
8174| #define SIZEOF_FLOAT 4
8175| #define SIZEOF_DOUBLE 8
8176| #define SIZEOF_TIME_T 8
8177| #define PRI_LL_PREFIX "ll"
8178| #define rb_pid_t pid_t
8179| #define PIDT2NUM(v) INT2NUM(v)
8180| #define NUM2PIDT(v) NUM2INT(v)
8181| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
8182| #define rb_uid_t uid_t
8183| #define UIDT2NUM(v) UINT2NUM(v)
8184| #define NUM2UIDT(v) NUM2UINT(v)
8185| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
8186| #define rb_gid_t gid_t
8187| #define GIDT2NUM(v) UINT2NUM(v)
8188| #define NUM2GIDT(v) NUM2UINT(v)
8189| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
8190| #define rb_time_t time_t
8191| #define TIMET2NUM(v) LONG2NUM(v)
8192| #define NUM2TIMET(v) NUM2LONG(v)
8193| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
8194| #define rb_dev_t dev_t
8195| #define DEVT2NUM(v) INT2NUM(v)
8196| #define NUM2DEVT(v) NUM2INT(v)
8197| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
8198| #define rb_mode_t mode_t
8199| #define MODET2NUM(v) UINT2NUM(v)
8200| #define NUM2MODET(v) NUM2UINT(v)
8201| #define PRI_MODET_PREFIX PRI_INT_PREFIX
8202| #define rb_rlim_t rlim_t
8203| #define RLIM2NUM(v) ULL2NUM(v)
8204| #define NUM2RLIM(v) NUM2ULL(v)
8205| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
8206| #define HAVE_PROTOTYPES 1
8207| #define TOKEN_PASTE(x,y) x##y
8208| #define STRINGIZE(expr) STRINGIZE0(expr)
8209| #define HAVE_STDARG_PROTOTYPES 1
8210| #define HAVE_VA_ARGS_MACRO 1
8211| #define NORETURN(x) __attribute__ ((noreturn)) x
8212| #define DEPRECATED(x) __attribute__ ((deprecated)) x
8213| #define NOINLINE(x) __attribute__ ((noinline)) x
8214| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
8215| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
8216| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
8217| #define HAVE_GCC_ATOMIC_BUILTINS 1
8218| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
8219| #define HAVE_DECL_SYS_NERR 1
8220| #define HAVE_LIBDL 1
8221| #define HAVE_DIRENT_H 1
8222| #define HAVE__BOOL 1
8223| #define HAVE_STDBOOL_H 1
8224| #define HAVE_SYS_WAIT_H 1
8225| #define HAVE_LIMITS_H 1
8226| #define HAVE_SYS_FILE_H 1
8227| #define HAVE_SYS_IOCTL_H 1
8228| #define HAVE_SYS_SYSCALL_H 1
8229| #define HAVE_FCNTL_H 1
8230| #define HAVE_SYS_FCNTL_H 1
8231| #define HAVE_SYS_SELECT_H 1
8232| #define HAVE_SYS_TIME_H 1
8233| #define HAVE_SYS_TIMES_H 1
8234| #define HAVE_SYS_PARAM_H 1
8235| #define HAVE_PWD_H 1
8236| #define HAVE_GRP_H 1
8237| #define HAVE_UTIME_H 1
8238| #define HAVE_SYS_RESOURCE_H 1
8239| #define HAVE_NETINET_IN_SYSTM_H 1
8240| #define HAVE_FLOAT_H 1
8241| #define HAVE_LANGINFO_H 1
8242| #define HAVE_LOCALE_H 1
8243| #define HAVE_TIME_H 1
8244| #define HAVE_SYS_SOCKET_H 1
8245| #define SIZEOF_SIZE_T 8
8246| #define SIZEOF_PTRDIFF_T 8
8247| #define PRI_SIZE_PREFIX "z"
8248| #define PRI_PTRDIFF_PREFIX "t"
8249| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
8250| #define HAVE_ST_BLKSIZE 1
8251| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
8252| #define HAVE_ST_BLOCKS 1
8253| #define HAVE_STRUCT_STAT_ST_RDEV 1
8254| #define HAVE_ST_RDEV 1
8255| #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
8256| #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
8257| #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
8258| /* end confdefs.h.  */
8259| #include <stdio.h>
8260| #ifdef HAVE_SYS_TYPES_H
8261| # include <sys/types.h>
8262| #endif
8263| #ifdef HAVE_SYS_STAT_H
8264| # include <sys/stat.h>
8265| #endif
8266| #ifdef STDC_HEADERS
8267| # include <stdlib.h>
8268| # include <stddef.h>
8269| #else
8270| # ifdef HAVE_STDLIB_H
8271| #  include <stdlib.h>
8272| # endif
8273| #endif
8274| #ifdef HAVE_STRING_H
8275| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
8276| #  include <memory.h>
8277| # endif
8278| # include <string.h>
8279| #endif
8280| #ifdef HAVE_STRINGS_H
8281| # include <strings.h>
8282| #endif
8283| #ifdef HAVE_INTTYPES_H
8284| # include <inttypes.h>
8285| #endif
8286| #ifdef HAVE_STDINT_H
8287| # include <stdint.h>
8288| #endif
8289| #ifdef HAVE_UNISTD_H
8290| # include <unistd.h>
8291| #endif
8292| int
8293| main ()
8294| {
8295| static struct stat ac_aggr;
8296| if (ac_aggr.st_mtimespec)
8297| return 0;
8298|   ;
8299|   return 0;
8300| }
8301configure:11872: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
8302configure:11872: $? = 0
8303configure:11872: result: yes
8304configure:11882: checking for struct stat.st_mtimensec
8305configure:11882: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
8306conftest.c:156:13: error: no member named 'st_mtimensec' in 'struct stat'; did you mean 'st_mtimespec'?
8307if (ac_aggr.st_mtimensec)
8308            ^~~~~~~~~~~~
8309            st_mtimespec
8310/usr/include/sys/stat.h:225:13: note: 'st_mtimespec' declared here
8311struct stat __DARWIN_STRUCT_STAT64;
8312            ^
8313/usr/include/sys/stat.h:209:2: note: expanded from macro '__DARWIN_STRUCT_STAT64'
8314        __DARWIN_STRUCT_STAT64_TIMES \
8315        ^
8316/usr/include/sys/stat.h:173:18: note: expanded from macro '__DARWIN_STRUCT_STAT64_TIMES'
8317        struct timespec st_mtimespec;           /* time of last data modification */ \
8318                        ^
8319conftest.c:156:1: error: statement requires expression of scalar type ('struct timespec' invalid)
8320if (ac_aggr.st_mtimensec)
8321^   ~~~~~~~~~~~~~~~~~~~~
83222 errors generated.
8323configure:11882: $? = 1
8324configure: failed program was:
8325| /* confdefs.h */
8326| #define PACKAGE_NAME ""
8327| #define PACKAGE_TARNAME ""
8328| #define PACKAGE_VERSION ""
8329| #define PACKAGE_STRING ""
8330| #define PACKAGE_BUGREPORT ""
8331| #define PACKAGE_URL ""
8332| #define CANONICALIZATION_FOR_MATHN 1
8333| #define STDC_HEADERS 1
8334| #define HAVE_SYS_TYPES_H 1
8335| #define HAVE_SYS_STAT_H 1
8336| #define HAVE_STDLIB_H 1
8337| #define HAVE_STRING_H 1
8338| #define HAVE_MEMORY_H 1
8339| #define HAVE_STRINGS_H 1
8340| #define HAVE_INTTYPES_H 1
8341| #define HAVE_STDINT_H 1
8342| #define HAVE_UNISTD_H 1
8343| #define __EXTENSIONS__ 1
8344| #define _ALL_SOURCE 1
8345| #define _GNU_SOURCE 1
8346| #define _POSIX_PTHREAD_SEMANTICS 1
8347| #define _TANDEM_SOURCE 1
8348| #define HAVE_LONG_LONG 1
8349| #define HAVE_OFF_T 1
8350| #define SIZEOF_INT 4
8351| #define SIZEOF_SHORT 2
8352| #define SIZEOF_LONG 8
8353| #define SIZEOF_LONG_LONG 8
8354| #define SIZEOF___INT64 0
8355| #define SIZEOF_OFF_T 8
8356| #define SIZEOF_VOIDP 8
8357| #define SIZEOF_FLOAT 4
8358| #define SIZEOF_DOUBLE 8
8359| #define SIZEOF_TIME_T 8
8360| #define PRI_LL_PREFIX "ll"
8361| #define rb_pid_t pid_t
8362| #define PIDT2NUM(v) INT2NUM(v)
8363| #define NUM2PIDT(v) NUM2INT(v)
8364| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
8365| #define rb_uid_t uid_t
8366| #define UIDT2NUM(v) UINT2NUM(v)
8367| #define NUM2UIDT(v) NUM2UINT(v)
8368| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
8369| #define rb_gid_t gid_t
8370| #define GIDT2NUM(v) UINT2NUM(v)
8371| #define NUM2GIDT(v) NUM2UINT(v)
8372| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
8373| #define rb_time_t time_t
8374| #define TIMET2NUM(v) LONG2NUM(v)
8375| #define NUM2TIMET(v) NUM2LONG(v)
8376| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
8377| #define rb_dev_t dev_t
8378| #define DEVT2NUM(v) INT2NUM(v)
8379| #define NUM2DEVT(v) NUM2INT(v)
8380| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
8381| #define rb_mode_t mode_t
8382| #define MODET2NUM(v) UINT2NUM(v)
8383| #define NUM2MODET(v) NUM2UINT(v)
8384| #define PRI_MODET_PREFIX PRI_INT_PREFIX
8385| #define rb_rlim_t rlim_t
8386| #define RLIM2NUM(v) ULL2NUM(v)
8387| #define NUM2RLIM(v) NUM2ULL(v)
8388| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
8389| #define HAVE_PROTOTYPES 1
8390| #define TOKEN_PASTE(x,y) x##y
8391| #define STRINGIZE(expr) STRINGIZE0(expr)
8392| #define HAVE_STDARG_PROTOTYPES 1
8393| #define HAVE_VA_ARGS_MACRO 1
8394| #define NORETURN(x) __attribute__ ((noreturn)) x
8395| #define DEPRECATED(x) __attribute__ ((deprecated)) x
8396| #define NOINLINE(x) __attribute__ ((noinline)) x
8397| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
8398| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
8399| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
8400| #define HAVE_GCC_ATOMIC_BUILTINS 1
8401| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
8402| #define HAVE_DECL_SYS_NERR 1
8403| #define HAVE_LIBDL 1
8404| #define HAVE_DIRENT_H 1
8405| #define HAVE__BOOL 1
8406| #define HAVE_STDBOOL_H 1
8407| #define HAVE_SYS_WAIT_H 1
8408| #define HAVE_LIMITS_H 1
8409| #define HAVE_SYS_FILE_H 1
8410| #define HAVE_SYS_IOCTL_H 1
8411| #define HAVE_SYS_SYSCALL_H 1
8412| #define HAVE_FCNTL_H 1
8413| #define HAVE_SYS_FCNTL_H 1
8414| #define HAVE_SYS_SELECT_H 1
8415| #define HAVE_SYS_TIME_H 1
8416| #define HAVE_SYS_TIMES_H 1
8417| #define HAVE_SYS_PARAM_H 1
8418| #define HAVE_PWD_H 1
8419| #define HAVE_GRP_H 1
8420| #define HAVE_UTIME_H 1
8421| #define HAVE_SYS_RESOURCE_H 1
8422| #define HAVE_NETINET_IN_SYSTM_H 1
8423| #define HAVE_FLOAT_H 1
8424| #define HAVE_LANGINFO_H 1
8425| #define HAVE_LOCALE_H 1
8426| #define HAVE_TIME_H 1
8427| #define HAVE_SYS_SOCKET_H 1
8428| #define SIZEOF_SIZE_T 8
8429| #define SIZEOF_PTRDIFF_T 8
8430| #define PRI_SIZE_PREFIX "z"
8431| #define PRI_PTRDIFF_PREFIX "t"
8432| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
8433| #define HAVE_ST_BLKSIZE 1
8434| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
8435| #define HAVE_ST_BLOCKS 1
8436| #define HAVE_STRUCT_STAT_ST_RDEV 1
8437| #define HAVE_ST_RDEV 1
8438| #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
8439| #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
8440| #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
8441| #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
8442| /* end confdefs.h.  */
8443| #include <stdio.h>
8444| #ifdef HAVE_SYS_TYPES_H
8445| # include <sys/types.h>
8446| #endif
8447| #ifdef HAVE_SYS_STAT_H
8448| # include <sys/stat.h>
8449| #endif
8450| #ifdef STDC_HEADERS
8451| # include <stdlib.h>
8452| # include <stddef.h>
8453| #else
8454| # ifdef HAVE_STDLIB_H
8455| #  include <stdlib.h>
8456| # endif
8457| #endif
8458| #ifdef HAVE_STRING_H
8459| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
8460| #  include <memory.h>
8461| # endif
8462| # include <string.h>
8463| #endif
8464| #ifdef HAVE_STRINGS_H
8465| # include <strings.h>
8466| #endif
8467| #ifdef HAVE_INTTYPES_H
8468| # include <inttypes.h>
8469| #endif
8470| #ifdef HAVE_STDINT_H
8471| # include <stdint.h>
8472| #endif
8473| #ifdef HAVE_UNISTD_H
8474| # include <unistd.h>
8475| #endif
8476| int
8477| main ()
8478| {
8479| static struct stat ac_aggr;
8480| if (ac_aggr.st_mtimensec)
8481| return 0;
8482|   ;
8483|   return 0;
8484| }
8485configure:11882: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
8486conftest.c:156:20: error: no member named 'st_mtimensec' in 'struct stat'; did you mean 'st_mtimespec'?
8487if (sizeof ac_aggr.st_mtimensec)
8488                   ^~~~~~~~~~~~
8489                   st_mtimespec
8490/usr/include/sys/stat.h:225:13: note: 'st_mtimespec' declared here
8491struct stat __DARWIN_STRUCT_STAT64;
8492            ^
8493/usr/include/sys/stat.h:209:2: note: expanded from macro '__DARWIN_STRUCT_STAT64'
8494        __DARWIN_STRUCT_STAT64_TIMES \
8495        ^
8496/usr/include/sys/stat.h:173:18: note: expanded from macro '__DARWIN_STRUCT_STAT64_TIMES'
8497        struct timespec st_mtimespec;           /* time of last data modification */ \
8498                        ^
84991 error generated.
8500configure:11882: $? = 1
8501configure: failed program was:
8502| /* confdefs.h */
8503| #define PACKAGE_NAME ""
8504| #define PACKAGE_TARNAME ""
8505| #define PACKAGE_VERSION ""
8506| #define PACKAGE_STRING ""
8507| #define PACKAGE_BUGREPORT ""
8508| #define PACKAGE_URL ""
8509| #define CANONICALIZATION_FOR_MATHN 1
8510| #define STDC_HEADERS 1
8511| #define HAVE_SYS_TYPES_H 1
8512| #define HAVE_SYS_STAT_H 1
8513| #define HAVE_STDLIB_H 1
8514| #define HAVE_STRING_H 1
8515| #define HAVE_MEMORY_H 1
8516| #define HAVE_STRINGS_H 1
8517| #define HAVE_INTTYPES_H 1
8518| #define HAVE_STDINT_H 1
8519| #define HAVE_UNISTD_H 1
8520| #define __EXTENSIONS__ 1
8521| #define _ALL_SOURCE 1
8522| #define _GNU_SOURCE 1
8523| #define _POSIX_PTHREAD_SEMANTICS 1
8524| #define _TANDEM_SOURCE 1
8525| #define HAVE_LONG_LONG 1
8526| #define HAVE_OFF_T 1
8527| #define SIZEOF_INT 4
8528| #define SIZEOF_SHORT 2
8529| #define SIZEOF_LONG 8
8530| #define SIZEOF_LONG_LONG 8
8531| #define SIZEOF___INT64 0
8532| #define SIZEOF_OFF_T 8
8533| #define SIZEOF_VOIDP 8
8534| #define SIZEOF_FLOAT 4
8535| #define SIZEOF_DOUBLE 8
8536| #define SIZEOF_TIME_T 8
8537| #define PRI_LL_PREFIX "ll"
8538| #define rb_pid_t pid_t
8539| #define PIDT2NUM(v) INT2NUM(v)
8540| #define NUM2PIDT(v) NUM2INT(v)
8541| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
8542| #define rb_uid_t uid_t
8543| #define UIDT2NUM(v) UINT2NUM(v)
8544| #define NUM2UIDT(v) NUM2UINT(v)
8545| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
8546| #define rb_gid_t gid_t
8547| #define GIDT2NUM(v) UINT2NUM(v)
8548| #define NUM2GIDT(v) NUM2UINT(v)
8549| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
8550| #define rb_time_t time_t
8551| #define TIMET2NUM(v) LONG2NUM(v)
8552| #define NUM2TIMET(v) NUM2LONG(v)
8553| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
8554| #define rb_dev_t dev_t
8555| #define DEVT2NUM(v) INT2NUM(v)
8556| #define NUM2DEVT(v) NUM2INT(v)
8557| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
8558| #define rb_mode_t mode_t
8559| #define MODET2NUM(v) UINT2NUM(v)
8560| #define NUM2MODET(v) NUM2UINT(v)
8561| #define PRI_MODET_PREFIX PRI_INT_PREFIX
8562| #define rb_rlim_t rlim_t
8563| #define RLIM2NUM(v) ULL2NUM(v)
8564| #define NUM2RLIM(v) NUM2ULL(v)
8565| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
8566| #define HAVE_PROTOTYPES 1
8567| #define TOKEN_PASTE(x,y) x##y
8568| #define STRINGIZE(expr) STRINGIZE0(expr)
8569| #define HAVE_STDARG_PROTOTYPES 1
8570| #define HAVE_VA_ARGS_MACRO 1
8571| #define NORETURN(x) __attribute__ ((noreturn)) x
8572| #define DEPRECATED(x) __attribute__ ((deprecated)) x
8573| #define NOINLINE(x) __attribute__ ((noinline)) x
8574| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
8575| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
8576| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
8577| #define HAVE_GCC_ATOMIC_BUILTINS 1
8578| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
8579| #define HAVE_DECL_SYS_NERR 1
8580| #define HAVE_LIBDL 1
8581| #define HAVE_DIRENT_H 1
8582| #define HAVE__BOOL 1
8583| #define HAVE_STDBOOL_H 1
8584| #define HAVE_SYS_WAIT_H 1
8585| #define HAVE_LIMITS_H 1
8586| #define HAVE_SYS_FILE_H 1
8587| #define HAVE_SYS_IOCTL_H 1
8588| #define HAVE_SYS_SYSCALL_H 1
8589| #define HAVE_FCNTL_H 1
8590| #define HAVE_SYS_FCNTL_H 1
8591| #define HAVE_SYS_SELECT_H 1
8592| #define HAVE_SYS_TIME_H 1
8593| #define HAVE_SYS_TIMES_H 1
8594| #define HAVE_SYS_PARAM_H 1
8595| #define HAVE_PWD_H 1
8596| #define HAVE_GRP_H 1
8597| #define HAVE_UTIME_H 1
8598| #define HAVE_SYS_RESOURCE_H 1
8599| #define HAVE_NETINET_IN_SYSTM_H 1
8600| #define HAVE_FLOAT_H 1
8601| #define HAVE_LANGINFO_H 1
8602| #define HAVE_LOCALE_H 1
8603| #define HAVE_TIME_H 1
8604| #define HAVE_SYS_SOCKET_H 1
8605| #define SIZEOF_SIZE_T 8
8606| #define SIZEOF_PTRDIFF_T 8
8607| #define PRI_SIZE_PREFIX "z"
8608| #define PRI_PTRDIFF_PREFIX "t"
8609| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
8610| #define HAVE_ST_BLKSIZE 1
8611| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
8612| #define HAVE_ST_BLOCKS 1
8613| #define HAVE_STRUCT_STAT_ST_RDEV 1
8614| #define HAVE_ST_RDEV 1
8615| #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
8616| #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
8617| #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
8618| #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
8619| /* end confdefs.h.  */
8620| #include <stdio.h>
8621| #ifdef HAVE_SYS_TYPES_H
8622| # include <sys/types.h>
8623| #endif
8624| #ifdef HAVE_SYS_STAT_H
8625| # include <sys/stat.h>
8626| #endif
8627| #ifdef STDC_HEADERS
8628| # include <stdlib.h>
8629| # include <stddef.h>
8630| #else
8631| # ifdef HAVE_STDLIB_H
8632| #  include <stdlib.h>
8633| # endif
8634| #endif
8635| #ifdef HAVE_STRING_H
8636| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
8637| #  include <memory.h>
8638| # endif
8639| # include <string.h>
8640| #endif
8641| #ifdef HAVE_STRINGS_H
8642| # include <strings.h>
8643| #endif
8644| #ifdef HAVE_INTTYPES_H
8645| # include <inttypes.h>
8646| #endif
8647| #ifdef HAVE_STDINT_H
8648| # include <stdint.h>
8649| #endif
8650| #ifdef HAVE_UNISTD_H
8651| # include <unistd.h>
8652| #endif
8653| int
8654| main ()
8655| {
8656| static struct stat ac_aggr;
8657| if (sizeof ac_aggr.st_mtimensec)
8658| return 0;
8659|   ;
8660|   return 0;
8661| }
8662configure:11882: result: no
8663configure:11892: checking for struct stat.st_ctim
8664configure:11892: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
8665conftest.c:156:13: error: no member named 'st_ctim' in 'struct stat'
8666if (ac_aggr.st_ctim)
8667    ~~~~~~~ ^
86681 error generated.
8669configure:11892: $? = 1
8670configure: failed program was:
8671| /* confdefs.h */
8672| #define PACKAGE_NAME ""
8673| #define PACKAGE_TARNAME ""
8674| #define PACKAGE_VERSION ""
8675| #define PACKAGE_STRING ""
8676| #define PACKAGE_BUGREPORT ""
8677| #define PACKAGE_URL ""
8678| #define CANONICALIZATION_FOR_MATHN 1
8679| #define STDC_HEADERS 1
8680| #define HAVE_SYS_TYPES_H 1
8681| #define HAVE_SYS_STAT_H 1
8682| #define HAVE_STDLIB_H 1
8683| #define HAVE_STRING_H 1
8684| #define HAVE_MEMORY_H 1
8685| #define HAVE_STRINGS_H 1
8686| #define HAVE_INTTYPES_H 1
8687| #define HAVE_STDINT_H 1
8688| #define HAVE_UNISTD_H 1
8689| #define __EXTENSIONS__ 1
8690| #define _ALL_SOURCE 1
8691| #define _GNU_SOURCE 1
8692| #define _POSIX_PTHREAD_SEMANTICS 1
8693| #define _TANDEM_SOURCE 1
8694| #define HAVE_LONG_LONG 1
8695| #define HAVE_OFF_T 1
8696| #define SIZEOF_INT 4
8697| #define SIZEOF_SHORT 2
8698| #define SIZEOF_LONG 8
8699| #define SIZEOF_LONG_LONG 8
8700| #define SIZEOF___INT64 0
8701| #define SIZEOF_OFF_T 8
8702| #define SIZEOF_VOIDP 8
8703| #define SIZEOF_FLOAT 4
8704| #define SIZEOF_DOUBLE 8
8705| #define SIZEOF_TIME_T 8
8706| #define PRI_LL_PREFIX "ll"
8707| #define rb_pid_t pid_t
8708| #define PIDT2NUM(v) INT2NUM(v)
8709| #define NUM2PIDT(v) NUM2INT(v)
8710| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
8711| #define rb_uid_t uid_t
8712| #define UIDT2NUM(v) UINT2NUM(v)
8713| #define NUM2UIDT(v) NUM2UINT(v)
8714| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
8715| #define rb_gid_t gid_t
8716| #define GIDT2NUM(v) UINT2NUM(v)
8717| #define NUM2GIDT(v) NUM2UINT(v)
8718| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
8719| #define rb_time_t time_t
8720| #define TIMET2NUM(v) LONG2NUM(v)
8721| #define NUM2TIMET(v) NUM2LONG(v)
8722| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
8723| #define rb_dev_t dev_t
8724| #define DEVT2NUM(v) INT2NUM(v)
8725| #define NUM2DEVT(v) NUM2INT(v)
8726| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
8727| #define rb_mode_t mode_t
8728| #define MODET2NUM(v) UINT2NUM(v)
8729| #define NUM2MODET(v) NUM2UINT(v)
8730| #define PRI_MODET_PREFIX PRI_INT_PREFIX
8731| #define rb_rlim_t rlim_t
8732| #define RLIM2NUM(v) ULL2NUM(v)
8733| #define NUM2RLIM(v) NUM2ULL(v)
8734| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
8735| #define HAVE_PROTOTYPES 1
8736| #define TOKEN_PASTE(x,y) x##y
8737| #define STRINGIZE(expr) STRINGIZE0(expr)
8738| #define HAVE_STDARG_PROTOTYPES 1
8739| #define HAVE_VA_ARGS_MACRO 1
8740| #define NORETURN(x) __attribute__ ((noreturn)) x
8741| #define DEPRECATED(x) __attribute__ ((deprecated)) x
8742| #define NOINLINE(x) __attribute__ ((noinline)) x
8743| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
8744| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
8745| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
8746| #define HAVE_GCC_ATOMIC_BUILTINS 1
8747| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
8748| #define HAVE_DECL_SYS_NERR 1
8749| #define HAVE_LIBDL 1
8750| #define HAVE_DIRENT_H 1
8751| #define HAVE__BOOL 1
8752| #define HAVE_STDBOOL_H 1
8753| #define HAVE_SYS_WAIT_H 1
8754| #define HAVE_LIMITS_H 1
8755| #define HAVE_SYS_FILE_H 1
8756| #define HAVE_SYS_IOCTL_H 1
8757| #define HAVE_SYS_SYSCALL_H 1
8758| #define HAVE_FCNTL_H 1
8759| #define HAVE_SYS_FCNTL_H 1
8760| #define HAVE_SYS_SELECT_H 1
8761| #define HAVE_SYS_TIME_H 1
8762| #define HAVE_SYS_TIMES_H 1
8763| #define HAVE_SYS_PARAM_H 1
8764| #define HAVE_PWD_H 1
8765| #define HAVE_GRP_H 1
8766| #define HAVE_UTIME_H 1
8767| #define HAVE_SYS_RESOURCE_H 1
8768| #define HAVE_NETINET_IN_SYSTM_H 1
8769| #define HAVE_FLOAT_H 1
8770| #define HAVE_LANGINFO_H 1
8771| #define HAVE_LOCALE_H 1
8772| #define HAVE_TIME_H 1
8773| #define HAVE_SYS_SOCKET_H 1
8774| #define SIZEOF_SIZE_T 8
8775| #define SIZEOF_PTRDIFF_T 8
8776| #define PRI_SIZE_PREFIX "z"
8777| #define PRI_PTRDIFF_PREFIX "t"
8778| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
8779| #define HAVE_ST_BLKSIZE 1
8780| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
8781| #define HAVE_ST_BLOCKS 1
8782| #define HAVE_STRUCT_STAT_ST_RDEV 1
8783| #define HAVE_ST_RDEV 1
8784| #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
8785| #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
8786| #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
8787| #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
8788| /* end confdefs.h.  */
8789| #include <stdio.h>
8790| #ifdef HAVE_SYS_TYPES_H
8791| # include <sys/types.h>
8792| #endif
8793| #ifdef HAVE_SYS_STAT_H
8794| # include <sys/stat.h>
8795| #endif
8796| #ifdef STDC_HEADERS
8797| # include <stdlib.h>
8798| # include <stddef.h>
8799| #else
8800| # ifdef HAVE_STDLIB_H
8801| #  include <stdlib.h>
8802| # endif
8803| #endif
8804| #ifdef HAVE_STRING_H
8805| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
8806| #  include <memory.h>
8807| # endif
8808| # include <string.h>
8809| #endif
8810| #ifdef HAVE_STRINGS_H
8811| # include <strings.h>
8812| #endif
8813| #ifdef HAVE_INTTYPES_H
8814| # include <inttypes.h>
8815| #endif
8816| #ifdef HAVE_STDINT_H
8817| # include <stdint.h>
8818| #endif
8819| #ifdef HAVE_UNISTD_H
8820| # include <unistd.h>
8821| #endif
8822| int
8823| main ()
8824| {
8825| static struct stat ac_aggr;
8826| if (ac_aggr.st_ctim)
8827| return 0;
8828|   ;
8829|   return 0;
8830| }
8831configure:11892: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
8832conftest.c:156:20: error: no member named 'st_ctim' in 'struct stat'
8833if (sizeof ac_aggr.st_ctim)
8834           ~~~~~~~ ^
88351 error generated.
8836configure:11892: $? = 1
8837configure: failed program was:
8838| /* confdefs.h */
8839| #define PACKAGE_NAME ""
8840| #define PACKAGE_TARNAME ""
8841| #define PACKAGE_VERSION ""
8842| #define PACKAGE_STRING ""
8843| #define PACKAGE_BUGREPORT ""
8844| #define PACKAGE_URL ""
8845| #define CANONICALIZATION_FOR_MATHN 1
8846| #define STDC_HEADERS 1
8847| #define HAVE_SYS_TYPES_H 1
8848| #define HAVE_SYS_STAT_H 1
8849| #define HAVE_STDLIB_H 1
8850| #define HAVE_STRING_H 1
8851| #define HAVE_MEMORY_H 1
8852| #define HAVE_STRINGS_H 1
8853| #define HAVE_INTTYPES_H 1
8854| #define HAVE_STDINT_H 1
8855| #define HAVE_UNISTD_H 1
8856| #define __EXTENSIONS__ 1
8857| #define _ALL_SOURCE 1
8858| #define _GNU_SOURCE 1
8859| #define _POSIX_PTHREAD_SEMANTICS 1
8860| #define _TANDEM_SOURCE 1
8861| #define HAVE_LONG_LONG 1
8862| #define HAVE_OFF_T 1
8863| #define SIZEOF_INT 4
8864| #define SIZEOF_SHORT 2
8865| #define SIZEOF_LONG 8
8866| #define SIZEOF_LONG_LONG 8
8867| #define SIZEOF___INT64 0
8868| #define SIZEOF_OFF_T 8
8869| #define SIZEOF_VOIDP 8
8870| #define SIZEOF_FLOAT 4
8871| #define SIZEOF_DOUBLE 8
8872| #define SIZEOF_TIME_T 8
8873| #define PRI_LL_PREFIX "ll"
8874| #define rb_pid_t pid_t
8875| #define PIDT2NUM(v) INT2NUM(v)
8876| #define NUM2PIDT(v) NUM2INT(v)
8877| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
8878| #define rb_uid_t uid_t
8879| #define UIDT2NUM(v) UINT2NUM(v)
8880| #define NUM2UIDT(v) NUM2UINT(v)
8881| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
8882| #define rb_gid_t gid_t
8883| #define GIDT2NUM(v) UINT2NUM(v)
8884| #define NUM2GIDT(v) NUM2UINT(v)
8885| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
8886| #define rb_time_t time_t
8887| #define TIMET2NUM(v) LONG2NUM(v)
8888| #define NUM2TIMET(v) NUM2LONG(v)
8889| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
8890| #define rb_dev_t dev_t
8891| #define DEVT2NUM(v) INT2NUM(v)
8892| #define NUM2DEVT(v) NUM2INT(v)
8893| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
8894| #define rb_mode_t mode_t
8895| #define MODET2NUM(v) UINT2NUM(v)
8896| #define NUM2MODET(v) NUM2UINT(v)
8897| #define PRI_MODET_PREFIX PRI_INT_PREFIX
8898| #define rb_rlim_t rlim_t
8899| #define RLIM2NUM(v) ULL2NUM(v)
8900| #define NUM2RLIM(v) NUM2ULL(v)
8901| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
8902| #define HAVE_PROTOTYPES 1
8903| #define TOKEN_PASTE(x,y) x##y
8904| #define STRINGIZE(expr) STRINGIZE0(expr)
8905| #define HAVE_STDARG_PROTOTYPES 1
8906| #define HAVE_VA_ARGS_MACRO 1
8907| #define NORETURN(x) __attribute__ ((noreturn)) x
8908| #define DEPRECATED(x) __attribute__ ((deprecated)) x
8909| #define NOINLINE(x) __attribute__ ((noinline)) x
8910| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
8911| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
8912| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
8913| #define HAVE_GCC_ATOMIC_BUILTINS 1
8914| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
8915| #define HAVE_DECL_SYS_NERR 1
8916| #define HAVE_LIBDL 1
8917| #define HAVE_DIRENT_H 1
8918| #define HAVE__BOOL 1
8919| #define HAVE_STDBOOL_H 1
8920| #define HAVE_SYS_WAIT_H 1
8921| #define HAVE_LIMITS_H 1
8922| #define HAVE_SYS_FILE_H 1
8923| #define HAVE_SYS_IOCTL_H 1
8924| #define HAVE_SYS_SYSCALL_H 1
8925| #define HAVE_FCNTL_H 1
8926| #define HAVE_SYS_FCNTL_H 1
8927| #define HAVE_SYS_SELECT_H 1
8928| #define HAVE_SYS_TIME_H 1
8929| #define HAVE_SYS_TIMES_H 1
8930| #define HAVE_SYS_PARAM_H 1
8931| #define HAVE_PWD_H 1
8932| #define HAVE_GRP_H 1
8933| #define HAVE_UTIME_H 1
8934| #define HAVE_SYS_RESOURCE_H 1
8935| #define HAVE_NETINET_IN_SYSTM_H 1
8936| #define HAVE_FLOAT_H 1
8937| #define HAVE_LANGINFO_H 1
8938| #define HAVE_LOCALE_H 1
8939| #define HAVE_TIME_H 1
8940| #define HAVE_SYS_SOCKET_H 1
8941| #define SIZEOF_SIZE_T 8
8942| #define SIZEOF_PTRDIFF_T 8
8943| #define PRI_SIZE_PREFIX "z"
8944| #define PRI_PTRDIFF_PREFIX "t"
8945| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
8946| #define HAVE_ST_BLKSIZE 1
8947| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
8948| #define HAVE_ST_BLOCKS 1
8949| #define HAVE_STRUCT_STAT_ST_RDEV 1
8950| #define HAVE_ST_RDEV 1
8951| #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
8952| #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
8953| #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
8954| #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
8955| /* end confdefs.h.  */
8956| #include <stdio.h>
8957| #ifdef HAVE_SYS_TYPES_H
8958| # include <sys/types.h>
8959| #endif
8960| #ifdef HAVE_SYS_STAT_H
8961| # include <sys/stat.h>
8962| #endif
8963| #ifdef STDC_HEADERS
8964| # include <stdlib.h>
8965| # include <stddef.h>
8966| #else
8967| # ifdef HAVE_STDLIB_H
8968| #  include <stdlib.h>
8969| # endif
8970| #endif
8971| #ifdef HAVE_STRING_H
8972| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
8973| #  include <memory.h>
8974| # endif
8975| # include <string.h>
8976| #endif
8977| #ifdef HAVE_STRINGS_H
8978| # include <strings.h>
8979| #endif
8980| #ifdef HAVE_INTTYPES_H
8981| # include <inttypes.h>
8982| #endif
8983| #ifdef HAVE_STDINT_H
8984| # include <stdint.h>
8985| #endif
8986| #ifdef HAVE_UNISTD_H
8987| # include <unistd.h>
8988| #endif
8989| int
8990| main ()
8991| {
8992| static struct stat ac_aggr;
8993| if (sizeof ac_aggr.st_ctim)
8994| return 0;
8995|   ;
8996|   return 0;
8997| }
8998configure:11892: result: no
8999configure:11902: checking for struct stat.st_ctimespec
9000configure:11902: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
9001conftest.c:156:1: error: statement requires expression of scalar type ('struct timespec' invalid)
9002if (ac_aggr.st_ctimespec)
9003^   ~~~~~~~~~~~~~~~~~~~~
90041 error generated.
9005configure:11902: $? = 1
9006configure: failed program was:
9007| /* confdefs.h */
9008| #define PACKAGE_NAME ""
9009| #define PACKAGE_TARNAME ""
9010| #define PACKAGE_VERSION ""
9011| #define PACKAGE_STRING ""
9012| #define PACKAGE_BUGREPORT ""
9013| #define PACKAGE_URL ""
9014| #define CANONICALIZATION_FOR_MATHN 1
9015| #define STDC_HEADERS 1
9016| #define HAVE_SYS_TYPES_H 1
9017| #define HAVE_SYS_STAT_H 1
9018| #define HAVE_STDLIB_H 1
9019| #define HAVE_STRING_H 1
9020| #define HAVE_MEMORY_H 1
9021| #define HAVE_STRINGS_H 1
9022| #define HAVE_INTTYPES_H 1
9023| #define HAVE_STDINT_H 1
9024| #define HAVE_UNISTD_H 1
9025| #define __EXTENSIONS__ 1
9026| #define _ALL_SOURCE 1
9027| #define _GNU_SOURCE 1
9028| #define _POSIX_PTHREAD_SEMANTICS 1
9029| #define _TANDEM_SOURCE 1
9030| #define HAVE_LONG_LONG 1
9031| #define HAVE_OFF_T 1
9032| #define SIZEOF_INT 4
9033| #define SIZEOF_SHORT 2
9034| #define SIZEOF_LONG 8
9035| #define SIZEOF_LONG_LONG 8
9036| #define SIZEOF___INT64 0
9037| #define SIZEOF_OFF_T 8
9038| #define SIZEOF_VOIDP 8
9039| #define SIZEOF_FLOAT 4
9040| #define SIZEOF_DOUBLE 8
9041| #define SIZEOF_TIME_T 8
9042| #define PRI_LL_PREFIX "ll"
9043| #define rb_pid_t pid_t
9044| #define PIDT2NUM(v) INT2NUM(v)
9045| #define NUM2PIDT(v) NUM2INT(v)
9046| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
9047| #define rb_uid_t uid_t
9048| #define UIDT2NUM(v) UINT2NUM(v)
9049| #define NUM2UIDT(v) NUM2UINT(v)
9050| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
9051| #define rb_gid_t gid_t
9052| #define GIDT2NUM(v) UINT2NUM(v)
9053| #define NUM2GIDT(v) NUM2UINT(v)
9054| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
9055| #define rb_time_t time_t
9056| #define TIMET2NUM(v) LONG2NUM(v)
9057| #define NUM2TIMET(v) NUM2LONG(v)
9058| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
9059| #define rb_dev_t dev_t
9060| #define DEVT2NUM(v) INT2NUM(v)
9061| #define NUM2DEVT(v) NUM2INT(v)
9062| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
9063| #define rb_mode_t mode_t
9064| #define MODET2NUM(v) UINT2NUM(v)
9065| #define NUM2MODET(v) NUM2UINT(v)
9066| #define PRI_MODET_PREFIX PRI_INT_PREFIX
9067| #define rb_rlim_t rlim_t
9068| #define RLIM2NUM(v) ULL2NUM(v)
9069| #define NUM2RLIM(v) NUM2ULL(v)
9070| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
9071| #define HAVE_PROTOTYPES 1
9072| #define TOKEN_PASTE(x,y) x##y
9073| #define STRINGIZE(expr) STRINGIZE0(expr)
9074| #define HAVE_STDARG_PROTOTYPES 1
9075| #define HAVE_VA_ARGS_MACRO 1
9076| #define NORETURN(x) __attribute__ ((noreturn)) x
9077| #define DEPRECATED(x) __attribute__ ((deprecated)) x
9078| #define NOINLINE(x) __attribute__ ((noinline)) x
9079| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
9080| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
9081| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
9082| #define HAVE_GCC_ATOMIC_BUILTINS 1
9083| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
9084| #define HAVE_DECL_SYS_NERR 1
9085| #define HAVE_LIBDL 1
9086| #define HAVE_DIRENT_H 1
9087| #define HAVE__BOOL 1
9088| #define HAVE_STDBOOL_H 1
9089| #define HAVE_SYS_WAIT_H 1
9090| #define HAVE_LIMITS_H 1
9091| #define HAVE_SYS_FILE_H 1
9092| #define HAVE_SYS_IOCTL_H 1
9093| #define HAVE_SYS_SYSCALL_H 1
9094| #define HAVE_FCNTL_H 1
9095| #define HAVE_SYS_FCNTL_H 1
9096| #define HAVE_SYS_SELECT_H 1
9097| #define HAVE_SYS_TIME_H 1
9098| #define HAVE_SYS_TIMES_H 1
9099| #define HAVE_SYS_PARAM_H 1
9100| #define HAVE_PWD_H 1
9101| #define HAVE_GRP_H 1
9102| #define HAVE_UTIME_H 1
9103| #define HAVE_SYS_RESOURCE_H 1
9104| #define HAVE_NETINET_IN_SYSTM_H 1
9105| #define HAVE_FLOAT_H 1
9106| #define HAVE_LANGINFO_H 1
9107| #define HAVE_LOCALE_H 1
9108| #define HAVE_TIME_H 1
9109| #define HAVE_SYS_SOCKET_H 1
9110| #define SIZEOF_SIZE_T 8
9111| #define SIZEOF_PTRDIFF_T 8
9112| #define PRI_SIZE_PREFIX "z"
9113| #define PRI_PTRDIFF_PREFIX "t"
9114| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
9115| #define HAVE_ST_BLKSIZE 1
9116| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
9117| #define HAVE_ST_BLOCKS 1
9118| #define HAVE_STRUCT_STAT_ST_RDEV 1
9119| #define HAVE_ST_RDEV 1
9120| #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
9121| #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
9122| #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
9123| #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
9124| /* end confdefs.h.  */
9125| #include <stdio.h>
9126| #ifdef HAVE_SYS_TYPES_H
9127| # include <sys/types.h>
9128| #endif
9129| #ifdef HAVE_SYS_STAT_H
9130| # include <sys/stat.h>
9131| #endif
9132| #ifdef STDC_HEADERS
9133| # include <stdlib.h>
9134| # include <stddef.h>
9135| #else
9136| # ifdef HAVE_STDLIB_H
9137| #  include <stdlib.h>
9138| # endif
9139| #endif
9140| #ifdef HAVE_STRING_H
9141| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
9142| #  include <memory.h>
9143| # endif
9144| # include <string.h>
9145| #endif
9146| #ifdef HAVE_STRINGS_H
9147| # include <strings.h>
9148| #endif
9149| #ifdef HAVE_INTTYPES_H
9150| # include <inttypes.h>
9151| #endif
9152| #ifdef HAVE_STDINT_H
9153| # include <stdint.h>
9154| #endif
9155| #ifdef HAVE_UNISTD_H
9156| # include <unistd.h>
9157| #endif
9158| int
9159| main ()
9160| {
9161| static struct stat ac_aggr;
9162| if (ac_aggr.st_ctimespec)
9163| return 0;
9164|   ;
9165|   return 0;
9166| }
9167configure:11902: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
9168configure:11902: $? = 0
9169configure:11902: result: yes
9170configure:11912: checking for struct stat.st_ctimensec
9171configure:11912: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
9172conftest.c:157:13: error: no member named 'st_ctimensec' in 'struct stat'; did you mean 'st_ctimespec'?
9173if (ac_aggr.st_ctimensec)
9174            ^~~~~~~~~~~~
9175            st_ctimespec
9176/usr/include/sys/stat.h:225:13: note: 'st_ctimespec' declared here
9177struct stat __DARWIN_STRUCT_STAT64;
9178            ^
9179/usr/include/sys/stat.h:209:2: note: expanded from macro '__DARWIN_STRUCT_STAT64'
9180        __DARWIN_STRUCT_STAT64_TIMES \
9181        ^
9182/usr/include/sys/stat.h:174:18: note: expanded from macro '__DARWIN_STRUCT_STAT64_TIMES'
9183        struct timespec st_ctimespec;           /* time of last status change */ \
9184                        ^
9185conftest.c:157:1: error: statement requires expression of scalar type ('struct timespec' invalid)
9186if (ac_aggr.st_ctimensec)
9187^   ~~~~~~~~~~~~~~~~~~~~
91882 errors generated.
9189configure:11912: $? = 1
9190configure: failed program was:
9191| /* confdefs.h */
9192| #define PACKAGE_NAME ""
9193| #define PACKAGE_TARNAME ""
9194| #define PACKAGE_VERSION ""
9195| #define PACKAGE_STRING ""
9196| #define PACKAGE_BUGREPORT ""
9197| #define PACKAGE_URL ""
9198| #define CANONICALIZATION_FOR_MATHN 1
9199| #define STDC_HEADERS 1
9200| #define HAVE_SYS_TYPES_H 1
9201| #define HAVE_SYS_STAT_H 1
9202| #define HAVE_STDLIB_H 1
9203| #define HAVE_STRING_H 1
9204| #define HAVE_MEMORY_H 1
9205| #define HAVE_STRINGS_H 1
9206| #define HAVE_INTTYPES_H 1
9207| #define HAVE_STDINT_H 1
9208| #define HAVE_UNISTD_H 1
9209| #define __EXTENSIONS__ 1
9210| #define _ALL_SOURCE 1
9211| #define _GNU_SOURCE 1
9212| #define _POSIX_PTHREAD_SEMANTICS 1
9213| #define _TANDEM_SOURCE 1
9214| #define HAVE_LONG_LONG 1
9215| #define HAVE_OFF_T 1
9216| #define SIZEOF_INT 4
9217| #define SIZEOF_SHORT 2
9218| #define SIZEOF_LONG 8
9219| #define SIZEOF_LONG_LONG 8
9220| #define SIZEOF___INT64 0
9221| #define SIZEOF_OFF_T 8
9222| #define SIZEOF_VOIDP 8
9223| #define SIZEOF_FLOAT 4
9224| #define SIZEOF_DOUBLE 8
9225| #define SIZEOF_TIME_T 8
9226| #define PRI_LL_PREFIX "ll"
9227| #define rb_pid_t pid_t
9228| #define PIDT2NUM(v) INT2NUM(v)
9229| #define NUM2PIDT(v) NUM2INT(v)
9230| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
9231| #define rb_uid_t uid_t
9232| #define UIDT2NUM(v) UINT2NUM(v)
9233| #define NUM2UIDT(v) NUM2UINT(v)
9234| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
9235| #define rb_gid_t gid_t
9236| #define GIDT2NUM(v) UINT2NUM(v)
9237| #define NUM2GIDT(v) NUM2UINT(v)
9238| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
9239| #define rb_time_t time_t
9240| #define TIMET2NUM(v) LONG2NUM(v)
9241| #define NUM2TIMET(v) NUM2LONG(v)
9242| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
9243| #define rb_dev_t dev_t
9244| #define DEVT2NUM(v) INT2NUM(v)
9245| #define NUM2DEVT(v) NUM2INT(v)
9246| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
9247| #define rb_mode_t mode_t
9248| #define MODET2NUM(v) UINT2NUM(v)
9249| #define NUM2MODET(v) NUM2UINT(v)
9250| #define PRI_MODET_PREFIX PRI_INT_PREFIX
9251| #define rb_rlim_t rlim_t
9252| #define RLIM2NUM(v) ULL2NUM(v)
9253| #define NUM2RLIM(v) NUM2ULL(v)
9254| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
9255| #define HAVE_PROTOTYPES 1
9256| #define TOKEN_PASTE(x,y) x##y
9257| #define STRINGIZE(expr) STRINGIZE0(expr)
9258| #define HAVE_STDARG_PROTOTYPES 1
9259| #define HAVE_VA_ARGS_MACRO 1
9260| #define NORETURN(x) __attribute__ ((noreturn)) x
9261| #define DEPRECATED(x) __attribute__ ((deprecated)) x
9262| #define NOINLINE(x) __attribute__ ((noinline)) x
9263| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
9264| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
9265| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
9266| #define HAVE_GCC_ATOMIC_BUILTINS 1
9267| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
9268| #define HAVE_DECL_SYS_NERR 1
9269| #define HAVE_LIBDL 1
9270| #define HAVE_DIRENT_H 1
9271| #define HAVE__BOOL 1
9272| #define HAVE_STDBOOL_H 1
9273| #define HAVE_SYS_WAIT_H 1
9274| #define HAVE_LIMITS_H 1
9275| #define HAVE_SYS_FILE_H 1
9276| #define HAVE_SYS_IOCTL_H 1
9277| #define HAVE_SYS_SYSCALL_H 1
9278| #define HAVE_FCNTL_H 1
9279| #define HAVE_SYS_FCNTL_H 1
9280| #define HAVE_SYS_SELECT_H 1
9281| #define HAVE_SYS_TIME_H 1
9282| #define HAVE_SYS_TIMES_H 1
9283| #define HAVE_SYS_PARAM_H 1
9284| #define HAVE_PWD_H 1
9285| #define HAVE_GRP_H 1
9286| #define HAVE_UTIME_H 1
9287| #define HAVE_SYS_RESOURCE_H 1
9288| #define HAVE_NETINET_IN_SYSTM_H 1
9289| #define HAVE_FLOAT_H 1
9290| #define HAVE_LANGINFO_H 1
9291| #define HAVE_LOCALE_H 1
9292| #define HAVE_TIME_H 1
9293| #define HAVE_SYS_SOCKET_H 1
9294| #define SIZEOF_SIZE_T 8
9295| #define SIZEOF_PTRDIFF_T 8
9296| #define PRI_SIZE_PREFIX "z"
9297| #define PRI_PTRDIFF_PREFIX "t"
9298| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
9299| #define HAVE_ST_BLKSIZE 1
9300| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
9301| #define HAVE_ST_BLOCKS 1
9302| #define HAVE_STRUCT_STAT_ST_RDEV 1
9303| #define HAVE_ST_RDEV 1
9304| #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
9305| #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
9306| #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
9307| #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
9308| #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
9309| /* end confdefs.h.  */
9310| #include <stdio.h>
9311| #ifdef HAVE_SYS_TYPES_H
9312| # include <sys/types.h>
9313| #endif
9314| #ifdef HAVE_SYS_STAT_H
9315| # include <sys/stat.h>
9316| #endif
9317| #ifdef STDC_HEADERS
9318| # include <stdlib.h>
9319| # include <stddef.h>
9320| #else
9321| # ifdef HAVE_STDLIB_H
9322| #  include <stdlib.h>
9323| # endif
9324| #endif
9325| #ifdef HAVE_STRING_H
9326| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
9327| #  include <memory.h>
9328| # endif
9329| # include <string.h>
9330| #endif
9331| #ifdef HAVE_STRINGS_H
9332| # include <strings.h>
9333| #endif
9334| #ifdef HAVE_INTTYPES_H
9335| # include <inttypes.h>
9336| #endif
9337| #ifdef HAVE_STDINT_H
9338| # include <stdint.h>
9339| #endif
9340| #ifdef HAVE_UNISTD_H
9341| # include <unistd.h>
9342| #endif
9343| int
9344| main ()
9345| {
9346| static struct stat ac_aggr;
9347| if (ac_aggr.st_ctimensec)
9348| return 0;
9349|   ;
9350|   return 0;
9351| }
9352configure:11912: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
9353conftest.c:157:20: error: no member named 'st_ctimensec' in 'struct stat'; did you mean 'st_ctimespec'?
9354if (sizeof ac_aggr.st_ctimensec)
9355                   ^~~~~~~~~~~~
9356                   st_ctimespec
9357/usr/include/sys/stat.h:225:13: note: 'st_ctimespec' declared here
9358struct stat __DARWIN_STRUCT_STAT64;
9359            ^
9360/usr/include/sys/stat.h:209:2: note: expanded from macro '__DARWIN_STRUCT_STAT64'
9361        __DARWIN_STRUCT_STAT64_TIMES \
9362        ^
9363/usr/include/sys/stat.h:174:18: note: expanded from macro '__DARWIN_STRUCT_STAT64_TIMES'
9364        struct timespec st_ctimespec;           /* time of last status change */ \
9365                        ^
93661 error generated.
9367configure:11912: $? = 1
9368configure: failed program was:
9369| /* confdefs.h */
9370| #define PACKAGE_NAME ""
9371| #define PACKAGE_TARNAME ""
9372| #define PACKAGE_VERSION ""
9373| #define PACKAGE_STRING ""
9374| #define PACKAGE_BUGREPORT ""
9375| #define PACKAGE_URL ""
9376| #define CANONICALIZATION_FOR_MATHN 1
9377| #define STDC_HEADERS 1
9378| #define HAVE_SYS_TYPES_H 1
9379| #define HAVE_SYS_STAT_H 1
9380| #define HAVE_STDLIB_H 1
9381| #define HAVE_STRING_H 1
9382| #define HAVE_MEMORY_H 1
9383| #define HAVE_STRINGS_H 1
9384| #define HAVE_INTTYPES_H 1
9385| #define HAVE_STDINT_H 1
9386| #define HAVE_UNISTD_H 1
9387| #define __EXTENSIONS__ 1
9388| #define _ALL_SOURCE 1
9389| #define _GNU_SOURCE 1
9390| #define _POSIX_PTHREAD_SEMANTICS 1
9391| #define _TANDEM_SOURCE 1
9392| #define HAVE_LONG_LONG 1
9393| #define HAVE_OFF_T 1
9394| #define SIZEOF_INT 4
9395| #define SIZEOF_SHORT 2
9396| #define SIZEOF_LONG 8
9397| #define SIZEOF_LONG_LONG 8
9398| #define SIZEOF___INT64 0
9399| #define SIZEOF_OFF_T 8
9400| #define SIZEOF_VOIDP 8
9401| #define SIZEOF_FLOAT 4
9402| #define SIZEOF_DOUBLE 8
9403| #define SIZEOF_TIME_T 8
9404| #define PRI_LL_PREFIX "ll"
9405| #define rb_pid_t pid_t
9406| #define PIDT2NUM(v) INT2NUM(v)
9407| #define NUM2PIDT(v) NUM2INT(v)
9408| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
9409| #define rb_uid_t uid_t
9410| #define UIDT2NUM(v) UINT2NUM(v)
9411| #define NUM2UIDT(v) NUM2UINT(v)
9412| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
9413| #define rb_gid_t gid_t
9414| #define GIDT2NUM(v) UINT2NUM(v)
9415| #define NUM2GIDT(v) NUM2UINT(v)
9416| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
9417| #define rb_time_t time_t
9418| #define TIMET2NUM(v) LONG2NUM(v)
9419| #define NUM2TIMET(v) NUM2LONG(v)
9420| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
9421| #define rb_dev_t dev_t
9422| #define DEVT2NUM(v) INT2NUM(v)
9423| #define NUM2DEVT(v) NUM2INT(v)
9424| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
9425| #define rb_mode_t mode_t
9426| #define MODET2NUM(v) UINT2NUM(v)
9427| #define NUM2MODET(v) NUM2UINT(v)
9428| #define PRI_MODET_PREFIX PRI_INT_PREFIX
9429| #define rb_rlim_t rlim_t
9430| #define RLIM2NUM(v) ULL2NUM(v)
9431| #define NUM2RLIM(v) NUM2ULL(v)
9432| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
9433| #define HAVE_PROTOTYPES 1
9434| #define TOKEN_PASTE(x,y) x##y
9435| #define STRINGIZE(expr) STRINGIZE0(expr)
9436| #define HAVE_STDARG_PROTOTYPES 1
9437| #define HAVE_VA_ARGS_MACRO 1
9438| #define NORETURN(x) __attribute__ ((noreturn)) x
9439| #define DEPRECATED(x) __attribute__ ((deprecated)) x
9440| #define NOINLINE(x) __attribute__ ((noinline)) x
9441| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
9442| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
9443| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
9444| #define HAVE_GCC_ATOMIC_BUILTINS 1
9445| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
9446| #define HAVE_DECL_SYS_NERR 1
9447| #define HAVE_LIBDL 1
9448| #define HAVE_DIRENT_H 1
9449| #define HAVE__BOOL 1
9450| #define HAVE_STDBOOL_H 1
9451| #define HAVE_SYS_WAIT_H 1
9452| #define HAVE_LIMITS_H 1
9453| #define HAVE_SYS_FILE_H 1
9454| #define HAVE_SYS_IOCTL_H 1
9455| #define HAVE_SYS_SYSCALL_H 1
9456| #define HAVE_FCNTL_H 1
9457| #define HAVE_SYS_FCNTL_H 1
9458| #define HAVE_SYS_SELECT_H 1
9459| #define HAVE_SYS_TIME_H 1
9460| #define HAVE_SYS_TIMES_H 1
9461| #define HAVE_SYS_PARAM_H 1
9462| #define HAVE_PWD_H 1
9463| #define HAVE_GRP_H 1
9464| #define HAVE_UTIME_H 1
9465| #define HAVE_SYS_RESOURCE_H 1
9466| #define HAVE_NETINET_IN_SYSTM_H 1
9467| #define HAVE_FLOAT_H 1
9468| #define HAVE_LANGINFO_H 1
9469| #define HAVE_LOCALE_H 1
9470| #define HAVE_TIME_H 1
9471| #define HAVE_SYS_SOCKET_H 1
9472| #define SIZEOF_SIZE_T 8
9473| #define SIZEOF_PTRDIFF_T 8
9474| #define PRI_SIZE_PREFIX "z"
9475| #define PRI_PTRDIFF_PREFIX "t"
9476| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
9477| #define HAVE_ST_BLKSIZE 1
9478| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
9479| #define HAVE_ST_BLOCKS 1
9480| #define HAVE_STRUCT_STAT_ST_RDEV 1
9481| #define HAVE_ST_RDEV 1
9482| #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
9483| #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
9484| #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
9485| #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
9486| #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
9487| /* end confdefs.h.  */
9488| #include <stdio.h>
9489| #ifdef HAVE_SYS_TYPES_H
9490| # include <sys/types.h>
9491| #endif
9492| #ifdef HAVE_SYS_STAT_H
9493| # include <sys/stat.h>
9494| #endif
9495| #ifdef STDC_HEADERS
9496| # include <stdlib.h>
9497| # include <stddef.h>
9498| #else
9499| # ifdef HAVE_STDLIB_H
9500| #  include <stdlib.h>
9501| # endif
9502| #endif
9503| #ifdef HAVE_STRING_H
9504| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
9505| #  include <memory.h>
9506| # endif
9507| # include <string.h>
9508| #endif
9509| #ifdef HAVE_STRINGS_H
9510| # include <strings.h>
9511| #endif
9512| #ifdef HAVE_INTTYPES_H
9513| # include <inttypes.h>
9514| #endif
9515| #ifdef HAVE_STDINT_H
9516| # include <stdint.h>
9517| #endif
9518| #ifdef HAVE_UNISTD_H
9519| # include <unistd.h>
9520| #endif
9521| int
9522| main ()
9523| {
9524| static struct stat ac_aggr;
9525| if (sizeof ac_aggr.st_ctimensec)
9526| return 0;
9527|   ;
9528|   return 0;
9529| }
9530configure:11912: result: no
9531configure:11923: checking for struct timespec
9532configure:11923: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
9533configure:11923: $? = 0
9534configure:11923: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
9535conftest.c:127:30: error: expected expression
9536if (sizeof ((struct timespec)))
9537                             ^
95381 error generated.
9539configure:11923: $? = 1
9540configure: failed program was:
9541| /* confdefs.h */
9542| #define PACKAGE_NAME ""
9543| #define PACKAGE_TARNAME ""
9544| #define PACKAGE_VERSION ""
9545| #define PACKAGE_STRING ""
9546| #define PACKAGE_BUGREPORT ""
9547| #define PACKAGE_URL ""
9548| #define CANONICALIZATION_FOR_MATHN 1
9549| #define STDC_HEADERS 1
9550| #define HAVE_SYS_TYPES_H 1
9551| #define HAVE_SYS_STAT_H 1
9552| #define HAVE_STDLIB_H 1
9553| #define HAVE_STRING_H 1
9554| #define HAVE_MEMORY_H 1
9555| #define HAVE_STRINGS_H 1
9556| #define HAVE_INTTYPES_H 1
9557| #define HAVE_STDINT_H 1
9558| #define HAVE_UNISTD_H 1
9559| #define __EXTENSIONS__ 1
9560| #define _ALL_SOURCE 1
9561| #define _GNU_SOURCE 1
9562| #define _POSIX_PTHREAD_SEMANTICS 1
9563| #define _TANDEM_SOURCE 1
9564| #define HAVE_LONG_LONG 1
9565| #define HAVE_OFF_T 1
9566| #define SIZEOF_INT 4
9567| #define SIZEOF_SHORT 2
9568| #define SIZEOF_LONG 8
9569| #define SIZEOF_LONG_LONG 8
9570| #define SIZEOF___INT64 0
9571| #define SIZEOF_OFF_T 8
9572| #define SIZEOF_VOIDP 8
9573| #define SIZEOF_FLOAT 4
9574| #define SIZEOF_DOUBLE 8
9575| #define SIZEOF_TIME_T 8
9576| #define PRI_LL_PREFIX "ll"
9577| #define rb_pid_t pid_t
9578| #define PIDT2NUM(v) INT2NUM(v)
9579| #define NUM2PIDT(v) NUM2INT(v)
9580| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
9581| #define rb_uid_t uid_t
9582| #define UIDT2NUM(v) UINT2NUM(v)
9583| #define NUM2UIDT(v) NUM2UINT(v)
9584| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
9585| #define rb_gid_t gid_t
9586| #define GIDT2NUM(v) UINT2NUM(v)
9587| #define NUM2GIDT(v) NUM2UINT(v)
9588| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
9589| #define rb_time_t time_t
9590| #define TIMET2NUM(v) LONG2NUM(v)
9591| #define NUM2TIMET(v) NUM2LONG(v)
9592| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
9593| #define rb_dev_t dev_t
9594| #define DEVT2NUM(v) INT2NUM(v)
9595| #define NUM2DEVT(v) NUM2INT(v)
9596| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
9597| #define rb_mode_t mode_t
9598| #define MODET2NUM(v) UINT2NUM(v)
9599| #define NUM2MODET(v) NUM2UINT(v)
9600| #define PRI_MODET_PREFIX PRI_INT_PREFIX
9601| #define rb_rlim_t rlim_t
9602| #define RLIM2NUM(v) ULL2NUM(v)
9603| #define NUM2RLIM(v) NUM2ULL(v)
9604| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
9605| #define HAVE_PROTOTYPES 1
9606| #define TOKEN_PASTE(x,y) x##y
9607| #define STRINGIZE(expr) STRINGIZE0(expr)
9608| #define HAVE_STDARG_PROTOTYPES 1
9609| #define HAVE_VA_ARGS_MACRO 1
9610| #define NORETURN(x) __attribute__ ((noreturn)) x
9611| #define DEPRECATED(x) __attribute__ ((deprecated)) x
9612| #define NOINLINE(x) __attribute__ ((noinline)) x
9613| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
9614| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
9615| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
9616| #define HAVE_GCC_ATOMIC_BUILTINS 1
9617| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
9618| #define HAVE_DECL_SYS_NERR 1
9619| #define HAVE_LIBDL 1
9620| #define HAVE_DIRENT_H 1
9621| #define HAVE__BOOL 1
9622| #define HAVE_STDBOOL_H 1
9623| #define HAVE_SYS_WAIT_H 1
9624| #define HAVE_LIMITS_H 1
9625| #define HAVE_SYS_FILE_H 1
9626| #define HAVE_SYS_IOCTL_H 1
9627| #define HAVE_SYS_SYSCALL_H 1
9628| #define HAVE_FCNTL_H 1
9629| #define HAVE_SYS_FCNTL_H 1
9630| #define HAVE_SYS_SELECT_H 1
9631| #define HAVE_SYS_TIME_H 1
9632| #define HAVE_SYS_TIMES_H 1
9633| #define HAVE_SYS_PARAM_H 1
9634| #define HAVE_PWD_H 1
9635| #define HAVE_GRP_H 1
9636| #define HAVE_UTIME_H 1
9637| #define HAVE_SYS_RESOURCE_H 1
9638| #define HAVE_NETINET_IN_SYSTM_H 1
9639| #define HAVE_FLOAT_H 1
9640| #define HAVE_LANGINFO_H 1
9641| #define HAVE_LOCALE_H 1
9642| #define HAVE_TIME_H 1
9643| #define HAVE_SYS_SOCKET_H 1
9644| #define SIZEOF_SIZE_T 8
9645| #define SIZEOF_PTRDIFF_T 8
9646| #define PRI_SIZE_PREFIX "z"
9647| #define PRI_PTRDIFF_PREFIX "t"
9648| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
9649| #define HAVE_ST_BLKSIZE 1
9650| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
9651| #define HAVE_ST_BLOCKS 1
9652| #define HAVE_STRUCT_STAT_ST_RDEV 1
9653| #define HAVE_ST_RDEV 1
9654| #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
9655| #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
9656| #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
9657| #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
9658| #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
9659| /* end confdefs.h.  */
9660| #ifdef HAVE_TIME_H
9661| #include <time.h>
9662| #endif
9663|
9664| int
9665| main ()
9666| {
9667| if (sizeof ((struct timespec)))
9668|           return 0;
9669|   ;
9670|   return 0;
9671| }
9672configure:11923: result: yes
9673configure:11937: checking for struct timezone
9674configure:11937: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
9675configure:11937: $? = 0
9676configure:11937: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
9677conftest.c:131:30: error: expected expression
9678if (sizeof ((struct timezone)))
9679                             ^
96801 error generated.
9681configure:11937: $? = 1
9682configure: failed program was:
9683| /* confdefs.h */
9684| #define PACKAGE_NAME ""
9685| #define PACKAGE_TARNAME ""
9686| #define PACKAGE_VERSION ""
9687| #define PACKAGE_STRING ""
9688| #define PACKAGE_BUGREPORT ""
9689| #define PACKAGE_URL ""
9690| #define CANONICALIZATION_FOR_MATHN 1
9691| #define STDC_HEADERS 1
9692| #define HAVE_SYS_TYPES_H 1
9693| #define HAVE_SYS_STAT_H 1
9694| #define HAVE_STDLIB_H 1
9695| #define HAVE_STRING_H 1
9696| #define HAVE_MEMORY_H 1
9697| #define HAVE_STRINGS_H 1
9698| #define HAVE_INTTYPES_H 1
9699| #define HAVE_STDINT_H 1
9700| #define HAVE_UNISTD_H 1
9701| #define __EXTENSIONS__ 1
9702| #define _ALL_SOURCE 1
9703| #define _GNU_SOURCE 1
9704| #define _POSIX_PTHREAD_SEMANTICS 1
9705| #define _TANDEM_SOURCE 1
9706| #define HAVE_LONG_LONG 1
9707| #define HAVE_OFF_T 1
9708| #define SIZEOF_INT 4
9709| #define SIZEOF_SHORT 2
9710| #define SIZEOF_LONG 8
9711| #define SIZEOF_LONG_LONG 8
9712| #define SIZEOF___INT64 0
9713| #define SIZEOF_OFF_T 8
9714| #define SIZEOF_VOIDP 8
9715| #define SIZEOF_FLOAT 4
9716| #define SIZEOF_DOUBLE 8
9717| #define SIZEOF_TIME_T 8
9718| #define PRI_LL_PREFIX "ll"
9719| #define rb_pid_t pid_t
9720| #define PIDT2NUM(v) INT2NUM(v)
9721| #define NUM2PIDT(v) NUM2INT(v)
9722| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
9723| #define rb_uid_t uid_t
9724| #define UIDT2NUM(v) UINT2NUM(v)
9725| #define NUM2UIDT(v) NUM2UINT(v)
9726| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
9727| #define rb_gid_t gid_t
9728| #define GIDT2NUM(v) UINT2NUM(v)
9729| #define NUM2GIDT(v) NUM2UINT(v)
9730| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
9731| #define rb_time_t time_t
9732| #define TIMET2NUM(v) LONG2NUM(v)
9733| #define NUM2TIMET(v) NUM2LONG(v)
9734| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
9735| #define rb_dev_t dev_t
9736| #define DEVT2NUM(v) INT2NUM(v)
9737| #define NUM2DEVT(v) NUM2INT(v)
9738| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
9739| #define rb_mode_t mode_t
9740| #define MODET2NUM(v) UINT2NUM(v)
9741| #define NUM2MODET(v) NUM2UINT(v)
9742| #define PRI_MODET_PREFIX PRI_INT_PREFIX
9743| #define rb_rlim_t rlim_t
9744| #define RLIM2NUM(v) ULL2NUM(v)
9745| #define NUM2RLIM(v) NUM2ULL(v)
9746| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
9747| #define HAVE_PROTOTYPES 1
9748| #define TOKEN_PASTE(x,y) x##y
9749| #define STRINGIZE(expr) STRINGIZE0(expr)
9750| #define HAVE_STDARG_PROTOTYPES 1
9751| #define HAVE_VA_ARGS_MACRO 1
9752| #define NORETURN(x) __attribute__ ((noreturn)) x
9753| #define DEPRECATED(x) __attribute__ ((deprecated)) x
9754| #define NOINLINE(x) __attribute__ ((noinline)) x
9755| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
9756| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
9757| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
9758| #define HAVE_GCC_ATOMIC_BUILTINS 1
9759| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
9760| #define HAVE_DECL_SYS_NERR 1
9761| #define HAVE_LIBDL 1
9762| #define HAVE_DIRENT_H 1
9763| #define HAVE__BOOL 1
9764| #define HAVE_STDBOOL_H 1
9765| #define HAVE_SYS_WAIT_H 1
9766| #define HAVE_LIMITS_H 1
9767| #define HAVE_SYS_FILE_H 1
9768| #define HAVE_SYS_IOCTL_H 1
9769| #define HAVE_SYS_SYSCALL_H 1
9770| #define HAVE_FCNTL_H 1
9771| #define HAVE_SYS_FCNTL_H 1
9772| #define HAVE_SYS_SELECT_H 1
9773| #define HAVE_SYS_TIME_H 1
9774| #define HAVE_SYS_TIMES_H 1
9775| #define HAVE_SYS_PARAM_H 1
9776| #define HAVE_PWD_H 1
9777| #define HAVE_GRP_H 1
9778| #define HAVE_UTIME_H 1
9779| #define HAVE_SYS_RESOURCE_H 1
9780| #define HAVE_NETINET_IN_SYSTM_H 1
9781| #define HAVE_FLOAT_H 1
9782| #define HAVE_LANGINFO_H 1
9783| #define HAVE_LOCALE_H 1
9784| #define HAVE_TIME_H 1
9785| #define HAVE_SYS_SOCKET_H 1
9786| #define SIZEOF_SIZE_T 8
9787| #define SIZEOF_PTRDIFF_T 8
9788| #define PRI_SIZE_PREFIX "z"
9789| #define PRI_PTRDIFF_PREFIX "t"
9790| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
9791| #define HAVE_ST_BLKSIZE 1
9792| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
9793| #define HAVE_ST_BLOCKS 1
9794| #define HAVE_STRUCT_STAT_ST_RDEV 1
9795| #define HAVE_ST_RDEV 1
9796| #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
9797| #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
9798| #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
9799| #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
9800| #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
9801| #define HAVE_STRUCT_TIMESPEC 1
9802| /* end confdefs.h.  */
9803| #ifdef HAVE_TIME_H
9804| # include <time.h>
9805| #endif
9806| #ifdef HAVE_SYS_TIME_H
9807| # include <sys/time.h>
9808| #endif
9809|
9810| int
9811| main ()
9812| {
9813| if (sizeof ((struct timezone)))
9814|           return 0;
9815|   ;
9816|   return 0;
9817| }
9818configure:11937: result: yes
9819configure:11954: checking for clockid_t
9820configure:11954: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
9821conftest.c:132:13: error: use of undeclared identifier 'clockid_t'; did you mean 'clock_t'?
9822if (sizeof (clockid_t))
9823            ^
98241 error generated.
9825configure:11954: $? = 1
9826configure: failed program was:
9827| /* confdefs.h */
9828| #define PACKAGE_NAME ""
9829| #define PACKAGE_TARNAME ""
9830| #define PACKAGE_VERSION ""
9831| #define PACKAGE_STRING ""
9832| #define PACKAGE_BUGREPORT ""
9833| #define PACKAGE_URL ""
9834| #define CANONICALIZATION_FOR_MATHN 1
9835| #define STDC_HEADERS 1
9836| #define HAVE_SYS_TYPES_H 1
9837| #define HAVE_SYS_STAT_H 1
9838| #define HAVE_STDLIB_H 1
9839| #define HAVE_STRING_H 1
9840| #define HAVE_MEMORY_H 1
9841| #define HAVE_STRINGS_H 1
9842| #define HAVE_INTTYPES_H 1
9843| #define HAVE_STDINT_H 1
9844| #define HAVE_UNISTD_H 1
9845| #define __EXTENSIONS__ 1
9846| #define _ALL_SOURCE 1
9847| #define _GNU_SOURCE 1
9848| #define _POSIX_PTHREAD_SEMANTICS 1
9849| #define _TANDEM_SOURCE 1
9850| #define HAVE_LONG_LONG 1
9851| #define HAVE_OFF_T 1
9852| #define SIZEOF_INT 4
9853| #define SIZEOF_SHORT 2
9854| #define SIZEOF_LONG 8
9855| #define SIZEOF_LONG_LONG 8
9856| #define SIZEOF___INT64 0
9857| #define SIZEOF_OFF_T 8
9858| #define SIZEOF_VOIDP 8
9859| #define SIZEOF_FLOAT 4
9860| #define SIZEOF_DOUBLE 8
9861| #define SIZEOF_TIME_T 8
9862| #define PRI_LL_PREFIX "ll"
9863| #define rb_pid_t pid_t
9864| #define PIDT2NUM(v) INT2NUM(v)
9865| #define NUM2PIDT(v) NUM2INT(v)
9866| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
9867| #define rb_uid_t uid_t
9868| #define UIDT2NUM(v) UINT2NUM(v)
9869| #define NUM2UIDT(v) NUM2UINT(v)
9870| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
9871| #define rb_gid_t gid_t
9872| #define GIDT2NUM(v) UINT2NUM(v)
9873| #define NUM2GIDT(v) NUM2UINT(v)
9874| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
9875| #define rb_time_t time_t
9876| #define TIMET2NUM(v) LONG2NUM(v)
9877| #define NUM2TIMET(v) NUM2LONG(v)
9878| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
9879| #define rb_dev_t dev_t
9880| #define DEVT2NUM(v) INT2NUM(v)
9881| #define NUM2DEVT(v) NUM2INT(v)
9882| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
9883| #define rb_mode_t mode_t
9884| #define MODET2NUM(v) UINT2NUM(v)
9885| #define NUM2MODET(v) NUM2UINT(v)
9886| #define PRI_MODET_PREFIX PRI_INT_PREFIX
9887| #define rb_rlim_t rlim_t
9888| #define RLIM2NUM(v) ULL2NUM(v)
9889| #define NUM2RLIM(v) NUM2ULL(v)
9890| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
9891| #define HAVE_PROTOTYPES 1
9892| #define TOKEN_PASTE(x,y) x##y
9893| #define STRINGIZE(expr) STRINGIZE0(expr)
9894| #define HAVE_STDARG_PROTOTYPES 1
9895| #define HAVE_VA_ARGS_MACRO 1
9896| #define NORETURN(x) __attribute__ ((noreturn)) x
9897| #define DEPRECATED(x) __attribute__ ((deprecated)) x
9898| #define NOINLINE(x) __attribute__ ((noinline)) x
9899| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
9900| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
9901| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
9902| #define HAVE_GCC_ATOMIC_BUILTINS 1
9903| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
9904| #define HAVE_DECL_SYS_NERR 1
9905| #define HAVE_LIBDL 1
9906| #define HAVE_DIRENT_H 1
9907| #define HAVE__BOOL 1
9908| #define HAVE_STDBOOL_H 1
9909| #define HAVE_SYS_WAIT_H 1
9910| #define HAVE_LIMITS_H 1
9911| #define HAVE_SYS_FILE_H 1
9912| #define HAVE_SYS_IOCTL_H 1
9913| #define HAVE_SYS_SYSCALL_H 1
9914| #define HAVE_FCNTL_H 1
9915| #define HAVE_SYS_FCNTL_H 1
9916| #define HAVE_SYS_SELECT_H 1
9917| #define HAVE_SYS_TIME_H 1
9918| #define HAVE_SYS_TIMES_H 1
9919| #define HAVE_SYS_PARAM_H 1
9920| #define HAVE_PWD_H 1
9921| #define HAVE_GRP_H 1
9922| #define HAVE_UTIME_H 1
9923| #define HAVE_SYS_RESOURCE_H 1
9924| #define HAVE_NETINET_IN_SYSTM_H 1
9925| #define HAVE_FLOAT_H 1
9926| #define HAVE_LANGINFO_H 1
9927| #define HAVE_LOCALE_H 1
9928| #define HAVE_TIME_H 1
9929| #define HAVE_SYS_SOCKET_H 1
9930| #define SIZEOF_SIZE_T 8
9931| #define SIZEOF_PTRDIFF_T 8
9932| #define PRI_SIZE_PREFIX "z"
9933| #define PRI_PTRDIFF_PREFIX "t"
9934| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
9935| #define HAVE_ST_BLKSIZE 1
9936| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
9937| #define HAVE_ST_BLOCKS 1
9938| #define HAVE_STRUCT_STAT_ST_RDEV 1
9939| #define HAVE_ST_RDEV 1
9940| #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
9941| #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
9942| #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
9943| #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
9944| #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
9945| #define HAVE_STRUCT_TIMESPEC 1
9946| #define HAVE_STRUCT_TIMEZONE 1
9947| /* end confdefs.h.  */
9948| #ifdef HAVE_TIME_H
9949| # include <time.h>
9950| #endif
9951| #ifdef HAVE_SYS_TIME_H
9952| # include <sys/time.h>
9953| #endif
9954|
9955| int
9956| main ()
9957| {
9958| if (sizeof (clockid_t))
9959|        return 0;
9960|   ;
9961|   return 0;
9962| }
9963configure:11954: result: no
9964configure:11974: checking for fd_mask
9965configure:11974: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
9966configure:11974: $? = 0
9967configure:11974: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
9968conftest.c:158:22: error: expected expression
9969if (sizeof ((fd_mask)))
9970                     ^
99711 error generated.
9972configure:11974: $? = 1
9973configure: failed program was:
9974| /* confdefs.h */
9975| #define PACKAGE_NAME ""
9976| #define PACKAGE_TARNAME ""
9977| #define PACKAGE_VERSION ""
9978| #define PACKAGE_STRING ""
9979| #define PACKAGE_BUGREPORT ""
9980| #define PACKAGE_URL ""
9981| #define CANONICALIZATION_FOR_MATHN 1
9982| #define STDC_HEADERS 1
9983| #define HAVE_SYS_TYPES_H 1
9984| #define HAVE_SYS_STAT_H 1
9985| #define HAVE_STDLIB_H 1
9986| #define HAVE_STRING_H 1
9987| #define HAVE_MEMORY_H 1
9988| #define HAVE_STRINGS_H 1
9989| #define HAVE_INTTYPES_H 1
9990| #define HAVE_STDINT_H 1
9991| #define HAVE_UNISTD_H 1
9992| #define __EXTENSIONS__ 1
9993| #define _ALL_SOURCE 1
9994| #define _GNU_SOURCE 1
9995| #define _POSIX_PTHREAD_SEMANTICS 1
9996| #define _TANDEM_SOURCE 1
9997| #define HAVE_LONG_LONG 1
9998| #define HAVE_OFF_T 1
9999| #define SIZEOF_INT 4
10000| #define SIZEOF_SHORT 2
10001| #define SIZEOF_LONG 8
10002| #define SIZEOF_LONG_LONG 8
10003| #define SIZEOF___INT64 0
10004| #define SIZEOF_OFF_T 8
10005| #define SIZEOF_VOIDP 8
10006| #define SIZEOF_FLOAT 4
10007| #define SIZEOF_DOUBLE 8
10008| #define SIZEOF_TIME_T 8
10009| #define PRI_LL_PREFIX "ll"
10010| #define rb_pid_t pid_t
10011| #define PIDT2NUM(v) INT2NUM(v)
10012| #define NUM2PIDT(v) NUM2INT(v)
10013| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
10014| #define rb_uid_t uid_t
10015| #define UIDT2NUM(v) UINT2NUM(v)
10016| #define NUM2UIDT(v) NUM2UINT(v)
10017| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
10018| #define rb_gid_t gid_t
10019| #define GIDT2NUM(v) UINT2NUM(v)
10020| #define NUM2GIDT(v) NUM2UINT(v)
10021| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
10022| #define rb_time_t time_t
10023| #define TIMET2NUM(v) LONG2NUM(v)
10024| #define NUM2TIMET(v) NUM2LONG(v)
10025| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
10026| #define rb_dev_t dev_t
10027| #define DEVT2NUM(v) INT2NUM(v)
10028| #define NUM2DEVT(v) NUM2INT(v)
10029| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
10030| #define rb_mode_t mode_t
10031| #define MODET2NUM(v) UINT2NUM(v)
10032| #define NUM2MODET(v) NUM2UINT(v)
10033| #define PRI_MODET_PREFIX PRI_INT_PREFIX
10034| #define rb_rlim_t rlim_t
10035| #define RLIM2NUM(v) ULL2NUM(v)
10036| #define NUM2RLIM(v) NUM2ULL(v)
10037| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
10038| #define HAVE_PROTOTYPES 1
10039| #define TOKEN_PASTE(x,y) x##y
10040| #define STRINGIZE(expr) STRINGIZE0(expr)
10041| #define HAVE_STDARG_PROTOTYPES 1
10042| #define HAVE_VA_ARGS_MACRO 1
10043| #define NORETURN(x) __attribute__ ((noreturn)) x
10044| #define DEPRECATED(x) __attribute__ ((deprecated)) x
10045| #define NOINLINE(x) __attribute__ ((noinline)) x
10046| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
10047| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
10048| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
10049| #define HAVE_GCC_ATOMIC_BUILTINS 1
10050| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
10051| #define HAVE_DECL_SYS_NERR 1
10052| #define HAVE_LIBDL 1
10053| #define HAVE_DIRENT_H 1
10054| #define HAVE__BOOL 1
10055| #define HAVE_STDBOOL_H 1
10056| #define HAVE_SYS_WAIT_H 1
10057| #define HAVE_LIMITS_H 1
10058| #define HAVE_SYS_FILE_H 1
10059| #define HAVE_SYS_IOCTL_H 1
10060| #define HAVE_SYS_SYSCALL_H 1
10061| #define HAVE_FCNTL_H 1
10062| #define HAVE_SYS_FCNTL_H 1
10063| #define HAVE_SYS_SELECT_H 1
10064| #define HAVE_SYS_TIME_H 1
10065| #define HAVE_SYS_TIMES_H 1
10066| #define HAVE_SYS_PARAM_H 1
10067| #define HAVE_PWD_H 1
10068| #define HAVE_GRP_H 1
10069| #define HAVE_UTIME_H 1
10070| #define HAVE_SYS_RESOURCE_H 1
10071| #define HAVE_NETINET_IN_SYSTM_H 1
10072| #define HAVE_FLOAT_H 1
10073| #define HAVE_LANGINFO_H 1
10074| #define HAVE_LOCALE_H 1
10075| #define HAVE_TIME_H 1
10076| #define HAVE_SYS_SOCKET_H 1
10077| #define SIZEOF_SIZE_T 8
10078| #define SIZEOF_PTRDIFF_T 8
10079| #define PRI_SIZE_PREFIX "z"
10080| #define PRI_PTRDIFF_PREFIX "t"
10081| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
10082| #define HAVE_ST_BLKSIZE 1
10083| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
10084| #define HAVE_ST_BLOCKS 1
10085| #define HAVE_STRUCT_STAT_ST_RDEV 1
10086| #define HAVE_ST_RDEV 1
10087| #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
10088| #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
10089| #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
10090| #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
10091| #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
10092| #define HAVE_STRUCT_TIMESPEC 1
10093| #define HAVE_STRUCT_TIMEZONE 1
10094| /* end confdefs.h.  */
10095| #include <stdio.h>
10096| #ifdef HAVE_SYS_TYPES_H
10097| # include <sys/types.h>
10098| #endif
10099| #ifdef HAVE_SYS_STAT_H
10100| # include <sys/stat.h>
10101| #endif
10102| #ifdef STDC_HEADERS
10103| # include <stdlib.h>
10104| # include <stddef.h>
10105| #else
10106| # ifdef HAVE_STDLIB_H
10107| #  include <stdlib.h>
10108| # endif
10109| #endif
10110| #ifdef HAVE_STRING_H
10111| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
10112| #  include <memory.h>
10113| # endif
10114| # include <string.h>
10115| #endif
10116| #ifdef HAVE_STRINGS_H
10117| # include <strings.h>
10118| #endif
10119| #ifdef HAVE_INTTYPES_H
10120| # include <inttypes.h>
10121| #endif
10122| #ifdef HAVE_STDINT_H
10123| # include <stdint.h>
10124| #endif
10125| #ifdef HAVE_UNISTD_H
10126| # include <unistd.h>
10127| #endif
10128| int
10129| main ()
10130| {
10131| if (sizeof ((fd_mask)))
10132|           return 0;
10133|   ;
10134|   return 0;
10135| }
10136configure:11974: result: yes
10137configure:11990: checking for int8_t
10138configure:12007: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
10139configure:12007: $? = 0
10140configure:12029: result: yes
10141configure:12039: checking size of int8_t
10142configure:12044: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
10143configure:12044: $? = 0
10144configure:12044: ./conftest
10145configure:12044: $? = 0
10146configure:12059: result: 1
10147configure:12081: checking for uint8_t
10148configure:12098: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
10149configure:12098: $? = 0
10150configure:12120: result: yes
10151configure:12130: checking size of uint8_t
10152configure:12135: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
10153configure:12135: $? = 0
10154configure:12135: ./conftest
10155configure:12135: $? = 0
10156configure:12150: result: 1
10157configure:12172: checking for int16_t
10158configure:12189: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
10159configure:12189: $? = 0
10160configure:12211: result: yes
10161configure:12221: checking size of int16_t
10162configure:12226: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
10163configure:12226: $? = 0
10164configure:12226: ./conftest
10165configure:12226: $? = 0
10166configure:12241: result: 2
10167configure:12263: checking for uint16_t
10168configure:12280: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
10169configure:12280: $? = 0
10170configure:12302: result: yes
10171configure:12312: checking size of uint16_t
10172configure:12317: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
10173configure:12317: $? = 0
10174configure:12317: ./conftest
10175configure:12317: $? = 0
10176configure:12332: result: 2
10177configure:12354: checking for int32_t
10178configure:12371: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
10179configure:12371: $? = 0
10180configure:12393: result: yes
10181configure:12403: checking size of int32_t
10182configure:12408: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
10183configure:12408: $? = 0
10184configure:12408: ./conftest
10185configure:12408: $? = 0
10186configure:12423: result: 4
10187configure:12445: checking for uint32_t
10188configure:12462: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
10189configure:12462: $? = 0
10190configure:12484: result: yes
10191configure:12494: checking size of uint32_t
10192configure:12499: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
10193configure:12499: $? = 0
10194configure:12499: ./conftest
10195configure:12499: $? = 0
10196configure:12514: result: 4
10197configure:12536: checking for int64_t
10198configure:12553: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
10199configure:12553: $? = 0
10200configure:12575: result: yes
10201configure:12585: checking size of int64_t
10202configure:12590: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
10203configure:12590: $? = 0
10204configure:12590: ./conftest
10205configure:12590: $? = 0
10206configure:12605: result: 8
10207configure:12627: checking for uint64_t
10208configure:12644: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
10209configure:12644: $? = 0
10210configure:12666: result: yes
10211configure:12676: checking size of uint64_t
10212configure:12681: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
10213configure:12681: $? = 0
10214configure:12681: ./conftest
10215configure:12681: $? = 0
10216configure:12696: result: 8
10217configure:12718: checking for int128_t
10218configure:12735: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
10219conftest.c:172:9: error: unknown type name 'int128_t'
10220typedef int128_t t; int s = sizeof(t) == 42;
10221        ^
102221 error generated.
10223configure:12735: $? = 1
10224configure: failed program was:
10225| /* confdefs.h */
10226| #define PACKAGE_NAME ""
10227| #define PACKAGE_TARNAME ""
10228| #define PACKAGE_VERSION ""
10229| #define PACKAGE_STRING ""
10230| #define PACKAGE_BUGREPORT ""
10231| #define PACKAGE_URL ""
10232| #define CANONICALIZATION_FOR_MATHN 1
10233| #define STDC_HEADERS 1
10234| #define HAVE_SYS_TYPES_H 1
10235| #define HAVE_SYS_STAT_H 1
10236| #define HAVE_STDLIB_H 1
10237| #define HAVE_STRING_H 1
10238| #define HAVE_MEMORY_H 1
10239| #define HAVE_STRINGS_H 1
10240| #define HAVE_INTTYPES_H 1
10241| #define HAVE_STDINT_H 1
10242| #define HAVE_UNISTD_H 1
10243| #define __EXTENSIONS__ 1
10244| #define _ALL_SOURCE 1
10245| #define _GNU_SOURCE 1
10246| #define _POSIX_PTHREAD_SEMANTICS 1
10247| #define _TANDEM_SOURCE 1
10248| #define HAVE_LONG_LONG 1
10249| #define HAVE_OFF_T 1
10250| #define SIZEOF_INT 4
10251| #define SIZEOF_SHORT 2
10252| #define SIZEOF_LONG 8
10253| #define SIZEOF_LONG_LONG 8
10254| #define SIZEOF___INT64 0
10255| #define SIZEOF_OFF_T 8
10256| #define SIZEOF_VOIDP 8
10257| #define SIZEOF_FLOAT 4
10258| #define SIZEOF_DOUBLE 8
10259| #define SIZEOF_TIME_T 8
10260| #define PRI_LL_PREFIX "ll"
10261| #define rb_pid_t pid_t
10262| #define PIDT2NUM(v) INT2NUM(v)
10263| #define NUM2PIDT(v) NUM2INT(v)
10264| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
10265| #define rb_uid_t uid_t
10266| #define UIDT2NUM(v) UINT2NUM(v)
10267| #define NUM2UIDT(v) NUM2UINT(v)
10268| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
10269| #define rb_gid_t gid_t
10270| #define GIDT2NUM(v) UINT2NUM(v)
10271| #define NUM2GIDT(v) NUM2UINT(v)
10272| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
10273| #define rb_time_t time_t
10274| #define TIMET2NUM(v) LONG2NUM(v)
10275| #define NUM2TIMET(v) NUM2LONG(v)
10276| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
10277| #define rb_dev_t dev_t
10278| #define DEVT2NUM(v) INT2NUM(v)
10279| #define NUM2DEVT(v) NUM2INT(v)
10280| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
10281| #define rb_mode_t mode_t
10282| #define MODET2NUM(v) UINT2NUM(v)
10283| #define NUM2MODET(v) NUM2UINT(v)
10284| #define PRI_MODET_PREFIX PRI_INT_PREFIX
10285| #define rb_rlim_t rlim_t
10286| #define RLIM2NUM(v) ULL2NUM(v)
10287| #define NUM2RLIM(v) NUM2ULL(v)
10288| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
10289| #define HAVE_PROTOTYPES 1
10290| #define TOKEN_PASTE(x,y) x##y
10291| #define STRINGIZE(expr) STRINGIZE0(expr)
10292| #define HAVE_STDARG_PROTOTYPES 1
10293| #define HAVE_VA_ARGS_MACRO 1
10294| #define NORETURN(x) __attribute__ ((noreturn)) x
10295| #define DEPRECATED(x) __attribute__ ((deprecated)) x
10296| #define NOINLINE(x) __attribute__ ((noinline)) x
10297| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
10298| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
10299| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
10300| #define HAVE_GCC_ATOMIC_BUILTINS 1
10301| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
10302| #define HAVE_DECL_SYS_NERR 1
10303| #define HAVE_LIBDL 1
10304| #define HAVE_DIRENT_H 1
10305| #define HAVE__BOOL 1
10306| #define HAVE_STDBOOL_H 1
10307| #define HAVE_SYS_WAIT_H 1
10308| #define HAVE_LIMITS_H 1
10309| #define HAVE_SYS_FILE_H 1
10310| #define HAVE_SYS_IOCTL_H 1
10311| #define HAVE_SYS_SYSCALL_H 1
10312| #define HAVE_FCNTL_H 1
10313| #define HAVE_SYS_FCNTL_H 1
10314| #define HAVE_SYS_SELECT_H 1
10315| #define HAVE_SYS_TIME_H 1
10316| #define HAVE_SYS_TIMES_H 1
10317| #define HAVE_SYS_PARAM_H 1
10318| #define HAVE_PWD_H 1
10319| #define HAVE_GRP_H 1
10320| #define HAVE_UTIME_H 1
10321| #define HAVE_SYS_RESOURCE_H 1
10322| #define HAVE_NETINET_IN_SYSTM_H 1
10323| #define HAVE_FLOAT_H 1
10324| #define HAVE_LANGINFO_H 1
10325| #define HAVE_LOCALE_H 1
10326| #define HAVE_TIME_H 1
10327| #define HAVE_SYS_SOCKET_H 1
10328| #define SIZEOF_SIZE_T 8
10329| #define SIZEOF_PTRDIFF_T 8
10330| #define PRI_SIZE_PREFIX "z"
10331| #define PRI_PTRDIFF_PREFIX "t"
10332| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
10333| #define HAVE_ST_BLKSIZE 1
10334| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
10335| #define HAVE_ST_BLOCKS 1
10336| #define HAVE_STRUCT_STAT_ST_RDEV 1
10337| #define HAVE_ST_RDEV 1
10338| #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
10339| #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
10340| #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
10341| #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
10342| #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
10343| #define HAVE_STRUCT_TIMESPEC 1
10344| #define HAVE_STRUCT_TIMEZONE 1
10345| #define HAVE_RB_FD_INIT 1
10346| #define HAVE_INT8_T 1
10347| #define SIZEOF_INT8_T 1
10348| #define HAVE_UINT8_T 1
10349| #define SIZEOF_UINT8_T 1
10350| #define HAVE_INT16_T 1
10351| #define SIZEOF_INT16_T 2
10352| #define HAVE_UINT16_T 1
10353| #define SIZEOF_UINT16_T 2
10354| #define HAVE_INT32_T 1
10355| #define SIZEOF_INT32_T 4
10356| #define HAVE_UINT32_T 1
10357| #define SIZEOF_UINT32_T 4
10358| #define HAVE_INT64_T 1
10359| #define SIZEOF_INT64_T 8
10360| #define HAVE_UINT64_T 1
10361| #define SIZEOF_UINT64_T 8
10362| /* end confdefs.h.  */
10363| #include <stdio.h>
10364| #ifdef HAVE_SYS_TYPES_H
10365| # include <sys/types.h>
10366| #endif
10367| #ifdef HAVE_SYS_STAT_H
10368| # include <sys/stat.h>
10369| #endif
10370| #ifdef STDC_HEADERS
10371| # include <stdlib.h>
10372| # include <stddef.h>
10373| #else
10374| # ifdef HAVE_STDLIB_H
10375| #  include <stdlib.h>
10376| # endif
10377| #endif
10378| #ifdef HAVE_STRING_H
10379| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
10380| #  include <memory.h>
10381| # endif
10382| # include <string.h>
10383| #endif
10384| #ifdef HAVE_STRINGS_H
10385| # include <strings.h>
10386| #endif
10387| #ifdef HAVE_INTTYPES_H
10388| # include <inttypes.h>
10389| #endif
10390| #ifdef HAVE_STDINT_H
10391| # include <stdint.h>
10392| #endif
10393| #ifdef HAVE_UNISTD_H
10394| # include <unistd.h>
10395| #endif
10396| typedef int128_t t; int s = sizeof(t) == 42;
10397| int
10398| main ()
10399| {
10400|
10401|   ;
10402|   return 0;
10403| }
10404configure:12757: result: no
10405configure:12809: checking for uint128_t
10406configure:12826: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
10407conftest.c:172:9: error: unknown type name 'uint128_t'
10408typedef uint128_t t; int s = sizeof(t) == 42;
10409        ^
104101 error generated.
10411configure:12826: $? = 1
10412configure: failed program was:
10413| /* confdefs.h */
10414| #define PACKAGE_NAME ""
10415| #define PACKAGE_TARNAME ""
10416| #define PACKAGE_VERSION ""
10417| #define PACKAGE_STRING ""
10418| #define PACKAGE_BUGREPORT ""
10419| #define PACKAGE_URL ""
10420| #define CANONICALIZATION_FOR_MATHN 1
10421| #define STDC_HEADERS 1
10422| #define HAVE_SYS_TYPES_H 1
10423| #define HAVE_SYS_STAT_H 1
10424| #define HAVE_STDLIB_H 1
10425| #define HAVE_STRING_H 1
10426| #define HAVE_MEMORY_H 1
10427| #define HAVE_STRINGS_H 1
10428| #define HAVE_INTTYPES_H 1
10429| #define HAVE_STDINT_H 1
10430| #define HAVE_UNISTD_H 1
10431| #define __EXTENSIONS__ 1
10432| #define _ALL_SOURCE 1
10433| #define _GNU_SOURCE 1
10434| #define _POSIX_PTHREAD_SEMANTICS 1
10435| #define _TANDEM_SOURCE 1
10436| #define HAVE_LONG_LONG 1
10437| #define HAVE_OFF_T 1
10438| #define SIZEOF_INT 4
10439| #define SIZEOF_SHORT 2
10440| #define SIZEOF_LONG 8
10441| #define SIZEOF_LONG_LONG 8
10442| #define SIZEOF___INT64 0
10443| #define SIZEOF_OFF_T 8
10444| #define SIZEOF_VOIDP 8
10445| #define SIZEOF_FLOAT 4
10446| #define SIZEOF_DOUBLE 8
10447| #define SIZEOF_TIME_T 8
10448| #define PRI_LL_PREFIX "ll"
10449| #define rb_pid_t pid_t
10450| #define PIDT2NUM(v) INT2NUM(v)
10451| #define NUM2PIDT(v) NUM2INT(v)
10452| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
10453| #define rb_uid_t uid_t
10454| #define UIDT2NUM(v) UINT2NUM(v)
10455| #define NUM2UIDT(v) NUM2UINT(v)
10456| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
10457| #define rb_gid_t gid_t
10458| #define GIDT2NUM(v) UINT2NUM(v)
10459| #define NUM2GIDT(v) NUM2UINT(v)
10460| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
10461| #define rb_time_t time_t
10462| #define TIMET2NUM(v) LONG2NUM(v)
10463| #define NUM2TIMET(v) NUM2LONG(v)
10464| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
10465| #define rb_dev_t dev_t
10466| #define DEVT2NUM(v) INT2NUM(v)
10467| #define NUM2DEVT(v) NUM2INT(v)
10468| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
10469| #define rb_mode_t mode_t
10470| #define MODET2NUM(v) UINT2NUM(v)
10471| #define NUM2MODET(v) NUM2UINT(v)
10472| #define PRI_MODET_PREFIX PRI_INT_PREFIX
10473| #define rb_rlim_t rlim_t
10474| #define RLIM2NUM(v) ULL2NUM(v)
10475| #define NUM2RLIM(v) NUM2ULL(v)
10476| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
10477| #define HAVE_PROTOTYPES 1
10478| #define TOKEN_PASTE(x,y) x##y
10479| #define STRINGIZE(expr) STRINGIZE0(expr)
10480| #define HAVE_STDARG_PROTOTYPES 1
10481| #define HAVE_VA_ARGS_MACRO 1
10482| #define NORETURN(x) __attribute__ ((noreturn)) x
10483| #define DEPRECATED(x) __attribute__ ((deprecated)) x
10484| #define NOINLINE(x) __attribute__ ((noinline)) x
10485| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
10486| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
10487| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
10488| #define HAVE_GCC_ATOMIC_BUILTINS 1
10489| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
10490| #define HAVE_DECL_SYS_NERR 1
10491| #define HAVE_LIBDL 1
10492| #define HAVE_DIRENT_H 1
10493| #define HAVE__BOOL 1
10494| #define HAVE_STDBOOL_H 1
10495| #define HAVE_SYS_WAIT_H 1
10496| #define HAVE_LIMITS_H 1
10497| #define HAVE_SYS_FILE_H 1
10498| #define HAVE_SYS_IOCTL_H 1
10499| #define HAVE_SYS_SYSCALL_H 1
10500| #define HAVE_FCNTL_H 1
10501| #define HAVE_SYS_FCNTL_H 1
10502| #define HAVE_SYS_SELECT_H 1
10503| #define HAVE_SYS_TIME_H 1
10504| #define HAVE_SYS_TIMES_H 1
10505| #define HAVE_SYS_PARAM_H 1
10506| #define HAVE_PWD_H 1
10507| #define HAVE_GRP_H 1
10508| #define HAVE_UTIME_H 1
10509| #define HAVE_SYS_RESOURCE_H 1
10510| #define HAVE_NETINET_IN_SYSTM_H 1
10511| #define HAVE_FLOAT_H 1
10512| #define HAVE_LANGINFO_H 1
10513| #define HAVE_LOCALE_H 1
10514| #define HAVE_TIME_H 1
10515| #define HAVE_SYS_SOCKET_H 1
10516| #define SIZEOF_SIZE_T 8
10517| #define SIZEOF_PTRDIFF_T 8
10518| #define PRI_SIZE_PREFIX "z"
10519| #define PRI_PTRDIFF_PREFIX "t"
10520| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
10521| #define HAVE_ST_BLKSIZE 1
10522| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
10523| #define HAVE_ST_BLOCKS 1
10524| #define HAVE_STRUCT_STAT_ST_RDEV 1
10525| #define HAVE_ST_RDEV 1
10526| #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
10527| #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
10528| #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
10529| #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
10530| #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
10531| #define HAVE_STRUCT_TIMESPEC 1
10532| #define HAVE_STRUCT_TIMEZONE 1
10533| #define HAVE_RB_FD_INIT 1
10534| #define HAVE_INT8_T 1
10535| #define SIZEOF_INT8_T 1
10536| #define HAVE_UINT8_T 1
10537| #define SIZEOF_UINT8_T 1
10538| #define HAVE_INT16_T 1
10539| #define SIZEOF_INT16_T 2
10540| #define HAVE_UINT16_T 1
10541| #define SIZEOF_UINT16_T 2
10542| #define HAVE_INT32_T 1
10543| #define SIZEOF_INT32_T 4
10544| #define HAVE_UINT32_T 1
10545| #define SIZEOF_UINT32_T 4
10546| #define HAVE_INT64_T 1
10547| #define SIZEOF_INT64_T 8
10548| #define HAVE_UINT64_T 1
10549| #define SIZEOF_UINT64_T 8
10550| /* end confdefs.h.  */
10551| #include <stdio.h>
10552| #ifdef HAVE_SYS_TYPES_H
10553| # include <sys/types.h>
10554| #endif
10555| #ifdef HAVE_SYS_STAT_H
10556| # include <sys/stat.h>
10557| #endif
10558| #ifdef STDC_HEADERS
10559| # include <stdlib.h>
10560| # include <stddef.h>
10561| #else
10562| # ifdef HAVE_STDLIB_H
10563| #  include <stdlib.h>
10564| # endif
10565| #endif
10566| #ifdef HAVE_STRING_H
10567| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
10568| #  include <memory.h>
10569| # endif
10570| # include <string.h>
10571| #endif
10572| #ifdef HAVE_STRINGS_H
10573| # include <strings.h>
10574| #endif
10575| #ifdef HAVE_INTTYPES_H
10576| # include <inttypes.h>
10577| #endif
10578| #ifdef HAVE_STDINT_H
10579| # include <stdint.h>
10580| #endif
10581| #ifdef HAVE_UNISTD_H
10582| # include <unistd.h>
10583| #endif
10584| typedef uint128_t t; int s = sizeof(t) == 42;
10585| int
10586| main ()
10587| {
10588|
10589|   ;
10590|   return 0;
10591| }
10592configure:12848: result: no
10593configure:12900: checking for intptr_t
10594configure:12917: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
10595configure:12917: $? = 0
10596configure:12939: result: yes
10597configure:13041: checking size of intptr_t
10598configure:13046: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
10599configure:13046: $? = 0
10600configure:13046: ./conftest
10601configure:13046: $? = 0
10602configure:13061: result: 8
10603configure:13085: checking for uintptr_t
10604configure:13102: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
10605configure:13102: $? = 0
10606configure:13124: result: yes
10607configure:13226: checking size of uintptr_t
10608configure:13231: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
10609configure:13231: $? = 0
10610configure:13231: ./conftest
10611configure:13231: $? = 0
10612configure:13246: result: 8
10613configure:13270: checking for ssize_t
10614configure:13288: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
10615configure:13288: $? = 0
10616configure:13310: result: yes
10617configure:13414: checking size of ssize_t
10618configure:13419: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
10619configure:13419: $? = 0
10620configure:13419: ./conftest
10621configure:13419: $? = 0
10622configure:13435: result: 8
10623configure:13459: checking for stack end address
10624configure:13477: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
10625Undefined symbols for architecture x86_64:
10626  "___libc_stack_end", referenced from:
10627      _main in conftest-Ui5aSh.o
10628ld: symbol(s) not found for architecture x86_64
10629clang: error: linker command failed with exit code 1 (use -v to see invocation)
10630configure:13477: $? = 1
10631configure: failed program was:
10632| /* confdefs.h */
10633| #define PACKAGE_NAME ""
10634| #define PACKAGE_TARNAME ""
10635| #define PACKAGE_VERSION ""
10636| #define PACKAGE_STRING ""
10637| #define PACKAGE_BUGREPORT ""
10638| #define PACKAGE_URL ""
10639| #define CANONICALIZATION_FOR_MATHN 1
10640| #define STDC_HEADERS 1
10641| #define HAVE_SYS_TYPES_H 1
10642| #define HAVE_SYS_STAT_H 1
10643| #define HAVE_STDLIB_H 1
10644| #define HAVE_STRING_H 1
10645| #define HAVE_MEMORY_H 1
10646| #define HAVE_STRINGS_H 1
10647| #define HAVE_INTTYPES_H 1
10648| #define HAVE_STDINT_H 1
10649| #define HAVE_UNISTD_H 1
10650| #define __EXTENSIONS__ 1
10651| #define _ALL_SOURCE 1
10652| #define _GNU_SOURCE 1
10653| #define _POSIX_PTHREAD_SEMANTICS 1
10654| #define _TANDEM_SOURCE 1
10655| #define HAVE_LONG_LONG 1
10656| #define HAVE_OFF_T 1
10657| #define SIZEOF_INT 4
10658| #define SIZEOF_SHORT 2
10659| #define SIZEOF_LONG 8
10660| #define SIZEOF_LONG_LONG 8
10661| #define SIZEOF___INT64 0
10662| #define SIZEOF_OFF_T 8
10663| #define SIZEOF_VOIDP 8
10664| #define SIZEOF_FLOAT 4
10665| #define SIZEOF_DOUBLE 8
10666| #define SIZEOF_TIME_T 8
10667| #define PRI_LL_PREFIX "ll"
10668| #define rb_pid_t pid_t
10669| #define PIDT2NUM(v) INT2NUM(v)
10670| #define NUM2PIDT(v) NUM2INT(v)
10671| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
10672| #define rb_uid_t uid_t
10673| #define UIDT2NUM(v) UINT2NUM(v)
10674| #define NUM2UIDT(v) NUM2UINT(v)
10675| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
10676| #define rb_gid_t gid_t
10677| #define GIDT2NUM(v) UINT2NUM(v)
10678| #define NUM2GIDT(v) NUM2UINT(v)
10679| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
10680| #define rb_time_t time_t
10681| #define TIMET2NUM(v) LONG2NUM(v)
10682| #define NUM2TIMET(v) NUM2LONG(v)
10683| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
10684| #define rb_dev_t dev_t
10685| #define DEVT2NUM(v) INT2NUM(v)
10686| #define NUM2DEVT(v) NUM2INT(v)
10687| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
10688| #define rb_mode_t mode_t
10689| #define MODET2NUM(v) UINT2NUM(v)
10690| #define NUM2MODET(v) NUM2UINT(v)
10691| #define PRI_MODET_PREFIX PRI_INT_PREFIX
10692| #define rb_rlim_t rlim_t
10693| #define RLIM2NUM(v) ULL2NUM(v)
10694| #define NUM2RLIM(v) NUM2ULL(v)
10695| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
10696| #define HAVE_PROTOTYPES 1
10697| #define TOKEN_PASTE(x,y) x##y
10698| #define STRINGIZE(expr) STRINGIZE0(expr)
10699| #define HAVE_STDARG_PROTOTYPES 1
10700| #define HAVE_VA_ARGS_MACRO 1
10701| #define NORETURN(x) __attribute__ ((noreturn)) x
10702| #define DEPRECATED(x) __attribute__ ((deprecated)) x
10703| #define NOINLINE(x) __attribute__ ((noinline)) x
10704| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
10705| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
10706| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
10707| #define HAVE_GCC_ATOMIC_BUILTINS 1
10708| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
10709| #define HAVE_DECL_SYS_NERR 1
10710| #define HAVE_LIBDL 1
10711| #define HAVE_DIRENT_H 1
10712| #define HAVE__BOOL 1
10713| #define HAVE_STDBOOL_H 1
10714| #define HAVE_SYS_WAIT_H 1
10715| #define HAVE_LIMITS_H 1
10716| #define HAVE_SYS_FILE_H 1
10717| #define HAVE_SYS_IOCTL_H 1
10718| #define HAVE_SYS_SYSCALL_H 1
10719| #define HAVE_FCNTL_H 1
10720| #define HAVE_SYS_FCNTL_H 1
10721| #define HAVE_SYS_SELECT_H 1
10722| #define HAVE_SYS_TIME_H 1
10723| #define HAVE_SYS_TIMES_H 1
10724| #define HAVE_SYS_PARAM_H 1
10725| #define HAVE_PWD_H 1
10726| #define HAVE_GRP_H 1
10727| #define HAVE_UTIME_H 1
10728| #define HAVE_SYS_RESOURCE_H 1
10729| #define HAVE_NETINET_IN_SYSTM_H 1
10730| #define HAVE_FLOAT_H 1
10731| #define HAVE_LANGINFO_H 1
10732| #define HAVE_LOCALE_H 1
10733| #define HAVE_TIME_H 1
10734| #define HAVE_SYS_SOCKET_H 1
10735| #define SIZEOF_SIZE_T 8
10736| #define SIZEOF_PTRDIFF_T 8
10737| #define PRI_SIZE_PREFIX "z"
10738| #define PRI_PTRDIFF_PREFIX "t"
10739| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
10740| #define HAVE_ST_BLKSIZE 1
10741| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
10742| #define HAVE_ST_BLOCKS 1
10743| #define HAVE_STRUCT_STAT_ST_RDEV 1
10744| #define HAVE_ST_RDEV 1
10745| #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
10746| #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
10747| #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
10748| #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
10749| #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
10750| #define HAVE_STRUCT_TIMESPEC 1
10751| #define HAVE_STRUCT_TIMEZONE 1
10752| #define HAVE_RB_FD_INIT 1
10753| #define HAVE_INT8_T 1
10754| #define SIZEOF_INT8_T 1
10755| #define HAVE_UINT8_T 1
10756| #define SIZEOF_UINT8_T 1
10757| #define HAVE_INT16_T 1
10758| #define SIZEOF_INT16_T 2
10759| #define HAVE_UINT16_T 1
10760| #define SIZEOF_UINT16_T 2
10761| #define HAVE_INT32_T 1
10762| #define SIZEOF_INT32_T 4
10763| #define HAVE_UINT32_T 1
10764| #define SIZEOF_UINT32_T 4
10765| #define HAVE_INT64_T 1
10766| #define SIZEOF_INT64_T 8
10767| #define HAVE_UINT64_T 1
10768| #define SIZEOF_UINT64_T 8
10769| #define HAVE_INTPTR_T 1
10770| #define SIZEOF_INTPTR_T 8
10771| #define HAVE_UINTPTR_T 1
10772| #define SIZEOF_UINTPTR_T 8
10773| #define HAVE_SSIZE_T 1
10774| #define SIZEOF_SSIZE_T 8
10775| /* end confdefs.h.  */
10776| extern void *__libc_stack_end;
10777| int
10778| main ()
10779| {
10780| if (!__libc_stack_end) return 1;
10781|   ;
10782|   return 0;
10783| }
10784configure:13477: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
10785Undefined symbols for architecture x86_64:
10786  "__SEND", referenced from:
10787      _main in conftest-mhc68n.o
10788ld: symbol(s) not found for architecture x86_64
10789clang: error: linker command failed with exit code 1 (use -v to see invocation)
10790configure:13477: $? = 1
10791configure: failed program was:
10792| /* confdefs.h */
10793| #define PACKAGE_NAME ""
10794| #define PACKAGE_TARNAME ""
10795| #define PACKAGE_VERSION ""
10796| #define PACKAGE_STRING ""
10797| #define PACKAGE_BUGREPORT ""
10798| #define PACKAGE_URL ""
10799| #define CANONICALIZATION_FOR_MATHN 1
10800| #define STDC_HEADERS 1
10801| #define HAVE_SYS_TYPES_H 1
10802| #define HAVE_SYS_STAT_H 1
10803| #define HAVE_STDLIB_H 1
10804| #define HAVE_STRING_H 1
10805| #define HAVE_MEMORY_H 1
10806| #define HAVE_STRINGS_H 1
10807| #define HAVE_INTTYPES_H 1
10808| #define HAVE_STDINT_H 1
10809| #define HAVE_UNISTD_H 1
10810| #define __EXTENSIONS__ 1
10811| #define _ALL_SOURCE 1
10812| #define _GNU_SOURCE 1
10813| #define _POSIX_PTHREAD_SEMANTICS 1
10814| #define _TANDEM_SOURCE 1
10815| #define HAVE_LONG_LONG 1
10816| #define HAVE_OFF_T 1
10817| #define SIZEOF_INT 4
10818| #define SIZEOF_SHORT 2
10819| #define SIZEOF_LONG 8
10820| #define SIZEOF_LONG_LONG 8
10821| #define SIZEOF___INT64 0
10822| #define SIZEOF_OFF_T 8
10823| #define SIZEOF_VOIDP 8
10824| #define SIZEOF_FLOAT 4
10825| #define SIZEOF_DOUBLE 8
10826| #define SIZEOF_TIME_T 8
10827| #define PRI_LL_PREFIX "ll"
10828| #define rb_pid_t pid_t
10829| #define PIDT2NUM(v) INT2NUM(v)
10830| #define NUM2PIDT(v) NUM2INT(v)
10831| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
10832| #define rb_uid_t uid_t
10833| #define UIDT2NUM(v) UINT2NUM(v)
10834| #define NUM2UIDT(v) NUM2UINT(v)
10835| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
10836| #define rb_gid_t gid_t
10837| #define GIDT2NUM(v) UINT2NUM(v)
10838| #define NUM2GIDT(v) NUM2UINT(v)
10839| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
10840| #define rb_time_t time_t
10841| #define TIMET2NUM(v) LONG2NUM(v)
10842| #define NUM2TIMET(v) NUM2LONG(v)
10843| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
10844| #define rb_dev_t dev_t
10845| #define DEVT2NUM(v) INT2NUM(v)
10846| #define NUM2DEVT(v) NUM2INT(v)
10847| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
10848| #define rb_mode_t mode_t
10849| #define MODET2NUM(v) UINT2NUM(v)
10850| #define NUM2MODET(v) NUM2UINT(v)
10851| #define PRI_MODET_PREFIX PRI_INT_PREFIX
10852| #define rb_rlim_t rlim_t
10853| #define RLIM2NUM(v) ULL2NUM(v)
10854| #define NUM2RLIM(v) NUM2ULL(v)
10855| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
10856| #define HAVE_PROTOTYPES 1
10857| #define TOKEN_PASTE(x,y) x##y
10858| #define STRINGIZE(expr) STRINGIZE0(expr)
10859| #define HAVE_STDARG_PROTOTYPES 1
10860| #define HAVE_VA_ARGS_MACRO 1
10861| #define NORETURN(x) __attribute__ ((noreturn)) x
10862| #define DEPRECATED(x) __attribute__ ((deprecated)) x
10863| #define NOINLINE(x) __attribute__ ((noinline)) x
10864| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
10865| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
10866| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
10867| #define HAVE_GCC_ATOMIC_BUILTINS 1
10868| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
10869| #define HAVE_DECL_SYS_NERR 1
10870| #define HAVE_LIBDL 1
10871| #define HAVE_DIRENT_H 1
10872| #define HAVE__BOOL 1
10873| #define HAVE_STDBOOL_H 1
10874| #define HAVE_SYS_WAIT_H 1
10875| #define HAVE_LIMITS_H 1
10876| #define HAVE_SYS_FILE_H 1
10877| #define HAVE_SYS_IOCTL_H 1
10878| #define HAVE_SYS_SYSCALL_H 1
10879| #define HAVE_FCNTL_H 1
10880| #define HAVE_SYS_FCNTL_H 1
10881| #define HAVE_SYS_SELECT_H 1
10882| #define HAVE_SYS_TIME_H 1
10883| #define HAVE_SYS_TIMES_H 1
10884| #define HAVE_SYS_PARAM_H 1
10885| #define HAVE_PWD_H 1
10886| #define HAVE_GRP_H 1
10887| #define HAVE_UTIME_H 1
10888| #define HAVE_SYS_RESOURCE_H 1
10889| #define HAVE_NETINET_IN_SYSTM_H 1
10890| #define HAVE_FLOAT_H 1
10891| #define HAVE_LANGINFO_H 1
10892| #define HAVE_LOCALE_H 1
10893| #define HAVE_TIME_H 1
10894| #define HAVE_SYS_SOCKET_H 1
10895| #define SIZEOF_SIZE_T 8
10896| #define SIZEOF_PTRDIFF_T 8
10897| #define PRI_SIZE_PREFIX "z"
10898| #define PRI_PTRDIFF_PREFIX "t"
10899| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
10900| #define HAVE_ST_BLKSIZE 1
10901| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
10902| #define HAVE_ST_BLOCKS 1
10903| #define HAVE_STRUCT_STAT_ST_RDEV 1
10904| #define HAVE_ST_RDEV 1
10905| #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
10906| #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
10907| #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
10908| #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
10909| #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
10910| #define HAVE_STRUCT_TIMESPEC 1
10911| #define HAVE_STRUCT_TIMEZONE 1
10912| #define HAVE_RB_FD_INIT 1
10913| #define HAVE_INT8_T 1
10914| #define SIZEOF_INT8_T 1
10915| #define HAVE_UINT8_T 1
10916| #define SIZEOF_UINT8_T 1
10917| #define HAVE_INT16_T 1
10918| #define SIZEOF_INT16_T 2
10919| #define HAVE_UINT16_T 1
10920| #define SIZEOF_UINT16_T 2
10921| #define HAVE_INT32_T 1
10922| #define SIZEOF_INT32_T 4
10923| #define HAVE_UINT32_T 1
10924| #define SIZEOF_UINT32_T 4
10925| #define HAVE_INT64_T 1
10926| #define SIZEOF_INT64_T 8
10927| #define HAVE_UINT64_T 1
10928| #define SIZEOF_UINT64_T 8
10929| #define HAVE_INTPTR_T 1
10930| #define SIZEOF_INTPTR_T 8
10931| #define HAVE_UINTPTR_T 1
10932| #define SIZEOF_UINTPTR_T 8
10933| #define HAVE_SSIZE_T 1
10934| #define SIZEOF_SSIZE_T 8
10935| /* end confdefs.h.  */
10936| extern void *_SEND;
10937| int
10938| main ()
10939| {
10940| if (!_SEND) return 1;
10941|   ;
10942|   return 0;
10943| }
10944configure:13484: result: no
10945configure:13493: checking for gc_mark and gc_children stack frame approximate size(word)
10946configure:13553: /usr/bin/clang -o conftest -O0 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
10947conftest.c:172:34: warning: too many arguments in call to 'set_stackframe_word'
10948    set_stackframe_word(p1,p2,lev);
10949    ~~~~~~~~~~~~~~~~~~~          ^
109501 warning generated.
10951configure:13553: $? = 0
10952configure:13553: ./conftest
10953configure:13553: $? = 16
10954configure: program exited with status 16
10955configure: failed program was:
10956| /* confdefs.h */
10957| #define PACKAGE_NAME ""
10958| #define PACKAGE_TARNAME ""
10959| #define PACKAGE_VERSION ""
10960| #define PACKAGE_STRING ""
10961| #define PACKAGE_BUGREPORT ""
10962| #define PACKAGE_URL ""
10963| #define CANONICALIZATION_FOR_MATHN 1
10964| #define STDC_HEADERS 1
10965| #define HAVE_SYS_TYPES_H 1
10966| #define HAVE_SYS_STAT_H 1
10967| #define HAVE_STDLIB_H 1
10968| #define HAVE_STRING_H 1
10969| #define HAVE_MEMORY_H 1
10970| #define HAVE_STRINGS_H 1
10971| #define HAVE_INTTYPES_H 1
10972| #define HAVE_STDINT_H 1
10973| #define HAVE_UNISTD_H 1
10974| #define __EXTENSIONS__ 1
10975| #define _ALL_SOURCE 1
10976| #define _GNU_SOURCE 1
10977| #define _POSIX_PTHREAD_SEMANTICS 1
10978| #define _TANDEM_SOURCE 1
10979| #define HAVE_LONG_LONG 1
10980| #define HAVE_OFF_T 1
10981| #define SIZEOF_INT 4
10982| #define SIZEOF_SHORT 2
10983| #define SIZEOF_LONG 8
10984| #define SIZEOF_LONG_LONG 8
10985| #define SIZEOF___INT64 0
10986| #define SIZEOF_OFF_T 8
10987| #define SIZEOF_VOIDP 8
10988| #define SIZEOF_FLOAT 4
10989| #define SIZEOF_DOUBLE 8
10990| #define SIZEOF_TIME_T 8
10991| #define PRI_LL_PREFIX "ll"
10992| #define rb_pid_t pid_t
10993| #define PIDT2NUM(v) INT2NUM(v)
10994| #define NUM2PIDT(v) NUM2INT(v)
10995| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
10996| #define rb_uid_t uid_t
10997| #define UIDT2NUM(v) UINT2NUM(v)
10998| #define NUM2UIDT(v) NUM2UINT(v)
10999| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
11000| #define rb_gid_t gid_t
11001| #define GIDT2NUM(v) UINT2NUM(v)
11002| #define NUM2GIDT(v) NUM2UINT(v)
11003| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
11004| #define rb_time_t time_t
11005| #define TIMET2NUM(v) LONG2NUM(v)
11006| #define NUM2TIMET(v) NUM2LONG(v)
11007| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
11008| #define rb_dev_t dev_t
11009| #define DEVT2NUM(v) INT2NUM(v)
11010| #define NUM2DEVT(v) NUM2INT(v)
11011| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
11012| #define rb_mode_t mode_t
11013| #define MODET2NUM(v) UINT2NUM(v)
11014| #define NUM2MODET(v) NUM2UINT(v)
11015| #define PRI_MODET_PREFIX PRI_INT_PREFIX
11016| #define rb_rlim_t rlim_t
11017| #define RLIM2NUM(v) ULL2NUM(v)
11018| #define NUM2RLIM(v) NUM2ULL(v)
11019| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
11020| #define HAVE_PROTOTYPES 1
11021| #define TOKEN_PASTE(x,y) x##y
11022| #define STRINGIZE(expr) STRINGIZE0(expr)
11023| #define HAVE_STDARG_PROTOTYPES 1
11024| #define HAVE_VA_ARGS_MACRO 1
11025| #define NORETURN(x) __attribute__ ((noreturn)) x
11026| #define DEPRECATED(x) __attribute__ ((deprecated)) x
11027| #define NOINLINE(x) __attribute__ ((noinline)) x
11028| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
11029| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
11030| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
11031| #define HAVE_GCC_ATOMIC_BUILTINS 1
11032| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
11033| #define HAVE_DECL_SYS_NERR 1
11034| #define HAVE_LIBDL 1
11035| #define HAVE_DIRENT_H 1
11036| #define HAVE__BOOL 1
11037| #define HAVE_STDBOOL_H 1
11038| #define HAVE_SYS_WAIT_H 1
11039| #define HAVE_LIMITS_H 1
11040| #define HAVE_SYS_FILE_H 1
11041| #define HAVE_SYS_IOCTL_H 1
11042| #define HAVE_SYS_SYSCALL_H 1
11043| #define HAVE_FCNTL_H 1
11044| #define HAVE_SYS_FCNTL_H 1
11045| #define HAVE_SYS_SELECT_H 1
11046| #define HAVE_SYS_TIME_H 1
11047| #define HAVE_SYS_TIMES_H 1
11048| #define HAVE_SYS_PARAM_H 1
11049| #define HAVE_PWD_H 1
11050| #define HAVE_GRP_H 1
11051| #define HAVE_UTIME_H 1
11052| #define HAVE_SYS_RESOURCE_H 1
11053| #define HAVE_NETINET_IN_SYSTM_H 1
11054| #define HAVE_FLOAT_H 1
11055| #define HAVE_LANGINFO_H 1
11056| #define HAVE_LOCALE_H 1
11057| #define HAVE_TIME_H 1
11058| #define HAVE_SYS_SOCKET_H 1
11059| #define SIZEOF_SIZE_T 8
11060| #define SIZEOF_PTRDIFF_T 8
11061| #define PRI_SIZE_PREFIX "z"
11062| #define PRI_PTRDIFF_PREFIX "t"
11063| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
11064| #define HAVE_ST_BLKSIZE 1
11065| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
11066| #define HAVE_ST_BLOCKS 1
11067| #define HAVE_STRUCT_STAT_ST_RDEV 1
11068| #define HAVE_ST_RDEV 1
11069| #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
11070| #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
11071| #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
11072| #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
11073| #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
11074| #define HAVE_STRUCT_TIMESPEC 1
11075| #define HAVE_STRUCT_TIMEZONE 1
11076| #define HAVE_RB_FD_INIT 1
11077| #define HAVE_INT8_T 1
11078| #define SIZEOF_INT8_T 1
11079| #define HAVE_UINT8_T 1
11080| #define SIZEOF_UINT8_T 1
11081| #define HAVE_INT16_T 1
11082| #define SIZEOF_INT16_T 2
11083| #define HAVE_UINT16_T 1
11084| #define SIZEOF_UINT16_T 2
11085| #define HAVE_INT32_T 1
11086| #define SIZEOF_INT32_T 4
11087| #define HAVE_UINT32_T 1
11088| #define SIZEOF_UINT32_T 4
11089| #define HAVE_INT64_T 1
11090| #define SIZEOF_INT64_T 8
11091| #define HAVE_UINT64_T 1
11092| #define SIZEOF_UINT64_T 8
11093| #define HAVE_INTPTR_T 1
11094| #define SIZEOF_INTPTR_T 8
11095| #define HAVE_UINTPTR_T 1
11096| #define SIZEOF_UINTPTR_T 8
11097| #define HAVE_SSIZE_T 1
11098| #define SIZEOF_SSIZE_T 8
11099| /* end confdefs.h.  */
11100|
11101| int word;
11102| char *stack_start;
11103|
11104| void
11105| set_stackframe_word()
11106| {
11107|     int dumy = 42;
11108|     int diff;
11109|
11110|     if (stack_start < (char *)&dumy) {
11111|         diff = (int)((char *)&dumy - stack_start);
11112|     }
11113|     else {
11114|         diff = (int)(stack_start - (char *)&dumy);
11115|     }
11116|     word = (diff/sizeof(void *));
11117|     if ((diff % sizeof(void *)) != 0) {
11118|         word++;
11119|     }
11120| }
11121|
11122| void
11123| gc_mark_children(void *p1, void *p2, int lev)
11124| {
11125|     void *obj = p2;
11126|
11127|     set_stackframe_word(p1,p2,lev);
11128| }
11129|
11130| void
11131| gc_mark(void *p1, void *p2, int lev)
11132| {
11133|     void *obj = p2;
11134|
11135|     gc_mark_children(p1,p2,lev++);
11136| }
11137|
11138| int
11139| main() {
11140|   int dumy = 42;
11141|
11142|   stack_start = (char *)&dumy;
11143|   gc_mark(0, 0, 255);
11144|   return word;
11145| }
11146|
11147configure:13564: result: 16
11148configure:13572: checking for uid_t in sys/types.h
11149configure:13591: result: yes
11150configure:13602: checking type of array argument to getgroups
11151configure:13661: result: gid_t
11152configure:13669: checking return type of signal handlers
11153configure:13687: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
11154conftest.c:153:8: error: indirection requires pointer operand ('void' invalid)
11155return *(signal (0, 0)) (0) == 1;
11156       ^~~~~~~~~~~~~~~~~~~~
111571 error generated.
11158configure:13687: $? = 1
11159configure: failed program was:
11160| /* confdefs.h */
11161| #define PACKAGE_NAME ""
11162| #define PACKAGE_TARNAME ""
11163| #define PACKAGE_VERSION ""
11164| #define PACKAGE_STRING ""
11165| #define PACKAGE_BUGREPORT ""
11166| #define PACKAGE_URL ""
11167| #define CANONICALIZATION_FOR_MATHN 1
11168| #define STDC_HEADERS 1
11169| #define HAVE_SYS_TYPES_H 1
11170| #define HAVE_SYS_STAT_H 1
11171| #define HAVE_STDLIB_H 1
11172| #define HAVE_STRING_H 1
11173| #define HAVE_MEMORY_H 1
11174| #define HAVE_STRINGS_H 1
11175| #define HAVE_INTTYPES_H 1
11176| #define HAVE_STDINT_H 1
11177| #define HAVE_UNISTD_H 1
11178| #define __EXTENSIONS__ 1
11179| #define _ALL_SOURCE 1
11180| #define _GNU_SOURCE 1
11181| #define _POSIX_PTHREAD_SEMANTICS 1
11182| #define _TANDEM_SOURCE 1
11183| #define HAVE_LONG_LONG 1
11184| #define HAVE_OFF_T 1
11185| #define SIZEOF_INT 4
11186| #define SIZEOF_SHORT 2
11187| #define SIZEOF_LONG 8
11188| #define SIZEOF_LONG_LONG 8
11189| #define SIZEOF___INT64 0
11190| #define SIZEOF_OFF_T 8
11191| #define SIZEOF_VOIDP 8
11192| #define SIZEOF_FLOAT 4
11193| #define SIZEOF_DOUBLE 8
11194| #define SIZEOF_TIME_T 8
11195| #define PRI_LL_PREFIX "ll"
11196| #define rb_pid_t pid_t
11197| #define PIDT2NUM(v) INT2NUM(v)
11198| #define NUM2PIDT(v) NUM2INT(v)
11199| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
11200| #define rb_uid_t uid_t
11201| #define UIDT2NUM(v) UINT2NUM(v)
11202| #define NUM2UIDT(v) NUM2UINT(v)
11203| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
11204| #define rb_gid_t gid_t
11205| #define GIDT2NUM(v) UINT2NUM(v)
11206| #define NUM2GIDT(v) NUM2UINT(v)
11207| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
11208| #define rb_time_t time_t
11209| #define TIMET2NUM(v) LONG2NUM(v)
11210| #define NUM2TIMET(v) NUM2LONG(v)
11211| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
11212| #define rb_dev_t dev_t
11213| #define DEVT2NUM(v) INT2NUM(v)
11214| #define NUM2DEVT(v) NUM2INT(v)
11215| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
11216| #define rb_mode_t mode_t
11217| #define MODET2NUM(v) UINT2NUM(v)
11218| #define NUM2MODET(v) NUM2UINT(v)
11219| #define PRI_MODET_PREFIX PRI_INT_PREFIX
11220| #define rb_rlim_t rlim_t
11221| #define RLIM2NUM(v) ULL2NUM(v)
11222| #define NUM2RLIM(v) NUM2ULL(v)
11223| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
11224| #define HAVE_PROTOTYPES 1
11225| #define TOKEN_PASTE(x,y) x##y
11226| #define STRINGIZE(expr) STRINGIZE0(expr)
11227| #define HAVE_STDARG_PROTOTYPES 1
11228| #define HAVE_VA_ARGS_MACRO 1
11229| #define NORETURN(x) __attribute__ ((noreturn)) x
11230| #define DEPRECATED(x) __attribute__ ((deprecated)) x
11231| #define NOINLINE(x) __attribute__ ((noinline)) x
11232| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
11233| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
11234| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
11235| #define HAVE_GCC_ATOMIC_BUILTINS 1
11236| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
11237| #define HAVE_DECL_SYS_NERR 1
11238| #define HAVE_LIBDL 1
11239| #define HAVE_DIRENT_H 1
11240| #define HAVE__BOOL 1
11241| #define HAVE_STDBOOL_H 1
11242| #define HAVE_SYS_WAIT_H 1
11243| #define HAVE_LIMITS_H 1
11244| #define HAVE_SYS_FILE_H 1
11245| #define HAVE_SYS_IOCTL_H 1
11246| #define HAVE_SYS_SYSCALL_H 1
11247| #define HAVE_FCNTL_H 1
11248| #define HAVE_SYS_FCNTL_H 1
11249| #define HAVE_SYS_SELECT_H 1
11250| #define HAVE_SYS_TIME_H 1
11251| #define HAVE_SYS_TIMES_H 1
11252| #define HAVE_SYS_PARAM_H 1
11253| #define HAVE_PWD_H 1
11254| #define HAVE_GRP_H 1
11255| #define HAVE_UTIME_H 1
11256| #define HAVE_SYS_RESOURCE_H 1
11257| #define HAVE_NETINET_IN_SYSTM_H 1
11258| #define HAVE_FLOAT_H 1
11259| #define HAVE_LANGINFO_H 1
11260| #define HAVE_LOCALE_H 1
11261| #define HAVE_TIME_H 1
11262| #define HAVE_SYS_SOCKET_H 1
11263| #define SIZEOF_SIZE_T 8
11264| #define SIZEOF_PTRDIFF_T 8
11265| #define PRI_SIZE_PREFIX "z"
11266| #define PRI_PTRDIFF_PREFIX "t"
11267| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
11268| #define HAVE_ST_BLKSIZE 1
11269| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
11270| #define HAVE_ST_BLOCKS 1
11271| #define HAVE_STRUCT_STAT_ST_RDEV 1
11272| #define HAVE_ST_RDEV 1
11273| #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
11274| #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
11275| #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
11276| #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
11277| #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
11278| #define HAVE_STRUCT_TIMESPEC 1
11279| #define HAVE_STRUCT_TIMEZONE 1
11280| #define HAVE_RB_FD_INIT 1
11281| #define HAVE_INT8_T 1
11282| #define SIZEOF_INT8_T 1
11283| #define HAVE_UINT8_T 1
11284| #define SIZEOF_UINT8_T 1
11285| #define HAVE_INT16_T 1
11286| #define SIZEOF_INT16_T 2
11287| #define HAVE_UINT16_T 1
11288| #define SIZEOF_UINT16_T 2
11289| #define HAVE_INT32_T 1
11290| #define SIZEOF_INT32_T 4
11291| #define HAVE_UINT32_T 1
11292| #define SIZEOF_UINT32_T 4
11293| #define HAVE_INT64_T 1
11294| #define SIZEOF_INT64_T 8
11295| #define HAVE_UINT64_T 1
11296| #define SIZEOF_UINT64_T 8
11297| #define HAVE_INTPTR_T 1
11298| #define SIZEOF_INTPTR_T 8
11299| #define HAVE_UINTPTR_T 1
11300| #define SIZEOF_UINTPTR_T 8
11301| #define HAVE_SSIZE_T 1
11302| #define SIZEOF_SSIZE_T 8
11303| #define GC_MARK_STACKFRAME_WORD 16
11304| #define GETGROUPS_T gid_t
11305| /* end confdefs.h.  */
11306| #include <sys/types.h>
11307| #include <signal.h>
11308|
11309| int
11310| main ()
11311| {
11312| return *(signal (0, 0)) (0) == 1;
11313|   ;
11314|   return 0;
11315| }
11316configure:13694: result: void
11317configure:13747: checking for working alloca.h
11318configure:13764: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
11319configure:13764: $? = 0
11320configure:13772: result: yes
11321configure:13780: checking for alloca
11322configure:13817: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
11323configure:13817: $? = 0
11324configure:13825: result: yes
11325configure:13937: checking for dynamic size alloca
11326configure:13961: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
11327configure:13961: $? = 0
11328configure:13968: result: ok
11329configure:13986: checking for working memcmp
11330configure:14029: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
11331configure:14029: $? = 0
11332configure:14029: ./conftest
11333configure:14029: $? = 0
11334configure:14039: result: yes
11335configure:14052: checking for broken erfc of glibc-2.3.6 on IA64
11336configure:14072: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
11337configure:14072: $? = 0
11338configure:14072: ./conftest
11339configure:14072: $? = 0
11340configure:14082: result: no
11341configure:14114: checking for dup2
11342configure:14114: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
11343configure:14114: $? = 0
11344configure:14114: result: yes
11345configure:14127: checking for memmove
11346configure:14127: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
11347conftest.c:174:6: warning: incompatible redeclaration of library function 'memmove'
11348char memmove ();
11349     ^
11350conftest.c:174:6: note: 'memmove' is a builtin with type 'void *(void *, const void *, unsigned long)'
113511 warning generated.
11352configure:14127: $? = 0
11353configure:14127: result: yes
11354configure:14140: checking for strerror
11355configure:14140: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
11356conftest.c:175:6: warning: incompatible redeclaration of library function 'strerror'
11357char strerror ();
11358     ^
11359conftest.c:175:6: note: 'strerror' is a builtin with type 'char *(int)'
113601 warning generated.
11361configure:14140: $? = 0
11362configure:14140: result: yes
11363configure:14153: checking for strchr
11364configure:14153: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
11365conftest.c:176:6: warning: incompatible redeclaration of library function 'strchr'
11366char strchr ();
11367     ^
11368conftest.c:176:6: note: 'strchr' is a builtin with type 'char *(const char *, int)'
113691 warning generated.
11370configure:14153: $? = 0
11371configure:14153: result: yes
11372configure:14166: checking for strstr
11373configure:14166: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
11374conftest.c:177:6: warning: incompatible redeclaration of library function 'strstr'
11375char strstr ();
11376     ^
11377conftest.c:177:6: note: 'strstr' is a builtin with type 'char *(const char *, const char *)'
113781 warning generated.
11379configure:14166: $? = 0
11380configure:14166: result: yes
11381configure:14179: checking for crypt
11382configure:14179: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
11383configure:14179: $? = 0
11384configure:14179: result: yes
11385configure:14192: checking for flock
11386configure:14192: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
11387configure:14192: $? = 0
11388configure:14192: result: yes
11389configure:14205: checking for isnan
11390configure:14205: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
11391configure:14205: $? = 0
11392configure:14205: result: yes
11393configure:14218: checking for finite
11394configure:14218: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
11395configure:14218: $? = 0
11396configure:14218: result: yes
11397configure:14231: checking for isinf
11398configure:14231: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
11399configure:14231: $? = 0
11400configure:14231: result: yes
11401configure:14244: checking for hypot
11402configure:14244: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
11403configure:14244: $? = 0
11404configure:14244: result: yes
11405configure:14257: checking for acosh
11406configure:14257: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
11407configure:14257: $? = 0
11408configure:14257: result: yes
11409configure:14270: checking for erf
11410configure:14270: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
11411configure:14270: $? = 0
11412configure:14270: result: yes
11413configure:14283: checking for tgamma
11414configure:14283: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
11415configure:14283: $? = 0
11416configure:14283: result: yes
11417configure:14296: checking for lgamma_r
11418configure:14296: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
11419configure:14296: $? = 0
11420configure:14296: result: yes
11421configure:14309: checking for cbrt
11422configure:14309: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
11423configure:14309: $? = 0
11424configure:14309: result: yes
11425configure:14322: checking for strlcpy
11426configure:14322: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
11427conftest.c:189:6: warning: incompatible redeclaration of library function 'strlcpy'
11428char strlcpy ();
11429     ^
11430conftest.c:189:6: note: 'strlcpy' is a builtin with type 'unsigned long (char *, const char *, unsigned long)'
114311 warning generated.
11432configure:14322: $? = 0
11433configure:14322: result: yes
11434configure:14335: checking for strlcat
11435configure:14335: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
11436conftest.c:190:6: warning: incompatible redeclaration of library function 'strlcat'
11437char strlcat ();
11438     ^
11439conftest.c:190:6: note: 'strlcat' is a builtin with type 'unsigned long (char *, const char *, unsigned long)'
114401 warning generated.
11441configure:14335: $? = 0
11442configure:14335: result: yes
11443configure:14348: checking for ffs
11444configure:14348: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
11445configure:14348: $? = 0
11446configure:14348: result: yes
11447configure:14361: checking for setproctitle
11448configure:14361: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
11449Undefined symbols for architecture x86_64:
11450  "_setproctitle", referenced from:
11451      _main in conftest-1DksXf.o
11452ld: symbol(s) not found for architecture x86_64
11453clang: error: linker command failed with exit code 1 (use -v to see invocation)
11454configure:14361: $? = 1
11455configure: failed program was:
11456| /* confdefs.h */
11457| #define PACKAGE_NAME ""
11458| #define PACKAGE_TARNAME ""
11459| #define PACKAGE_VERSION ""
11460| #define PACKAGE_STRING ""
11461| #define PACKAGE_BUGREPORT ""
11462| #define PACKAGE_URL ""
11463| #define CANONICALIZATION_FOR_MATHN 1
11464| #define STDC_HEADERS 1
11465| #define HAVE_SYS_TYPES_H 1
11466| #define HAVE_SYS_STAT_H 1
11467| #define HAVE_STDLIB_H 1
11468| #define HAVE_STRING_H 1
11469| #define HAVE_MEMORY_H 1
11470| #define HAVE_STRINGS_H 1
11471| #define HAVE_INTTYPES_H 1
11472| #define HAVE_STDINT_H 1
11473| #define HAVE_UNISTD_H 1
11474| #define __EXTENSIONS__ 1
11475| #define _ALL_SOURCE 1
11476| #define _GNU_SOURCE 1
11477| #define _POSIX_PTHREAD_SEMANTICS 1
11478| #define _TANDEM_SOURCE 1
11479| #define HAVE_LONG_LONG 1
11480| #define HAVE_OFF_T 1
11481| #define SIZEOF_INT 4
11482| #define SIZEOF_SHORT 2
11483| #define SIZEOF_LONG 8
11484| #define SIZEOF_LONG_LONG 8
11485| #define SIZEOF___INT64 0
11486| #define SIZEOF_OFF_T 8
11487| #define SIZEOF_VOIDP 8
11488| #define SIZEOF_FLOAT 4
11489| #define SIZEOF_DOUBLE 8
11490| #define SIZEOF_TIME_T 8
11491| #define PRI_LL_PREFIX "ll"
11492| #define rb_pid_t pid_t
11493| #define PIDT2NUM(v) INT2NUM(v)
11494| #define NUM2PIDT(v) NUM2INT(v)
11495| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
11496| #define rb_uid_t uid_t
11497| #define UIDT2NUM(v) UINT2NUM(v)
11498| #define NUM2UIDT(v) NUM2UINT(v)
11499| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
11500| #define rb_gid_t gid_t
11501| #define GIDT2NUM(v) UINT2NUM(v)
11502| #define NUM2GIDT(v) NUM2UINT(v)
11503| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
11504| #define rb_time_t time_t
11505| #define TIMET2NUM(v) LONG2NUM(v)
11506| #define NUM2TIMET(v) NUM2LONG(v)
11507| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
11508| #define rb_dev_t dev_t
11509| #define DEVT2NUM(v) INT2NUM(v)
11510| #define NUM2DEVT(v) NUM2INT(v)
11511| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
11512| #define rb_mode_t mode_t
11513| #define MODET2NUM(v) UINT2NUM(v)
11514| #define NUM2MODET(v) NUM2UINT(v)
11515| #define PRI_MODET_PREFIX PRI_INT_PREFIX
11516| #define rb_rlim_t rlim_t
11517| #define RLIM2NUM(v) ULL2NUM(v)
11518| #define NUM2RLIM(v) NUM2ULL(v)
11519| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
11520| #define HAVE_PROTOTYPES 1
11521| #define TOKEN_PASTE(x,y) x##y
11522| #define STRINGIZE(expr) STRINGIZE0(expr)
11523| #define HAVE_STDARG_PROTOTYPES 1
11524| #define HAVE_VA_ARGS_MACRO 1
11525| #define NORETURN(x) __attribute__ ((noreturn)) x
11526| #define DEPRECATED(x) __attribute__ ((deprecated)) x
11527| #define NOINLINE(x) __attribute__ ((noinline)) x
11528| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
11529| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
11530| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
11531| #define HAVE_GCC_ATOMIC_BUILTINS 1
11532| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
11533| #define HAVE_DECL_SYS_NERR 1
11534| #define HAVE_LIBDL 1
11535| #define HAVE_DIRENT_H 1
11536| #define HAVE__BOOL 1
11537| #define HAVE_STDBOOL_H 1
11538| #define HAVE_SYS_WAIT_H 1
11539| #define HAVE_LIMITS_H 1
11540| #define HAVE_SYS_FILE_H 1
11541| #define HAVE_SYS_IOCTL_H 1
11542| #define HAVE_SYS_SYSCALL_H 1
11543| #define HAVE_FCNTL_H 1
11544| #define HAVE_SYS_FCNTL_H 1
11545| #define HAVE_SYS_SELECT_H 1
11546| #define HAVE_SYS_TIME_H 1
11547| #define HAVE_SYS_TIMES_H 1
11548| #define HAVE_SYS_PARAM_H 1
11549| #define HAVE_PWD_H 1
11550| #define HAVE_GRP_H 1
11551| #define HAVE_UTIME_H 1
11552| #define HAVE_SYS_RESOURCE_H 1
11553| #define HAVE_NETINET_IN_SYSTM_H 1
11554| #define HAVE_FLOAT_H 1
11555| #define HAVE_LANGINFO_H 1
11556| #define HAVE_LOCALE_H 1
11557| #define HAVE_TIME_H 1
11558| #define HAVE_SYS_SOCKET_H 1
11559| #define SIZEOF_SIZE_T 8
11560| #define SIZEOF_PTRDIFF_T 8
11561| #define PRI_SIZE_PREFIX "z"
11562| #define PRI_PTRDIFF_PREFIX "t"
11563| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
11564| #define HAVE_ST_BLKSIZE 1
11565| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
11566| #define HAVE_ST_BLOCKS 1
11567| #define HAVE_STRUCT_STAT_ST_RDEV 1
11568| #define HAVE_ST_RDEV 1
11569| #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
11570| #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
11571| #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
11572| #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
11573| #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
11574| #define HAVE_STRUCT_TIMESPEC 1
11575| #define HAVE_STRUCT_TIMEZONE 1
11576| #define HAVE_RB_FD_INIT 1
11577| #define HAVE_INT8_T 1
11578| #define SIZEOF_INT8_T 1
11579| #define HAVE_UINT8_T 1
11580| #define SIZEOF_UINT8_T 1
11581| #define HAVE_INT16_T 1
11582| #define SIZEOF_INT16_T 2
11583| #define HAVE_UINT16_T 1
11584| #define SIZEOF_UINT16_T 2
11585| #define HAVE_INT32_T 1
11586| #define SIZEOF_INT32_T 4
11587| #define HAVE_UINT32_T 1
11588| #define SIZEOF_UINT32_T 4
11589| #define HAVE_INT64_T 1
11590| #define SIZEOF_INT64_T 8
11591| #define HAVE_UINT64_T 1
11592| #define SIZEOF_UINT64_T 8
11593| #define HAVE_INTPTR_T 1
11594| #define SIZEOF_INTPTR_T 8
11595| #define HAVE_UINTPTR_T 1
11596| #define SIZEOF_UINTPTR_T 8
11597| #define HAVE_SSIZE_T 1
11598| #define SIZEOF_SSIZE_T 8
11599| #define GC_MARK_STACKFRAME_WORD 16
11600| #define GETGROUPS_T gid_t
11601| #define RETSIGTYPE void
11602| #define HAVE_ALLOCA_H 1
11603| #define HAVE_ALLOCA 1
11604| #define HAVE_DUP2 1
11605| #define HAVE_MEMMOVE 1
11606| #define HAVE_STRERROR 1
11607| #define HAVE_STRCHR 1
11608| #define HAVE_STRSTR 1
11609| #define HAVE_CRYPT 1
11610| #define HAVE_FLOCK 1
11611| #define HAVE_ISNAN 1
11612| #define HAVE_FINITE 1
11613| #define HAVE_ISINF 1
11614| #define HAVE_HYPOT 1
11615| #define HAVE_ACOSH 1
11616| #define HAVE_ERF 1
11617| #define HAVE_TGAMMA 1
11618| #define HAVE_LGAMMA_R 1
11619| #define HAVE_CBRT 1
11620| #define HAVE_STRLCPY 1
11621| #define HAVE_STRLCAT 1
11622| #define HAVE_FFS 1
11623| /* end confdefs.h.  */
11624| /* Define setproctitle to an innocuous variant, in case <limits.h> declares setproctitle.
11625|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11626| #define setproctitle innocuous_setproctitle
11627|
11628| /* System header to define __stub macros and hopefully few prototypes,
11629|     which can conflict with char setproctitle (); below.
11630|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11631|     <limits.h> exists even on freestanding compilers.  */
11632|
11633| #ifdef __STDC__
11634| # include <limits.h>
11635| #else
11636| # include <assert.h>
11637| #endif
11638|
11639| #undef setproctitle
11640|
11641| /* Override any GCC internal prototype to avoid an error.
11642|    Use char because int might match the return type of a GCC
11643|    builtin and then its argument prototype would still apply.  */
11644| #ifdef __cplusplus
11645| extern "C"
11646| #endif
11647| char setproctitle ();
11648| /* The GNU C library defines this for functions which it implements
11649|     to always fail with ENOSYS.  Some functions are actually named
11650|     something starting with __ and the normal name is an alias.  */
11651| #if defined __stub_setproctitle || defined __stub___setproctitle
11652| choke me
11653| #endif
11654|
11655| int
11656| main ()
11657| {
11658| return setproctitle ();
11659|   ;
11660|   return 0;
11661| }
11662configure:14361: result: no
11663configure:14389: checking for signbit
11664configure:14407: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
11665configure:14407: $? = 0
11666configure:14415: result: yes
11667configure:14443: checking for fmod
11668configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
11669configure:14443: $? = 0
11670configure:14443: result: yes
11671configure:14443: checking for killpg
11672configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
11673configure:14443: $? = 0
11674configure:14443: result: yes
11675configure:14443: checking for wait4
11676configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
11677configure:14443: $? = 0
11678configure:14443: result: yes
11679configure:14443: checking for waitpid
11680configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
11681configure:14443: $? = 0
11682configure:14443: result: yes
11683configure:14443: checking for fork
11684configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
11685configure:14443: $? = 0
11686configure:14443: result: yes
11687configure:14443: checking for spawnv
11688configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
11689Undefined symbols for architecture x86_64:
11690  "_spawnv", referenced from:
11691      _main in conftest-4u4EPv.o
11692ld: symbol(s) not found for architecture x86_64
11693clang: error: linker command failed with exit code 1 (use -v to see invocation)
11694configure:14443: $? = 1
11695configure: failed program was:
11696| /* confdefs.h */
11697| #define PACKAGE_NAME ""
11698| #define PACKAGE_TARNAME ""
11699| #define PACKAGE_VERSION ""
11700| #define PACKAGE_STRING ""
11701| #define PACKAGE_BUGREPORT ""
11702| #define PACKAGE_URL ""
11703| #define CANONICALIZATION_FOR_MATHN 1
11704| #define STDC_HEADERS 1
11705| #define HAVE_SYS_TYPES_H 1
11706| #define HAVE_SYS_STAT_H 1
11707| #define HAVE_STDLIB_H 1
11708| #define HAVE_STRING_H 1
11709| #define HAVE_MEMORY_H 1
11710| #define HAVE_STRINGS_H 1
11711| #define HAVE_INTTYPES_H 1
11712| #define HAVE_STDINT_H 1
11713| #define HAVE_UNISTD_H 1
11714| #define __EXTENSIONS__ 1
11715| #define _ALL_SOURCE 1
11716| #define _GNU_SOURCE 1
11717| #define _POSIX_PTHREAD_SEMANTICS 1
11718| #define _TANDEM_SOURCE 1
11719| #define HAVE_LONG_LONG 1
11720| #define HAVE_OFF_T 1
11721| #define SIZEOF_INT 4
11722| #define SIZEOF_SHORT 2
11723| #define SIZEOF_LONG 8
11724| #define SIZEOF_LONG_LONG 8
11725| #define SIZEOF___INT64 0
11726| #define SIZEOF_OFF_T 8
11727| #define SIZEOF_VOIDP 8
11728| #define SIZEOF_FLOAT 4
11729| #define SIZEOF_DOUBLE 8
11730| #define SIZEOF_TIME_T 8
11731| #define PRI_LL_PREFIX "ll"
11732| #define rb_pid_t pid_t
11733| #define PIDT2NUM(v) INT2NUM(v)
11734| #define NUM2PIDT(v) NUM2INT(v)
11735| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
11736| #define rb_uid_t uid_t
11737| #define UIDT2NUM(v) UINT2NUM(v)
11738| #define NUM2UIDT(v) NUM2UINT(v)
11739| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
11740| #define rb_gid_t gid_t
11741| #define GIDT2NUM(v) UINT2NUM(v)
11742| #define NUM2GIDT(v) NUM2UINT(v)
11743| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
11744| #define rb_time_t time_t
11745| #define TIMET2NUM(v) LONG2NUM(v)
11746| #define NUM2TIMET(v) NUM2LONG(v)
11747| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
11748| #define rb_dev_t dev_t
11749| #define DEVT2NUM(v) INT2NUM(v)
11750| #define NUM2DEVT(v) NUM2INT(v)
11751| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
11752| #define rb_mode_t mode_t
11753| #define MODET2NUM(v) UINT2NUM(v)
11754| #define NUM2MODET(v) NUM2UINT(v)
11755| #define PRI_MODET_PREFIX PRI_INT_PREFIX
11756| #define rb_rlim_t rlim_t
11757| #define RLIM2NUM(v) ULL2NUM(v)
11758| #define NUM2RLIM(v) NUM2ULL(v)
11759| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
11760| #define HAVE_PROTOTYPES 1
11761| #define TOKEN_PASTE(x,y) x##y
11762| #define STRINGIZE(expr) STRINGIZE0(expr)
11763| #define HAVE_STDARG_PROTOTYPES 1
11764| #define HAVE_VA_ARGS_MACRO 1
11765| #define NORETURN(x) __attribute__ ((noreturn)) x
11766| #define DEPRECATED(x) __attribute__ ((deprecated)) x
11767| #define NOINLINE(x) __attribute__ ((noinline)) x
11768| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
11769| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
11770| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
11771| #define HAVE_GCC_ATOMIC_BUILTINS 1
11772| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
11773| #define HAVE_DECL_SYS_NERR 1
11774| #define HAVE_LIBDL 1
11775| #define HAVE_DIRENT_H 1
11776| #define HAVE__BOOL 1
11777| #define HAVE_STDBOOL_H 1
11778| #define HAVE_SYS_WAIT_H 1
11779| #define HAVE_LIMITS_H 1
11780| #define HAVE_SYS_FILE_H 1
11781| #define HAVE_SYS_IOCTL_H 1
11782| #define HAVE_SYS_SYSCALL_H 1
11783| #define HAVE_FCNTL_H 1
11784| #define HAVE_SYS_FCNTL_H 1
11785| #define HAVE_SYS_SELECT_H 1
11786| #define HAVE_SYS_TIME_H 1
11787| #define HAVE_SYS_TIMES_H 1
11788| #define HAVE_SYS_PARAM_H 1
11789| #define HAVE_PWD_H 1
11790| #define HAVE_GRP_H 1
11791| #define HAVE_UTIME_H 1
11792| #define HAVE_SYS_RESOURCE_H 1
11793| #define HAVE_NETINET_IN_SYSTM_H 1
11794| #define HAVE_FLOAT_H 1
11795| #define HAVE_LANGINFO_H 1
11796| #define HAVE_LOCALE_H 1
11797| #define HAVE_TIME_H 1
11798| #define HAVE_SYS_SOCKET_H 1
11799| #define SIZEOF_SIZE_T 8
11800| #define SIZEOF_PTRDIFF_T 8
11801| #define PRI_SIZE_PREFIX "z"
11802| #define PRI_PTRDIFF_PREFIX "t"
11803| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
11804| #define HAVE_ST_BLKSIZE 1
11805| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
11806| #define HAVE_ST_BLOCKS 1
11807| #define HAVE_STRUCT_STAT_ST_RDEV 1
11808| #define HAVE_ST_RDEV 1
11809| #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
11810| #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
11811| #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
11812| #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
11813| #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
11814| #define HAVE_STRUCT_TIMESPEC 1
11815| #define HAVE_STRUCT_TIMEZONE 1
11816| #define HAVE_RB_FD_INIT 1
11817| #define HAVE_INT8_T 1
11818| #define SIZEOF_INT8_T 1
11819| #define HAVE_UINT8_T 1
11820| #define SIZEOF_UINT8_T 1
11821| #define HAVE_INT16_T 1
11822| #define SIZEOF_INT16_T 2
11823| #define HAVE_UINT16_T 1
11824| #define SIZEOF_UINT16_T 2
11825| #define HAVE_INT32_T 1
11826| #define SIZEOF_INT32_T 4
11827| #define HAVE_UINT32_T 1
11828| #define SIZEOF_UINT32_T 4
11829| #define HAVE_INT64_T 1
11830| #define SIZEOF_INT64_T 8
11831| #define HAVE_UINT64_T 1
11832| #define SIZEOF_UINT64_T 8
11833| #define HAVE_INTPTR_T 1
11834| #define SIZEOF_INTPTR_T 8
11835| #define HAVE_UINTPTR_T 1
11836| #define SIZEOF_UINTPTR_T 8
11837| #define HAVE_SSIZE_T 1
11838| #define SIZEOF_SSIZE_T 8
11839| #define GC_MARK_STACKFRAME_WORD 16
11840| #define GETGROUPS_T gid_t
11841| #define RETSIGTYPE void
11842| #define HAVE_ALLOCA_H 1
11843| #define HAVE_ALLOCA 1
11844| #define HAVE_DUP2 1
11845| #define HAVE_MEMMOVE 1
11846| #define HAVE_STRERROR 1
11847| #define HAVE_STRCHR 1
11848| #define HAVE_STRSTR 1
11849| #define HAVE_CRYPT 1
11850| #define HAVE_FLOCK 1
11851| #define HAVE_ISNAN 1
11852| #define HAVE_FINITE 1
11853| #define HAVE_ISINF 1
11854| #define HAVE_HYPOT 1
11855| #define HAVE_ACOSH 1
11856| #define HAVE_ERF 1
11857| #define HAVE_TGAMMA 1
11858| #define HAVE_LGAMMA_R 1
11859| #define HAVE_CBRT 1
11860| #define HAVE_STRLCPY 1
11861| #define HAVE_STRLCAT 1
11862| #define HAVE_FFS 1
11863| #define SPT_TYPE SPT_REUSEARGV
11864| #define HAVE_SIGNBIT 1
11865| #define HAVE_FMOD 1
11866| #define HAVE_KILLPG 1
11867| #define HAVE_WAIT4 1
11868| #define HAVE_WAITPID 1
11869| #define HAVE_FORK 1
11870| /* end confdefs.h.  */
11871| /* Define spawnv to an innocuous variant, in case <limits.h> declares spawnv.
11872|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11873| #define spawnv innocuous_spawnv
11874|
11875| /* System header to define __stub macros and hopefully few prototypes,
11876|     which can conflict with char spawnv (); below.
11877|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11878|     <limits.h> exists even on freestanding compilers.  */
11879|
11880| #ifdef __STDC__
11881| # include <limits.h>
11882| #else
11883| # include <assert.h>
11884| #endif
11885|
11886| #undef spawnv
11887|
11888| /* Override any GCC internal prototype to avoid an error.
11889|    Use char because int might match the return type of a GCC
11890|    builtin and then its argument prototype would still apply.  */
11891| #ifdef __cplusplus
11892| extern "C"
11893| #endif
11894| char spawnv ();
11895| /* The GNU C library defines this for functions which it implements
11896|     to always fail with ENOSYS.  Some functions are actually named
11897|     something starting with __ and the normal name is an alias.  */
11898| #if defined __stub_spawnv || defined __stub___spawnv
11899| choke me
11900| #endif
11901|
11902| int
11903| main ()
11904| {
11905| return spawnv ();
11906|   ;
11907|   return 0;
11908| }
11909configure:14443: result: no
11910configure:14443: checking for syscall
11911configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
11912configure:14443: $? = 0
11913configure:14443: result: yes
11914configure:14443: checking for __syscall
11915configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
11916configure:14443: $? = 0
11917configure:14443: result: yes
11918configure:14443: checking for chroot
11919configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
11920configure:14443: $? = 0
11921configure:14443: result: yes
11922configure:14443: checking for getcwd
11923configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
11924configure:14443: $? = 0
11925configure:14443: result: yes
11926configure:14443: checking for eaccess
11927configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
11928Undefined symbols for architecture x86_64:
11929  "_eaccess", referenced from:
11930      _main in conftest-nqpmXF.o
11931ld: symbol(s) not found for architecture x86_64
11932clang: error: linker command failed with exit code 1 (use -v to see invocation)
11933configure:14443: $? = 1
11934configure: failed program was:
11935| /* confdefs.h */
11936| #define PACKAGE_NAME ""
11937| #define PACKAGE_TARNAME ""
11938| #define PACKAGE_VERSION ""
11939| #define PACKAGE_STRING ""
11940| #define PACKAGE_BUGREPORT ""
11941| #define PACKAGE_URL ""
11942| #define CANONICALIZATION_FOR_MATHN 1
11943| #define STDC_HEADERS 1
11944| #define HAVE_SYS_TYPES_H 1
11945| #define HAVE_SYS_STAT_H 1
11946| #define HAVE_STDLIB_H 1
11947| #define HAVE_STRING_H 1
11948| #define HAVE_MEMORY_H 1
11949| #define HAVE_STRINGS_H 1
11950| #define HAVE_INTTYPES_H 1
11951| #define HAVE_STDINT_H 1
11952| #define HAVE_UNISTD_H 1
11953| #define __EXTENSIONS__ 1
11954| #define _ALL_SOURCE 1
11955| #define _GNU_SOURCE 1
11956| #define _POSIX_PTHREAD_SEMANTICS 1
11957| #define _TANDEM_SOURCE 1
11958| #define HAVE_LONG_LONG 1
11959| #define HAVE_OFF_T 1
11960| #define SIZEOF_INT 4
11961| #define SIZEOF_SHORT 2
11962| #define SIZEOF_LONG 8
11963| #define SIZEOF_LONG_LONG 8
11964| #define SIZEOF___INT64 0
11965| #define SIZEOF_OFF_T 8
11966| #define SIZEOF_VOIDP 8
11967| #define SIZEOF_FLOAT 4
11968| #define SIZEOF_DOUBLE 8
11969| #define SIZEOF_TIME_T 8
11970| #define PRI_LL_PREFIX "ll"
11971| #define rb_pid_t pid_t
11972| #define PIDT2NUM(v) INT2NUM(v)
11973| #define NUM2PIDT(v) NUM2INT(v)
11974| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
11975| #define rb_uid_t uid_t
11976| #define UIDT2NUM(v) UINT2NUM(v)
11977| #define NUM2UIDT(v) NUM2UINT(v)
11978| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
11979| #define rb_gid_t gid_t
11980| #define GIDT2NUM(v) UINT2NUM(v)
11981| #define NUM2GIDT(v) NUM2UINT(v)
11982| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
11983| #define rb_time_t time_t
11984| #define TIMET2NUM(v) LONG2NUM(v)
11985| #define NUM2TIMET(v) NUM2LONG(v)
11986| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
11987| #define rb_dev_t dev_t
11988| #define DEVT2NUM(v) INT2NUM(v)
11989| #define NUM2DEVT(v) NUM2INT(v)
11990| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
11991| #define rb_mode_t mode_t
11992| #define MODET2NUM(v) UINT2NUM(v)
11993| #define NUM2MODET(v) NUM2UINT(v)
11994| #define PRI_MODET_PREFIX PRI_INT_PREFIX
11995| #define rb_rlim_t rlim_t
11996| #define RLIM2NUM(v) ULL2NUM(v)
11997| #define NUM2RLIM(v) NUM2ULL(v)
11998| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
11999| #define HAVE_PROTOTYPES 1
12000| #define TOKEN_PASTE(x,y) x##y
12001| #define STRINGIZE(expr) STRINGIZE0(expr)
12002| #define HAVE_STDARG_PROTOTYPES 1
12003| #define HAVE_VA_ARGS_MACRO 1
12004| #define NORETURN(x) __attribute__ ((noreturn)) x
12005| #define DEPRECATED(x) __attribute__ ((deprecated)) x
12006| #define NOINLINE(x) __attribute__ ((noinline)) x
12007| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
12008| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
12009| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
12010| #define HAVE_GCC_ATOMIC_BUILTINS 1
12011| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
12012| #define HAVE_DECL_SYS_NERR 1
12013| #define HAVE_LIBDL 1
12014| #define HAVE_DIRENT_H 1
12015| #define HAVE__BOOL 1
12016| #define HAVE_STDBOOL_H 1
12017| #define HAVE_SYS_WAIT_H 1
12018| #define HAVE_LIMITS_H 1
12019| #define HAVE_SYS_FILE_H 1
12020| #define HAVE_SYS_IOCTL_H 1
12021| #define HAVE_SYS_SYSCALL_H 1
12022| #define HAVE_FCNTL_H 1
12023| #define HAVE_SYS_FCNTL_H 1
12024| #define HAVE_SYS_SELECT_H 1
12025| #define HAVE_SYS_TIME_H 1
12026| #define HAVE_SYS_TIMES_H 1
12027| #define HAVE_SYS_PARAM_H 1
12028| #define HAVE_PWD_H 1
12029| #define HAVE_GRP_H 1
12030| #define HAVE_UTIME_H 1
12031| #define HAVE_SYS_RESOURCE_H 1
12032| #define HAVE_NETINET_IN_SYSTM_H 1
12033| #define HAVE_FLOAT_H 1
12034| #define HAVE_LANGINFO_H 1
12035| #define HAVE_LOCALE_H 1
12036| #define HAVE_TIME_H 1
12037| #define HAVE_SYS_SOCKET_H 1
12038| #define SIZEOF_SIZE_T 8
12039| #define SIZEOF_PTRDIFF_T 8
12040| #define PRI_SIZE_PREFIX "z"
12041| #define PRI_PTRDIFF_PREFIX "t"
12042| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
12043| #define HAVE_ST_BLKSIZE 1
12044| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
12045| #define HAVE_ST_BLOCKS 1
12046| #define HAVE_STRUCT_STAT_ST_RDEV 1
12047| #define HAVE_ST_RDEV 1
12048| #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
12049| #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
12050| #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
12051| #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
12052| #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
12053| #define HAVE_STRUCT_TIMESPEC 1
12054| #define HAVE_STRUCT_TIMEZONE 1
12055| #define HAVE_RB_FD_INIT 1
12056| #define HAVE_INT8_T 1
12057| #define SIZEOF_INT8_T 1
12058| #define HAVE_UINT8_T 1
12059| #define SIZEOF_UINT8_T 1
12060| #define HAVE_INT16_T 1
12061| #define SIZEOF_INT16_T 2
12062| #define HAVE_UINT16_T 1
12063| #define SIZEOF_UINT16_T 2
12064| #define HAVE_INT32_T 1
12065| #define SIZEOF_INT32_T 4
12066| #define HAVE_UINT32_T 1
12067| #define SIZEOF_UINT32_T 4
12068| #define HAVE_INT64_T 1
12069| #define SIZEOF_INT64_T 8
12070| #define HAVE_UINT64_T 1
12071| #define SIZEOF_UINT64_T 8
12072| #define HAVE_INTPTR_T 1
12073| #define SIZEOF_INTPTR_T 8
12074| #define HAVE_UINTPTR_T 1
12075| #define SIZEOF_UINTPTR_T 8
12076| #define HAVE_SSIZE_T 1
12077| #define SIZEOF_SSIZE_T 8
12078| #define GC_MARK_STACKFRAME_WORD 16
12079| #define GETGROUPS_T gid_t
12080| #define RETSIGTYPE void
12081| #define HAVE_ALLOCA_H 1
12082| #define HAVE_ALLOCA 1
12083| #define HAVE_DUP2 1
12084| #define HAVE_MEMMOVE 1
12085| #define HAVE_STRERROR 1
12086| #define HAVE_STRCHR 1
12087| #define HAVE_STRSTR 1
12088| #define HAVE_CRYPT 1
12089| #define HAVE_FLOCK 1
12090| #define HAVE_ISNAN 1
12091| #define HAVE_FINITE 1
12092| #define HAVE_ISINF 1
12093| #define HAVE_HYPOT 1
12094| #define HAVE_ACOSH 1
12095| #define HAVE_ERF 1
12096| #define HAVE_TGAMMA 1
12097| #define HAVE_LGAMMA_R 1
12098| #define HAVE_CBRT 1
12099| #define HAVE_STRLCPY 1
12100| #define HAVE_STRLCAT 1
12101| #define HAVE_FFS 1
12102| #define SPT_TYPE SPT_REUSEARGV
12103| #define HAVE_SIGNBIT 1
12104| #define HAVE_FMOD 1
12105| #define HAVE_KILLPG 1
12106| #define HAVE_WAIT4 1
12107| #define HAVE_WAITPID 1
12108| #define HAVE_FORK 1
12109| #define HAVE_SYSCALL 1
12110| #define HAVE___SYSCALL 1
12111| #define HAVE_CHROOT 1
12112| #define HAVE_GETCWD 1
12113| /* end confdefs.h.  */
12114| /* Define eaccess to an innocuous variant, in case <limits.h> declares eaccess.
12115|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12116| #define eaccess innocuous_eaccess
12117|
12118| /* System header to define __stub macros and hopefully few prototypes,
12119|     which can conflict with char eaccess (); below.
12120|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12121|     <limits.h> exists even on freestanding compilers.  */
12122|
12123| #ifdef __STDC__
12124| # include <limits.h>
12125| #else
12126| # include <assert.h>
12127| #endif
12128|
12129| #undef eaccess
12130|
12131| /* Override any GCC internal prototype to avoid an error.
12132|    Use char because int might match the return type of a GCC
12133|    builtin and then its argument prototype would still apply.  */
12134| #ifdef __cplusplus
12135| extern "C"
12136| #endif
12137| char eaccess ();
12138| /* The GNU C library defines this for functions which it implements
12139|     to always fail with ENOSYS.  Some functions are actually named
12140|     something starting with __ and the normal name is an alias.  */
12141| #if defined __stub_eaccess || defined __stub___eaccess
12142| choke me
12143| #endif
12144|
12145| int
12146| main ()
12147| {
12148| return eaccess ();
12149|   ;
12150|   return 0;
12151| }
12152configure:14443: result: no
12153configure:14443: checking for truncate
12154configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
12155configure:14443: $? = 0
12156configure:14443: result: yes
12157configure:14443: checking for ftruncate
12158configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
12159configure:14443: $? = 0
12160configure:14443: result: yes
12161configure:14443: checking for ftello
12162configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
12163configure:14443: $? = 0
12164configure:14443: result: yes
12165configure:14443: checking for chsize
12166configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
12167Undefined symbols for architecture x86_64:
12168  "_chsize", referenced from:
12169      _main in conftest-QTbcas.o
12170ld: symbol(s) not found for architecture x86_64
12171clang: error: linker command failed with exit code 1 (use -v to see invocation)
12172configure:14443: $? = 1
12173configure: failed program was:
12174| /* confdefs.h */
12175| #define PACKAGE_NAME ""
12176| #define PACKAGE_TARNAME ""
12177| #define PACKAGE_VERSION ""
12178| #define PACKAGE_STRING ""
12179| #define PACKAGE_BUGREPORT ""
12180| #define PACKAGE_URL ""
12181| #define CANONICALIZATION_FOR_MATHN 1
12182| #define STDC_HEADERS 1
12183| #define HAVE_SYS_TYPES_H 1
12184| #define HAVE_SYS_STAT_H 1
12185| #define HAVE_STDLIB_H 1
12186| #define HAVE_STRING_H 1
12187| #define HAVE_MEMORY_H 1
12188| #define HAVE_STRINGS_H 1
12189| #define HAVE_INTTYPES_H 1
12190| #define HAVE_STDINT_H 1
12191| #define HAVE_UNISTD_H 1
12192| #define __EXTENSIONS__ 1
12193| #define _ALL_SOURCE 1
12194| #define _GNU_SOURCE 1
12195| #define _POSIX_PTHREAD_SEMANTICS 1
12196| #define _TANDEM_SOURCE 1
12197| #define HAVE_LONG_LONG 1
12198| #define HAVE_OFF_T 1
12199| #define SIZEOF_INT 4
12200| #define SIZEOF_SHORT 2
12201| #define SIZEOF_LONG 8
12202| #define SIZEOF_LONG_LONG 8
12203| #define SIZEOF___INT64 0
12204| #define SIZEOF_OFF_T 8
12205| #define SIZEOF_VOIDP 8
12206| #define SIZEOF_FLOAT 4
12207| #define SIZEOF_DOUBLE 8
12208| #define SIZEOF_TIME_T 8
12209| #define PRI_LL_PREFIX "ll"
12210| #define rb_pid_t pid_t
12211| #define PIDT2NUM(v) INT2NUM(v)
12212| #define NUM2PIDT(v) NUM2INT(v)
12213| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
12214| #define rb_uid_t uid_t
12215| #define UIDT2NUM(v) UINT2NUM(v)
12216| #define NUM2UIDT(v) NUM2UINT(v)
12217| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
12218| #define rb_gid_t gid_t
12219| #define GIDT2NUM(v) UINT2NUM(v)
12220| #define NUM2GIDT(v) NUM2UINT(v)
12221| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
12222| #define rb_time_t time_t
12223| #define TIMET2NUM(v) LONG2NUM(v)
12224| #define NUM2TIMET(v) NUM2LONG(v)
12225| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
12226| #define rb_dev_t dev_t
12227| #define DEVT2NUM(v) INT2NUM(v)
12228| #define NUM2DEVT(v) NUM2INT(v)
12229| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
12230| #define rb_mode_t mode_t
12231| #define MODET2NUM(v) UINT2NUM(v)
12232| #define NUM2MODET(v) NUM2UINT(v)
12233| #define PRI_MODET_PREFIX PRI_INT_PREFIX
12234| #define rb_rlim_t rlim_t
12235| #define RLIM2NUM(v) ULL2NUM(v)
12236| #define NUM2RLIM(v) NUM2ULL(v)
12237| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
12238| #define HAVE_PROTOTYPES 1
12239| #define TOKEN_PASTE(x,y) x##y
12240| #define STRINGIZE(expr) STRINGIZE0(expr)
12241| #define HAVE_STDARG_PROTOTYPES 1
12242| #define HAVE_VA_ARGS_MACRO 1
12243| #define NORETURN(x) __attribute__ ((noreturn)) x
12244| #define DEPRECATED(x) __attribute__ ((deprecated)) x
12245| #define NOINLINE(x) __attribute__ ((noinline)) x
12246| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
12247| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
12248| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
12249| #define HAVE_GCC_ATOMIC_BUILTINS 1
12250| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
12251| #define HAVE_DECL_SYS_NERR 1
12252| #define HAVE_LIBDL 1
12253| #define HAVE_DIRENT_H 1
12254| #define HAVE__BOOL 1
12255| #define HAVE_STDBOOL_H 1
12256| #define HAVE_SYS_WAIT_H 1
12257| #define HAVE_LIMITS_H 1
12258| #define HAVE_SYS_FILE_H 1
12259| #define HAVE_SYS_IOCTL_H 1
12260| #define HAVE_SYS_SYSCALL_H 1
12261| #define HAVE_FCNTL_H 1
12262| #define HAVE_SYS_FCNTL_H 1
12263| #define HAVE_SYS_SELECT_H 1
12264| #define HAVE_SYS_TIME_H 1
12265| #define HAVE_SYS_TIMES_H 1
12266| #define HAVE_SYS_PARAM_H 1
12267| #define HAVE_PWD_H 1
12268| #define HAVE_GRP_H 1
12269| #define HAVE_UTIME_H 1
12270| #define HAVE_SYS_RESOURCE_H 1
12271| #define HAVE_NETINET_IN_SYSTM_H 1
12272| #define HAVE_FLOAT_H 1
12273| #define HAVE_LANGINFO_H 1
12274| #define HAVE_LOCALE_H 1
12275| #define HAVE_TIME_H 1
12276| #define HAVE_SYS_SOCKET_H 1
12277| #define SIZEOF_SIZE_T 8
12278| #define SIZEOF_PTRDIFF_T 8
12279| #define PRI_SIZE_PREFIX "z"
12280| #define PRI_PTRDIFF_PREFIX "t"
12281| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
12282| #define HAVE_ST_BLKSIZE 1
12283| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
12284| #define HAVE_ST_BLOCKS 1
12285| #define HAVE_STRUCT_STAT_ST_RDEV 1
12286| #define HAVE_ST_RDEV 1
12287| #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
12288| #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
12289| #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
12290| #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
12291| #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
12292| #define HAVE_STRUCT_TIMESPEC 1
12293| #define HAVE_STRUCT_TIMEZONE 1
12294| #define HAVE_RB_FD_INIT 1
12295| #define HAVE_INT8_T 1
12296| #define SIZEOF_INT8_T 1
12297| #define HAVE_UINT8_T 1
12298| #define SIZEOF_UINT8_T 1
12299| #define HAVE_INT16_T 1
12300| #define SIZEOF_INT16_T 2
12301| #define HAVE_UINT16_T 1
12302| #define SIZEOF_UINT16_T 2
12303| #define HAVE_INT32_T 1
12304| #define SIZEOF_INT32_T 4
12305| #define HAVE_UINT32_T 1
12306| #define SIZEOF_UINT32_T 4
12307| #define HAVE_INT64_T 1
12308| #define SIZEOF_INT64_T 8
12309| #define HAVE_UINT64_T 1
12310| #define SIZEOF_UINT64_T 8
12311| #define HAVE_INTPTR_T 1
12312| #define SIZEOF_INTPTR_T 8
12313| #define HAVE_UINTPTR_T 1
12314| #define SIZEOF_UINTPTR_T 8
12315| #define HAVE_SSIZE_T 1
12316| #define SIZEOF_SSIZE_T 8
12317| #define GC_MARK_STACKFRAME_WORD 16
12318| #define GETGROUPS_T gid_t
12319| #define RETSIGTYPE void
12320| #define HAVE_ALLOCA_H 1
12321| #define HAVE_ALLOCA 1
12322| #define HAVE_DUP2 1
12323| #define HAVE_MEMMOVE 1
12324| #define HAVE_STRERROR 1
12325| #define HAVE_STRCHR 1
12326| #define HAVE_STRSTR 1
12327| #define HAVE_CRYPT 1
12328| #define HAVE_FLOCK 1
12329| #define HAVE_ISNAN 1
12330| #define HAVE_FINITE 1
12331| #define HAVE_ISINF 1
12332| #define HAVE_HYPOT 1
12333| #define HAVE_ACOSH 1
12334| #define HAVE_ERF 1
12335| #define HAVE_TGAMMA 1
12336| #define HAVE_LGAMMA_R 1
12337| #define HAVE_CBRT 1
12338| #define HAVE_STRLCPY 1
12339| #define HAVE_STRLCAT 1
12340| #define HAVE_FFS 1
12341| #define SPT_TYPE SPT_REUSEARGV
12342| #define HAVE_SIGNBIT 1
12343| #define HAVE_FMOD 1
12344| #define HAVE_KILLPG 1
12345| #define HAVE_WAIT4 1
12346| #define HAVE_WAITPID 1
12347| #define HAVE_FORK 1
12348| #define HAVE_SYSCALL 1
12349| #define HAVE___SYSCALL 1
12350| #define HAVE_CHROOT 1
12351| #define HAVE_GETCWD 1
12352| #define HAVE_TRUNCATE 1
12353| #define HAVE_FTRUNCATE 1
12354| #define HAVE_FTELLO 1
12355| /* end confdefs.h.  */
12356| /* Define chsize to an innocuous variant, in case <limits.h> declares chsize.
12357|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12358| #define chsize innocuous_chsize
12359|
12360| /* System header to define __stub macros and hopefully few prototypes,
12361|     which can conflict with char chsize (); below.
12362|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12363|     <limits.h> exists even on freestanding compilers.  */
12364|
12365| #ifdef __STDC__
12366| # include <limits.h>
12367| #else
12368| # include <assert.h>
12369| #endif
12370|
12371| #undef chsize
12372|
12373| /* Override any GCC internal prototype to avoid an error.
12374|    Use char because int might match the return type of a GCC
12375|    builtin and then its argument prototype would still apply.  */
12376| #ifdef __cplusplus
12377| extern "C"
12378| #endif
12379| char chsize ();
12380| /* The GNU C library defines this for functions which it implements
12381|     to always fail with ENOSYS.  Some functions are actually named
12382|     something starting with __ and the normal name is an alias.  */
12383| #if defined __stub_chsize || defined __stub___chsize
12384| choke me
12385| #endif
12386|
12387| int
12388| main ()
12389| {
12390| return chsize ();
12391|   ;
12392|   return 0;
12393| }
12394configure:14443: result: no
12395configure:14443: checking for times
12396configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
12397configure:14443: $? = 0
12398configure:14443: result: yes
12399configure:14443: checking for utimes
12400configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
12401configure:14443: $? = 0
12402configure:14443: result: yes
12403configure:14443: checking for utimensat
12404configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
12405Undefined symbols for architecture x86_64:
12406  "_utimensat", referenced from:
12407      _main in conftest-x3dEuG.o
12408ld: symbol(s) not found for architecture x86_64
12409clang: error: linker command failed with exit code 1 (use -v to see invocation)
12410configure:14443: $? = 1
12411configure: failed program was:
12412| /* confdefs.h */
12413| #define PACKAGE_NAME ""
12414| #define PACKAGE_TARNAME ""
12415| #define PACKAGE_VERSION ""
12416| #define PACKAGE_STRING ""
12417| #define PACKAGE_BUGREPORT ""
12418| #define PACKAGE_URL ""
12419| #define CANONICALIZATION_FOR_MATHN 1
12420| #define STDC_HEADERS 1
12421| #define HAVE_SYS_TYPES_H 1
12422| #define HAVE_SYS_STAT_H 1
12423| #define HAVE_STDLIB_H 1
12424| #define HAVE_STRING_H 1
12425| #define HAVE_MEMORY_H 1
12426| #define HAVE_STRINGS_H 1
12427| #define HAVE_INTTYPES_H 1
12428| #define HAVE_STDINT_H 1
12429| #define HAVE_UNISTD_H 1
12430| #define __EXTENSIONS__ 1
12431| #define _ALL_SOURCE 1
12432| #define _GNU_SOURCE 1
12433| #define _POSIX_PTHREAD_SEMANTICS 1
12434| #define _TANDEM_SOURCE 1
12435| #define HAVE_LONG_LONG 1
12436| #define HAVE_OFF_T 1
12437| #define SIZEOF_INT 4
12438| #define SIZEOF_SHORT 2
12439| #define SIZEOF_LONG 8
12440| #define SIZEOF_LONG_LONG 8
12441| #define SIZEOF___INT64 0
12442| #define SIZEOF_OFF_T 8
12443| #define SIZEOF_VOIDP 8
12444| #define SIZEOF_FLOAT 4
12445| #define SIZEOF_DOUBLE 8
12446| #define SIZEOF_TIME_T 8
12447| #define PRI_LL_PREFIX "ll"
12448| #define rb_pid_t pid_t
12449| #define PIDT2NUM(v) INT2NUM(v)
12450| #define NUM2PIDT(v) NUM2INT(v)
12451| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
12452| #define rb_uid_t uid_t
12453| #define UIDT2NUM(v) UINT2NUM(v)
12454| #define NUM2UIDT(v) NUM2UINT(v)
12455| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
12456| #define rb_gid_t gid_t
12457| #define GIDT2NUM(v) UINT2NUM(v)
12458| #define NUM2GIDT(v) NUM2UINT(v)
12459| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
12460| #define rb_time_t time_t
12461| #define TIMET2NUM(v) LONG2NUM(v)
12462| #define NUM2TIMET(v) NUM2LONG(v)
12463| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
12464| #define rb_dev_t dev_t
12465| #define DEVT2NUM(v) INT2NUM(v)
12466| #define NUM2DEVT(v) NUM2INT(v)
12467| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
12468| #define rb_mode_t mode_t
12469| #define MODET2NUM(v) UINT2NUM(v)
12470| #define NUM2MODET(v) NUM2UINT(v)
12471| #define PRI_MODET_PREFIX PRI_INT_PREFIX
12472| #define rb_rlim_t rlim_t
12473| #define RLIM2NUM(v) ULL2NUM(v)
12474| #define NUM2RLIM(v) NUM2ULL(v)
12475| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
12476| #define HAVE_PROTOTYPES 1
12477| #define TOKEN_PASTE(x,y) x##y
12478| #define STRINGIZE(expr) STRINGIZE0(expr)
12479| #define HAVE_STDARG_PROTOTYPES 1
12480| #define HAVE_VA_ARGS_MACRO 1
12481| #define NORETURN(x) __attribute__ ((noreturn)) x
12482| #define DEPRECATED(x) __attribute__ ((deprecated)) x
12483| #define NOINLINE(x) __attribute__ ((noinline)) x
12484| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
12485| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
12486| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
12487| #define HAVE_GCC_ATOMIC_BUILTINS 1
12488| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
12489| #define HAVE_DECL_SYS_NERR 1
12490| #define HAVE_LIBDL 1
12491| #define HAVE_DIRENT_H 1
12492| #define HAVE__BOOL 1
12493| #define HAVE_STDBOOL_H 1
12494| #define HAVE_SYS_WAIT_H 1
12495| #define HAVE_LIMITS_H 1
12496| #define HAVE_SYS_FILE_H 1
12497| #define HAVE_SYS_IOCTL_H 1
12498| #define HAVE_SYS_SYSCALL_H 1
12499| #define HAVE_FCNTL_H 1
12500| #define HAVE_SYS_FCNTL_H 1
12501| #define HAVE_SYS_SELECT_H 1
12502| #define HAVE_SYS_TIME_H 1
12503| #define HAVE_SYS_TIMES_H 1
12504| #define HAVE_SYS_PARAM_H 1
12505| #define HAVE_PWD_H 1
12506| #define HAVE_GRP_H 1
12507| #define HAVE_UTIME_H 1
12508| #define HAVE_SYS_RESOURCE_H 1
12509| #define HAVE_NETINET_IN_SYSTM_H 1
12510| #define HAVE_FLOAT_H 1
12511| #define HAVE_LANGINFO_H 1
12512| #define HAVE_LOCALE_H 1
12513| #define HAVE_TIME_H 1
12514| #define HAVE_SYS_SOCKET_H 1
12515| #define SIZEOF_SIZE_T 8
12516| #define SIZEOF_PTRDIFF_T 8
12517| #define PRI_SIZE_PREFIX "z"
12518| #define PRI_PTRDIFF_PREFIX "t"
12519| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
12520| #define HAVE_ST_BLKSIZE 1
12521| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
12522| #define HAVE_ST_BLOCKS 1
12523| #define HAVE_STRUCT_STAT_ST_RDEV 1
12524| #define HAVE_ST_RDEV 1
12525| #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
12526| #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
12527| #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
12528| #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
12529| #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
12530| #define HAVE_STRUCT_TIMESPEC 1
12531| #define HAVE_STRUCT_TIMEZONE 1
12532| #define HAVE_RB_FD_INIT 1
12533| #define HAVE_INT8_T 1
12534| #define SIZEOF_INT8_T 1
12535| #define HAVE_UINT8_T 1
12536| #define SIZEOF_UINT8_T 1
12537| #define HAVE_INT16_T 1
12538| #define SIZEOF_INT16_T 2
12539| #define HAVE_UINT16_T 1
12540| #define SIZEOF_UINT16_T 2
12541| #define HAVE_INT32_T 1
12542| #define SIZEOF_INT32_T 4
12543| #define HAVE_UINT32_T 1
12544| #define SIZEOF_UINT32_T 4
12545| #define HAVE_INT64_T 1
12546| #define SIZEOF_INT64_T 8
12547| #define HAVE_UINT64_T 1
12548| #define SIZEOF_UINT64_T 8
12549| #define HAVE_INTPTR_T 1
12550| #define SIZEOF_INTPTR_T 8
12551| #define HAVE_UINTPTR_T 1
12552| #define SIZEOF_UINTPTR_T 8
12553| #define HAVE_SSIZE_T 1
12554| #define SIZEOF_SSIZE_T 8
12555| #define GC_MARK_STACKFRAME_WORD 16
12556| #define GETGROUPS_T gid_t
12557| #define RETSIGTYPE void
12558| #define HAVE_ALLOCA_H 1
12559| #define HAVE_ALLOCA 1
12560| #define HAVE_DUP2 1
12561| #define HAVE_MEMMOVE 1
12562| #define HAVE_STRERROR 1
12563| #define HAVE_STRCHR 1
12564| #define HAVE_STRSTR 1
12565| #define HAVE_CRYPT 1
12566| #define HAVE_FLOCK 1
12567| #define HAVE_ISNAN 1
12568| #define HAVE_FINITE 1
12569| #define HAVE_ISINF 1
12570| #define HAVE_HYPOT 1
12571| #define HAVE_ACOSH 1
12572| #define HAVE_ERF 1
12573| #define HAVE_TGAMMA 1
12574| #define HAVE_LGAMMA_R 1
12575| #define HAVE_CBRT 1
12576| #define HAVE_STRLCPY 1
12577| #define HAVE_STRLCAT 1
12578| #define HAVE_FFS 1
12579| #define SPT_TYPE SPT_REUSEARGV
12580| #define HAVE_SIGNBIT 1
12581| #define HAVE_FMOD 1
12582| #define HAVE_KILLPG 1
12583| #define HAVE_WAIT4 1
12584| #define HAVE_WAITPID 1
12585| #define HAVE_FORK 1
12586| #define HAVE_SYSCALL 1
12587| #define HAVE___SYSCALL 1
12588| #define HAVE_CHROOT 1
12589| #define HAVE_GETCWD 1
12590| #define HAVE_TRUNCATE 1
12591| #define HAVE_FTRUNCATE 1
12592| #define HAVE_FTELLO 1
12593| #define HAVE_TIMES 1
12594| #define HAVE_UTIMES 1
12595| /* end confdefs.h.  */
12596| /* Define utimensat to an innocuous variant, in case <limits.h> declares utimensat.
12597|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12598| #define utimensat innocuous_utimensat
12599|
12600| /* System header to define __stub macros and hopefully few prototypes,
12601|     which can conflict with char utimensat (); below.
12602|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12603|     <limits.h> exists even on freestanding compilers.  */
12604|
12605| #ifdef __STDC__
12606| # include <limits.h>
12607| #else
12608| # include <assert.h>
12609| #endif
12610|
12611| #undef utimensat
12612|
12613| /* Override any GCC internal prototype to avoid an error.
12614|    Use char because int might match the return type of a GCC
12615|    builtin and then its argument prototype would still apply.  */
12616| #ifdef __cplusplus
12617| extern "C"
12618| #endif
12619| char utimensat ();
12620| /* The GNU C library defines this for functions which it implements
12621|     to always fail with ENOSYS.  Some functions are actually named
12622|     something starting with __ and the normal name is an alias.  */
12623| #if defined __stub_utimensat || defined __stub___utimensat
12624| choke me
12625| #endif
12626|
12627| int
12628| main ()
12629| {
12630| return utimensat ();
12631|   ;
12632|   return 0;
12633| }
12634configure:14443: result: no
12635configure:14443: checking for fcntl
12636configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
12637configure:14443: $? = 0
12638configure:14443: result: yes
12639configure:14443: checking for lockf
12640configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
12641configure:14443: $? = 0
12642configure:14443: result: yes
12643configure:14443: checking for lstat
12644configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
12645configure:14443: $? = 0
12646configure:14443: result: yes
12647configure:14443: checking for truncate64
12648configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
12649Undefined symbols for architecture x86_64:
12650  "_truncate64", referenced from:
12651      _main in conftest-mfY2mc.o
12652ld: symbol(s) not found for architecture x86_64
12653clang: error: linker command failed with exit code 1 (use -v to see invocation)
12654configure:14443: $? = 1
12655configure: failed program was:
12656| /* confdefs.h */
12657| #define PACKAGE_NAME ""
12658| #define PACKAGE_TARNAME ""
12659| #define PACKAGE_VERSION ""
12660| #define PACKAGE_STRING ""
12661| #define PACKAGE_BUGREPORT ""
12662| #define PACKAGE_URL ""
12663| #define CANONICALIZATION_FOR_MATHN 1
12664| #define STDC_HEADERS 1
12665| #define HAVE_SYS_TYPES_H 1
12666| #define HAVE_SYS_STAT_H 1
12667| #define HAVE_STDLIB_H 1
12668| #define HAVE_STRING_H 1
12669| #define HAVE_MEMORY_H 1
12670| #define HAVE_STRINGS_H 1
12671| #define HAVE_INTTYPES_H 1
12672| #define HAVE_STDINT_H 1
12673| #define HAVE_UNISTD_H 1
12674| #define __EXTENSIONS__ 1
12675| #define _ALL_SOURCE 1
12676| #define _GNU_SOURCE 1
12677| #define _POSIX_PTHREAD_SEMANTICS 1
12678| #define _TANDEM_SOURCE 1
12679| #define HAVE_LONG_LONG 1
12680| #define HAVE_OFF_T 1
12681| #define SIZEOF_INT 4
12682| #define SIZEOF_SHORT 2
12683| #define SIZEOF_LONG 8
12684| #define SIZEOF_LONG_LONG 8
12685| #define SIZEOF___INT64 0
12686| #define SIZEOF_OFF_T 8
12687| #define SIZEOF_VOIDP 8
12688| #define SIZEOF_FLOAT 4
12689| #define SIZEOF_DOUBLE 8
12690| #define SIZEOF_TIME_T 8
12691| #define PRI_LL_PREFIX "ll"
12692| #define rb_pid_t pid_t
12693| #define PIDT2NUM(v) INT2NUM(v)
12694| #define NUM2PIDT(v) NUM2INT(v)
12695| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
12696| #define rb_uid_t uid_t
12697| #define UIDT2NUM(v) UINT2NUM(v)
12698| #define NUM2UIDT(v) NUM2UINT(v)
12699| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
12700| #define rb_gid_t gid_t
12701| #define GIDT2NUM(v) UINT2NUM(v)
12702| #define NUM2GIDT(v) NUM2UINT(v)
12703| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
12704| #define rb_time_t time_t
12705| #define TIMET2NUM(v) LONG2NUM(v)
12706| #define NUM2TIMET(v) NUM2LONG(v)
12707| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
12708| #define rb_dev_t dev_t
12709| #define DEVT2NUM(v) INT2NUM(v)
12710| #define NUM2DEVT(v) NUM2INT(v)
12711| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
12712| #define rb_mode_t mode_t
12713| #define MODET2NUM(v) UINT2NUM(v)
12714| #define NUM2MODET(v) NUM2UINT(v)
12715| #define PRI_MODET_PREFIX PRI_INT_PREFIX
12716| #define rb_rlim_t rlim_t
12717| #define RLIM2NUM(v) ULL2NUM(v)
12718| #define NUM2RLIM(v) NUM2ULL(v)
12719| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
12720| #define HAVE_PROTOTYPES 1
12721| #define TOKEN_PASTE(x,y) x##y
12722| #define STRINGIZE(expr) STRINGIZE0(expr)
12723| #define HAVE_STDARG_PROTOTYPES 1
12724| #define HAVE_VA_ARGS_MACRO 1
12725| #define NORETURN(x) __attribute__ ((noreturn)) x
12726| #define DEPRECATED(x) __attribute__ ((deprecated)) x
12727| #define NOINLINE(x) __attribute__ ((noinline)) x
12728| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
12729| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
12730| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
12731| #define HAVE_GCC_ATOMIC_BUILTINS 1
12732| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
12733| #define HAVE_DECL_SYS_NERR 1
12734| #define HAVE_LIBDL 1
12735| #define HAVE_DIRENT_H 1
12736| #define HAVE__BOOL 1
12737| #define HAVE_STDBOOL_H 1
12738| #define HAVE_SYS_WAIT_H 1
12739| #define HAVE_LIMITS_H 1
12740| #define HAVE_SYS_FILE_H 1
12741| #define HAVE_SYS_IOCTL_H 1
12742| #define HAVE_SYS_SYSCALL_H 1
12743| #define HAVE_FCNTL_H 1
12744| #define HAVE_SYS_FCNTL_H 1
12745| #define HAVE_SYS_SELECT_H 1
12746| #define HAVE_SYS_TIME_H 1
12747| #define HAVE_SYS_TIMES_H 1
12748| #define HAVE_SYS_PARAM_H 1
12749| #define HAVE_PWD_H 1
12750| #define HAVE_GRP_H 1
12751| #define HAVE_UTIME_H 1
12752| #define HAVE_SYS_RESOURCE_H 1
12753| #define HAVE_NETINET_IN_SYSTM_H 1
12754| #define HAVE_FLOAT_H 1
12755| #define HAVE_LANGINFO_H 1
12756| #define HAVE_LOCALE_H 1
12757| #define HAVE_TIME_H 1
12758| #define HAVE_SYS_SOCKET_H 1
12759| #define SIZEOF_SIZE_T 8
12760| #define SIZEOF_PTRDIFF_T 8
12761| #define PRI_SIZE_PREFIX "z"
12762| #define PRI_PTRDIFF_PREFIX "t"
12763| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
12764| #define HAVE_ST_BLKSIZE 1
12765| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
12766| #define HAVE_ST_BLOCKS 1
12767| #define HAVE_STRUCT_STAT_ST_RDEV 1
12768| #define HAVE_ST_RDEV 1
12769| #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
12770| #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
12771| #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
12772| #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
12773| #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
12774| #define HAVE_STRUCT_TIMESPEC 1
12775| #define HAVE_STRUCT_TIMEZONE 1
12776| #define HAVE_RB_FD_INIT 1
12777| #define HAVE_INT8_T 1
12778| #define SIZEOF_INT8_T 1
12779| #define HAVE_UINT8_T 1
12780| #define SIZEOF_UINT8_T 1
12781| #define HAVE_INT16_T 1
12782| #define SIZEOF_INT16_T 2
12783| #define HAVE_UINT16_T 1
12784| #define SIZEOF_UINT16_T 2
12785| #define HAVE_INT32_T 1
12786| #define SIZEOF_INT32_T 4
12787| #define HAVE_UINT32_T 1
12788| #define SIZEOF_UINT32_T 4
12789| #define HAVE_INT64_T 1
12790| #define SIZEOF_INT64_T 8
12791| #define HAVE_UINT64_T 1
12792| #define SIZEOF_UINT64_T 8
12793| #define HAVE_INTPTR_T 1
12794| #define SIZEOF_INTPTR_T 8
12795| #define HAVE_UINTPTR_T 1
12796| #define SIZEOF_UINTPTR_T 8
12797| #define HAVE_SSIZE_T 1
12798| #define SIZEOF_SSIZE_T 8
12799| #define GC_MARK_STACKFRAME_WORD 16
12800| #define GETGROUPS_T gid_t
12801| #define RETSIGTYPE void
12802| #define HAVE_ALLOCA_H 1
12803| #define HAVE_ALLOCA 1
12804| #define HAVE_DUP2 1
12805| #define HAVE_MEMMOVE 1
12806| #define HAVE_STRERROR 1
12807| #define HAVE_STRCHR 1
12808| #define HAVE_STRSTR 1
12809| #define HAVE_CRYPT 1
12810| #define HAVE_FLOCK 1
12811| #define HAVE_ISNAN 1
12812| #define HAVE_FINITE 1
12813| #define HAVE_ISINF 1
12814| #define HAVE_HYPOT 1
12815| #define HAVE_ACOSH 1
12816| #define HAVE_ERF 1
12817| #define HAVE_TGAMMA 1
12818| #define HAVE_LGAMMA_R 1
12819| #define HAVE_CBRT 1
12820| #define HAVE_STRLCPY 1
12821| #define HAVE_STRLCAT 1
12822| #define HAVE_FFS 1
12823| #define SPT_TYPE SPT_REUSEARGV
12824| #define HAVE_SIGNBIT 1
12825| #define HAVE_FMOD 1
12826| #define HAVE_KILLPG 1
12827| #define HAVE_WAIT4 1
12828| #define HAVE_WAITPID 1
12829| #define HAVE_FORK 1
12830| #define HAVE_SYSCALL 1
12831| #define HAVE___SYSCALL 1
12832| #define HAVE_CHROOT 1
12833| #define HAVE_GETCWD 1
12834| #define HAVE_TRUNCATE 1
12835| #define HAVE_FTRUNCATE 1
12836| #define HAVE_FTELLO 1
12837| #define HAVE_TIMES 1
12838| #define HAVE_UTIMES 1
12839| #define HAVE_FCNTL 1
12840| #define HAVE_LOCKF 1
12841| #define HAVE_LSTAT 1
12842| /* end confdefs.h.  */
12843| /* Define truncate64 to an innocuous variant, in case <limits.h> declares truncate64.
12844|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12845| #define truncate64 innocuous_truncate64
12846|
12847| /* System header to define __stub macros and hopefully few prototypes,
12848|     which can conflict with char truncate64 (); below.
12849|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12850|     <limits.h> exists even on freestanding compilers.  */
12851|
12852| #ifdef __STDC__
12853| # include <limits.h>
12854| #else
12855| # include <assert.h>
12856| #endif
12857|
12858| #undef truncate64
12859|
12860| /* Override any GCC internal prototype to avoid an error.
12861|    Use char because int might match the return type of a GCC
12862|    builtin and then its argument prototype would still apply.  */
12863| #ifdef __cplusplus
12864| extern "C"
12865| #endif
12866| char truncate64 ();
12867| /* The GNU C library defines this for functions which it implements
12868|     to always fail with ENOSYS.  Some functions are actually named
12869|     something starting with __ and the normal name is an alias.  */
12870| #if defined __stub_truncate64 || defined __stub___truncate64
12871| choke me
12872| #endif
12873|
12874| int
12875| main ()
12876| {
12877| return truncate64 ();
12878|   ;
12879|   return 0;
12880| }
12881configure:14443: result: no
12882configure:14443: checking for ftruncate64
12883configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
12884Undefined symbols for architecture x86_64:
12885  "_ftruncate64", referenced from:
12886      _main in conftest-ZR0gaj.o
12887ld: symbol(s) not found for architecture x86_64
12888clang: error: linker command failed with exit code 1 (use -v to see invocation)
12889configure:14443: $? = 1
12890configure: failed program was:
12891| /* confdefs.h */
12892| #define PACKAGE_NAME ""
12893| #define PACKAGE_TARNAME ""
12894| #define PACKAGE_VERSION ""
12895| #define PACKAGE_STRING ""
12896| #define PACKAGE_BUGREPORT ""
12897| #define PACKAGE_URL ""
12898| #define CANONICALIZATION_FOR_MATHN 1
12899| #define STDC_HEADERS 1
12900| #define HAVE_SYS_TYPES_H 1
12901| #define HAVE_SYS_STAT_H 1
12902| #define HAVE_STDLIB_H 1
12903| #define HAVE_STRING_H 1
12904| #define HAVE_MEMORY_H 1
12905| #define HAVE_STRINGS_H 1
12906| #define HAVE_INTTYPES_H 1
12907| #define HAVE_STDINT_H 1
12908| #define HAVE_UNISTD_H 1
12909| #define __EXTENSIONS__ 1
12910| #define _ALL_SOURCE 1
12911| #define _GNU_SOURCE 1
12912| #define _POSIX_PTHREAD_SEMANTICS 1
12913| #define _TANDEM_SOURCE 1
12914| #define HAVE_LONG_LONG 1
12915| #define HAVE_OFF_T 1
12916| #define SIZEOF_INT 4
12917| #define SIZEOF_SHORT 2
12918| #define SIZEOF_LONG 8
12919| #define SIZEOF_LONG_LONG 8
12920| #define SIZEOF___INT64 0
12921| #define SIZEOF_OFF_T 8
12922| #define SIZEOF_VOIDP 8
12923| #define SIZEOF_FLOAT 4
12924| #define SIZEOF_DOUBLE 8
12925| #define SIZEOF_TIME_T 8
12926| #define PRI_LL_PREFIX "ll"
12927| #define rb_pid_t pid_t
12928| #define PIDT2NUM(v) INT2NUM(v)
12929| #define NUM2PIDT(v) NUM2INT(v)
12930| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
12931| #define rb_uid_t uid_t
12932| #define UIDT2NUM(v) UINT2NUM(v)
12933| #define NUM2UIDT(v) NUM2UINT(v)
12934| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
12935| #define rb_gid_t gid_t
12936| #define GIDT2NUM(v) UINT2NUM(v)
12937| #define NUM2GIDT(v) NUM2UINT(v)
12938| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
12939| #define rb_time_t time_t
12940| #define TIMET2NUM(v) LONG2NUM(v)
12941| #define NUM2TIMET(v) NUM2LONG(v)
12942| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
12943| #define rb_dev_t dev_t
12944| #define DEVT2NUM(v) INT2NUM(v)
12945| #define NUM2DEVT(v) NUM2INT(v)
12946| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
12947| #define rb_mode_t mode_t
12948| #define MODET2NUM(v) UINT2NUM(v)
12949| #define NUM2MODET(v) NUM2UINT(v)
12950| #define PRI_MODET_PREFIX PRI_INT_PREFIX
12951| #define rb_rlim_t rlim_t
12952| #define RLIM2NUM(v) ULL2NUM(v)
12953| #define NUM2RLIM(v) NUM2ULL(v)
12954| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
12955| #define HAVE_PROTOTYPES 1
12956| #define TOKEN_PASTE(x,y) x##y
12957| #define STRINGIZE(expr) STRINGIZE0(expr)
12958| #define HAVE_STDARG_PROTOTYPES 1
12959| #define HAVE_VA_ARGS_MACRO 1
12960| #define NORETURN(x) __attribute__ ((noreturn)) x
12961| #define DEPRECATED(x) __attribute__ ((deprecated)) x
12962| #define NOINLINE(x) __attribute__ ((noinline)) x
12963| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
12964| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
12965| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
12966| #define HAVE_GCC_ATOMIC_BUILTINS 1
12967| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
12968| #define HAVE_DECL_SYS_NERR 1
12969| #define HAVE_LIBDL 1
12970| #define HAVE_DIRENT_H 1
12971| #define HAVE__BOOL 1
12972| #define HAVE_STDBOOL_H 1
12973| #define HAVE_SYS_WAIT_H 1
12974| #define HAVE_LIMITS_H 1
12975| #define HAVE_SYS_FILE_H 1
12976| #define HAVE_SYS_IOCTL_H 1
12977| #define HAVE_SYS_SYSCALL_H 1
12978| #define HAVE_FCNTL_H 1
12979| #define HAVE_SYS_FCNTL_H 1
12980| #define HAVE_SYS_SELECT_H 1
12981| #define HAVE_SYS_TIME_H 1
12982| #define HAVE_SYS_TIMES_H 1
12983| #define HAVE_SYS_PARAM_H 1
12984| #define HAVE_PWD_H 1
12985| #define HAVE_GRP_H 1
12986| #define HAVE_UTIME_H 1
12987| #define HAVE_SYS_RESOURCE_H 1
12988| #define HAVE_NETINET_IN_SYSTM_H 1
12989| #define HAVE_FLOAT_H 1
12990| #define HAVE_LANGINFO_H 1
12991| #define HAVE_LOCALE_H 1
12992| #define HAVE_TIME_H 1
12993| #define HAVE_SYS_SOCKET_H 1
12994| #define SIZEOF_SIZE_T 8
12995| #define SIZEOF_PTRDIFF_T 8
12996| #define PRI_SIZE_PREFIX "z"
12997| #define PRI_PTRDIFF_PREFIX "t"
12998| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
12999| #define HAVE_ST_BLKSIZE 1
13000| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
13001| #define HAVE_ST_BLOCKS 1
13002| #define HAVE_STRUCT_STAT_ST_RDEV 1
13003| #define HAVE_ST_RDEV 1
13004| #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
13005| #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
13006| #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
13007| #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
13008| #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
13009| #define HAVE_STRUCT_TIMESPEC 1
13010| #define HAVE_STRUCT_TIMEZONE 1
13011| #define HAVE_RB_FD_INIT 1
13012| #define HAVE_INT8_T 1
13013| #define SIZEOF_INT8_T 1
13014| #define HAVE_UINT8_T 1
13015| #define SIZEOF_UINT8_T 1
13016| #define HAVE_INT16_T 1
13017| #define SIZEOF_INT16_T 2
13018| #define HAVE_UINT16_T 1
13019| #define SIZEOF_UINT16_T 2
13020| #define HAVE_INT32_T 1
13021| #define SIZEOF_INT32_T 4
13022| #define HAVE_UINT32_T 1
13023| #define SIZEOF_UINT32_T 4
13024| #define HAVE_INT64_T 1
13025| #define SIZEOF_INT64_T 8
13026| #define HAVE_UINT64_T 1
13027| #define SIZEOF_UINT64_T 8
13028| #define HAVE_INTPTR_T 1
13029| #define SIZEOF_INTPTR_T 8
13030| #define HAVE_UINTPTR_T 1
13031| #define SIZEOF_UINTPTR_T 8
13032| #define HAVE_SSIZE_T 1
13033| #define SIZEOF_SSIZE_T 8
13034| #define GC_MARK_STACKFRAME_WORD 16
13035| #define GETGROUPS_T gid_t
13036| #define RETSIGTYPE void
13037| #define HAVE_ALLOCA_H 1
13038| #define HAVE_ALLOCA 1
13039| #define HAVE_DUP2 1
13040| #define HAVE_MEMMOVE 1
13041| #define HAVE_STRERROR 1
13042| #define HAVE_STRCHR 1
13043| #define HAVE_STRSTR 1
13044| #define HAVE_CRYPT 1
13045| #define HAVE_FLOCK 1
13046| #define HAVE_ISNAN 1
13047| #define HAVE_FINITE 1
13048| #define HAVE_ISINF 1
13049| #define HAVE_HYPOT 1
13050| #define HAVE_ACOSH 1
13051| #define HAVE_ERF 1
13052| #define HAVE_TGAMMA 1
13053| #define HAVE_LGAMMA_R 1
13054| #define HAVE_CBRT 1
13055| #define HAVE_STRLCPY 1
13056| #define HAVE_STRLCAT 1
13057| #define HAVE_FFS 1
13058| #define SPT_TYPE SPT_REUSEARGV
13059| #define HAVE_SIGNBIT 1
13060| #define HAVE_FMOD 1
13061| #define HAVE_KILLPG 1
13062| #define HAVE_WAIT4 1
13063| #define HAVE_WAITPID 1
13064| #define HAVE_FORK 1
13065| #define HAVE_SYSCALL 1
13066| #define HAVE___SYSCALL 1
13067| #define HAVE_CHROOT 1
13068| #define HAVE_GETCWD 1
13069| #define HAVE_TRUNCATE 1
13070| #define HAVE_FTRUNCATE 1
13071| #define HAVE_FTELLO 1
13072| #define HAVE_TIMES 1
13073| #define HAVE_UTIMES 1
13074| #define HAVE_FCNTL 1
13075| #define HAVE_LOCKF 1
13076| #define HAVE_LSTAT 1
13077| /* end confdefs.h.  */
13078| /* Define ftruncate64 to an innocuous variant, in case <limits.h> declares ftruncate64.
13079|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13080| #define ftruncate64 innocuous_ftruncate64
13081|
13082| /* System header to define __stub macros and hopefully few prototypes,
13083|     which can conflict with char ftruncate64 (); below.
13084|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13085|     <limits.h> exists even on freestanding compilers.  */
13086|
13087| #ifdef __STDC__
13088| # include <limits.h>
13089| #else
13090| # include <assert.h>
13091| #endif
13092|
13093| #undef ftruncate64
13094|
13095| /* Override any GCC internal prototype to avoid an error.
13096|    Use char because int might match the return type of a GCC
13097|    builtin and then its argument prototype would still apply.  */
13098| #ifdef __cplusplus
13099| extern "C"
13100| #endif
13101| char ftruncate64 ();
13102| /* The GNU C library defines this for functions which it implements
13103|     to always fail with ENOSYS.  Some functions are actually named
13104|     something starting with __ and the normal name is an alias.  */
13105| #if defined __stub_ftruncate64 || defined __stub___ftruncate64
13106| choke me
13107| #endif
13108|
13109| int
13110| main ()
13111| {
13112| return ftruncate64 ();
13113|   ;
13114|   return 0;
13115| }
13116configure:14443: result: no
13117configure:14443: checking for ftello64
13118configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
13119Undefined symbols for architecture x86_64:
13120  "_ftello64", referenced from:
13121      _main in conftest-KIV2px.o
13122ld: symbol(s) not found for architecture x86_64
13123clang: error: linker command failed with exit code 1 (use -v to see invocation)
13124configure:14443: $? = 1
13125configure: failed program was:
13126| /* confdefs.h */
13127| #define PACKAGE_NAME ""
13128| #define PACKAGE_TARNAME ""
13129| #define PACKAGE_VERSION ""
13130| #define PACKAGE_STRING ""
13131| #define PACKAGE_BUGREPORT ""
13132| #define PACKAGE_URL ""
13133| #define CANONICALIZATION_FOR_MATHN 1
13134| #define STDC_HEADERS 1
13135| #define HAVE_SYS_TYPES_H 1
13136| #define HAVE_SYS_STAT_H 1
13137| #define HAVE_STDLIB_H 1
13138| #define HAVE_STRING_H 1
13139| #define HAVE_MEMORY_H 1
13140| #define HAVE_STRINGS_H 1
13141| #define HAVE_INTTYPES_H 1
13142| #define HAVE_STDINT_H 1
13143| #define HAVE_UNISTD_H 1
13144| #define __EXTENSIONS__ 1
13145| #define _ALL_SOURCE 1
13146| #define _GNU_SOURCE 1
13147| #define _POSIX_PTHREAD_SEMANTICS 1
13148| #define _TANDEM_SOURCE 1
13149| #define HAVE_LONG_LONG 1
13150| #define HAVE_OFF_T 1
13151| #define SIZEOF_INT 4
13152| #define SIZEOF_SHORT 2
13153| #define SIZEOF_LONG 8
13154| #define SIZEOF_LONG_LONG 8
13155| #define SIZEOF___INT64 0
13156| #define SIZEOF_OFF_T 8
13157| #define SIZEOF_VOIDP 8
13158| #define SIZEOF_FLOAT 4
13159| #define SIZEOF_DOUBLE 8
13160| #define SIZEOF_TIME_T 8
13161| #define PRI_LL_PREFIX "ll"
13162| #define rb_pid_t pid_t
13163| #define PIDT2NUM(v) INT2NUM(v)
13164| #define NUM2PIDT(v) NUM2INT(v)
13165| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
13166| #define rb_uid_t uid_t
13167| #define UIDT2NUM(v) UINT2NUM(v)
13168| #define NUM2UIDT(v) NUM2UINT(v)
13169| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
13170| #define rb_gid_t gid_t
13171| #define GIDT2NUM(v) UINT2NUM(v)
13172| #define NUM2GIDT(v) NUM2UINT(v)
13173| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
13174| #define rb_time_t time_t
13175| #define TIMET2NUM(v) LONG2NUM(v)
13176| #define NUM2TIMET(v) NUM2LONG(v)
13177| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
13178| #define rb_dev_t dev_t
13179| #define DEVT2NUM(v) INT2NUM(v)
13180| #define NUM2DEVT(v) NUM2INT(v)
13181| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
13182| #define rb_mode_t mode_t
13183| #define MODET2NUM(v) UINT2NUM(v)
13184| #define NUM2MODET(v) NUM2UINT(v)
13185| #define PRI_MODET_PREFIX PRI_INT_PREFIX
13186| #define rb_rlim_t rlim_t
13187| #define RLIM2NUM(v) ULL2NUM(v)
13188| #define NUM2RLIM(v) NUM2ULL(v)
13189| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
13190| #define HAVE_PROTOTYPES 1
13191| #define TOKEN_PASTE(x,y) x##y
13192| #define STRINGIZE(expr) STRINGIZE0(expr)
13193| #define HAVE_STDARG_PROTOTYPES 1
13194| #define HAVE_VA_ARGS_MACRO 1
13195| #define NORETURN(x) __attribute__ ((noreturn)) x
13196| #define DEPRECATED(x) __attribute__ ((deprecated)) x
13197| #define NOINLINE(x) __attribute__ ((noinline)) x
13198| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
13199| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
13200| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
13201| #define HAVE_GCC_ATOMIC_BUILTINS 1
13202| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
13203| #define HAVE_DECL_SYS_NERR 1
13204| #define HAVE_LIBDL 1
13205| #define HAVE_DIRENT_H 1
13206| #define HAVE__BOOL 1
13207| #define HAVE_STDBOOL_H 1
13208| #define HAVE_SYS_WAIT_H 1
13209| #define HAVE_LIMITS_H 1
13210| #define HAVE_SYS_FILE_H 1
13211| #define HAVE_SYS_IOCTL_H 1
13212| #define HAVE_SYS_SYSCALL_H 1
13213| #define HAVE_FCNTL_H 1
13214| #define HAVE_SYS_FCNTL_H 1
13215| #define HAVE_SYS_SELECT_H 1
13216| #define HAVE_SYS_TIME_H 1
13217| #define HAVE_SYS_TIMES_H 1
13218| #define HAVE_SYS_PARAM_H 1
13219| #define HAVE_PWD_H 1
13220| #define HAVE_GRP_H 1
13221| #define HAVE_UTIME_H 1
13222| #define HAVE_SYS_RESOURCE_H 1
13223| #define HAVE_NETINET_IN_SYSTM_H 1
13224| #define HAVE_FLOAT_H 1
13225| #define HAVE_LANGINFO_H 1
13226| #define HAVE_LOCALE_H 1
13227| #define HAVE_TIME_H 1
13228| #define HAVE_SYS_SOCKET_H 1
13229| #define SIZEOF_SIZE_T 8
13230| #define SIZEOF_PTRDIFF_T 8
13231| #define PRI_SIZE_PREFIX "z"
13232| #define PRI_PTRDIFF_PREFIX "t"
13233| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
13234| #define HAVE_ST_BLKSIZE 1
13235| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
13236| #define HAVE_ST_BLOCKS 1
13237| #define HAVE_STRUCT_STAT_ST_RDEV 1
13238| #define HAVE_ST_RDEV 1
13239| #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
13240| #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
13241| #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
13242| #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
13243| #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
13244| #define HAVE_STRUCT_TIMESPEC 1
13245| #define HAVE_STRUCT_TIMEZONE 1
13246| #define HAVE_RB_FD_INIT 1
13247| #define HAVE_INT8_T 1
13248| #define SIZEOF_INT8_T 1
13249| #define HAVE_UINT8_T 1
13250| #define SIZEOF_UINT8_T 1
13251| #define HAVE_INT16_T 1
13252| #define SIZEOF_INT16_T 2
13253| #define HAVE_UINT16_T 1
13254| #define SIZEOF_UINT16_T 2
13255| #define HAVE_INT32_T 1
13256| #define SIZEOF_INT32_T 4
13257| #define HAVE_UINT32_T 1
13258| #define SIZEOF_UINT32_T 4
13259| #define HAVE_INT64_T 1
13260| #define SIZEOF_INT64_T 8
13261| #define HAVE_UINT64_T 1
13262| #define SIZEOF_UINT64_T 8
13263| #define HAVE_INTPTR_T 1
13264| #define SIZEOF_INTPTR_T 8
13265| #define HAVE_UINTPTR_T 1
13266| #define SIZEOF_UINTPTR_T 8
13267| #define HAVE_SSIZE_T 1
13268| #define SIZEOF_SSIZE_T 8
13269| #define GC_MARK_STACKFRAME_WORD 16
13270| #define GETGROUPS_T gid_t
13271| #define RETSIGTYPE void
13272| #define HAVE_ALLOCA_H 1
13273| #define HAVE_ALLOCA 1
13274| #define HAVE_DUP2 1
13275| #define HAVE_MEMMOVE 1
13276| #define HAVE_STRERROR 1
13277| #define HAVE_STRCHR 1
13278| #define HAVE_STRSTR 1
13279| #define HAVE_CRYPT 1
13280| #define HAVE_FLOCK 1
13281| #define HAVE_ISNAN 1
13282| #define HAVE_FINITE 1
13283| #define HAVE_ISINF 1
13284| #define HAVE_HYPOT 1
13285| #define HAVE_ACOSH 1
13286| #define HAVE_ERF 1
13287| #define HAVE_TGAMMA 1
13288| #define HAVE_LGAMMA_R 1
13289| #define HAVE_CBRT 1
13290| #define HAVE_STRLCPY 1
13291| #define HAVE_STRLCAT 1
13292| #define HAVE_FFS 1
13293| #define SPT_TYPE SPT_REUSEARGV
13294| #define HAVE_SIGNBIT 1
13295| #define HAVE_FMOD 1
13296| #define HAVE_KILLPG 1
13297| #define HAVE_WAIT4 1
13298| #define HAVE_WAITPID 1
13299| #define HAVE_FORK 1
13300| #define HAVE_SYSCALL 1
13301| #define HAVE___SYSCALL 1
13302| #define HAVE_CHROOT 1
13303| #define HAVE_GETCWD 1
13304| #define HAVE_TRUNCATE 1
13305| #define HAVE_FTRUNCATE 1
13306| #define HAVE_FTELLO 1
13307| #define HAVE_TIMES 1
13308| #define HAVE_UTIMES 1
13309| #define HAVE_FCNTL 1
13310| #define HAVE_LOCKF 1
13311| #define HAVE_LSTAT 1
13312| /* end confdefs.h.  */
13313| /* Define ftello64 to an innocuous variant, in case <limits.h> declares ftello64.
13314|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13315| #define ftello64 innocuous_ftello64
13316|
13317| /* System header to define __stub macros and hopefully few prototypes,
13318|     which can conflict with char ftello64 (); below.
13319|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13320|     <limits.h> exists even on freestanding compilers.  */
13321|
13322| #ifdef __STDC__
13323| # include <limits.h>
13324| #else
13325| # include <assert.h>
13326| #endif
13327|
13328| #undef ftello64
13329|
13330| /* Override any GCC internal prototype to avoid an error.
13331|    Use char because int might match the return type of a GCC
13332|    builtin and then its argument prototype would still apply.  */
13333| #ifdef __cplusplus
13334| extern "C"
13335| #endif
13336| char ftello64 ();
13337| /* The GNU C library defines this for functions which it implements
13338|     to always fail with ENOSYS.  Some functions are actually named
13339|     something starting with __ and the normal name is an alias.  */
13340| #if defined __stub_ftello64 || defined __stub___ftello64
13341| choke me
13342| #endif
13343|
13344| int
13345| main ()
13346| {
13347| return ftello64 ();
13348|   ;
13349|   return 0;
13350| }
13351configure:14443: result: no
13352configure:14443: checking for fseeko
13353configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
13354configure:14443: $? = 0
13355configure:14443: result: yes
13356configure:14443: checking for fseeko64
13357configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
13358Undefined symbols for architecture x86_64:
13359  "_fseeko64", referenced from:
13360      _main in conftest-EaPR9O.o
13361ld: symbol(s) not found for architecture x86_64
13362clang: error: linker command failed with exit code 1 (use -v to see invocation)
13363configure:14443: $? = 1
13364configure: failed program was:
13365| /* confdefs.h */
13366| #define PACKAGE_NAME ""
13367| #define PACKAGE_TARNAME ""
13368| #define PACKAGE_VERSION ""
13369| #define PACKAGE_STRING ""
13370| #define PACKAGE_BUGREPORT ""
13371| #define PACKAGE_URL ""
13372| #define CANONICALIZATION_FOR_MATHN 1
13373| #define STDC_HEADERS 1
13374| #define HAVE_SYS_TYPES_H 1
13375| #define HAVE_SYS_STAT_H 1
13376| #define HAVE_STDLIB_H 1
13377| #define HAVE_STRING_H 1
13378| #define HAVE_MEMORY_H 1
13379| #define HAVE_STRINGS_H 1
13380| #define HAVE_INTTYPES_H 1
13381| #define HAVE_STDINT_H 1
13382| #define HAVE_UNISTD_H 1
13383| #define __EXTENSIONS__ 1
13384| #define _ALL_SOURCE 1
13385| #define _GNU_SOURCE 1
13386| #define _POSIX_PTHREAD_SEMANTICS 1
13387| #define _TANDEM_SOURCE 1
13388| #define HAVE_LONG_LONG 1
13389| #define HAVE_OFF_T 1
13390| #define SIZEOF_INT 4
13391| #define SIZEOF_SHORT 2
13392| #define SIZEOF_LONG 8
13393| #define SIZEOF_LONG_LONG 8
13394| #define SIZEOF___INT64 0
13395| #define SIZEOF_OFF_T 8
13396| #define SIZEOF_VOIDP 8
13397| #define SIZEOF_FLOAT 4
13398| #define SIZEOF_DOUBLE 8
13399| #define SIZEOF_TIME_T 8
13400| #define PRI_LL_PREFIX "ll"
13401| #define rb_pid_t pid_t
13402| #define PIDT2NUM(v) INT2NUM(v)
13403| #define NUM2PIDT(v) NUM2INT(v)
13404| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
13405| #define rb_uid_t uid_t
13406| #define UIDT2NUM(v) UINT2NUM(v)
13407| #define NUM2UIDT(v) NUM2UINT(v)
13408| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
13409| #define rb_gid_t gid_t
13410| #define GIDT2NUM(v) UINT2NUM(v)
13411| #define NUM2GIDT(v) NUM2UINT(v)
13412| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
13413| #define rb_time_t time_t
13414| #define TIMET2NUM(v) LONG2NUM(v)
13415| #define NUM2TIMET(v) NUM2LONG(v)
13416| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
13417| #define rb_dev_t dev_t
13418| #define DEVT2NUM(v) INT2NUM(v)
13419| #define NUM2DEVT(v) NUM2INT(v)
13420| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
13421| #define rb_mode_t mode_t
13422| #define MODET2NUM(v) UINT2NUM(v)
13423| #define NUM2MODET(v) NUM2UINT(v)
13424| #define PRI_MODET_PREFIX PRI_INT_PREFIX
13425| #define rb_rlim_t rlim_t
13426| #define RLIM2NUM(v) ULL2NUM(v)
13427| #define NUM2RLIM(v) NUM2ULL(v)
13428| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
13429| #define HAVE_PROTOTYPES 1
13430| #define TOKEN_PASTE(x,y) x##y
13431| #define STRINGIZE(expr) STRINGIZE0(expr)
13432| #define HAVE_STDARG_PROTOTYPES 1
13433| #define HAVE_VA_ARGS_MACRO 1
13434| #define NORETURN(x) __attribute__ ((noreturn)) x
13435| #define DEPRECATED(x) __attribute__ ((deprecated)) x
13436| #define NOINLINE(x) __attribute__ ((noinline)) x
13437| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
13438| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
13439| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
13440| #define HAVE_GCC_ATOMIC_BUILTINS 1
13441| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
13442| #define HAVE_DECL_SYS_NERR 1
13443| #define HAVE_LIBDL 1
13444| #define HAVE_DIRENT_H 1
13445| #define HAVE__BOOL 1
13446| #define HAVE_STDBOOL_H 1
13447| #define HAVE_SYS_WAIT_H 1
13448| #define HAVE_LIMITS_H 1
13449| #define HAVE_SYS_FILE_H 1
13450| #define HAVE_SYS_IOCTL_H 1
13451| #define HAVE_SYS_SYSCALL_H 1
13452| #define HAVE_FCNTL_H 1
13453| #define HAVE_SYS_FCNTL_H 1
13454| #define HAVE_SYS_SELECT_H 1
13455| #define HAVE_SYS_TIME_H 1
13456| #define HAVE_SYS_TIMES_H 1
13457| #define HAVE_SYS_PARAM_H 1
13458| #define HAVE_PWD_H 1
13459| #define HAVE_GRP_H 1
13460| #define HAVE_UTIME_H 1
13461| #define HAVE_SYS_RESOURCE_H 1
13462| #define HAVE_NETINET_IN_SYSTM_H 1
13463| #define HAVE_FLOAT_H 1
13464| #define HAVE_LANGINFO_H 1
13465| #define HAVE_LOCALE_H 1
13466| #define HAVE_TIME_H 1
13467| #define HAVE_SYS_SOCKET_H 1
13468| #define SIZEOF_SIZE_T 8
13469| #define SIZEOF_PTRDIFF_T 8
13470| #define PRI_SIZE_PREFIX "z"
13471| #define PRI_PTRDIFF_PREFIX "t"
13472| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
13473| #define HAVE_ST_BLKSIZE 1
13474| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
13475| #define HAVE_ST_BLOCKS 1
13476| #define HAVE_STRUCT_STAT_ST_RDEV 1
13477| #define HAVE_ST_RDEV 1
13478| #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
13479| #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
13480| #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
13481| #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
13482| #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
13483| #define HAVE_STRUCT_TIMESPEC 1
13484| #define HAVE_STRUCT_TIMEZONE 1
13485| #define HAVE_RB_FD_INIT 1
13486| #define HAVE_INT8_T 1
13487| #define SIZEOF_INT8_T 1
13488| #define HAVE_UINT8_T 1
13489| #define SIZEOF_UINT8_T 1
13490| #define HAVE_INT16_T 1
13491| #define SIZEOF_INT16_T 2
13492| #define HAVE_UINT16_T 1
13493| #define SIZEOF_UINT16_T 2
13494| #define HAVE_INT32_T 1
13495| #define SIZEOF_INT32_T 4
13496| #define HAVE_UINT32_T 1
13497| #define SIZEOF_UINT32_T 4
13498| #define HAVE_INT64_T 1
13499| #define SIZEOF_INT64_T 8
13500| #define HAVE_UINT64_T 1
13501| #define SIZEOF_UINT64_T 8
13502| #define HAVE_INTPTR_T 1
13503| #define SIZEOF_INTPTR_T 8
13504| #define HAVE_UINTPTR_T 1
13505| #define SIZEOF_UINTPTR_T 8
13506| #define HAVE_SSIZE_T 1
13507| #define SIZEOF_SSIZE_T 8
13508| #define GC_MARK_STACKFRAME_WORD 16
13509| #define GETGROUPS_T gid_t
13510| #define RETSIGTYPE void
13511| #define HAVE_ALLOCA_H 1
13512| #define HAVE_ALLOCA 1
13513| #define HAVE_DUP2 1
13514| #define HAVE_MEMMOVE 1
13515| #define HAVE_STRERROR 1
13516| #define HAVE_STRCHR 1
13517| #define HAVE_STRSTR 1
13518| #define HAVE_CRYPT 1
13519| #define HAVE_FLOCK 1
13520| #define HAVE_ISNAN 1
13521| #define HAVE_FINITE 1
13522| #define HAVE_ISINF 1
13523| #define HAVE_HYPOT 1
13524| #define HAVE_ACOSH 1
13525| #define HAVE_ERF 1
13526| #define HAVE_TGAMMA 1
13527| #define HAVE_LGAMMA_R 1
13528| #define HAVE_CBRT 1
13529| #define HAVE_STRLCPY 1
13530| #define HAVE_STRLCAT 1
13531| #define HAVE_FFS 1
13532| #define SPT_TYPE SPT_REUSEARGV
13533| #define HAVE_SIGNBIT 1
13534| #define HAVE_FMOD 1
13535| #define HAVE_KILLPG 1
13536| #define HAVE_WAIT4 1
13537| #define HAVE_WAITPID 1
13538| #define HAVE_FORK 1
13539| #define HAVE_SYSCALL 1
13540| #define HAVE___SYSCALL 1
13541| #define HAVE_CHROOT 1
13542| #define HAVE_GETCWD 1
13543| #define HAVE_TRUNCATE 1
13544| #define HAVE_FTRUNCATE 1
13545| #define HAVE_FTELLO 1
13546| #define HAVE_TIMES 1
13547| #define HAVE_UTIMES 1
13548| #define HAVE_FCNTL 1
13549| #define HAVE_LOCKF 1
13550| #define HAVE_LSTAT 1
13551| #define HAVE_FSEEKO 1
13552| /* end confdefs.h.  */
13553| /* Define fseeko64 to an innocuous variant, in case <limits.h> declares fseeko64.
13554|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13555| #define fseeko64 innocuous_fseeko64
13556|
13557| /* System header to define __stub macros and hopefully few prototypes,
13558|     which can conflict with char fseeko64 (); below.
13559|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13560|     <limits.h> exists even on freestanding compilers.  */
13561|
13562| #ifdef __STDC__
13563| # include <limits.h>
13564| #else
13565| # include <assert.h>
13566| #endif
13567|
13568| #undef fseeko64
13569|
13570| /* Override any GCC internal prototype to avoid an error.
13571|    Use char because int might match the return type of a GCC
13572|    builtin and then its argument prototype would still apply.  */
13573| #ifdef __cplusplus
13574| extern "C"
13575| #endif
13576| char fseeko64 ();
13577| /* The GNU C library defines this for functions which it implements
13578|     to always fail with ENOSYS.  Some functions are actually named
13579|     something starting with __ and the normal name is an alias.  */
13580| #if defined __stub_fseeko64 || defined __stub___fseeko64
13581| choke me
13582| #endif
13583|
13584| int
13585| main ()
13586| {
13587| return fseeko64 ();
13588|   ;
13589|   return 0;
13590| }
13591configure:14443: result: no
13592configure:14443: checking for link
13593configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
13594configure:14443: $? = 0
13595configure:14443: result: yes
13596configure:14443: checking for symlink
13597configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
13598configure:14443: $? = 0
13599configure:14443: result: yes
13600configure:14443: checking for readlink
13601configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
13602configure:14443: $? = 0
13603configure:14443: result: yes
13604configure:14443: checking for readdir_r
13605configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
13606configure:14443: $? = 0
13607configure:14443: result: yes
13608configure:14443: checking for fsync
13609configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
13610configure:14443: $? = 0
13611configure:14443: result: yes
13612configure:14443: checking for fdatasync
13613configure:14443: result: no
13614configure:14443: checking for fchown
13615configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
13616configure:14443: $? = 0
13617configure:14443: result: yes
13618configure:14443: checking for posix_fadvise
13619configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
13620Undefined symbols for architecture x86_64:
13621  "_posix_fadvise", referenced from:
13622      _main in conftest-Rv31qf.o
13623ld: symbol(s) not found for architecture x86_64
13624clang: error: linker command failed with exit code 1 (use -v to see invocation)
13625configure:14443: $? = 1
13626configure: failed program was:
13627| /* confdefs.h */
13628| #define PACKAGE_NAME ""
13629| #define PACKAGE_TARNAME ""
13630| #define PACKAGE_VERSION ""
13631| #define PACKAGE_STRING ""
13632| #define PACKAGE_BUGREPORT ""
13633| #define PACKAGE_URL ""
13634| #define CANONICALIZATION_FOR_MATHN 1
13635| #define STDC_HEADERS 1
13636| #define HAVE_SYS_TYPES_H 1
13637| #define HAVE_SYS_STAT_H 1
13638| #define HAVE_STDLIB_H 1
13639| #define HAVE_STRING_H 1
13640| #define HAVE_MEMORY_H 1
13641| #define HAVE_STRINGS_H 1
13642| #define HAVE_INTTYPES_H 1
13643| #define HAVE_STDINT_H 1
13644| #define HAVE_UNISTD_H 1
13645| #define __EXTENSIONS__ 1
13646| #define _ALL_SOURCE 1
13647| #define _GNU_SOURCE 1
13648| #define _POSIX_PTHREAD_SEMANTICS 1
13649| #define _TANDEM_SOURCE 1
13650| #define HAVE_LONG_LONG 1
13651| #define HAVE_OFF_T 1
13652| #define SIZEOF_INT 4
13653| #define SIZEOF_SHORT 2
13654| #define SIZEOF_LONG 8
13655| #define SIZEOF_LONG_LONG 8
13656| #define SIZEOF___INT64 0
13657| #define SIZEOF_OFF_T 8
13658| #define SIZEOF_VOIDP 8
13659| #define SIZEOF_FLOAT 4
13660| #define SIZEOF_DOUBLE 8
13661| #define SIZEOF_TIME_T 8
13662| #define PRI_LL_PREFIX "ll"
13663| #define rb_pid_t pid_t
13664| #define PIDT2NUM(v) INT2NUM(v)
13665| #define NUM2PIDT(v) NUM2INT(v)
13666| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
13667| #define rb_uid_t uid_t
13668| #define UIDT2NUM(v) UINT2NUM(v)
13669| #define NUM2UIDT(v) NUM2UINT(v)
13670| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
13671| #define rb_gid_t gid_t
13672| #define GIDT2NUM(v) UINT2NUM(v)
13673| #define NUM2GIDT(v) NUM2UINT(v)
13674| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
13675| #define rb_time_t time_t
13676| #define TIMET2NUM(v) LONG2NUM(v)
13677| #define NUM2TIMET(v) NUM2LONG(v)
13678| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
13679| #define rb_dev_t dev_t
13680| #define DEVT2NUM(v) INT2NUM(v)
13681| #define NUM2DEVT(v) NUM2INT(v)
13682| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
13683| #define rb_mode_t mode_t
13684| #define MODET2NUM(v) UINT2NUM(v)
13685| #define NUM2MODET(v) NUM2UINT(v)
13686| #define PRI_MODET_PREFIX PRI_INT_PREFIX
13687| #define rb_rlim_t rlim_t
13688| #define RLIM2NUM(v) ULL2NUM(v)
13689| #define NUM2RLIM(v) NUM2ULL(v)
13690| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
13691| #define HAVE_PROTOTYPES 1
13692| #define TOKEN_PASTE(x,y) x##y
13693| #define STRINGIZE(expr) STRINGIZE0(expr)
13694| #define HAVE_STDARG_PROTOTYPES 1
13695| #define HAVE_VA_ARGS_MACRO 1
13696| #define NORETURN(x) __attribute__ ((noreturn)) x
13697| #define DEPRECATED(x) __attribute__ ((deprecated)) x
13698| #define NOINLINE(x) __attribute__ ((noinline)) x
13699| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
13700| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
13701| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
13702| #define HAVE_GCC_ATOMIC_BUILTINS 1
13703| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
13704| #define HAVE_DECL_SYS_NERR 1
13705| #define HAVE_LIBDL 1
13706| #define HAVE_DIRENT_H 1
13707| #define HAVE__BOOL 1
13708| #define HAVE_STDBOOL_H 1
13709| #define HAVE_SYS_WAIT_H 1
13710| #define HAVE_LIMITS_H 1
13711| #define HAVE_SYS_FILE_H 1
13712| #define HAVE_SYS_IOCTL_H 1
13713| #define HAVE_SYS_SYSCALL_H 1
13714| #define HAVE_FCNTL_H 1
13715| #define HAVE_SYS_FCNTL_H 1
13716| #define HAVE_SYS_SELECT_H 1
13717| #define HAVE_SYS_TIME_H 1
13718| #define HAVE_SYS_TIMES_H 1
13719| #define HAVE_SYS_PARAM_H 1
13720| #define HAVE_PWD_H 1
13721| #define HAVE_GRP_H 1
13722| #define HAVE_UTIME_H 1
13723| #define HAVE_SYS_RESOURCE_H 1
13724| #define HAVE_NETINET_IN_SYSTM_H 1
13725| #define HAVE_FLOAT_H 1
13726| #define HAVE_LANGINFO_H 1
13727| #define HAVE_LOCALE_H 1
13728| #define HAVE_TIME_H 1
13729| #define HAVE_SYS_SOCKET_H 1
13730| #define SIZEOF_SIZE_T 8
13731| #define SIZEOF_PTRDIFF_T 8
13732| #define PRI_SIZE_PREFIX "z"
13733| #define PRI_PTRDIFF_PREFIX "t"
13734| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
13735| #define HAVE_ST_BLKSIZE 1
13736| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
13737| #define HAVE_ST_BLOCKS 1
13738| #define HAVE_STRUCT_STAT_ST_RDEV 1
13739| #define HAVE_ST_RDEV 1
13740| #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
13741| #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
13742| #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
13743| #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
13744| #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
13745| #define HAVE_STRUCT_TIMESPEC 1
13746| #define HAVE_STRUCT_TIMEZONE 1
13747| #define HAVE_RB_FD_INIT 1
13748| #define HAVE_INT8_T 1
13749| #define SIZEOF_INT8_T 1
13750| #define HAVE_UINT8_T 1
13751| #define SIZEOF_UINT8_T 1
13752| #define HAVE_INT16_T 1
13753| #define SIZEOF_INT16_T 2
13754| #define HAVE_UINT16_T 1
13755| #define SIZEOF_UINT16_T 2
13756| #define HAVE_INT32_T 1
13757| #define SIZEOF_INT32_T 4
13758| #define HAVE_UINT32_T 1
13759| #define SIZEOF_UINT32_T 4
13760| #define HAVE_INT64_T 1
13761| #define SIZEOF_INT64_T 8
13762| #define HAVE_UINT64_T 1
13763| #define SIZEOF_UINT64_T 8
13764| #define HAVE_INTPTR_T 1
13765| #define SIZEOF_INTPTR_T 8
13766| #define HAVE_UINTPTR_T 1
13767| #define SIZEOF_UINTPTR_T 8
13768| #define HAVE_SSIZE_T 1
13769| #define SIZEOF_SSIZE_T 8
13770| #define GC_MARK_STACKFRAME_WORD 16
13771| #define GETGROUPS_T gid_t
13772| #define RETSIGTYPE void
13773| #define HAVE_ALLOCA_H 1
13774| #define HAVE_ALLOCA 1
13775| #define HAVE_DUP2 1
13776| #define HAVE_MEMMOVE 1
13777| #define HAVE_STRERROR 1
13778| #define HAVE_STRCHR 1
13779| #define HAVE_STRSTR 1
13780| #define HAVE_CRYPT 1
13781| #define HAVE_FLOCK 1
13782| #define HAVE_ISNAN 1
13783| #define HAVE_FINITE 1
13784| #define HAVE_ISINF 1
13785| #define HAVE_HYPOT 1
13786| #define HAVE_ACOSH 1
13787| #define HAVE_ERF 1
13788| #define HAVE_TGAMMA 1
13789| #define HAVE_LGAMMA_R 1
13790| #define HAVE_CBRT 1
13791| #define HAVE_STRLCPY 1
13792| #define HAVE_STRLCAT 1
13793| #define HAVE_FFS 1
13794| #define SPT_TYPE SPT_REUSEARGV
13795| #define HAVE_SIGNBIT 1
13796| #define HAVE_FMOD 1
13797| #define HAVE_KILLPG 1
13798| #define HAVE_WAIT4 1
13799| #define HAVE_WAITPID 1
13800| #define HAVE_FORK 1
13801| #define HAVE_SYSCALL 1
13802| #define HAVE___SYSCALL 1
13803| #define HAVE_CHROOT 1
13804| #define HAVE_GETCWD 1
13805| #define HAVE_TRUNCATE 1
13806| #define HAVE_FTRUNCATE 1
13807| #define HAVE_FTELLO 1
13808| #define HAVE_TIMES 1
13809| #define HAVE_UTIMES 1
13810| #define HAVE_FCNTL 1
13811| #define HAVE_LOCKF 1
13812| #define HAVE_LSTAT 1
13813| #define HAVE_FSEEKO 1
13814| #define HAVE_LINK 1
13815| #define HAVE_SYMLINK 1
13816| #define HAVE_READLINK 1
13817| #define HAVE_READDIR_R 1
13818| #define HAVE_FSYNC 1
13819| #define HAVE_FCHOWN 1
13820| /* end confdefs.h.  */
13821| /* Define posix_fadvise to an innocuous variant, in case <limits.h> declares posix_fadvise.
13822|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13823| #define posix_fadvise innocuous_posix_fadvise
13824|
13825| /* System header to define __stub macros and hopefully few prototypes,
13826|     which can conflict with char posix_fadvise (); below.
13827|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13828|     <limits.h> exists even on freestanding compilers.  */
13829|
13830| #ifdef __STDC__
13831| # include <limits.h>
13832| #else
13833| # include <assert.h>
13834| #endif
13835|
13836| #undef posix_fadvise
13837|
13838| /* Override any GCC internal prototype to avoid an error.
13839|    Use char because int might match the return type of a GCC
13840|    builtin and then its argument prototype would still apply.  */
13841| #ifdef __cplusplus
13842| extern "C"
13843| #endif
13844| char posix_fadvise ();
13845| /* The GNU C library defines this for functions which it implements
13846|     to always fail with ENOSYS.  Some functions are actually named
13847|     something starting with __ and the normal name is an alias.  */
13848| #if defined __stub_posix_fadvise || defined __stub___posix_fadvise
13849| choke me
13850| #endif
13851|
13852| int
13853| main ()
13854| {
13855| return posix_fadvise ();
13856|   ;
13857|   return 0;
13858| }
13859configure:14443: result: no
13860configure:14443: checking for setitimer
13861configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
13862configure:14443: $? = 0
13863configure:14443: result: yes
13864configure:14443: checking for setruid
13865configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
13866configure:14443: $? = 0
13867configure:14443: result: yes
13868configure:14443: checking for seteuid
13869configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
13870configure:14443: $? = 0
13871configure:14443: result: yes
13872configure:14443: checking for setreuid
13873configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
13874configure:14443: $? = 0
13875configure:14443: result: yes
13876configure:14443: checking for setresuid
13877configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
13878Undefined symbols for architecture x86_64:
13879  "_setresuid", referenced from:
13880      _main in conftest-9yIDHM.o
13881ld: symbol(s) not found for architecture x86_64
13882clang: error: linker command failed with exit code 1 (use -v to see invocation)
13883configure:14443: $? = 1
13884configure: failed program was:
13885| /* confdefs.h */
13886| #define PACKAGE_NAME ""
13887| #define PACKAGE_TARNAME ""
13888| #define PACKAGE_VERSION ""
13889| #define PACKAGE_STRING ""
13890| #define PACKAGE_BUGREPORT ""
13891| #define PACKAGE_URL ""
13892| #define CANONICALIZATION_FOR_MATHN 1
13893| #define STDC_HEADERS 1
13894| #define HAVE_SYS_TYPES_H 1
13895| #define HAVE_SYS_STAT_H 1
13896| #define HAVE_STDLIB_H 1
13897| #define HAVE_STRING_H 1
13898| #define HAVE_MEMORY_H 1
13899| #define HAVE_STRINGS_H 1
13900| #define HAVE_INTTYPES_H 1
13901| #define HAVE_STDINT_H 1
13902| #define HAVE_UNISTD_H 1
13903| #define __EXTENSIONS__ 1
13904| #define _ALL_SOURCE 1
13905| #define _GNU_SOURCE 1
13906| #define _POSIX_PTHREAD_SEMANTICS 1
13907| #define _TANDEM_SOURCE 1
13908| #define HAVE_LONG_LONG 1
13909| #define HAVE_OFF_T 1
13910| #define SIZEOF_INT 4
13911| #define SIZEOF_SHORT 2
13912| #define SIZEOF_LONG 8
13913| #define SIZEOF_LONG_LONG 8
13914| #define SIZEOF___INT64 0
13915| #define SIZEOF_OFF_T 8
13916| #define SIZEOF_VOIDP 8
13917| #define SIZEOF_FLOAT 4
13918| #define SIZEOF_DOUBLE 8
13919| #define SIZEOF_TIME_T 8
13920| #define PRI_LL_PREFIX "ll"
13921| #define rb_pid_t pid_t
13922| #define PIDT2NUM(v) INT2NUM(v)
13923| #define NUM2PIDT(v) NUM2INT(v)
13924| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
13925| #define rb_uid_t uid_t
13926| #define UIDT2NUM(v) UINT2NUM(v)
13927| #define NUM2UIDT(v) NUM2UINT(v)
13928| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
13929| #define rb_gid_t gid_t
13930| #define GIDT2NUM(v) UINT2NUM(v)
13931| #define NUM2GIDT(v) NUM2UINT(v)
13932| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
13933| #define rb_time_t time_t
13934| #define TIMET2NUM(v) LONG2NUM(v)
13935| #define NUM2TIMET(v) NUM2LONG(v)
13936| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
13937| #define rb_dev_t dev_t
13938| #define DEVT2NUM(v) INT2NUM(v)
13939| #define NUM2DEVT(v) NUM2INT(v)
13940| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
13941| #define rb_mode_t mode_t
13942| #define MODET2NUM(v) UINT2NUM(v)
13943| #define NUM2MODET(v) NUM2UINT(v)
13944| #define PRI_MODET_PREFIX PRI_INT_PREFIX
13945| #define rb_rlim_t rlim_t
13946| #define RLIM2NUM(v) ULL2NUM(v)
13947| #define NUM2RLIM(v) NUM2ULL(v)
13948| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
13949| #define HAVE_PROTOTYPES 1
13950| #define TOKEN_PASTE(x,y) x##y
13951| #define STRINGIZE(expr) STRINGIZE0(expr)
13952| #define HAVE_STDARG_PROTOTYPES 1
13953| #define HAVE_VA_ARGS_MACRO 1
13954| #define NORETURN(x) __attribute__ ((noreturn)) x
13955| #define DEPRECATED(x) __attribute__ ((deprecated)) x
13956| #define NOINLINE(x) __attribute__ ((noinline)) x
13957| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
13958| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
13959| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
13960| #define HAVE_GCC_ATOMIC_BUILTINS 1
13961| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
13962| #define HAVE_DECL_SYS_NERR 1
13963| #define HAVE_LIBDL 1
13964| #define HAVE_DIRENT_H 1
13965| #define HAVE__BOOL 1
13966| #define HAVE_STDBOOL_H 1
13967| #define HAVE_SYS_WAIT_H 1
13968| #define HAVE_LIMITS_H 1
13969| #define HAVE_SYS_FILE_H 1
13970| #define HAVE_SYS_IOCTL_H 1
13971| #define HAVE_SYS_SYSCALL_H 1
13972| #define HAVE_FCNTL_H 1
13973| #define HAVE_SYS_FCNTL_H 1
13974| #define HAVE_SYS_SELECT_H 1
13975| #define HAVE_SYS_TIME_H 1
13976| #define HAVE_SYS_TIMES_H 1
13977| #define HAVE_SYS_PARAM_H 1
13978| #define HAVE_PWD_H 1
13979| #define HAVE_GRP_H 1
13980| #define HAVE_UTIME_H 1
13981| #define HAVE_SYS_RESOURCE_H 1
13982| #define HAVE_NETINET_IN_SYSTM_H 1
13983| #define HAVE_FLOAT_H 1
13984| #define HAVE_LANGINFO_H 1
13985| #define HAVE_LOCALE_H 1
13986| #define HAVE_TIME_H 1
13987| #define HAVE_SYS_SOCKET_H 1
13988| #define SIZEOF_SIZE_T 8
13989| #define SIZEOF_PTRDIFF_T 8
13990| #define PRI_SIZE_PREFIX "z"
13991| #define PRI_PTRDIFF_PREFIX "t"
13992| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
13993| #define HAVE_ST_BLKSIZE 1
13994| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
13995| #define HAVE_ST_BLOCKS 1
13996| #define HAVE_STRUCT_STAT_ST_RDEV 1
13997| #define HAVE_ST_RDEV 1
13998| #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
13999| #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
14000| #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
14001| #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
14002| #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
14003| #define HAVE_STRUCT_TIMESPEC 1
14004| #define HAVE_STRUCT_TIMEZONE 1
14005| #define HAVE_RB_FD_INIT 1
14006| #define HAVE_INT8_T 1
14007| #define SIZEOF_INT8_T 1
14008| #define HAVE_UINT8_T 1
14009| #define SIZEOF_UINT8_T 1
14010| #define HAVE_INT16_T 1
14011| #define SIZEOF_INT16_T 2
14012| #define HAVE_UINT16_T 1
14013| #define SIZEOF_UINT16_T 2
14014| #define HAVE_INT32_T 1
14015| #define SIZEOF_INT32_T 4
14016| #define HAVE_UINT32_T 1
14017| #define SIZEOF_UINT32_T 4
14018| #define HAVE_INT64_T 1
14019| #define SIZEOF_INT64_T 8
14020| #define HAVE_UINT64_T 1
14021| #define SIZEOF_UINT64_T 8
14022| #define HAVE_INTPTR_T 1
14023| #define SIZEOF_INTPTR_T 8
14024| #define HAVE_UINTPTR_T 1
14025| #define SIZEOF_UINTPTR_T 8
14026| #define HAVE_SSIZE_T 1
14027| #define SIZEOF_SSIZE_T 8
14028| #define GC_MARK_STACKFRAME_WORD 16
14029| #define GETGROUPS_T gid_t
14030| #define RETSIGTYPE void
14031| #define HAVE_ALLOCA_H 1
14032| #define HAVE_ALLOCA 1
14033| #define HAVE_DUP2 1
14034| #define HAVE_MEMMOVE 1
14035| #define HAVE_STRERROR 1
14036| #define HAVE_STRCHR 1
14037| #define HAVE_STRSTR 1
14038| #define HAVE_CRYPT 1
14039| #define HAVE_FLOCK 1
14040| #define HAVE_ISNAN 1
14041| #define HAVE_FINITE 1
14042| #define HAVE_ISINF 1
14043| #define HAVE_HYPOT 1
14044| #define HAVE_ACOSH 1
14045| #define HAVE_ERF 1
14046| #define HAVE_TGAMMA 1
14047| #define HAVE_LGAMMA_R 1
14048| #define HAVE_CBRT 1
14049| #define HAVE_STRLCPY 1
14050| #define HAVE_STRLCAT 1
14051| #define HAVE_FFS 1
14052| #define SPT_TYPE SPT_REUSEARGV
14053| #define HAVE_SIGNBIT 1
14054| #define HAVE_FMOD 1
14055| #define HAVE_KILLPG 1
14056| #define HAVE_WAIT4 1
14057| #define HAVE_WAITPID 1
14058| #define HAVE_FORK 1
14059| #define HAVE_SYSCALL 1
14060| #define HAVE___SYSCALL 1
14061| #define HAVE_CHROOT 1
14062| #define HAVE_GETCWD 1
14063| #define HAVE_TRUNCATE 1
14064| #define HAVE_FTRUNCATE 1
14065| #define HAVE_FTELLO 1
14066| #define HAVE_TIMES 1
14067| #define HAVE_UTIMES 1
14068| #define HAVE_FCNTL 1
14069| #define HAVE_LOCKF 1
14070| #define HAVE_LSTAT 1
14071| #define HAVE_FSEEKO 1
14072| #define HAVE_LINK 1
14073| #define HAVE_SYMLINK 1
14074| #define HAVE_READLINK 1
14075| #define HAVE_READDIR_R 1
14076| #define HAVE_FSYNC 1
14077| #define HAVE_FCHOWN 1
14078| #define HAVE_SETITIMER 1
14079| #define HAVE_SETRUID 1
14080| #define HAVE_SETEUID 1
14081| #define HAVE_SETREUID 1
14082| /* end confdefs.h.  */
14083| /* Define setresuid to an innocuous variant, in case <limits.h> declares setresuid.
14084|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14085| #define setresuid innocuous_setresuid
14086|
14087| /* System header to define __stub macros and hopefully few prototypes,
14088|     which can conflict with char setresuid (); below.
14089|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14090|     <limits.h> exists even on freestanding compilers.  */
14091|
14092| #ifdef __STDC__
14093| # include <limits.h>
14094| #else
14095| # include <assert.h>
14096| #endif
14097|
14098| #undef setresuid
14099|
14100| /* Override any GCC internal prototype to avoid an error.
14101|    Use char because int might match the return type of a GCC
14102|    builtin and then its argument prototype would still apply.  */
14103| #ifdef __cplusplus
14104| extern "C"
14105| #endif
14106| char setresuid ();
14107| /* The GNU C library defines this for functions which it implements
14108|     to always fail with ENOSYS.  Some functions are actually named
14109|     something starting with __ and the normal name is an alias.  */
14110| #if defined __stub_setresuid || defined __stub___setresuid
14111| choke me
14112| #endif
14113|
14114| int
14115| main ()
14116| {
14117| return setresuid ();
14118|   ;
14119|   return 0;
14120| }
14121configure:14443: result: no
14122configure:14443: checking for socketpair
14123configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
14124configure:14443: $? = 0
14125configure:14443: result: yes
14126configure:14443: checking for setrgid
14127configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
14128configure:14443: $? = 0
14129configure:14443: result: yes
14130configure:14443: checking for setegid
14131configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
14132configure:14443: $? = 0
14133configure:14443: result: yes
14134configure:14443: checking for setregid
14135configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
14136configure:14443: $? = 0
14137configure:14443: result: yes
14138configure:14443: checking for setresgid
14139configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
14140Undefined symbols for architecture x86_64:
14141  "_setresgid", referenced from:
14142      _main in conftest-Yre9wF.o
14143ld: symbol(s) not found for architecture x86_64
14144clang: error: linker command failed with exit code 1 (use -v to see invocation)
14145configure:14443: $? = 1
14146configure: failed program was:
14147| /* confdefs.h */
14148| #define PACKAGE_NAME ""
14149| #define PACKAGE_TARNAME ""
14150| #define PACKAGE_VERSION ""
14151| #define PACKAGE_STRING ""
14152| #define PACKAGE_BUGREPORT ""
14153| #define PACKAGE_URL ""
14154| #define CANONICALIZATION_FOR_MATHN 1
14155| #define STDC_HEADERS 1
14156| #define HAVE_SYS_TYPES_H 1
14157| #define HAVE_SYS_STAT_H 1
14158| #define HAVE_STDLIB_H 1
14159| #define HAVE_STRING_H 1
14160| #define HAVE_MEMORY_H 1
14161| #define HAVE_STRINGS_H 1
14162| #define HAVE_INTTYPES_H 1
14163| #define HAVE_STDINT_H 1
14164| #define HAVE_UNISTD_H 1
14165| #define __EXTENSIONS__ 1
14166| #define _ALL_SOURCE 1
14167| #define _GNU_SOURCE 1
14168| #define _POSIX_PTHREAD_SEMANTICS 1
14169| #define _TANDEM_SOURCE 1
14170| #define HAVE_LONG_LONG 1
14171| #define HAVE_OFF_T 1
14172| #define SIZEOF_INT 4
14173| #define SIZEOF_SHORT 2
14174| #define SIZEOF_LONG 8
14175| #define SIZEOF_LONG_LONG 8
14176| #define SIZEOF___INT64 0
14177| #define SIZEOF_OFF_T 8
14178| #define SIZEOF_VOIDP 8
14179| #define SIZEOF_FLOAT 4
14180| #define SIZEOF_DOUBLE 8
14181| #define SIZEOF_TIME_T 8
14182| #define PRI_LL_PREFIX "ll"
14183| #define rb_pid_t pid_t
14184| #define PIDT2NUM(v) INT2NUM(v)
14185| #define NUM2PIDT(v) NUM2INT(v)
14186| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
14187| #define rb_uid_t uid_t
14188| #define UIDT2NUM(v) UINT2NUM(v)
14189| #define NUM2UIDT(v) NUM2UINT(v)
14190| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
14191| #define rb_gid_t gid_t
14192| #define GIDT2NUM(v) UINT2NUM(v)
14193| #define NUM2GIDT(v) NUM2UINT(v)
14194| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
14195| #define rb_time_t time_t
14196| #define TIMET2NUM(v) LONG2NUM(v)
14197| #define NUM2TIMET(v) NUM2LONG(v)
14198| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
14199| #define rb_dev_t dev_t
14200| #define DEVT2NUM(v) INT2NUM(v)
14201| #define NUM2DEVT(v) NUM2INT(v)
14202| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
14203| #define rb_mode_t mode_t
14204| #define MODET2NUM(v) UINT2NUM(v)
14205| #define NUM2MODET(v) NUM2UINT(v)
14206| #define PRI_MODET_PREFIX PRI_INT_PREFIX
14207| #define rb_rlim_t rlim_t
14208| #define RLIM2NUM(v) ULL2NUM(v)
14209| #define NUM2RLIM(v) NUM2ULL(v)
14210| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
14211| #define HAVE_PROTOTYPES 1
14212| #define TOKEN_PASTE(x,y) x##y
14213| #define STRINGIZE(expr) STRINGIZE0(expr)
14214| #define HAVE_STDARG_PROTOTYPES 1
14215| #define HAVE_VA_ARGS_MACRO 1
14216| #define NORETURN(x) __attribute__ ((noreturn)) x
14217| #define DEPRECATED(x) __attribute__ ((deprecated)) x
14218| #define NOINLINE(x) __attribute__ ((noinline)) x
14219| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
14220| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
14221| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
14222| #define HAVE_GCC_ATOMIC_BUILTINS 1
14223| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
14224| #define HAVE_DECL_SYS_NERR 1
14225| #define HAVE_LIBDL 1
14226| #define HAVE_DIRENT_H 1
14227| #define HAVE__BOOL 1
14228| #define HAVE_STDBOOL_H 1
14229| #define HAVE_SYS_WAIT_H 1
14230| #define HAVE_LIMITS_H 1
14231| #define HAVE_SYS_FILE_H 1
14232| #define HAVE_SYS_IOCTL_H 1
14233| #define HAVE_SYS_SYSCALL_H 1
14234| #define HAVE_FCNTL_H 1
14235| #define HAVE_SYS_FCNTL_H 1
14236| #define HAVE_SYS_SELECT_H 1
14237| #define HAVE_SYS_TIME_H 1
14238| #define HAVE_SYS_TIMES_H 1
14239| #define HAVE_SYS_PARAM_H 1
14240| #define HAVE_PWD_H 1
14241| #define HAVE_GRP_H 1
14242| #define HAVE_UTIME_H 1
14243| #define HAVE_SYS_RESOURCE_H 1
14244| #define HAVE_NETINET_IN_SYSTM_H 1
14245| #define HAVE_FLOAT_H 1
14246| #define HAVE_LANGINFO_H 1
14247| #define HAVE_LOCALE_H 1
14248| #define HAVE_TIME_H 1
14249| #define HAVE_SYS_SOCKET_H 1
14250| #define SIZEOF_SIZE_T 8
14251| #define SIZEOF_PTRDIFF_T 8
14252| #define PRI_SIZE_PREFIX "z"
14253| #define PRI_PTRDIFF_PREFIX "t"
14254| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
14255| #define HAVE_ST_BLKSIZE 1
14256| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
14257| #define HAVE_ST_BLOCKS 1
14258| #define HAVE_STRUCT_STAT_ST_RDEV 1
14259| #define HAVE_ST_RDEV 1
14260| #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
14261| #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
14262| #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
14263| #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
14264| #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
14265| #define HAVE_STRUCT_TIMESPEC 1
14266| #define HAVE_STRUCT_TIMEZONE 1
14267| #define HAVE_RB_FD_INIT 1
14268| #define HAVE_INT8_T 1
14269| #define SIZEOF_INT8_T 1
14270| #define HAVE_UINT8_T 1
14271| #define SIZEOF_UINT8_T 1
14272| #define HAVE_INT16_T 1
14273| #define SIZEOF_INT16_T 2
14274| #define HAVE_UINT16_T 1
14275| #define SIZEOF_UINT16_T 2
14276| #define HAVE_INT32_T 1
14277| #define SIZEOF_INT32_T 4
14278| #define HAVE_UINT32_T 1
14279| #define SIZEOF_UINT32_T 4
14280| #define HAVE_INT64_T 1
14281| #define SIZEOF_INT64_T 8
14282| #define HAVE_UINT64_T 1
14283| #define SIZEOF_UINT64_T 8
14284| #define HAVE_INTPTR_T 1
14285| #define SIZEOF_INTPTR_T 8
14286| #define HAVE_UINTPTR_T 1
14287| #define SIZEOF_UINTPTR_T 8
14288| #define HAVE_SSIZE_T 1
14289| #define SIZEOF_SSIZE_T 8
14290| #define GC_MARK_STACKFRAME_WORD 16
14291| #define GETGROUPS_T gid_t
14292| #define RETSIGTYPE void
14293| #define HAVE_ALLOCA_H 1
14294| #define HAVE_ALLOCA 1
14295| #define HAVE_DUP2 1
14296| #define HAVE_MEMMOVE 1
14297| #define HAVE_STRERROR 1
14298| #define HAVE_STRCHR 1
14299| #define HAVE_STRSTR 1
14300| #define HAVE_CRYPT 1
14301| #define HAVE_FLOCK 1
14302| #define HAVE_ISNAN 1
14303| #define HAVE_FINITE 1
14304| #define HAVE_ISINF 1
14305| #define HAVE_HYPOT 1
14306| #define HAVE_ACOSH 1
14307| #define HAVE_ERF 1
14308| #define HAVE_TGAMMA 1
14309| #define HAVE_LGAMMA_R 1
14310| #define HAVE_CBRT 1
14311| #define HAVE_STRLCPY 1
14312| #define HAVE_STRLCAT 1
14313| #define HAVE_FFS 1
14314| #define SPT_TYPE SPT_REUSEARGV
14315| #define HAVE_SIGNBIT 1
14316| #define HAVE_FMOD 1
14317| #define HAVE_KILLPG 1
14318| #define HAVE_WAIT4 1
14319| #define HAVE_WAITPID 1
14320| #define HAVE_FORK 1
14321| #define HAVE_SYSCALL 1
14322| #define HAVE___SYSCALL 1
14323| #define HAVE_CHROOT 1
14324| #define HAVE_GETCWD 1
14325| #define HAVE_TRUNCATE 1
14326| #define HAVE_FTRUNCATE 1
14327| #define HAVE_FTELLO 1
14328| #define HAVE_TIMES 1
14329| #define HAVE_UTIMES 1
14330| #define HAVE_FCNTL 1
14331| #define HAVE_LOCKF 1
14332| #define HAVE_LSTAT 1
14333| #define HAVE_FSEEKO 1
14334| #define HAVE_LINK 1
14335| #define HAVE_SYMLINK 1
14336| #define HAVE_READLINK 1
14337| #define HAVE_READDIR_R 1
14338| #define HAVE_FSYNC 1
14339| #define HAVE_FCHOWN 1
14340| #define HAVE_SETITIMER 1
14341| #define HAVE_SETRUID 1
14342| #define HAVE_SETEUID 1
14343| #define HAVE_SETREUID 1
14344| #define HAVE_SOCKETPAIR 1
14345| #define HAVE_SETRGID 1
14346| #define HAVE_SETEGID 1
14347| #define HAVE_SETREGID 1
14348| /* end confdefs.h.  */
14349| /* Define setresgid to an innocuous variant, in case <limits.h> declares setresgid.
14350|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14351| #define setresgid innocuous_setresgid
14352|
14353| /* System header to define __stub macros and hopefully few prototypes,
14354|     which can conflict with char setresgid (); below.
14355|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14356|     <limits.h> exists even on freestanding compilers.  */
14357|
14358| #ifdef __STDC__
14359| # include <limits.h>
14360| #else
14361| # include <assert.h>
14362| #endif
14363|
14364| #undef setresgid
14365|
14366| /* Override any GCC internal prototype to avoid an error.
14367|    Use char because int might match the return type of a GCC
14368|    builtin and then its argument prototype would still apply.  */
14369| #ifdef __cplusplus
14370| extern "C"
14371| #endif
14372| char setresgid ();
14373| /* The GNU C library defines this for functions which it implements
14374|     to always fail with ENOSYS.  Some functions are actually named
14375|     something starting with __ and the normal name is an alias.  */
14376| #if defined __stub_setresgid || defined __stub___setresgid
14377| choke me
14378| #endif
14379|
14380| int
14381| main ()
14382| {
14383| return setresgid ();
14384|   ;
14385|   return 0;
14386| }
14387configure:14443: result: no
14388configure:14443: checking for issetugid
14389configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
14390configure:14443: $? = 0
14391configure:14443: result: yes
14392configure:14443: checking for pause
14393configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
14394configure:14443: $? = 0
14395configure:14443: result: yes
14396configure:14443: checking for lchown
14397configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
14398configure:14443: $? = 0
14399configure:14443: result: yes
14400configure:14443: checking for lchmod
14401configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
14402configure:14443: $? = 0
14403configure:14443: result: yes
14404configure:14443: checking for getpgrp
14405configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
14406configure:14443: $? = 0
14407configure:14443: result: yes
14408configure:14443: checking for setpgrp
14409configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
14410configure:14443: $? = 0
14411configure:14443: result: yes
14412configure:14443: checking for getpgid
14413configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
14414configure:14443: $? = 0
14415configure:14443: result: yes
14416configure:14443: checking for setpgid
14417configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
14418configure:14443: $? = 0
14419configure:14443: result: yes
14420configure:14443: checking for initgroups
14421configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
14422configure:14443: $? = 0
14423configure:14443: result: yes
14424configure:14443: checking for getgroups
14425configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
14426configure:14443: $? = 0
14427configure:14443: result: yes
14428configure:14443: checking for setgroups
14429configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
14430configure:14443: $? = 0
14431configure:14443: result: yes
14432configure:14443: checking for getpriority
14433configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
14434configure:14443: $? = 0
14435configure:14443: result: yes
14436configure:14443: checking for getrlimit
14437configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
14438configure:14443: $? = 0
14439configure:14443: result: yes
14440configure:14443: checking for setrlimit
14441configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
14442configure:14443: $? = 0
14443configure:14443: result: yes
14444configure:14443: checking for sysconf
14445configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
14446configure:14443: $? = 0
14447configure:14443: result: yes
14448configure:14443: checking for close
14449configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
14450configure:14443: $? = 0
14451configure:14443: result: yes
14452configure:14443: checking for getgrnam_r
14453configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
14454configure:14443: $? = 0
14455configure:14443: result: yes
14456configure:14443: checking for dlopen
14457configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
14458configure:14443: $? = 0
14459configure:14443: result: yes
14460configure:14443: checking for sigprocmask
14461configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
14462configure:14443: $? = 0
14463configure:14443: result: yes
14464configure:14443: checking for sigaction
14465configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
14466configure:14443: $? = 0
14467configure:14443: result: yes
14468configure:14443: checking for sigsetjmp
14469configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
14470conftest.c:246:6: warning: declaration of built-in function 'sigsetjmp' requires inclusion of the header <setjmp.h>
14471char sigsetjmp ();
14472     ^
144731 warning generated.
14474configure:14443: $? = 0
14475configure:14443: result: yes
14476configure:14443: checking for _setjmp
14477configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
14478conftest.c:247:6: warning: declaration of built-in function '_setjmp' requires inclusion of the header <setjmp.h>
14479char _setjmp ();
14480     ^
144811 warning generated.
14482configure:14443: $? = 0
14483configure:14443: result: yes
14484configure:14443: checking for _longjmp
14485configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
14486conftest.c:248:6: warning: declaration of built-in function '_longjmp' requires inclusion of the header <setjmp.h>
14487char _longjmp ();
14488     ^
144891 warning generated.
14490configure:14443: $? = 0
14491configure:14443: result: yes
14492configure:14443: checking for setsid
14493configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
14494configure:14443: $? = 0
14495configure:14443: result: yes
14496configure:14443: checking for telldir
14497configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
14498configure:14443: $? = 0
14499configure:14443: result: yes
14500configure:14443: checking for seekdir
14501configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
14502configure:14443: $? = 0
14503configure:14443: result: yes
14504configure:14443: checking for fchmod
14505configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
14506configure:14443: $? = 0
14507configure:14443: result: yes
14508configure:14443: checking for cosh
14509configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
14510configure:14443: $? = 0
14511configure:14443: result: yes
14512configure:14443: checking for sinh
14513configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
14514configure:14443: $? = 0
14515configure:14443: result: yes
14516configure:14443: checking for tanh
14517configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
14518configure:14443: $? = 0
14519configure:14443: result: yes
14520configure:14443: checking for log2
14521configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
14522configure:14443: $? = 0
14523configure:14443: result: yes
14524configure:14443: checking for round
14525configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
14526configure:14443: $? = 0
14527configure:14443: result: yes
14528configure:14443: checking for setuid
14529configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
14530configure:14443: $? = 0
14531configure:14443: result: yes
14532configure:14443: checking for setgid
14533configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
14534configure:14443: $? = 0
14535configure:14443: result: yes
14536configure:14443: checking for daemon
14537configure:14443: result: no
14538configure:14443: checking for select_large_fdset
14539configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
14540Undefined symbols for architecture x86_64:
14541  "_select_large_fdset", referenced from:
14542      _main in conftest-mwdWUb.o
14543ld: symbol(s) not found for architecture x86_64
14544clang: error: linker command failed with exit code 1 (use -v to see invocation)
14545configure:14443: $? = 1
14546configure: failed program was:
14547| /* confdefs.h */
14548| #define PACKAGE_NAME ""
14549| #define PACKAGE_TARNAME ""
14550| #define PACKAGE_VERSION ""
14551| #define PACKAGE_STRING ""
14552| #define PACKAGE_BUGREPORT ""
14553| #define PACKAGE_URL ""
14554| #define CANONICALIZATION_FOR_MATHN 1
14555| #define STDC_HEADERS 1
14556| #define HAVE_SYS_TYPES_H 1
14557| #define HAVE_SYS_STAT_H 1
14558| #define HAVE_STDLIB_H 1
14559| #define HAVE_STRING_H 1
14560| #define HAVE_MEMORY_H 1
14561| #define HAVE_STRINGS_H 1
14562| #define HAVE_INTTYPES_H 1
14563| #define HAVE_STDINT_H 1
14564| #define HAVE_UNISTD_H 1
14565| #define __EXTENSIONS__ 1
14566| #define _ALL_SOURCE 1
14567| #define _GNU_SOURCE 1
14568| #define _POSIX_PTHREAD_SEMANTICS 1
14569| #define _TANDEM_SOURCE 1
14570| #define HAVE_LONG_LONG 1
14571| #define HAVE_OFF_T 1
14572| #define SIZEOF_INT 4
14573| #define SIZEOF_SHORT 2
14574| #define SIZEOF_LONG 8
14575| #define SIZEOF_LONG_LONG 8
14576| #define SIZEOF___INT64 0
14577| #define SIZEOF_OFF_T 8
14578| #define SIZEOF_VOIDP 8
14579| #define SIZEOF_FLOAT 4
14580| #define SIZEOF_DOUBLE 8
14581| #define SIZEOF_TIME_T 8
14582| #define PRI_LL_PREFIX "ll"
14583| #define rb_pid_t pid_t
14584| #define PIDT2NUM(v) INT2NUM(v)
14585| #define NUM2PIDT(v) NUM2INT(v)
14586| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
14587| #define rb_uid_t uid_t
14588| #define UIDT2NUM(v) UINT2NUM(v)
14589| #define NUM2UIDT(v) NUM2UINT(v)
14590| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
14591| #define rb_gid_t gid_t
14592| #define GIDT2NUM(v) UINT2NUM(v)
14593| #define NUM2GIDT(v) NUM2UINT(v)
14594| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
14595| #define rb_time_t time_t
14596| #define TIMET2NUM(v) LONG2NUM(v)
14597| #define NUM2TIMET(v) NUM2LONG(v)
14598| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
14599| #define rb_dev_t dev_t
14600| #define DEVT2NUM(v) INT2NUM(v)
14601| #define NUM2DEVT(v) NUM2INT(v)
14602| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
14603| #define rb_mode_t mode_t
14604| #define MODET2NUM(v) UINT2NUM(v)
14605| #define NUM2MODET(v) NUM2UINT(v)
14606| #define PRI_MODET_PREFIX PRI_INT_PREFIX
14607| #define rb_rlim_t rlim_t
14608| #define RLIM2NUM(v) ULL2NUM(v)
14609| #define NUM2RLIM(v) NUM2ULL(v)
14610| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
14611| #define HAVE_PROTOTYPES 1
14612| #define TOKEN_PASTE(x,y) x##y
14613| #define STRINGIZE(expr) STRINGIZE0(expr)
14614| #define HAVE_STDARG_PROTOTYPES 1
14615| #define HAVE_VA_ARGS_MACRO 1
14616| #define NORETURN(x) __attribute__ ((noreturn)) x
14617| #define DEPRECATED(x) __attribute__ ((deprecated)) x
14618| #define NOINLINE(x) __attribute__ ((noinline)) x
14619| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
14620| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
14621| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
14622| #define HAVE_GCC_ATOMIC_BUILTINS 1
14623| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
14624| #define HAVE_DECL_SYS_NERR 1
14625| #define HAVE_LIBDL 1
14626| #define HAVE_DIRENT_H 1
14627| #define HAVE__BOOL 1
14628| #define HAVE_STDBOOL_H 1
14629| #define HAVE_SYS_WAIT_H 1
14630| #define HAVE_LIMITS_H 1
14631| #define HAVE_SYS_FILE_H 1
14632| #define HAVE_SYS_IOCTL_H 1
14633| #define HAVE_SYS_SYSCALL_H 1
14634| #define HAVE_FCNTL_H 1
14635| #define HAVE_SYS_FCNTL_H 1
14636| #define HAVE_SYS_SELECT_H 1
14637| #define HAVE_SYS_TIME_H 1
14638| #define HAVE_SYS_TIMES_H 1
14639| #define HAVE_SYS_PARAM_H 1
14640| #define HAVE_PWD_H 1
14641| #define HAVE_GRP_H 1
14642| #define HAVE_UTIME_H 1
14643| #define HAVE_SYS_RESOURCE_H 1
14644| #define HAVE_NETINET_IN_SYSTM_H 1
14645| #define HAVE_FLOAT_H 1
14646| #define HAVE_LANGINFO_H 1
14647| #define HAVE_LOCALE_H 1
14648| #define HAVE_TIME_H 1
14649| #define HAVE_SYS_SOCKET_H 1
14650| #define SIZEOF_SIZE_T 8
14651| #define SIZEOF_PTRDIFF_T 8
14652| #define PRI_SIZE_PREFIX "z"
14653| #define PRI_PTRDIFF_PREFIX "t"
14654| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
14655| #define HAVE_ST_BLKSIZE 1
14656| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
14657| #define HAVE_ST_BLOCKS 1
14658| #define HAVE_STRUCT_STAT_ST_RDEV 1
14659| #define HAVE_ST_RDEV 1
14660| #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
14661| #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
14662| #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
14663| #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
14664| #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
14665| #define HAVE_STRUCT_TIMESPEC 1
14666| #define HAVE_STRUCT_TIMEZONE 1
14667| #define HAVE_RB_FD_INIT 1
14668| #define HAVE_INT8_T 1
14669| #define SIZEOF_INT8_T 1
14670| #define HAVE_UINT8_T 1
14671| #define SIZEOF_UINT8_T 1
14672| #define HAVE_INT16_T 1
14673| #define SIZEOF_INT16_T 2
14674| #define HAVE_UINT16_T 1
14675| #define SIZEOF_UINT16_T 2
14676| #define HAVE_INT32_T 1
14677| #define SIZEOF_INT32_T 4
14678| #define HAVE_UINT32_T 1
14679| #define SIZEOF_UINT32_T 4
14680| #define HAVE_INT64_T 1
14681| #define SIZEOF_INT64_T 8
14682| #define HAVE_UINT64_T 1
14683| #define SIZEOF_UINT64_T 8
14684| #define HAVE_INTPTR_T 1
14685| #define SIZEOF_INTPTR_T 8
14686| #define HAVE_UINTPTR_T 1
14687| #define SIZEOF_UINTPTR_T 8
14688| #define HAVE_SSIZE_T 1
14689| #define SIZEOF_SSIZE_T 8
14690| #define GC_MARK_STACKFRAME_WORD 16
14691| #define GETGROUPS_T gid_t
14692| #define RETSIGTYPE void
14693| #define HAVE_ALLOCA_H 1
14694| #define HAVE_ALLOCA 1
14695| #define HAVE_DUP2 1
14696| #define HAVE_MEMMOVE 1
14697| #define HAVE_STRERROR 1
14698| #define HAVE_STRCHR 1
14699| #define HAVE_STRSTR 1
14700| #define HAVE_CRYPT 1
14701| #define HAVE_FLOCK 1
14702| #define HAVE_ISNAN 1
14703| #define HAVE_FINITE 1
14704| #define HAVE_ISINF 1
14705| #define HAVE_HYPOT 1
14706| #define HAVE_ACOSH 1
14707| #define HAVE_ERF 1
14708| #define HAVE_TGAMMA 1
14709| #define HAVE_LGAMMA_R 1
14710| #define HAVE_CBRT 1
14711| #define HAVE_STRLCPY 1
14712| #define HAVE_STRLCAT 1
14713| #define HAVE_FFS 1
14714| #define SPT_TYPE SPT_REUSEARGV
14715| #define HAVE_SIGNBIT 1
14716| #define HAVE_FMOD 1
14717| #define HAVE_KILLPG 1
14718| #define HAVE_WAIT4 1
14719| #define HAVE_WAITPID 1
14720| #define HAVE_FORK 1
14721| #define HAVE_SYSCALL 1
14722| #define HAVE___SYSCALL 1
14723| #define HAVE_CHROOT 1
14724| #define HAVE_GETCWD 1
14725| #define HAVE_TRUNCATE 1
14726| #define HAVE_FTRUNCATE 1
14727| #define HAVE_FTELLO 1
14728| #define HAVE_TIMES 1
14729| #define HAVE_UTIMES 1
14730| #define HAVE_FCNTL 1
14731| #define HAVE_LOCKF 1
14732| #define HAVE_LSTAT 1
14733| #define HAVE_FSEEKO 1
14734| #define HAVE_LINK 1
14735| #define HAVE_SYMLINK 1
14736| #define HAVE_READLINK 1
14737| #define HAVE_READDIR_R 1
14738| #define HAVE_FSYNC 1
14739| #define HAVE_FCHOWN 1
14740| #define HAVE_SETITIMER 1
14741| #define HAVE_SETRUID 1
14742| #define HAVE_SETEUID 1
14743| #define HAVE_SETREUID 1
14744| #define HAVE_SOCKETPAIR 1
14745| #define HAVE_SETRGID 1
14746| #define HAVE_SETEGID 1
14747| #define HAVE_SETREGID 1
14748| #define HAVE_ISSETUGID 1
14749| #define HAVE_PAUSE 1
14750| #define HAVE_LCHOWN 1
14751| #define HAVE_LCHMOD 1
14752| #define HAVE_GETPGRP 1
14753| #define HAVE_SETPGRP 1
14754| #define HAVE_GETPGID 1
14755| #define HAVE_SETPGID 1
14756| #define HAVE_INITGROUPS 1
14757| #define HAVE_GETGROUPS 1
14758| #define HAVE_SETGROUPS 1
14759| #define HAVE_GETPRIORITY 1
14760| #define HAVE_GETRLIMIT 1
14761| #define HAVE_SETRLIMIT 1
14762| #define HAVE_SYSCONF 1
14763| #define HAVE_CLOSE 1
14764| #define HAVE_GETGRNAM_R 1
14765| #define HAVE_DLOPEN 1
14766| #define HAVE_SIGPROCMASK 1
14767| #define HAVE_SIGACTION 1
14768| #define HAVE_SIGSETJMP 1
14769| #define HAVE__SETJMP 1
14770| #define HAVE__LONGJMP 1
14771| #define HAVE_SETSID 1
14772| #define HAVE_TELLDIR 1
14773| #define HAVE_SEEKDIR 1
14774| #define HAVE_FCHMOD 1
14775| #define HAVE_COSH 1
14776| #define HAVE_SINH 1
14777| #define HAVE_TANH 1
14778| #define HAVE_LOG2 1
14779| #define HAVE_ROUND 1
14780| #define HAVE_SETUID 1
14781| #define HAVE_SETGID 1
14782| /* end confdefs.h.  */
14783| /* Define select_large_fdset to an innocuous variant, in case <limits.h> declares select_large_fdset.
14784|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14785| #define select_large_fdset innocuous_select_large_fdset
14786|
14787| /* System header to define __stub macros and hopefully few prototypes,
14788|     which can conflict with char select_large_fdset (); below.
14789|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14790|     <limits.h> exists even on freestanding compilers.  */
14791|
14792| #ifdef __STDC__
14793| # include <limits.h>
14794| #else
14795| # include <assert.h>
14796| #endif
14797|
14798| #undef select_large_fdset
14799|
14800| /* Override any GCC internal prototype to avoid an error.
14801|    Use char because int might match the return type of a GCC
14802|    builtin and then its argument prototype would still apply.  */
14803| #ifdef __cplusplus
14804| extern "C"
14805| #endif
14806| char select_large_fdset ();
14807| /* The GNU C library defines this for functions which it implements
14808|     to always fail with ENOSYS.  Some functions are actually named
14809|     something starting with __ and the normal name is an alias.  */
14810| #if defined __stub_select_large_fdset || defined __stub___select_large_fdset
14811| choke me
14812| #endif
14813|
14814| int
14815| main ()
14816| {
14817| return select_large_fdset ();
14818|   ;
14819|   return 0;
14820| }
14821configure:14443: result: no
14822configure:14443: checking for setenv
14823configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
14824configure:14443: $? = 0
14825configure:14443: result: yes
14826configure:14443: checking for unsetenv
14827configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
14828configure:14443: $? = 0
14829configure:14443: result: yes
14830configure:14443: checking for mktime
14831configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
14832configure:14443: $? = 0
14833configure:14443: result: yes
14834configure:14443: checking for timegm
14835configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
14836configure:14443: $? = 0
14837configure:14443: result: yes
14838configure:14443: checking for gmtime_r
14839configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
14840configure:14443: $? = 0
14841configure:14443: result: yes
14842configure:14443: checking for clock_gettime
14843configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
14844Undefined symbols for architecture x86_64:
14845  "_clock_gettime", referenced from:
14846      _main in conftest-nca9SY.o
14847ld: symbol(s) not found for architecture x86_64
14848clang: error: linker command failed with exit code 1 (use -v to see invocation)
14849configure:14443: $? = 1
14850configure: failed program was:
14851| /* confdefs.h */
14852| #define PACKAGE_NAME ""
14853| #define PACKAGE_TARNAME ""
14854| #define PACKAGE_VERSION ""
14855| #define PACKAGE_STRING ""
14856| #define PACKAGE_BUGREPORT ""
14857| #define PACKAGE_URL ""
14858| #define CANONICALIZATION_FOR_MATHN 1
14859| #define STDC_HEADERS 1
14860| #define HAVE_SYS_TYPES_H 1
14861| #define HAVE_SYS_STAT_H 1
14862| #define HAVE_STDLIB_H 1
14863| #define HAVE_STRING_H 1
14864| #define HAVE_MEMORY_H 1
14865| #define HAVE_STRINGS_H 1
14866| #define HAVE_INTTYPES_H 1
14867| #define HAVE_STDINT_H 1
14868| #define HAVE_UNISTD_H 1
14869| #define __EXTENSIONS__ 1
14870| #define _ALL_SOURCE 1
14871| #define _GNU_SOURCE 1
14872| #define _POSIX_PTHREAD_SEMANTICS 1
14873| #define _TANDEM_SOURCE 1
14874| #define HAVE_LONG_LONG 1
14875| #define HAVE_OFF_T 1
14876| #define SIZEOF_INT 4
14877| #define SIZEOF_SHORT 2
14878| #define SIZEOF_LONG 8
14879| #define SIZEOF_LONG_LONG 8
14880| #define SIZEOF___INT64 0
14881| #define SIZEOF_OFF_T 8
14882| #define SIZEOF_VOIDP 8
14883| #define SIZEOF_FLOAT 4
14884| #define SIZEOF_DOUBLE 8
14885| #define SIZEOF_TIME_T 8
14886| #define PRI_LL_PREFIX "ll"
14887| #define rb_pid_t pid_t
14888| #define PIDT2NUM(v) INT2NUM(v)
14889| #define NUM2PIDT(v) NUM2INT(v)
14890| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
14891| #define rb_uid_t uid_t
14892| #define UIDT2NUM(v) UINT2NUM(v)
14893| #define NUM2UIDT(v) NUM2UINT(v)
14894| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
14895| #define rb_gid_t gid_t
14896| #define GIDT2NUM(v) UINT2NUM(v)
14897| #define NUM2GIDT(v) NUM2UINT(v)
14898| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
14899| #define rb_time_t time_t
14900| #define TIMET2NUM(v) LONG2NUM(v)
14901| #define NUM2TIMET(v) NUM2LONG(v)
14902| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
14903| #define rb_dev_t dev_t
14904| #define DEVT2NUM(v) INT2NUM(v)
14905| #define NUM2DEVT(v) NUM2INT(v)
14906| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
14907| #define rb_mode_t mode_t
14908| #define MODET2NUM(v) UINT2NUM(v)
14909| #define NUM2MODET(v) NUM2UINT(v)
14910| #define PRI_MODET_PREFIX PRI_INT_PREFIX
14911| #define rb_rlim_t rlim_t
14912| #define RLIM2NUM(v) ULL2NUM(v)
14913| #define NUM2RLIM(v) NUM2ULL(v)
14914| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
14915| #define HAVE_PROTOTYPES 1
14916| #define TOKEN_PASTE(x,y) x##y
14917| #define STRINGIZE(expr) STRINGIZE0(expr)
14918| #define HAVE_STDARG_PROTOTYPES 1
14919| #define HAVE_VA_ARGS_MACRO 1
14920| #define NORETURN(x) __attribute__ ((noreturn)) x
14921| #define DEPRECATED(x) __attribute__ ((deprecated)) x
14922| #define NOINLINE(x) __attribute__ ((noinline)) x
14923| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
14924| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
14925| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
14926| #define HAVE_GCC_ATOMIC_BUILTINS 1
14927| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
14928| #define HAVE_DECL_SYS_NERR 1
14929| #define HAVE_LIBDL 1
14930| #define HAVE_DIRENT_H 1
14931| #define HAVE__BOOL 1
14932| #define HAVE_STDBOOL_H 1
14933| #define HAVE_SYS_WAIT_H 1
14934| #define HAVE_LIMITS_H 1
14935| #define HAVE_SYS_FILE_H 1
14936| #define HAVE_SYS_IOCTL_H 1
14937| #define HAVE_SYS_SYSCALL_H 1
14938| #define HAVE_FCNTL_H 1
14939| #define HAVE_SYS_FCNTL_H 1
14940| #define HAVE_SYS_SELECT_H 1
14941| #define HAVE_SYS_TIME_H 1
14942| #define HAVE_SYS_TIMES_H 1
14943| #define HAVE_SYS_PARAM_H 1
14944| #define HAVE_PWD_H 1
14945| #define HAVE_GRP_H 1
14946| #define HAVE_UTIME_H 1
14947| #define HAVE_SYS_RESOURCE_H 1
14948| #define HAVE_NETINET_IN_SYSTM_H 1
14949| #define HAVE_FLOAT_H 1
14950| #define HAVE_LANGINFO_H 1
14951| #define HAVE_LOCALE_H 1
14952| #define HAVE_TIME_H 1
14953| #define HAVE_SYS_SOCKET_H 1
14954| #define SIZEOF_SIZE_T 8
14955| #define SIZEOF_PTRDIFF_T 8
14956| #define PRI_SIZE_PREFIX "z"
14957| #define PRI_PTRDIFF_PREFIX "t"
14958| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
14959| #define HAVE_ST_BLKSIZE 1
14960| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
14961| #define HAVE_ST_BLOCKS 1
14962| #define HAVE_STRUCT_STAT_ST_RDEV 1
14963| #define HAVE_ST_RDEV 1
14964| #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
14965| #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
14966| #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
14967| #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
14968| #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
14969| #define HAVE_STRUCT_TIMESPEC 1
14970| #define HAVE_STRUCT_TIMEZONE 1
14971| #define HAVE_RB_FD_INIT 1
14972| #define HAVE_INT8_T 1
14973| #define SIZEOF_INT8_T 1
14974| #define HAVE_UINT8_T 1
14975| #define SIZEOF_UINT8_T 1
14976| #define HAVE_INT16_T 1
14977| #define SIZEOF_INT16_T 2
14978| #define HAVE_UINT16_T 1
14979| #define SIZEOF_UINT16_T 2
14980| #define HAVE_INT32_T 1
14981| #define SIZEOF_INT32_T 4
14982| #define HAVE_UINT32_T 1
14983| #define SIZEOF_UINT32_T 4
14984| #define HAVE_INT64_T 1
14985| #define SIZEOF_INT64_T 8
14986| #define HAVE_UINT64_T 1
14987| #define SIZEOF_UINT64_T 8
14988| #define HAVE_INTPTR_T 1
14989| #define SIZEOF_INTPTR_T 8
14990| #define HAVE_UINTPTR_T 1
14991| #define SIZEOF_UINTPTR_T 8
14992| #define HAVE_SSIZE_T 1
14993| #define SIZEOF_SSIZE_T 8
14994| #define GC_MARK_STACKFRAME_WORD 16
14995| #define GETGROUPS_T gid_t
14996| #define RETSIGTYPE void
14997| #define HAVE_ALLOCA_H 1
14998| #define HAVE_ALLOCA 1
14999| #define HAVE_DUP2 1
15000| #define HAVE_MEMMOVE 1
15001| #define HAVE_STRERROR 1
15002| #define HAVE_STRCHR 1
15003| #define HAVE_STRSTR 1
15004| #define HAVE_CRYPT 1
15005| #define HAVE_FLOCK 1
15006| #define HAVE_ISNAN 1
15007| #define HAVE_FINITE 1
15008| #define HAVE_ISINF 1
15009| #define HAVE_HYPOT 1
15010| #define HAVE_ACOSH 1
15011| #define HAVE_ERF 1
15012| #define HAVE_TGAMMA 1
15013| #define HAVE_LGAMMA_R 1
15014| #define HAVE_CBRT 1
15015| #define HAVE_STRLCPY 1
15016| #define HAVE_STRLCAT 1
15017| #define HAVE_FFS 1
15018| #define SPT_TYPE SPT_REUSEARGV
15019| #define HAVE_SIGNBIT 1
15020| #define HAVE_FMOD 1
15021| #define HAVE_KILLPG 1
15022| #define HAVE_WAIT4 1
15023| #define HAVE_WAITPID 1
15024| #define HAVE_FORK 1
15025| #define HAVE_SYSCALL 1
15026| #define HAVE___SYSCALL 1
15027| #define HAVE_CHROOT 1
15028| #define HAVE_GETCWD 1
15029| #define HAVE_TRUNCATE 1
15030| #define HAVE_FTRUNCATE 1
15031| #define HAVE_FTELLO 1
15032| #define HAVE_TIMES 1
15033| #define HAVE_UTIMES 1
15034| #define HAVE_FCNTL 1
15035| #define HAVE_LOCKF 1
15036| #define HAVE_LSTAT 1
15037| #define HAVE_FSEEKO 1
15038| #define HAVE_LINK 1
15039| #define HAVE_SYMLINK 1
15040| #define HAVE_READLINK 1
15041| #define HAVE_READDIR_R 1
15042| #define HAVE_FSYNC 1
15043| #define HAVE_FCHOWN 1
15044| #define HAVE_SETITIMER 1
15045| #define HAVE_SETRUID 1
15046| #define HAVE_SETEUID 1
15047| #define HAVE_SETREUID 1
15048| #define HAVE_SOCKETPAIR 1
15049| #define HAVE_SETRGID 1
15050| #define HAVE_SETEGID 1
15051| #define HAVE_SETREGID 1
15052| #define HAVE_ISSETUGID 1
15053| #define HAVE_PAUSE 1
15054| #define HAVE_LCHOWN 1
15055| #define HAVE_LCHMOD 1
15056| #define HAVE_GETPGRP 1
15057| #define HAVE_SETPGRP 1
15058| #define HAVE_GETPGID 1
15059| #define HAVE_SETPGID 1
15060| #define HAVE_INITGROUPS 1
15061| #define HAVE_GETGROUPS 1
15062| #define HAVE_SETGROUPS 1
15063| #define HAVE_GETPRIORITY 1
15064| #define HAVE_GETRLIMIT 1
15065| #define HAVE_SETRLIMIT 1
15066| #define HAVE_SYSCONF 1
15067| #define HAVE_CLOSE 1
15068| #define HAVE_GETGRNAM_R 1
15069| #define HAVE_DLOPEN 1
15070| #define HAVE_SIGPROCMASK 1
15071| #define HAVE_SIGACTION 1
15072| #define HAVE_SIGSETJMP 1
15073| #define HAVE__SETJMP 1
15074| #define HAVE__LONGJMP 1
15075| #define HAVE_SETSID 1
15076| #define HAVE_TELLDIR 1
15077| #define HAVE_SEEKDIR 1
15078| #define HAVE_FCHMOD 1
15079| #define HAVE_COSH 1
15080| #define HAVE_SINH 1
15081| #define HAVE_TANH 1
15082| #define HAVE_LOG2 1
15083| #define HAVE_ROUND 1
15084| #define HAVE_SETUID 1
15085| #define HAVE_SETGID 1
15086| #define HAVE_SETENV 1
15087| #define HAVE_UNSETENV 1
15088| #define HAVE_MKTIME 1
15089| #define HAVE_TIMEGM 1
15090| #define HAVE_GMTIME_R 1
15091| /* end confdefs.h.  */
15092| /* Define clock_gettime to an innocuous variant, in case <limits.h> declares clock_gettime.
15093|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15094| #define clock_gettime innocuous_clock_gettime
15095|
15096| /* System header to define __stub macros and hopefully few prototypes,
15097|     which can conflict with char clock_gettime (); below.
15098|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15099|     <limits.h> exists even on freestanding compilers.  */
15100|
15101| #ifdef __STDC__
15102| # include <limits.h>
15103| #else
15104| # include <assert.h>
15105| #endif
15106|
15107| #undef clock_gettime
15108|
15109| /* Override any GCC internal prototype to avoid an error.
15110|    Use char because int might match the return type of a GCC
15111|    builtin and then its argument prototype would still apply.  */
15112| #ifdef __cplusplus
15113| extern "C"
15114| #endif
15115| char clock_gettime ();
15116| /* The GNU C library defines this for functions which it implements
15117|     to always fail with ENOSYS.  Some functions are actually named
15118|     something starting with __ and the normal name is an alias.  */
15119| #if defined __stub_clock_gettime || defined __stub___clock_gettime
15120| choke me
15121| #endif
15122|
15123| int
15124| main ()
15125| {
15126| return clock_gettime ();
15127|   ;
15128|   return 0;
15129| }
15130configure:14443: result: no
15131configure:14443: checking for gettimeofday
15132configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
15133configure:14443: $? = 0
15134configure:14443: result: yes
15135configure:14443: checking for poll
15136configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
15137configure:14443: $? = 0
15138configure:14443: result: yes
15139configure:14443: checking for ppoll
15140configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
15141Undefined symbols for architecture x86_64:
15142  "_ppoll", referenced from:
15143      _main in conftest-NGckFM.o
15144ld: symbol(s) not found for architecture x86_64
15145clang: error: linker command failed with exit code 1 (use -v to see invocation)
15146configure:14443: $? = 1
15147configure: failed program was:
15148| /* confdefs.h */
15149| #define PACKAGE_NAME ""
15150| #define PACKAGE_TARNAME ""
15151| #define PACKAGE_VERSION ""
15152| #define PACKAGE_STRING ""
15153| #define PACKAGE_BUGREPORT ""
15154| #define PACKAGE_URL ""
15155| #define CANONICALIZATION_FOR_MATHN 1
15156| #define STDC_HEADERS 1
15157| #define HAVE_SYS_TYPES_H 1
15158| #define HAVE_SYS_STAT_H 1
15159| #define HAVE_STDLIB_H 1
15160| #define HAVE_STRING_H 1
15161| #define HAVE_MEMORY_H 1
15162| #define HAVE_STRINGS_H 1
15163| #define HAVE_INTTYPES_H 1
15164| #define HAVE_STDINT_H 1
15165| #define HAVE_UNISTD_H 1
15166| #define __EXTENSIONS__ 1
15167| #define _ALL_SOURCE 1
15168| #define _GNU_SOURCE 1
15169| #define _POSIX_PTHREAD_SEMANTICS 1
15170| #define _TANDEM_SOURCE 1
15171| #define HAVE_LONG_LONG 1
15172| #define HAVE_OFF_T 1
15173| #define SIZEOF_INT 4
15174| #define SIZEOF_SHORT 2
15175| #define SIZEOF_LONG 8
15176| #define SIZEOF_LONG_LONG 8
15177| #define SIZEOF___INT64 0
15178| #define SIZEOF_OFF_T 8
15179| #define SIZEOF_VOIDP 8
15180| #define SIZEOF_FLOAT 4
15181| #define SIZEOF_DOUBLE 8
15182| #define SIZEOF_TIME_T 8
15183| #define PRI_LL_PREFIX "ll"
15184| #define rb_pid_t pid_t
15185| #define PIDT2NUM(v) INT2NUM(v)
15186| #define NUM2PIDT(v) NUM2INT(v)
15187| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
15188| #define rb_uid_t uid_t
15189| #define UIDT2NUM(v) UINT2NUM(v)
15190| #define NUM2UIDT(v) NUM2UINT(v)
15191| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
15192| #define rb_gid_t gid_t
15193| #define GIDT2NUM(v) UINT2NUM(v)
15194| #define NUM2GIDT(v) NUM2UINT(v)
15195| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
15196| #define rb_time_t time_t
15197| #define TIMET2NUM(v) LONG2NUM(v)
15198| #define NUM2TIMET(v) NUM2LONG(v)
15199| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
15200| #define rb_dev_t dev_t
15201| #define DEVT2NUM(v) INT2NUM(v)
15202| #define NUM2DEVT(v) NUM2INT(v)
15203| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
15204| #define rb_mode_t mode_t
15205| #define MODET2NUM(v) UINT2NUM(v)
15206| #define NUM2MODET(v) NUM2UINT(v)
15207| #define PRI_MODET_PREFIX PRI_INT_PREFIX
15208| #define rb_rlim_t rlim_t
15209| #define RLIM2NUM(v) ULL2NUM(v)
15210| #define NUM2RLIM(v) NUM2ULL(v)
15211| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
15212| #define HAVE_PROTOTYPES 1
15213| #define TOKEN_PASTE(x,y) x##y
15214| #define STRINGIZE(expr) STRINGIZE0(expr)
15215| #define HAVE_STDARG_PROTOTYPES 1
15216| #define HAVE_VA_ARGS_MACRO 1
15217| #define NORETURN(x) __attribute__ ((noreturn)) x
15218| #define DEPRECATED(x) __attribute__ ((deprecated)) x
15219| #define NOINLINE(x) __attribute__ ((noinline)) x
15220| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
15221| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
15222| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
15223| #define HAVE_GCC_ATOMIC_BUILTINS 1
15224| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
15225| #define HAVE_DECL_SYS_NERR 1
15226| #define HAVE_LIBDL 1
15227| #define HAVE_DIRENT_H 1
15228| #define HAVE__BOOL 1
15229| #define HAVE_STDBOOL_H 1
15230| #define HAVE_SYS_WAIT_H 1
15231| #define HAVE_LIMITS_H 1
15232| #define HAVE_SYS_FILE_H 1
15233| #define HAVE_SYS_IOCTL_H 1
15234| #define HAVE_SYS_SYSCALL_H 1
15235| #define HAVE_FCNTL_H 1
15236| #define HAVE_SYS_FCNTL_H 1
15237| #define HAVE_SYS_SELECT_H 1
15238| #define HAVE_SYS_TIME_H 1
15239| #define HAVE_SYS_TIMES_H 1
15240| #define HAVE_SYS_PARAM_H 1
15241| #define HAVE_PWD_H 1
15242| #define HAVE_GRP_H 1
15243| #define HAVE_UTIME_H 1
15244| #define HAVE_SYS_RESOURCE_H 1
15245| #define HAVE_NETINET_IN_SYSTM_H 1
15246| #define HAVE_FLOAT_H 1
15247| #define HAVE_LANGINFO_H 1
15248| #define HAVE_LOCALE_H 1
15249| #define HAVE_TIME_H 1
15250| #define HAVE_SYS_SOCKET_H 1
15251| #define SIZEOF_SIZE_T 8
15252| #define SIZEOF_PTRDIFF_T 8
15253| #define PRI_SIZE_PREFIX "z"
15254| #define PRI_PTRDIFF_PREFIX "t"
15255| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
15256| #define HAVE_ST_BLKSIZE 1
15257| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15258| #define HAVE_ST_BLOCKS 1
15259| #define HAVE_STRUCT_STAT_ST_RDEV 1
15260| #define HAVE_ST_RDEV 1
15261| #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
15262| #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
15263| #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15264| #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15265| #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15266| #define HAVE_STRUCT_TIMESPEC 1
15267| #define HAVE_STRUCT_TIMEZONE 1
15268| #define HAVE_RB_FD_INIT 1
15269| #define HAVE_INT8_T 1
15270| #define SIZEOF_INT8_T 1
15271| #define HAVE_UINT8_T 1
15272| #define SIZEOF_UINT8_T 1
15273| #define HAVE_INT16_T 1
15274| #define SIZEOF_INT16_T 2
15275| #define HAVE_UINT16_T 1
15276| #define SIZEOF_UINT16_T 2
15277| #define HAVE_INT32_T 1
15278| #define SIZEOF_INT32_T 4
15279| #define HAVE_UINT32_T 1
15280| #define SIZEOF_UINT32_T 4
15281| #define HAVE_INT64_T 1
15282| #define SIZEOF_INT64_T 8
15283| #define HAVE_UINT64_T 1
15284| #define SIZEOF_UINT64_T 8
15285| #define HAVE_INTPTR_T 1
15286| #define SIZEOF_INTPTR_T 8
15287| #define HAVE_UINTPTR_T 1
15288| #define SIZEOF_UINTPTR_T 8
15289| #define HAVE_SSIZE_T 1
15290| #define SIZEOF_SSIZE_T 8
15291| #define GC_MARK_STACKFRAME_WORD 16
15292| #define GETGROUPS_T gid_t
15293| #define RETSIGTYPE void
15294| #define HAVE_ALLOCA_H 1
15295| #define HAVE_ALLOCA 1
15296| #define HAVE_DUP2 1
15297| #define HAVE_MEMMOVE 1
15298| #define HAVE_STRERROR 1
15299| #define HAVE_STRCHR 1
15300| #define HAVE_STRSTR 1
15301| #define HAVE_CRYPT 1
15302| #define HAVE_FLOCK 1
15303| #define HAVE_ISNAN 1
15304| #define HAVE_FINITE 1
15305| #define HAVE_ISINF 1
15306| #define HAVE_HYPOT 1
15307| #define HAVE_ACOSH 1
15308| #define HAVE_ERF 1
15309| #define HAVE_TGAMMA 1
15310| #define HAVE_LGAMMA_R 1
15311| #define HAVE_CBRT 1
15312| #define HAVE_STRLCPY 1
15313| #define HAVE_STRLCAT 1
15314| #define HAVE_FFS 1
15315| #define SPT_TYPE SPT_REUSEARGV
15316| #define HAVE_SIGNBIT 1
15317| #define HAVE_FMOD 1
15318| #define HAVE_KILLPG 1
15319| #define HAVE_WAIT4 1
15320| #define HAVE_WAITPID 1
15321| #define HAVE_FORK 1
15322| #define HAVE_SYSCALL 1
15323| #define HAVE___SYSCALL 1
15324| #define HAVE_CHROOT 1
15325| #define HAVE_GETCWD 1
15326| #define HAVE_TRUNCATE 1
15327| #define HAVE_FTRUNCATE 1
15328| #define HAVE_FTELLO 1
15329| #define HAVE_TIMES 1
15330| #define HAVE_UTIMES 1
15331| #define HAVE_FCNTL 1
15332| #define HAVE_LOCKF 1
15333| #define HAVE_LSTAT 1
15334| #define HAVE_FSEEKO 1
15335| #define HAVE_LINK 1
15336| #define HAVE_SYMLINK 1
15337| #define HAVE_READLINK 1
15338| #define HAVE_READDIR_R 1
15339| #define HAVE_FSYNC 1
15340| #define HAVE_FCHOWN 1
15341| #define HAVE_SETITIMER 1
15342| #define HAVE_SETRUID 1
15343| #define HAVE_SETEUID 1
15344| #define HAVE_SETREUID 1
15345| #define HAVE_SOCKETPAIR 1
15346| #define HAVE_SETRGID 1
15347| #define HAVE_SETEGID 1
15348| #define HAVE_SETREGID 1
15349| #define HAVE_ISSETUGID 1
15350| #define HAVE_PAUSE 1
15351| #define HAVE_LCHOWN 1
15352| #define HAVE_LCHMOD 1
15353| #define HAVE_GETPGRP 1
15354| #define HAVE_SETPGRP 1
15355| #define HAVE_GETPGID 1
15356| #define HAVE_SETPGID 1
15357| #define HAVE_INITGROUPS 1
15358| #define HAVE_GETGROUPS 1
15359| #define HAVE_SETGROUPS 1
15360| #define HAVE_GETPRIORITY 1
15361| #define HAVE_GETRLIMIT 1
15362| #define HAVE_SETRLIMIT 1
15363| #define HAVE_SYSCONF 1
15364| #define HAVE_CLOSE 1
15365| #define HAVE_GETGRNAM_R 1
15366| #define HAVE_DLOPEN 1
15367| #define HAVE_SIGPROCMASK 1
15368| #define HAVE_SIGACTION 1
15369| #define HAVE_SIGSETJMP 1
15370| #define HAVE__SETJMP 1
15371| #define HAVE__LONGJMP 1
15372| #define HAVE_SETSID 1
15373| #define HAVE_TELLDIR 1
15374| #define HAVE_SEEKDIR 1
15375| #define HAVE_FCHMOD 1
15376| #define HAVE_COSH 1
15377| #define HAVE_SINH 1
15378| #define HAVE_TANH 1
15379| #define HAVE_LOG2 1
15380| #define HAVE_ROUND 1
15381| #define HAVE_SETUID 1
15382| #define HAVE_SETGID 1
15383| #define HAVE_SETENV 1
15384| #define HAVE_UNSETENV 1
15385| #define HAVE_MKTIME 1
15386| #define HAVE_TIMEGM 1
15387| #define HAVE_GMTIME_R 1
15388| #define HAVE_GETTIMEOFDAY 1
15389| #define HAVE_POLL 1
15390| /* end confdefs.h.  */
15391| /* Define ppoll to an innocuous variant, in case <limits.h> declares ppoll.
15392|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15393| #define ppoll innocuous_ppoll
15394|
15395| /* System header to define __stub macros and hopefully few prototypes,
15396|     which can conflict with char ppoll (); below.
15397|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15398|     <limits.h> exists even on freestanding compilers.  */
15399|
15400| #ifdef __STDC__
15401| # include <limits.h>
15402| #else
15403| # include <assert.h>
15404| #endif
15405|
15406| #undef ppoll
15407|
15408| /* Override any GCC internal prototype to avoid an error.
15409|    Use char because int might match the return type of a GCC
15410|    builtin and then its argument prototype would still apply.  */
15411| #ifdef __cplusplus
15412| extern "C"
15413| #endif
15414| char ppoll ();
15415| /* The GNU C library defines this for functions which it implements
15416|     to always fail with ENOSYS.  Some functions are actually named
15417|     something starting with __ and the normal name is an alias.  */
15418| #if defined __stub_ppoll || defined __stub___ppoll
15419| choke me
15420| #endif
15421|
15422| int
15423| main ()
15424| {
15425| return ppoll ();
15426|   ;
15427|   return 0;
15428| }
15429configure:14443: result: no
15430configure:14443: checking for pread
15431configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
15432configure:14443: $? = 0
15433configure:14443: result: yes
15434configure:14443: checking for sendfile
15435configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
15436configure:14443: $? = 0
15437configure:14443: result: yes
15438configure:14443: checking for shutdown
15439configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
15440configure:14443: $? = 0
15441configure:14443: result: yes
15442configure:14443: checking for sigaltstack
15443configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
15444configure:14443: $? = 0
15445configure:14443: result: yes
15446configure:14443: checking for dl_iterate_phdr
15447configure:14443: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
15448Undefined symbols for architecture x86_64:
15449  "_dl_iterate_phdr", referenced from:
15450      _main in conftest-8Gd6Bs.o
15451ld: symbol(s) not found for architecture x86_64
15452clang: error: linker command failed with exit code 1 (use -v to see invocation)
15453configure:14443: $? = 1
15454configure: failed program was:
15455| /* confdefs.h */
15456| #define PACKAGE_NAME ""
15457| #define PACKAGE_TARNAME ""
15458| #define PACKAGE_VERSION ""
15459| #define PACKAGE_STRING ""
15460| #define PACKAGE_BUGREPORT ""
15461| #define PACKAGE_URL ""
15462| #define CANONICALIZATION_FOR_MATHN 1
15463| #define STDC_HEADERS 1
15464| #define HAVE_SYS_TYPES_H 1
15465| #define HAVE_SYS_STAT_H 1
15466| #define HAVE_STDLIB_H 1
15467| #define HAVE_STRING_H 1
15468| #define HAVE_MEMORY_H 1
15469| #define HAVE_STRINGS_H 1
15470| #define HAVE_INTTYPES_H 1
15471| #define HAVE_STDINT_H 1
15472| #define HAVE_UNISTD_H 1
15473| #define __EXTENSIONS__ 1
15474| #define _ALL_SOURCE 1
15475| #define _GNU_SOURCE 1
15476| #define _POSIX_PTHREAD_SEMANTICS 1
15477| #define _TANDEM_SOURCE 1
15478| #define HAVE_LONG_LONG 1
15479| #define HAVE_OFF_T 1
15480| #define SIZEOF_INT 4
15481| #define SIZEOF_SHORT 2
15482| #define SIZEOF_LONG 8
15483| #define SIZEOF_LONG_LONG 8
15484| #define SIZEOF___INT64 0
15485| #define SIZEOF_OFF_T 8
15486| #define SIZEOF_VOIDP 8
15487| #define SIZEOF_FLOAT 4
15488| #define SIZEOF_DOUBLE 8
15489| #define SIZEOF_TIME_T 8
15490| #define PRI_LL_PREFIX "ll"
15491| #define rb_pid_t pid_t
15492| #define PIDT2NUM(v) INT2NUM(v)
15493| #define NUM2PIDT(v) NUM2INT(v)
15494| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
15495| #define rb_uid_t uid_t
15496| #define UIDT2NUM(v) UINT2NUM(v)
15497| #define NUM2UIDT(v) NUM2UINT(v)
15498| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
15499| #define rb_gid_t gid_t
15500| #define GIDT2NUM(v) UINT2NUM(v)
15501| #define NUM2GIDT(v) NUM2UINT(v)
15502| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
15503| #define rb_time_t time_t
15504| #define TIMET2NUM(v) LONG2NUM(v)
15505| #define NUM2TIMET(v) NUM2LONG(v)
15506| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
15507| #define rb_dev_t dev_t
15508| #define DEVT2NUM(v) INT2NUM(v)
15509| #define NUM2DEVT(v) NUM2INT(v)
15510| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
15511| #define rb_mode_t mode_t
15512| #define MODET2NUM(v) UINT2NUM(v)
15513| #define NUM2MODET(v) NUM2UINT(v)
15514| #define PRI_MODET_PREFIX PRI_INT_PREFIX
15515| #define rb_rlim_t rlim_t
15516| #define RLIM2NUM(v) ULL2NUM(v)
15517| #define NUM2RLIM(v) NUM2ULL(v)
15518| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
15519| #define HAVE_PROTOTYPES 1
15520| #define TOKEN_PASTE(x,y) x##y
15521| #define STRINGIZE(expr) STRINGIZE0(expr)
15522| #define HAVE_STDARG_PROTOTYPES 1
15523| #define HAVE_VA_ARGS_MACRO 1
15524| #define NORETURN(x) __attribute__ ((noreturn)) x
15525| #define DEPRECATED(x) __attribute__ ((deprecated)) x
15526| #define NOINLINE(x) __attribute__ ((noinline)) x
15527| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
15528| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
15529| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
15530| #define HAVE_GCC_ATOMIC_BUILTINS 1
15531| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
15532| #define HAVE_DECL_SYS_NERR 1
15533| #define HAVE_LIBDL 1
15534| #define HAVE_DIRENT_H 1
15535| #define HAVE__BOOL 1
15536| #define HAVE_STDBOOL_H 1
15537| #define HAVE_SYS_WAIT_H 1
15538| #define HAVE_LIMITS_H 1
15539| #define HAVE_SYS_FILE_H 1
15540| #define HAVE_SYS_IOCTL_H 1
15541| #define HAVE_SYS_SYSCALL_H 1
15542| #define HAVE_FCNTL_H 1
15543| #define HAVE_SYS_FCNTL_H 1
15544| #define HAVE_SYS_SELECT_H 1
15545| #define HAVE_SYS_TIME_H 1
15546| #define HAVE_SYS_TIMES_H 1
15547| #define HAVE_SYS_PARAM_H 1
15548| #define HAVE_PWD_H 1
15549| #define HAVE_GRP_H 1
15550| #define HAVE_UTIME_H 1
15551| #define HAVE_SYS_RESOURCE_H 1
15552| #define HAVE_NETINET_IN_SYSTM_H 1
15553| #define HAVE_FLOAT_H 1
15554| #define HAVE_LANGINFO_H 1
15555| #define HAVE_LOCALE_H 1
15556| #define HAVE_TIME_H 1
15557| #define HAVE_SYS_SOCKET_H 1
15558| #define SIZEOF_SIZE_T 8
15559| #define SIZEOF_PTRDIFF_T 8
15560| #define PRI_SIZE_PREFIX "z"
15561| #define PRI_PTRDIFF_PREFIX "t"
15562| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
15563| #define HAVE_ST_BLKSIZE 1
15564| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15565| #define HAVE_ST_BLOCKS 1
15566| #define HAVE_STRUCT_STAT_ST_RDEV 1
15567| #define HAVE_ST_RDEV 1
15568| #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
15569| #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
15570| #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15571| #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15572| #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15573| #define HAVE_STRUCT_TIMESPEC 1
15574| #define HAVE_STRUCT_TIMEZONE 1
15575| #define HAVE_RB_FD_INIT 1
15576| #define HAVE_INT8_T 1
15577| #define SIZEOF_INT8_T 1
15578| #define HAVE_UINT8_T 1
15579| #define SIZEOF_UINT8_T 1
15580| #define HAVE_INT16_T 1
15581| #define SIZEOF_INT16_T 2
15582| #define HAVE_UINT16_T 1
15583| #define SIZEOF_UINT16_T 2
15584| #define HAVE_INT32_T 1
15585| #define SIZEOF_INT32_T 4
15586| #define HAVE_UINT32_T 1
15587| #define SIZEOF_UINT32_T 4
15588| #define HAVE_INT64_T 1
15589| #define SIZEOF_INT64_T 8
15590| #define HAVE_UINT64_T 1
15591| #define SIZEOF_UINT64_T 8
15592| #define HAVE_INTPTR_T 1
15593| #define SIZEOF_INTPTR_T 8
15594| #define HAVE_UINTPTR_T 1
15595| #define SIZEOF_UINTPTR_T 8
15596| #define HAVE_SSIZE_T 1
15597| #define SIZEOF_SSIZE_T 8
15598| #define GC_MARK_STACKFRAME_WORD 16
15599| #define GETGROUPS_T gid_t
15600| #define RETSIGTYPE void
15601| #define HAVE_ALLOCA_H 1
15602| #define HAVE_ALLOCA 1
15603| #define HAVE_DUP2 1
15604| #define HAVE_MEMMOVE 1
15605| #define HAVE_STRERROR 1
15606| #define HAVE_STRCHR 1
15607| #define HAVE_STRSTR 1
15608| #define HAVE_CRYPT 1
15609| #define HAVE_FLOCK 1
15610| #define HAVE_ISNAN 1
15611| #define HAVE_FINITE 1
15612| #define HAVE_ISINF 1
15613| #define HAVE_HYPOT 1
15614| #define HAVE_ACOSH 1
15615| #define HAVE_ERF 1
15616| #define HAVE_TGAMMA 1
15617| #define HAVE_LGAMMA_R 1
15618| #define HAVE_CBRT 1
15619| #define HAVE_STRLCPY 1
15620| #define HAVE_STRLCAT 1
15621| #define HAVE_FFS 1
15622| #define SPT_TYPE SPT_REUSEARGV
15623| #define HAVE_SIGNBIT 1
15624| #define HAVE_FMOD 1
15625| #define HAVE_KILLPG 1
15626| #define HAVE_WAIT4 1
15627| #define HAVE_WAITPID 1
15628| #define HAVE_FORK 1
15629| #define HAVE_SYSCALL 1
15630| #define HAVE___SYSCALL 1
15631| #define HAVE_CHROOT 1
15632| #define HAVE_GETCWD 1
15633| #define HAVE_TRUNCATE 1
15634| #define HAVE_FTRUNCATE 1
15635| #define HAVE_FTELLO 1
15636| #define HAVE_TIMES 1
15637| #define HAVE_UTIMES 1
15638| #define HAVE_FCNTL 1
15639| #define HAVE_LOCKF 1
15640| #define HAVE_LSTAT 1
15641| #define HAVE_FSEEKO 1
15642| #define HAVE_LINK 1
15643| #define HAVE_SYMLINK 1
15644| #define HAVE_READLINK 1
15645| #define HAVE_READDIR_R 1
15646| #define HAVE_FSYNC 1
15647| #define HAVE_FCHOWN 1
15648| #define HAVE_SETITIMER 1
15649| #define HAVE_SETRUID 1
15650| #define HAVE_SETEUID 1
15651| #define HAVE_SETREUID 1
15652| #define HAVE_SOCKETPAIR 1
15653| #define HAVE_SETRGID 1
15654| #define HAVE_SETEGID 1
15655| #define HAVE_SETREGID 1
15656| #define HAVE_ISSETUGID 1
15657| #define HAVE_PAUSE 1
15658| #define HAVE_LCHOWN 1
15659| #define HAVE_LCHMOD 1
15660| #define HAVE_GETPGRP 1
15661| #define HAVE_SETPGRP 1
15662| #define HAVE_GETPGID 1
15663| #define HAVE_SETPGID 1
15664| #define HAVE_INITGROUPS 1
15665| #define HAVE_GETGROUPS 1
15666| #define HAVE_SETGROUPS 1
15667| #define HAVE_GETPRIORITY 1
15668| #define HAVE_GETRLIMIT 1
15669| #define HAVE_SETRLIMIT 1
15670| #define HAVE_SYSCONF 1
15671| #define HAVE_CLOSE 1
15672| #define HAVE_GETGRNAM_R 1
15673| #define HAVE_DLOPEN 1
15674| #define HAVE_SIGPROCMASK 1
15675| #define HAVE_SIGACTION 1
15676| #define HAVE_SIGSETJMP 1
15677| #define HAVE__SETJMP 1
15678| #define HAVE__LONGJMP 1
15679| #define HAVE_SETSID 1
15680| #define HAVE_TELLDIR 1
15681| #define HAVE_SEEKDIR 1
15682| #define HAVE_FCHMOD 1
15683| #define HAVE_COSH 1
15684| #define HAVE_SINH 1
15685| #define HAVE_TANH 1
15686| #define HAVE_LOG2 1
15687| #define HAVE_ROUND 1
15688| #define HAVE_SETUID 1
15689| #define HAVE_SETGID 1
15690| #define HAVE_SETENV 1
15691| #define HAVE_UNSETENV 1
15692| #define HAVE_MKTIME 1
15693| #define HAVE_TIMEGM 1
15694| #define HAVE_GMTIME_R 1
15695| #define HAVE_GETTIMEOFDAY 1
15696| #define HAVE_POLL 1
15697| #define HAVE_PREAD 1
15698| #define HAVE_SENDFILE 1
15699| #define HAVE_SHUTDOWN 1
15700| #define HAVE_SIGALTSTACK 1
15701| /* end confdefs.h.  */
15702| /* Define dl_iterate_phdr to an innocuous variant, in case <limits.h> declares dl_iterate_phdr.
15703|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15704| #define dl_iterate_phdr innocuous_dl_iterate_phdr
15705|
15706| /* System header to define __stub macros and hopefully few prototypes,
15707|     which can conflict with char dl_iterate_phdr (); below.
15708|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15709|     <limits.h> exists even on freestanding compilers.  */
15710|
15711| #ifdef __STDC__
15712| # include <limits.h>
15713| #else
15714| # include <assert.h>
15715| #endif
15716|
15717| #undef dl_iterate_phdr
15718|
15719| /* Override any GCC internal prototype to avoid an error.
15720|    Use char because int might match the return type of a GCC
15721|    builtin and then its argument prototype would still apply.  */
15722| #ifdef __cplusplus
15723| extern "C"
15724| #endif
15725| char dl_iterate_phdr ();
15726| /* The GNU C library defines this for functions which it implements
15727|     to always fail with ENOSYS.  Some functions are actually named
15728|     something starting with __ and the normal name is an alias.  */
15729| #if defined __stub_dl_iterate_phdr || defined __stub___dl_iterate_phdr
15730| choke me
15731| #endif
15732|
15733| int
15734| main ()
15735| {
15736| return dl_iterate_phdr ();
15737|   ;
15738|   return 0;
15739| }
15740configure:14443: result: no
15741configure:14453: checking for unsetenv returns a value
15742configure:14471: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
15743configure:14471: $? = 0
15744configure:14478: result: yes
15745configure:14485: checking for __builtin_setjmp
15746configure:14502: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
15747conftest.c:249:53: warning: incompatible pointer types passing 'jmp_buf' (aka 'int [37]') to parameter of type 'void **' [-Wincompatible-pointer-types]
15748    jmp_buf jb; void t(v) int v; {__builtin_longjmp(jb, v);}
15749                                                    ^~
15750conftest.c:249:35: error: argument to '__builtin_longjmp' must be a constant integer
15751    jmp_buf jb; void t(v) int v; {__builtin_longjmp(jb, v);}
15752                                  ^                     ~
15753conftest.c:253:18: warning: incompatible pointer types passing 'jmp_buf' (aka 'int [37]') to parameter of type 'void **' [-Wincompatible-pointer-types]
15754__builtin_setjmp(jb);
15755                 ^~
157562 warnings and 1 error generated.
15757configure:14502: $? = 1
15758configure: failed program was:
15759| /* confdefs.h */
15760| #define PACKAGE_NAME ""
15761| #define PACKAGE_TARNAME ""
15762| #define PACKAGE_VERSION ""
15763| #define PACKAGE_STRING ""
15764| #define PACKAGE_BUGREPORT ""
15765| #define PACKAGE_URL ""
15766| #define CANONICALIZATION_FOR_MATHN 1
15767| #define STDC_HEADERS 1
15768| #define HAVE_SYS_TYPES_H 1
15769| #define HAVE_SYS_STAT_H 1
15770| #define HAVE_STDLIB_H 1
15771| #define HAVE_STRING_H 1
15772| #define HAVE_MEMORY_H 1
15773| #define HAVE_STRINGS_H 1
15774| #define HAVE_INTTYPES_H 1
15775| #define HAVE_STDINT_H 1
15776| #define HAVE_UNISTD_H 1
15777| #define __EXTENSIONS__ 1
15778| #define _ALL_SOURCE 1
15779| #define _GNU_SOURCE 1
15780| #define _POSIX_PTHREAD_SEMANTICS 1
15781| #define _TANDEM_SOURCE 1
15782| #define HAVE_LONG_LONG 1
15783| #define HAVE_OFF_T 1
15784| #define SIZEOF_INT 4
15785| #define SIZEOF_SHORT 2
15786| #define SIZEOF_LONG 8
15787| #define SIZEOF_LONG_LONG 8
15788| #define SIZEOF___INT64 0
15789| #define SIZEOF_OFF_T 8
15790| #define SIZEOF_VOIDP 8
15791| #define SIZEOF_FLOAT 4
15792| #define SIZEOF_DOUBLE 8
15793| #define SIZEOF_TIME_T 8
15794| #define PRI_LL_PREFIX "ll"
15795| #define rb_pid_t pid_t
15796| #define PIDT2NUM(v) INT2NUM(v)
15797| #define NUM2PIDT(v) NUM2INT(v)
15798| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
15799| #define rb_uid_t uid_t
15800| #define UIDT2NUM(v) UINT2NUM(v)
15801| #define NUM2UIDT(v) NUM2UINT(v)
15802| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
15803| #define rb_gid_t gid_t
15804| #define GIDT2NUM(v) UINT2NUM(v)
15805| #define NUM2GIDT(v) NUM2UINT(v)
15806| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
15807| #define rb_time_t time_t
15808| #define TIMET2NUM(v) LONG2NUM(v)
15809| #define NUM2TIMET(v) NUM2LONG(v)
15810| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
15811| #define rb_dev_t dev_t
15812| #define DEVT2NUM(v) INT2NUM(v)
15813| #define NUM2DEVT(v) NUM2INT(v)
15814| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
15815| #define rb_mode_t mode_t
15816| #define MODET2NUM(v) UINT2NUM(v)
15817| #define NUM2MODET(v) NUM2UINT(v)
15818| #define PRI_MODET_PREFIX PRI_INT_PREFIX
15819| #define rb_rlim_t rlim_t
15820| #define RLIM2NUM(v) ULL2NUM(v)
15821| #define NUM2RLIM(v) NUM2ULL(v)
15822| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
15823| #define HAVE_PROTOTYPES 1
15824| #define TOKEN_PASTE(x,y) x##y
15825| #define STRINGIZE(expr) STRINGIZE0(expr)
15826| #define HAVE_STDARG_PROTOTYPES 1
15827| #define HAVE_VA_ARGS_MACRO 1
15828| #define NORETURN(x) __attribute__ ((noreturn)) x
15829| #define DEPRECATED(x) __attribute__ ((deprecated)) x
15830| #define NOINLINE(x) __attribute__ ((noinline)) x
15831| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
15832| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
15833| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
15834| #define HAVE_GCC_ATOMIC_BUILTINS 1
15835| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
15836| #define HAVE_DECL_SYS_NERR 1
15837| #define HAVE_LIBDL 1
15838| #define HAVE_DIRENT_H 1
15839| #define HAVE__BOOL 1
15840| #define HAVE_STDBOOL_H 1
15841| #define HAVE_SYS_WAIT_H 1
15842| #define HAVE_LIMITS_H 1
15843| #define HAVE_SYS_FILE_H 1
15844| #define HAVE_SYS_IOCTL_H 1
15845| #define HAVE_SYS_SYSCALL_H 1
15846| #define HAVE_FCNTL_H 1
15847| #define HAVE_SYS_FCNTL_H 1
15848| #define HAVE_SYS_SELECT_H 1
15849| #define HAVE_SYS_TIME_H 1
15850| #define HAVE_SYS_TIMES_H 1
15851| #define HAVE_SYS_PARAM_H 1
15852| #define HAVE_PWD_H 1
15853| #define HAVE_GRP_H 1
15854| #define HAVE_UTIME_H 1
15855| #define HAVE_SYS_RESOURCE_H 1
15856| #define HAVE_NETINET_IN_SYSTM_H 1
15857| #define HAVE_FLOAT_H 1
15858| #define HAVE_LANGINFO_H 1
15859| #define HAVE_LOCALE_H 1
15860| #define HAVE_TIME_H 1
15861| #define HAVE_SYS_SOCKET_H 1
15862| #define SIZEOF_SIZE_T 8
15863| #define SIZEOF_PTRDIFF_T 8
15864| #define PRI_SIZE_PREFIX "z"
15865| #define PRI_PTRDIFF_PREFIX "t"
15866| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
15867| #define HAVE_ST_BLKSIZE 1
15868| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15869| #define HAVE_ST_BLOCKS 1
15870| #define HAVE_STRUCT_STAT_ST_RDEV 1
15871| #define HAVE_ST_RDEV 1
15872| #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
15873| #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
15874| #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15875| #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15876| #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15877| #define HAVE_STRUCT_TIMESPEC 1
15878| #define HAVE_STRUCT_TIMEZONE 1
15879| #define HAVE_RB_FD_INIT 1
15880| #define HAVE_INT8_T 1
15881| #define SIZEOF_INT8_T 1
15882| #define HAVE_UINT8_T 1
15883| #define SIZEOF_UINT8_T 1
15884| #define HAVE_INT16_T 1
15885| #define SIZEOF_INT16_T 2
15886| #define HAVE_UINT16_T 1
15887| #define SIZEOF_UINT16_T 2
15888| #define HAVE_INT32_T 1
15889| #define SIZEOF_INT32_T 4
15890| #define HAVE_UINT32_T 1
15891| #define SIZEOF_UINT32_T 4
15892| #define HAVE_INT64_T 1
15893| #define SIZEOF_INT64_T 8
15894| #define HAVE_UINT64_T 1
15895| #define SIZEOF_UINT64_T 8
15896| #define HAVE_INTPTR_T 1
15897| #define SIZEOF_INTPTR_T 8
15898| #define HAVE_UINTPTR_T 1
15899| #define SIZEOF_UINTPTR_T 8
15900| #define HAVE_SSIZE_T 1
15901| #define SIZEOF_SSIZE_T 8
15902| #define GC_MARK_STACKFRAME_WORD 16
15903| #define GETGROUPS_T gid_t
15904| #define RETSIGTYPE void
15905| #define HAVE_ALLOCA_H 1
15906| #define HAVE_ALLOCA 1
15907| #define HAVE_DUP2 1
15908| #define HAVE_MEMMOVE 1
15909| #define HAVE_STRERROR 1
15910| #define HAVE_STRCHR 1
15911| #define HAVE_STRSTR 1
15912| #define HAVE_CRYPT 1
15913| #define HAVE_FLOCK 1
15914| #define HAVE_ISNAN 1
15915| #define HAVE_FINITE 1
15916| #define HAVE_ISINF 1
15917| #define HAVE_HYPOT 1
15918| #define HAVE_ACOSH 1
15919| #define HAVE_ERF 1
15920| #define HAVE_TGAMMA 1
15921| #define HAVE_LGAMMA_R 1
15922| #define HAVE_CBRT 1
15923| #define HAVE_STRLCPY 1
15924| #define HAVE_STRLCAT 1
15925| #define HAVE_FFS 1
15926| #define SPT_TYPE SPT_REUSEARGV
15927| #define HAVE_SIGNBIT 1
15928| #define HAVE_FMOD 1
15929| #define HAVE_KILLPG 1
15930| #define HAVE_WAIT4 1
15931| #define HAVE_WAITPID 1
15932| #define HAVE_FORK 1
15933| #define HAVE_SYSCALL 1
15934| #define HAVE___SYSCALL 1
15935| #define HAVE_CHROOT 1
15936| #define HAVE_GETCWD 1
15937| #define HAVE_TRUNCATE 1
15938| #define HAVE_FTRUNCATE 1
15939| #define HAVE_FTELLO 1
15940| #define HAVE_TIMES 1
15941| #define HAVE_UTIMES 1
15942| #define HAVE_FCNTL 1
15943| #define HAVE_LOCKF 1
15944| #define HAVE_LSTAT 1
15945| #define HAVE_FSEEKO 1
15946| #define HAVE_LINK 1
15947| #define HAVE_SYMLINK 1
15948| #define HAVE_READLINK 1
15949| #define HAVE_READDIR_R 1
15950| #define HAVE_FSYNC 1
15951| #define HAVE_FCHOWN 1
15952| #define HAVE_SETITIMER 1
15953| #define HAVE_SETRUID 1
15954| #define HAVE_SETEUID 1
15955| #define HAVE_SETREUID 1
15956| #define HAVE_SOCKETPAIR 1
15957| #define HAVE_SETRGID 1
15958| #define HAVE_SETEGID 1
15959| #define HAVE_SETREGID 1
15960| #define HAVE_ISSETUGID 1
15961| #define HAVE_PAUSE 1
15962| #define HAVE_LCHOWN 1
15963| #define HAVE_LCHMOD 1
15964| #define HAVE_GETPGRP 1
15965| #define HAVE_SETPGRP 1
15966| #define HAVE_GETPGID 1
15967| #define HAVE_SETPGID 1
15968| #define HAVE_INITGROUPS 1
15969| #define HAVE_GETGROUPS 1
15970| #define HAVE_SETGROUPS 1
15971| #define HAVE_GETPRIORITY 1
15972| #define HAVE_GETRLIMIT 1
15973| #define HAVE_SETRLIMIT 1
15974| #define HAVE_SYSCONF 1
15975| #define HAVE_CLOSE 1
15976| #define HAVE_GETGRNAM_R 1
15977| #define HAVE_DLOPEN 1
15978| #define HAVE_SIGPROCMASK 1
15979| #define HAVE_SIGACTION 1
15980| #define HAVE_SIGSETJMP 1
15981| #define HAVE__SETJMP 1
15982| #define HAVE__LONGJMP 1
15983| #define HAVE_SETSID 1
15984| #define HAVE_TELLDIR 1
15985| #define HAVE_SEEKDIR 1
15986| #define HAVE_FCHMOD 1
15987| #define HAVE_COSH 1
15988| #define HAVE_SINH 1
15989| #define HAVE_TANH 1
15990| #define HAVE_LOG2 1
15991| #define HAVE_ROUND 1
15992| #define HAVE_SETUID 1
15993| #define HAVE_SETGID 1
15994| #define HAVE_SETENV 1
15995| #define HAVE_UNSETENV 1
15996| #define HAVE_MKTIME 1
15997| #define HAVE_TIMEGM 1
15998| #define HAVE_GMTIME_R 1
15999| #define HAVE_GETTIMEOFDAY 1
16000| #define HAVE_POLL 1
16001| #define HAVE_PREAD 1
16002| #define HAVE_SENDFILE 1
16003| #define HAVE_SHUTDOWN 1
16004| #define HAVE_SIGALTSTACK 1
16005| /* end confdefs.h.  */
16006| #include <setjmp.h>
16007|     jmp_buf jb; void t(v) int v; {__builtin_longjmp(jb, v);}
16008| int
16009| main ()
16010| {
16011| __builtin_setjmp(jb);
16012|   ;
16013|   return 0;
16014| }
16015configure:14511: result: no
16016configure:14516: checking for setjmp type
16017configure:14563: result: _setjmp
16018configure:14589: checking whether struct tm is in sys/time.h or time.h
16019configure:14609: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
16020configure:14609: $? = 0
16021configure:14616: result: time.h
16022configure:14624: checking for struct tm.tm_zone
16023configure:14624: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
16024configure:14624: $? = 0
16025configure:14624: result: yes
16026configure:14691: checking for struct tm.tm_gmtoff
16027configure:14707: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
16028configure:14707: $? = 0
16029configure:14714: result: yes
16030configure:14720: checking for external int daylight
16031configure:14737: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
16032configure:14737: $? = 0
16033configure:14745: result: yes
16034configure:14752: checking for external timezone
16035configure:14775: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
16036configure:14775: $? = 0
16037configure:14795: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
16038configure:14795: $? = 0
16039configure:14803: result: long
16040configure:14813: checking for external altzone
16041configure:14836: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
16042conftest.c:267:8: error: use of undeclared identifier 'altzone'
16043t = &(&altzone)[0];
16044       ^
160451 error generated.
16046configure:14836: $? = 1
16047configure: failed program was:
16048| /* confdefs.h */
16049| #define PACKAGE_NAME ""
16050| #define PACKAGE_TARNAME ""
16051| #define PACKAGE_VERSION ""
16052| #define PACKAGE_STRING ""
16053| #define PACKAGE_BUGREPORT ""
16054| #define PACKAGE_URL ""
16055| #define CANONICALIZATION_FOR_MATHN 1
16056| #define STDC_HEADERS 1
16057| #define HAVE_SYS_TYPES_H 1
16058| #define HAVE_SYS_STAT_H 1
16059| #define HAVE_STDLIB_H 1
16060| #define HAVE_STRING_H 1
16061| #define HAVE_MEMORY_H 1
16062| #define HAVE_STRINGS_H 1
16063| #define HAVE_INTTYPES_H 1
16064| #define HAVE_STDINT_H 1
16065| #define HAVE_UNISTD_H 1
16066| #define __EXTENSIONS__ 1
16067| #define _ALL_SOURCE 1
16068| #define _GNU_SOURCE 1
16069| #define _POSIX_PTHREAD_SEMANTICS 1
16070| #define _TANDEM_SOURCE 1
16071| #define HAVE_LONG_LONG 1
16072| #define HAVE_OFF_T 1
16073| #define SIZEOF_INT 4
16074| #define SIZEOF_SHORT 2
16075| #define SIZEOF_LONG 8
16076| #define SIZEOF_LONG_LONG 8
16077| #define SIZEOF___INT64 0
16078| #define SIZEOF_OFF_T 8
16079| #define SIZEOF_VOIDP 8
16080| #define SIZEOF_FLOAT 4
16081| #define SIZEOF_DOUBLE 8
16082| #define SIZEOF_TIME_T 8
16083| #define PRI_LL_PREFIX "ll"
16084| #define rb_pid_t pid_t
16085| #define PIDT2NUM(v) INT2NUM(v)
16086| #define NUM2PIDT(v) NUM2INT(v)
16087| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
16088| #define rb_uid_t uid_t
16089| #define UIDT2NUM(v) UINT2NUM(v)
16090| #define NUM2UIDT(v) NUM2UINT(v)
16091| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
16092| #define rb_gid_t gid_t
16093| #define GIDT2NUM(v) UINT2NUM(v)
16094| #define NUM2GIDT(v) NUM2UINT(v)
16095| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
16096| #define rb_time_t time_t
16097| #define TIMET2NUM(v) LONG2NUM(v)
16098| #define NUM2TIMET(v) NUM2LONG(v)
16099| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
16100| #define rb_dev_t dev_t
16101| #define DEVT2NUM(v) INT2NUM(v)
16102| #define NUM2DEVT(v) NUM2INT(v)
16103| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
16104| #define rb_mode_t mode_t
16105| #define MODET2NUM(v) UINT2NUM(v)
16106| #define NUM2MODET(v) NUM2UINT(v)
16107| #define PRI_MODET_PREFIX PRI_INT_PREFIX
16108| #define rb_rlim_t rlim_t
16109| #define RLIM2NUM(v) ULL2NUM(v)
16110| #define NUM2RLIM(v) NUM2ULL(v)
16111| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
16112| #define HAVE_PROTOTYPES 1
16113| #define TOKEN_PASTE(x,y) x##y
16114| #define STRINGIZE(expr) STRINGIZE0(expr)
16115| #define HAVE_STDARG_PROTOTYPES 1
16116| #define HAVE_VA_ARGS_MACRO 1
16117| #define NORETURN(x) __attribute__ ((noreturn)) x
16118| #define DEPRECATED(x) __attribute__ ((deprecated)) x
16119| #define NOINLINE(x) __attribute__ ((noinline)) x
16120| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
16121| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
16122| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
16123| #define HAVE_GCC_ATOMIC_BUILTINS 1
16124| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
16125| #define HAVE_DECL_SYS_NERR 1
16126| #define HAVE_LIBDL 1
16127| #define HAVE_DIRENT_H 1
16128| #define HAVE__BOOL 1
16129| #define HAVE_STDBOOL_H 1
16130| #define HAVE_SYS_WAIT_H 1
16131| #define HAVE_LIMITS_H 1
16132| #define HAVE_SYS_FILE_H 1
16133| #define HAVE_SYS_IOCTL_H 1
16134| #define HAVE_SYS_SYSCALL_H 1
16135| #define HAVE_FCNTL_H 1
16136| #define HAVE_SYS_FCNTL_H 1
16137| #define HAVE_SYS_SELECT_H 1
16138| #define HAVE_SYS_TIME_H 1
16139| #define HAVE_SYS_TIMES_H 1
16140| #define HAVE_SYS_PARAM_H 1
16141| #define HAVE_PWD_H 1
16142| #define HAVE_GRP_H 1
16143| #define HAVE_UTIME_H 1
16144| #define HAVE_SYS_RESOURCE_H 1
16145| #define HAVE_NETINET_IN_SYSTM_H 1
16146| #define HAVE_FLOAT_H 1
16147| #define HAVE_LANGINFO_H 1
16148| #define HAVE_LOCALE_H 1
16149| #define HAVE_TIME_H 1
16150| #define HAVE_SYS_SOCKET_H 1
16151| #define SIZEOF_SIZE_T 8
16152| #define SIZEOF_PTRDIFF_T 8
16153| #define PRI_SIZE_PREFIX "z"
16154| #define PRI_PTRDIFF_PREFIX "t"
16155| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
16156| #define HAVE_ST_BLKSIZE 1
16157| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16158| #define HAVE_ST_BLOCKS 1
16159| #define HAVE_STRUCT_STAT_ST_RDEV 1
16160| #define HAVE_ST_RDEV 1
16161| #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
16162| #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
16163| #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16164| #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16165| #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16166| #define HAVE_STRUCT_TIMESPEC 1
16167| #define HAVE_STRUCT_TIMEZONE 1
16168| #define HAVE_RB_FD_INIT 1
16169| #define HAVE_INT8_T 1
16170| #define SIZEOF_INT8_T 1
16171| #define HAVE_UINT8_T 1
16172| #define SIZEOF_UINT8_T 1
16173| #define HAVE_INT16_T 1
16174| #define SIZEOF_INT16_T 2
16175| #define HAVE_UINT16_T 1
16176| #define SIZEOF_UINT16_T 2
16177| #define HAVE_INT32_T 1
16178| #define SIZEOF_INT32_T 4
16179| #define HAVE_UINT32_T 1
16180| #define SIZEOF_UINT32_T 4
16181| #define HAVE_INT64_T 1
16182| #define SIZEOF_INT64_T 8
16183| #define HAVE_UINT64_T 1
16184| #define SIZEOF_UINT64_T 8
16185| #define HAVE_INTPTR_T 1
16186| #define SIZEOF_INTPTR_T 8
16187| #define HAVE_UINTPTR_T 1
16188| #define SIZEOF_UINTPTR_T 8
16189| #define HAVE_SSIZE_T 1
16190| #define SIZEOF_SSIZE_T 8
16191| #define GC_MARK_STACKFRAME_WORD 16
16192| #define GETGROUPS_T gid_t
16193| #define RETSIGTYPE void
16194| #define HAVE_ALLOCA_H 1
16195| #define HAVE_ALLOCA 1
16196| #define HAVE_DUP2 1
16197| #define HAVE_MEMMOVE 1
16198| #define HAVE_STRERROR 1
16199| #define HAVE_STRCHR 1
16200| #define HAVE_STRSTR 1
16201| #define HAVE_CRYPT 1
16202| #define HAVE_FLOCK 1
16203| #define HAVE_ISNAN 1
16204| #define HAVE_FINITE 1
16205| #define HAVE_ISINF 1
16206| #define HAVE_HYPOT 1
16207| #define HAVE_ACOSH 1
16208| #define HAVE_ERF 1
16209| #define HAVE_TGAMMA 1
16210| #define HAVE_LGAMMA_R 1
16211| #define HAVE_CBRT 1
16212| #define HAVE_STRLCPY 1
16213| #define HAVE_STRLCAT 1
16214| #define HAVE_FFS 1
16215| #define SPT_TYPE SPT_REUSEARGV
16216| #define HAVE_SIGNBIT 1
16217| #define HAVE_FMOD 1
16218| #define HAVE_KILLPG 1
16219| #define HAVE_WAIT4 1
16220| #define HAVE_WAITPID 1
16221| #define HAVE_FORK 1
16222| #define HAVE_SYSCALL 1
16223| #define HAVE___SYSCALL 1
16224| #define HAVE_CHROOT 1
16225| #define HAVE_GETCWD 1
16226| #define HAVE_TRUNCATE 1
16227| #define HAVE_FTRUNCATE 1
16228| #define HAVE_FTELLO 1
16229| #define HAVE_TIMES 1
16230| #define HAVE_UTIMES 1
16231| #define HAVE_FCNTL 1
16232| #define HAVE_LOCKF 1
16233| #define HAVE_LSTAT 1
16234| #define HAVE_FSEEKO 1
16235| #define HAVE_LINK 1
16236| #define HAVE_SYMLINK 1
16237| #define HAVE_READLINK 1
16238| #define HAVE_READDIR_R 1
16239| #define HAVE_FSYNC 1
16240| #define HAVE_FCHOWN 1
16241| #define HAVE_SETITIMER 1
16242| #define HAVE_SETRUID 1
16243| #define HAVE_SETEUID 1
16244| #define HAVE_SETREUID 1
16245| #define HAVE_SOCKETPAIR 1
16246| #define HAVE_SETRGID 1
16247| #define HAVE_SETEGID 1
16248| #define HAVE_SETREGID 1
16249| #define HAVE_ISSETUGID 1
16250| #define HAVE_PAUSE 1
16251| #define HAVE_LCHOWN 1
16252| #define HAVE_LCHMOD 1
16253| #define HAVE_GETPGRP 1
16254| #define HAVE_SETPGRP 1
16255| #define HAVE_GETPGID 1
16256| #define HAVE_SETPGID 1
16257| #define HAVE_INITGROUPS 1
16258| #define HAVE_GETGROUPS 1
16259| #define HAVE_SETGROUPS 1
16260| #define HAVE_GETPRIORITY 1
16261| #define HAVE_GETRLIMIT 1
16262| #define HAVE_SETRLIMIT 1
16263| #define HAVE_SYSCONF 1
16264| #define HAVE_CLOSE 1
16265| #define HAVE_GETGRNAM_R 1
16266| #define HAVE_DLOPEN 1
16267| #define HAVE_SIGPROCMASK 1
16268| #define HAVE_SIGACTION 1
16269| #define HAVE_SIGSETJMP 1
16270| #define HAVE__SETJMP 1
16271| #define HAVE__LONGJMP 1
16272| #define HAVE_SETSID 1
16273| #define HAVE_TELLDIR 1
16274| #define HAVE_SEEKDIR 1
16275| #define HAVE_FCHMOD 1
16276| #define HAVE_COSH 1
16277| #define HAVE_SINH 1
16278| #define HAVE_TANH 1
16279| #define HAVE_LOG2 1
16280| #define HAVE_ROUND 1
16281| #define HAVE_SETUID 1
16282| #define HAVE_SETGID 1
16283| #define HAVE_SETENV 1
16284| #define HAVE_UNSETENV 1
16285| #define HAVE_MKTIME 1
16286| #define HAVE_TIMEGM 1
16287| #define HAVE_GMTIME_R 1
16288| #define HAVE_GETTIMEOFDAY 1
16289| #define HAVE_POLL 1
16290| #define HAVE_PREAD 1
16291| #define HAVE_SENDFILE 1
16292| #define HAVE_SHUTDOWN 1
16293| #define HAVE_SIGALTSTACK 1
16294| #define RUBY_SETJMP(env) _setjmp(env)
16295| #define RUBY_LONGJMP(env,val) _longjmp(env,val)
16296| #define RUBY_JMP_BUF jmp_buf
16297| #define HAVE_STRUCT_TM_TM_ZONE 1
16298| #define HAVE_TM_ZONE 1
16299| #define HAVE_STRUCT_TM_TM_GMTOFF 1
16300| #define HAVE_DAYLIGHT 1
16301| #define HAVE_VAR_TIMEZONE 1
16302| #define TYPEOF_VAR_TIMEZONE long
16303| /* end confdefs.h.  */
16304|
16305| #ifndef _XOPEN_SOURCE
16306| #define _XOPEN_SOURCE 1
16307| #endif
16308| #include <time.h>
16309| ;
16310| const volatile void *volatile t;
16311| int
16312| main ()
16313| {
16314| t = &(&altzone)[0];
16315|   ;
16316|   return 0;
16317| }
16318configure:14864: result: no
16319configure:14876: checking for timezone
16320configure:14876: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
16321configure:14876: $? = 0
16322configure:14876: result: yes
16323configure:14886: checking whether timezone requires zero arguments
16324configure:14902: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
16325conftest.c:262:15: error: called object type 'long' is not a function or function pointer
16326(void)timezone(0, 0);
16327      ~~~~~~~~^
163281 error generated.
16329configure:14902: $? = 1
16330configure: failed program was:
16331| /* confdefs.h */
16332| #define PACKAGE_NAME ""
16333| #define PACKAGE_TARNAME ""
16334| #define PACKAGE_VERSION ""
16335| #define PACKAGE_STRING ""
16336| #define PACKAGE_BUGREPORT ""
16337| #define PACKAGE_URL ""
16338| #define CANONICALIZATION_FOR_MATHN 1
16339| #define STDC_HEADERS 1
16340| #define HAVE_SYS_TYPES_H 1
16341| #define HAVE_SYS_STAT_H 1
16342| #define HAVE_STDLIB_H 1
16343| #define HAVE_STRING_H 1
16344| #define HAVE_MEMORY_H 1
16345| #define HAVE_STRINGS_H 1
16346| #define HAVE_INTTYPES_H 1
16347| #define HAVE_STDINT_H 1
16348| #define HAVE_UNISTD_H 1
16349| #define __EXTENSIONS__ 1
16350| #define _ALL_SOURCE 1
16351| #define _GNU_SOURCE 1
16352| #define _POSIX_PTHREAD_SEMANTICS 1
16353| #define _TANDEM_SOURCE 1
16354| #define HAVE_LONG_LONG 1
16355| #define HAVE_OFF_T 1
16356| #define SIZEOF_INT 4
16357| #define SIZEOF_SHORT 2
16358| #define SIZEOF_LONG 8
16359| #define SIZEOF_LONG_LONG 8
16360| #define SIZEOF___INT64 0
16361| #define SIZEOF_OFF_T 8
16362| #define SIZEOF_VOIDP 8
16363| #define SIZEOF_FLOAT 4
16364| #define SIZEOF_DOUBLE 8
16365| #define SIZEOF_TIME_T 8
16366| #define PRI_LL_PREFIX "ll"
16367| #define rb_pid_t pid_t
16368| #define PIDT2NUM(v) INT2NUM(v)
16369| #define NUM2PIDT(v) NUM2INT(v)
16370| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
16371| #define rb_uid_t uid_t
16372| #define UIDT2NUM(v) UINT2NUM(v)
16373| #define NUM2UIDT(v) NUM2UINT(v)
16374| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
16375| #define rb_gid_t gid_t
16376| #define GIDT2NUM(v) UINT2NUM(v)
16377| #define NUM2GIDT(v) NUM2UINT(v)
16378| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
16379| #define rb_time_t time_t
16380| #define TIMET2NUM(v) LONG2NUM(v)
16381| #define NUM2TIMET(v) NUM2LONG(v)
16382| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
16383| #define rb_dev_t dev_t
16384| #define DEVT2NUM(v) INT2NUM(v)
16385| #define NUM2DEVT(v) NUM2INT(v)
16386| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
16387| #define rb_mode_t mode_t
16388| #define MODET2NUM(v) UINT2NUM(v)
16389| #define NUM2MODET(v) NUM2UINT(v)
16390| #define PRI_MODET_PREFIX PRI_INT_PREFIX
16391| #define rb_rlim_t rlim_t
16392| #define RLIM2NUM(v) ULL2NUM(v)
16393| #define NUM2RLIM(v) NUM2ULL(v)
16394| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
16395| #define HAVE_PROTOTYPES 1
16396| #define TOKEN_PASTE(x,y) x##y
16397| #define STRINGIZE(expr) STRINGIZE0(expr)
16398| #define HAVE_STDARG_PROTOTYPES 1
16399| #define HAVE_VA_ARGS_MACRO 1
16400| #define NORETURN(x) __attribute__ ((noreturn)) x
16401| #define DEPRECATED(x) __attribute__ ((deprecated)) x
16402| #define NOINLINE(x) __attribute__ ((noinline)) x
16403| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
16404| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
16405| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
16406| #define HAVE_GCC_ATOMIC_BUILTINS 1
16407| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
16408| #define HAVE_DECL_SYS_NERR 1
16409| #define HAVE_LIBDL 1
16410| #define HAVE_DIRENT_H 1
16411| #define HAVE__BOOL 1
16412| #define HAVE_STDBOOL_H 1
16413| #define HAVE_SYS_WAIT_H 1
16414| #define HAVE_LIMITS_H 1
16415| #define HAVE_SYS_FILE_H 1
16416| #define HAVE_SYS_IOCTL_H 1
16417| #define HAVE_SYS_SYSCALL_H 1
16418| #define HAVE_FCNTL_H 1
16419| #define HAVE_SYS_FCNTL_H 1
16420| #define HAVE_SYS_SELECT_H 1
16421| #define HAVE_SYS_TIME_H 1
16422| #define HAVE_SYS_TIMES_H 1
16423| #define HAVE_SYS_PARAM_H 1
16424| #define HAVE_PWD_H 1
16425| #define HAVE_GRP_H 1
16426| #define HAVE_UTIME_H 1
16427| #define HAVE_SYS_RESOURCE_H 1
16428| #define HAVE_NETINET_IN_SYSTM_H 1
16429| #define HAVE_FLOAT_H 1
16430| #define HAVE_LANGINFO_H 1
16431| #define HAVE_LOCALE_H 1
16432| #define HAVE_TIME_H 1
16433| #define HAVE_SYS_SOCKET_H 1
16434| #define SIZEOF_SIZE_T 8
16435| #define SIZEOF_PTRDIFF_T 8
16436| #define PRI_SIZE_PREFIX "z"
16437| #define PRI_PTRDIFF_PREFIX "t"
16438| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
16439| #define HAVE_ST_BLKSIZE 1
16440| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16441| #define HAVE_ST_BLOCKS 1
16442| #define HAVE_STRUCT_STAT_ST_RDEV 1
16443| #define HAVE_ST_RDEV 1
16444| #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
16445| #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
16446| #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16447| #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16448| #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16449| #define HAVE_STRUCT_TIMESPEC 1
16450| #define HAVE_STRUCT_TIMEZONE 1
16451| #define HAVE_RB_FD_INIT 1
16452| #define HAVE_INT8_T 1
16453| #define SIZEOF_INT8_T 1
16454| #define HAVE_UINT8_T 1
16455| #define SIZEOF_UINT8_T 1
16456| #define HAVE_INT16_T 1
16457| #define SIZEOF_INT16_T 2
16458| #define HAVE_UINT16_T 1
16459| #define SIZEOF_UINT16_T 2
16460| #define HAVE_INT32_T 1
16461| #define SIZEOF_INT32_T 4
16462| #define HAVE_UINT32_T 1
16463| #define SIZEOF_UINT32_T 4
16464| #define HAVE_INT64_T 1
16465| #define SIZEOF_INT64_T 8
16466| #define HAVE_UINT64_T 1
16467| #define SIZEOF_UINT64_T 8
16468| #define HAVE_INTPTR_T 1
16469| #define SIZEOF_INTPTR_T 8
16470| #define HAVE_UINTPTR_T 1
16471| #define SIZEOF_UINTPTR_T 8
16472| #define HAVE_SSIZE_T 1
16473| #define SIZEOF_SSIZE_T 8
16474| #define GC_MARK_STACKFRAME_WORD 16
16475| #define GETGROUPS_T gid_t
16476| #define RETSIGTYPE void
16477| #define HAVE_ALLOCA_H 1
16478| #define HAVE_ALLOCA 1
16479| #define HAVE_DUP2 1
16480| #define HAVE_MEMMOVE 1
16481| #define HAVE_STRERROR 1
16482| #define HAVE_STRCHR 1
16483| #define HAVE_STRSTR 1
16484| #define HAVE_CRYPT 1
16485| #define HAVE_FLOCK 1
16486| #define HAVE_ISNAN 1
16487| #define HAVE_FINITE 1
16488| #define HAVE_ISINF 1
16489| #define HAVE_HYPOT 1
16490| #define HAVE_ACOSH 1
16491| #define HAVE_ERF 1
16492| #define HAVE_TGAMMA 1
16493| #define HAVE_LGAMMA_R 1
16494| #define HAVE_CBRT 1
16495| #define HAVE_STRLCPY 1
16496| #define HAVE_STRLCAT 1
16497| #define HAVE_FFS 1
16498| #define SPT_TYPE SPT_REUSEARGV
16499| #define HAVE_SIGNBIT 1
16500| #define HAVE_FMOD 1
16501| #define HAVE_KILLPG 1
16502| #define HAVE_WAIT4 1
16503| #define HAVE_WAITPID 1
16504| #define HAVE_FORK 1
16505| #define HAVE_SYSCALL 1
16506| #define HAVE___SYSCALL 1
16507| #define HAVE_CHROOT 1
16508| #define HAVE_GETCWD 1
16509| #define HAVE_TRUNCATE 1
16510| #define HAVE_FTRUNCATE 1
16511| #define HAVE_FTELLO 1
16512| #define HAVE_TIMES 1
16513| #define HAVE_UTIMES 1
16514| #define HAVE_FCNTL 1
16515| #define HAVE_LOCKF 1
16516| #define HAVE_LSTAT 1
16517| #define HAVE_FSEEKO 1
16518| #define HAVE_LINK 1
16519| #define HAVE_SYMLINK 1
16520| #define HAVE_READLINK 1
16521| #define HAVE_READDIR_R 1
16522| #define HAVE_FSYNC 1
16523| #define HAVE_FCHOWN 1
16524| #define HAVE_SETITIMER 1
16525| #define HAVE_SETRUID 1
16526| #define HAVE_SETEUID 1
16527| #define HAVE_SETREUID 1
16528| #define HAVE_SOCKETPAIR 1
16529| #define HAVE_SETRGID 1
16530| #define HAVE_SETEGID 1
16531| #define HAVE_SETREGID 1
16532| #define HAVE_ISSETUGID 1
16533| #define HAVE_PAUSE 1
16534| #define HAVE_LCHOWN 1
16535| #define HAVE_LCHMOD 1
16536| #define HAVE_GETPGRP 1
16537| #define HAVE_SETPGRP 1
16538| #define HAVE_GETPGID 1
16539| #define HAVE_SETPGID 1
16540| #define HAVE_INITGROUPS 1
16541| #define HAVE_GETGROUPS 1
16542| #define HAVE_SETGROUPS 1
16543| #define HAVE_GETPRIORITY 1
16544| #define HAVE_GETRLIMIT 1
16545| #define HAVE_SETRLIMIT 1
16546| #define HAVE_SYSCONF 1
16547| #define HAVE_CLOSE 1
16548| #define HAVE_GETGRNAM_R 1
16549| #define HAVE_DLOPEN 1
16550| #define HAVE_SIGPROCMASK 1
16551| #define HAVE_SIGACTION 1
16552| #define HAVE_SIGSETJMP 1
16553| #define HAVE__SETJMP 1
16554| #define HAVE__LONGJMP 1
16555| #define HAVE_SETSID 1
16556| #define HAVE_TELLDIR 1
16557| #define HAVE_SEEKDIR 1
16558| #define HAVE_FCHMOD 1
16559| #define HAVE_COSH 1
16560| #define HAVE_SINH 1
16561| #define HAVE_TANH 1
16562| #define HAVE_LOG2 1
16563| #define HAVE_ROUND 1
16564| #define HAVE_SETUID 1
16565| #define HAVE_SETGID 1
16566| #define HAVE_SETENV 1
16567| #define HAVE_UNSETENV 1
16568| #define HAVE_MKTIME 1
16569| #define HAVE_TIMEGM 1
16570| #define HAVE_GMTIME_R 1
16571| #define HAVE_GETTIMEOFDAY 1
16572| #define HAVE_POLL 1
16573| #define HAVE_PREAD 1
16574| #define HAVE_SENDFILE 1
16575| #define HAVE_SHUTDOWN 1
16576| #define HAVE_SIGALTSTACK 1
16577| #define RUBY_SETJMP(env) _setjmp(env)
16578| #define RUBY_LONGJMP(env,val) _longjmp(env,val)
16579| #define RUBY_JMP_BUF jmp_buf
16580| #define HAVE_STRUCT_TM_TM_ZONE 1
16581| #define HAVE_TM_ZONE 1
16582| #define HAVE_STRUCT_TM_TM_GMTOFF 1
16583| #define HAVE_DAYLIGHT 1
16584| #define HAVE_VAR_TIMEZONE 1
16585| #define TYPEOF_VAR_TIMEZONE long
16586| #define HAVE_TIMEZONE 1
16587| /* end confdefs.h.  */
16588| #include <time.h>
16589| int
16590| main ()
16591| {
16592| (void)timezone(0, 0);
16593|   ;
16594|   return 0;
16595| }
16596configure:14910: result: yes
16597configure:14918: checking for negative time_t for gmtime(3)
16598configure:14960: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
16599configure:14960: $? = 0
16600configure:14960: ./conftest
16601configure:14960: $? = 0
16602configure:14970: result: yes
16603configure:14979: checking for localtime(3) overflow correctly
16604configure:15023: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -ldl -lobjc >&5
16605configure:15023: $? = 0
16606configure:15023: ./conftest
16607configure:15023: $? = 0
16608configure:15033: result: yes
16609configure:15220: checking whether right shift preserve sign bit
16610configure:15238: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
16611configure:15238: $? = 0
16612configure:15245: result: yes
16613configure:15256: checking read count field in FILE structures
16614configure:15275: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
16615conftest.c:267:21: error: no member named '_cnt' in 'struct __sFILE'
16616FILE *f = stdin; f->_cnt = 0;
16617                 ~  ^
166181 error generated.
16619configure:15275: $? = 1
16620configure: failed program was:
16621| /* confdefs.h */
16622| #define PACKAGE_NAME ""
16623| #define PACKAGE_TARNAME ""
16624| #define PACKAGE_VERSION ""
16625| #define PACKAGE_STRING ""
16626| #define PACKAGE_BUGREPORT ""
16627| #define PACKAGE_URL ""
16628| #define CANONICALIZATION_FOR_MATHN 1
16629| #define STDC_HEADERS 1
16630| #define HAVE_SYS_TYPES_H 1
16631| #define HAVE_SYS_STAT_H 1
16632| #define HAVE_STDLIB_H 1
16633| #define HAVE_STRING_H 1
16634| #define HAVE_MEMORY_H 1
16635| #define HAVE_STRINGS_H 1
16636| #define HAVE_INTTYPES_H 1
16637| #define HAVE_STDINT_H 1
16638| #define HAVE_UNISTD_H 1
16639| #define __EXTENSIONS__ 1
16640| #define _ALL_SOURCE 1
16641| #define _GNU_SOURCE 1
16642| #define _POSIX_PTHREAD_SEMANTICS 1
16643| #define _TANDEM_SOURCE 1
16644| #define HAVE_LONG_LONG 1
16645| #define HAVE_OFF_T 1
16646| #define SIZEOF_INT 4
16647| #define SIZEOF_SHORT 2
16648| #define SIZEOF_LONG 8
16649| #define SIZEOF_LONG_LONG 8
16650| #define SIZEOF___INT64 0
16651| #define SIZEOF_OFF_T 8
16652| #define SIZEOF_VOIDP 8
16653| #define SIZEOF_FLOAT 4
16654| #define SIZEOF_DOUBLE 8
16655| #define SIZEOF_TIME_T 8
16656| #define PRI_LL_PREFIX "ll"
16657| #define rb_pid_t pid_t
16658| #define PIDT2NUM(v) INT2NUM(v)
16659| #define NUM2PIDT(v) NUM2INT(v)
16660| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
16661| #define rb_uid_t uid_t
16662| #define UIDT2NUM(v) UINT2NUM(v)
16663| #define NUM2UIDT(v) NUM2UINT(v)
16664| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
16665| #define rb_gid_t gid_t
16666| #define GIDT2NUM(v) UINT2NUM(v)
16667| #define NUM2GIDT(v) NUM2UINT(v)
16668| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
16669| #define rb_time_t time_t
16670| #define TIMET2NUM(v) LONG2NUM(v)
16671| #define NUM2TIMET(v) NUM2LONG(v)
16672| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
16673| #define rb_dev_t dev_t
16674| #define DEVT2NUM(v) INT2NUM(v)
16675| #define NUM2DEVT(v) NUM2INT(v)
16676| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
16677| #define rb_mode_t mode_t
16678| #define MODET2NUM(v) UINT2NUM(v)
16679| #define NUM2MODET(v) NUM2UINT(v)
16680| #define PRI_MODET_PREFIX PRI_INT_PREFIX
16681| #define rb_rlim_t rlim_t
16682| #define RLIM2NUM(v) ULL2NUM(v)
16683| #define NUM2RLIM(v) NUM2ULL(v)
16684| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
16685| #define HAVE_PROTOTYPES 1
16686| #define TOKEN_PASTE(x,y) x##y
16687| #define STRINGIZE(expr) STRINGIZE0(expr)
16688| #define HAVE_STDARG_PROTOTYPES 1
16689| #define HAVE_VA_ARGS_MACRO 1
16690| #define NORETURN(x) __attribute__ ((noreturn)) x
16691| #define DEPRECATED(x) __attribute__ ((deprecated)) x
16692| #define NOINLINE(x) __attribute__ ((noinline)) x
16693| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
16694| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
16695| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
16696| #define HAVE_GCC_ATOMIC_BUILTINS 1
16697| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
16698| #define HAVE_DECL_SYS_NERR 1
16699| #define HAVE_LIBDL 1
16700| #define HAVE_DIRENT_H 1
16701| #define HAVE__BOOL 1
16702| #define HAVE_STDBOOL_H 1
16703| #define HAVE_SYS_WAIT_H 1
16704| #define HAVE_LIMITS_H 1
16705| #define HAVE_SYS_FILE_H 1
16706| #define HAVE_SYS_IOCTL_H 1
16707| #define HAVE_SYS_SYSCALL_H 1
16708| #define HAVE_FCNTL_H 1
16709| #define HAVE_SYS_FCNTL_H 1
16710| #define HAVE_SYS_SELECT_H 1
16711| #define HAVE_SYS_TIME_H 1
16712| #define HAVE_SYS_TIMES_H 1
16713| #define HAVE_SYS_PARAM_H 1
16714| #define HAVE_PWD_H 1
16715| #define HAVE_GRP_H 1
16716| #define HAVE_UTIME_H 1
16717| #define HAVE_SYS_RESOURCE_H 1
16718| #define HAVE_NETINET_IN_SYSTM_H 1
16719| #define HAVE_FLOAT_H 1
16720| #define HAVE_LANGINFO_H 1
16721| #define HAVE_LOCALE_H 1
16722| #define HAVE_TIME_H 1
16723| #define HAVE_SYS_SOCKET_H 1
16724| #define SIZEOF_SIZE_T 8
16725| #define SIZEOF_PTRDIFF_T 8
16726| #define PRI_SIZE_PREFIX "z"
16727| #define PRI_PTRDIFF_PREFIX "t"
16728| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
16729| #define HAVE_ST_BLKSIZE 1
16730| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16731| #define HAVE_ST_BLOCKS 1
16732| #define HAVE_STRUCT_STAT_ST_RDEV 1
16733| #define HAVE_ST_RDEV 1
16734| #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
16735| #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
16736| #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16737| #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16738| #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16739| #define HAVE_STRUCT_TIMESPEC 1
16740| #define HAVE_STRUCT_TIMEZONE 1
16741| #define HAVE_RB_FD_INIT 1
16742| #define HAVE_INT8_T 1
16743| #define SIZEOF_INT8_T 1
16744| #define HAVE_UINT8_T 1
16745| #define SIZEOF_UINT8_T 1
16746| #define HAVE_INT16_T 1
16747| #define SIZEOF_INT16_T 2
16748| #define HAVE_UINT16_T 1
16749| #define SIZEOF_UINT16_T 2
16750| #define HAVE_INT32_T 1
16751| #define SIZEOF_INT32_T 4
16752| #define HAVE_UINT32_T 1
16753| #define SIZEOF_UINT32_T 4
16754| #define HAVE_INT64_T 1
16755| #define SIZEOF_INT64_T 8
16756| #define HAVE_UINT64_T 1
16757| #define SIZEOF_UINT64_T 8
16758| #define HAVE_INTPTR_T 1
16759| #define SIZEOF_INTPTR_T 8
16760| #define HAVE_UINTPTR_T 1
16761| #define SIZEOF_UINTPTR_T 8
16762| #define HAVE_SSIZE_T 1
16763| #define SIZEOF_SSIZE_T 8
16764| #define GC_MARK_STACKFRAME_WORD 16
16765| #define GETGROUPS_T gid_t
16766| #define RETSIGTYPE void
16767| #define HAVE_ALLOCA_H 1
16768| #define HAVE_ALLOCA 1
16769| #define HAVE_DUP2 1
16770| #define HAVE_MEMMOVE 1
16771| #define HAVE_STRERROR 1
16772| #define HAVE_STRCHR 1
16773| #define HAVE_STRSTR 1
16774| #define HAVE_CRYPT 1
16775| #define HAVE_FLOCK 1
16776| #define HAVE_ISNAN 1
16777| #define HAVE_FINITE 1
16778| #define HAVE_ISINF 1
16779| #define HAVE_HYPOT 1
16780| #define HAVE_ACOSH 1
16781| #define HAVE_ERF 1
16782| #define HAVE_TGAMMA 1
16783| #define HAVE_LGAMMA_R 1
16784| #define HAVE_CBRT 1
16785| #define HAVE_STRLCPY 1
16786| #define HAVE_STRLCAT 1
16787| #define HAVE_FFS 1
16788| #define SPT_TYPE SPT_REUSEARGV
16789| #define HAVE_SIGNBIT 1
16790| #define HAVE_FMOD 1
16791| #define HAVE_KILLPG 1
16792| #define HAVE_WAIT4 1
16793| #define HAVE_WAITPID 1
16794| #define HAVE_FORK 1
16795| #define HAVE_SYSCALL 1
16796| #define HAVE___SYSCALL 1
16797| #define HAVE_CHROOT 1
16798| #define HAVE_GETCWD 1
16799| #define HAVE_TRUNCATE 1
16800| #define HAVE_FTRUNCATE 1
16801| #define HAVE_FTELLO 1
16802| #define HAVE_TIMES 1
16803| #define HAVE_UTIMES 1
16804| #define HAVE_FCNTL 1
16805| #define HAVE_LOCKF 1
16806| #define HAVE_LSTAT 1
16807| #define HAVE_FSEEKO 1
16808| #define HAVE_LINK 1
16809| #define HAVE_SYMLINK 1
16810| #define HAVE_READLINK 1
16811| #define HAVE_READDIR_R 1
16812| #define HAVE_FSYNC 1
16813| #define HAVE_FCHOWN 1
16814| #define HAVE_SETITIMER 1
16815| #define HAVE_SETRUID 1
16816| #define HAVE_SETEUID 1
16817| #define HAVE_SETREUID 1
16818| #define HAVE_SOCKETPAIR 1
16819| #define HAVE_SETRGID 1
16820| #define HAVE_SETEGID 1
16821| #define HAVE_SETREGID 1
16822| #define HAVE_ISSETUGID 1
16823| #define HAVE_PAUSE 1
16824| #define HAVE_LCHOWN 1
16825| #define HAVE_LCHMOD 1
16826| #define HAVE_GETPGRP 1
16827| #define HAVE_SETPGRP 1
16828| #define HAVE_GETPGID 1
16829| #define HAVE_SETPGID 1
16830| #define HAVE_INITGROUPS 1
16831| #define HAVE_GETGROUPS 1
16832| #define HAVE_SETGROUPS 1
16833| #define HAVE_GETPRIORITY 1
16834| #define HAVE_GETRLIMIT 1
16835| #define HAVE_SETRLIMIT 1
16836| #define HAVE_SYSCONF 1
16837| #define HAVE_CLOSE 1
16838| #define HAVE_GETGRNAM_R 1
16839| #define HAVE_DLOPEN 1
16840| #define HAVE_SIGPROCMASK 1
16841| #define HAVE_SIGACTION 1
16842| #define HAVE_SIGSETJMP 1
16843| #define HAVE__SETJMP 1
16844| #define HAVE__LONGJMP 1
16845| #define HAVE_SETSID 1
16846| #define HAVE_TELLDIR 1
16847| #define HAVE_SEEKDIR 1
16848| #define HAVE_FCHMOD 1
16849| #define HAVE_COSH 1
16850| #define HAVE_SINH 1
16851| #define HAVE_TANH 1
16852| #define HAVE_LOG2 1
16853| #define HAVE_ROUND 1
16854| #define HAVE_SETUID 1
16855| #define HAVE_SETGID 1
16856| #define HAVE_SETENV 1
16857| #define HAVE_UNSETENV 1
16858| #define HAVE_MKTIME 1
16859| #define HAVE_TIMEGM 1
16860| #define HAVE_GMTIME_R 1
16861| #define HAVE_GETTIMEOFDAY 1
16862| #define HAVE_POLL 1
16863| #define HAVE_PREAD 1
16864| #define HAVE_SENDFILE 1
16865| #define HAVE_SHUTDOWN 1
16866| #define HAVE_SIGALTSTACK 1
16867| #define RUBY_SETJMP(env) _setjmp(env)
16868| #define RUBY_LONGJMP(env,val) _longjmp(env,val)
16869| #define RUBY_JMP_BUF jmp_buf
16870| #define HAVE_STRUCT_TM_TM_ZONE 1
16871| #define HAVE_TM_ZONE 1
16872| #define HAVE_STRUCT_TM_TM_GMTOFF 1
16873| #define HAVE_DAYLIGHT 1
16874| #define HAVE_VAR_TIMEZONE 1
16875| #define TYPEOF_VAR_TIMEZONE long
16876| #define HAVE_TIMEZONE 1
16877| #define TIMEZONE_VOID 1
16878| #define NEGATIVE_TIME_T 1
16879| #define POSIX_SIGNAL 1
16880| #define RSHIFT(x,y) ((x)>>(int)(y))
16881| /* end confdefs.h.  */
16882| #include <stdio.h>
16883|
16884| int
16885| main ()
16886| {
16887| FILE *f = stdin; f->_cnt = 0;
16888|   ;
16889|   return 0;
16890| }
16891configure:15275: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
16892conftest.c:267:21: error: no member named '__cnt' in 'struct __sFILE'
16893FILE *f = stdin; f->__cnt = 0;
16894                 ~  ^
168951 error generated.
16896configure:15275: $? = 1
16897configure: failed program was:
16898| /* confdefs.h */
16899| #define PACKAGE_NAME ""
16900| #define PACKAGE_TARNAME ""
16901| #define PACKAGE_VERSION ""
16902| #define PACKAGE_STRING ""
16903| #define PACKAGE_BUGREPORT ""
16904| #define PACKAGE_URL ""
16905| #define CANONICALIZATION_FOR_MATHN 1
16906| #define STDC_HEADERS 1
16907| #define HAVE_SYS_TYPES_H 1
16908| #define HAVE_SYS_STAT_H 1
16909| #define HAVE_STDLIB_H 1
16910| #define HAVE_STRING_H 1
16911| #define HAVE_MEMORY_H 1
16912| #define HAVE_STRINGS_H 1
16913| #define HAVE_INTTYPES_H 1
16914| #define HAVE_STDINT_H 1
16915| #define HAVE_UNISTD_H 1
16916| #define __EXTENSIONS__ 1
16917| #define _ALL_SOURCE 1
16918| #define _GNU_SOURCE 1
16919| #define _POSIX_PTHREAD_SEMANTICS 1
16920| #define _TANDEM_SOURCE 1
16921| #define HAVE_LONG_LONG 1
16922| #define HAVE_OFF_T 1
16923| #define SIZEOF_INT 4
16924| #define SIZEOF_SHORT 2
16925| #define SIZEOF_LONG 8
16926| #define SIZEOF_LONG_LONG 8
16927| #define SIZEOF___INT64 0
16928| #define SIZEOF_OFF_T 8
16929| #define SIZEOF_VOIDP 8
16930| #define SIZEOF_FLOAT 4
16931| #define SIZEOF_DOUBLE 8
16932| #define SIZEOF_TIME_T 8
16933| #define PRI_LL_PREFIX "ll"
16934| #define rb_pid_t pid_t
16935| #define PIDT2NUM(v) INT2NUM(v)
16936| #define NUM2PIDT(v) NUM2INT(v)
16937| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
16938| #define rb_uid_t uid_t
16939| #define UIDT2NUM(v) UINT2NUM(v)
16940| #define NUM2UIDT(v) NUM2UINT(v)
16941| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
16942| #define rb_gid_t gid_t
16943| #define GIDT2NUM(v) UINT2NUM(v)
16944| #define NUM2GIDT(v) NUM2UINT(v)
16945| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
16946| #define rb_time_t time_t
16947| #define TIMET2NUM(v) LONG2NUM(v)
16948| #define NUM2TIMET(v) NUM2LONG(v)
16949| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
16950| #define rb_dev_t dev_t
16951| #define DEVT2NUM(v) INT2NUM(v)
16952| #define NUM2DEVT(v) NUM2INT(v)
16953| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
16954| #define rb_mode_t mode_t
16955| #define MODET2NUM(v) UINT2NUM(v)
16956| #define NUM2MODET(v) NUM2UINT(v)
16957| #define PRI_MODET_PREFIX PRI_INT_PREFIX
16958| #define rb_rlim_t rlim_t
16959| #define RLIM2NUM(v) ULL2NUM(v)
16960| #define NUM2RLIM(v) NUM2ULL(v)
16961| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
16962| #define HAVE_PROTOTYPES 1
16963| #define TOKEN_PASTE(x,y) x##y
16964| #define STRINGIZE(expr) STRINGIZE0(expr)
16965| #define HAVE_STDARG_PROTOTYPES 1
16966| #define HAVE_VA_ARGS_MACRO 1
16967| #define NORETURN(x) __attribute__ ((noreturn)) x
16968| #define DEPRECATED(x) __attribute__ ((deprecated)) x
16969| #define NOINLINE(x) __attribute__ ((noinline)) x
16970| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
16971| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
16972| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
16973| #define HAVE_GCC_ATOMIC_BUILTINS 1
16974| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
16975| #define HAVE_DECL_SYS_NERR 1
16976| #define HAVE_LIBDL 1
16977| #define HAVE_DIRENT_H 1
16978| #define HAVE__BOOL 1
16979| #define HAVE_STDBOOL_H 1
16980| #define HAVE_SYS_WAIT_H 1
16981| #define HAVE_LIMITS_H 1
16982| #define HAVE_SYS_FILE_H 1
16983| #define HAVE_SYS_IOCTL_H 1
16984| #define HAVE_SYS_SYSCALL_H 1
16985| #define HAVE_FCNTL_H 1
16986| #define HAVE_SYS_FCNTL_H 1
16987| #define HAVE_SYS_SELECT_H 1
16988| #define HAVE_SYS_TIME_H 1
16989| #define HAVE_SYS_TIMES_H 1
16990| #define HAVE_SYS_PARAM_H 1
16991| #define HAVE_PWD_H 1
16992| #define HAVE_GRP_H 1
16993| #define HAVE_UTIME_H 1
16994| #define HAVE_SYS_RESOURCE_H 1
16995| #define HAVE_NETINET_IN_SYSTM_H 1
16996| #define HAVE_FLOAT_H 1
16997| #define HAVE_LANGINFO_H 1
16998| #define HAVE_LOCALE_H 1
16999| #define HAVE_TIME_H 1
17000| #define HAVE_SYS_SOCKET_H 1
17001| #define SIZEOF_SIZE_T 8
17002| #define SIZEOF_PTRDIFF_T 8
17003| #define PRI_SIZE_PREFIX "z"
17004| #define PRI_PTRDIFF_PREFIX "t"
17005| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
17006| #define HAVE_ST_BLKSIZE 1
17007| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17008| #define HAVE_ST_BLOCKS 1
17009| #define HAVE_STRUCT_STAT_ST_RDEV 1
17010| #define HAVE_ST_RDEV 1
17011| #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
17012| #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
17013| #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
17014| #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
17015| #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
17016| #define HAVE_STRUCT_TIMESPEC 1
17017| #define HAVE_STRUCT_TIMEZONE 1
17018| #define HAVE_RB_FD_INIT 1
17019| #define HAVE_INT8_T 1
17020| #define SIZEOF_INT8_T 1
17021| #define HAVE_UINT8_T 1
17022| #define SIZEOF_UINT8_T 1
17023| #define HAVE_INT16_T 1
17024| #define SIZEOF_INT16_T 2
17025| #define HAVE_UINT16_T 1
17026| #define SIZEOF_UINT16_T 2
17027| #define HAVE_INT32_T 1
17028| #define SIZEOF_INT32_T 4
17029| #define HAVE_UINT32_T 1
17030| #define SIZEOF_UINT32_T 4
17031| #define HAVE_INT64_T 1
17032| #define SIZEOF_INT64_T 8
17033| #define HAVE_UINT64_T 1
17034| #define SIZEOF_UINT64_T 8
17035| #define HAVE_INTPTR_T 1
17036| #define SIZEOF_INTPTR_T 8
17037| #define HAVE_UINTPTR_T 1
17038| #define SIZEOF_UINTPTR_T 8
17039| #define HAVE_SSIZE_T 1
17040| #define SIZEOF_SSIZE_T 8
17041| #define GC_MARK_STACKFRAME_WORD 16
17042| #define GETGROUPS_T gid_t
17043| #define RETSIGTYPE void
17044| #define HAVE_ALLOCA_H 1
17045| #define HAVE_ALLOCA 1
17046| #define HAVE_DUP2 1
17047| #define HAVE_MEMMOVE 1
17048| #define HAVE_STRERROR 1
17049| #define HAVE_STRCHR 1
17050| #define HAVE_STRSTR 1
17051| #define HAVE_CRYPT 1
17052| #define HAVE_FLOCK 1
17053| #define HAVE_ISNAN 1
17054| #define HAVE_FINITE 1
17055| #define HAVE_ISINF 1
17056| #define HAVE_HYPOT 1
17057| #define HAVE_ACOSH 1
17058| #define HAVE_ERF 1
17059| #define HAVE_TGAMMA 1
17060| #define HAVE_LGAMMA_R 1
17061| #define HAVE_CBRT 1
17062| #define HAVE_STRLCPY 1
17063| #define HAVE_STRLCAT 1
17064| #define HAVE_FFS 1
17065| #define SPT_TYPE SPT_REUSEARGV
17066| #define HAVE_SIGNBIT 1
17067| #define HAVE_FMOD 1
17068| #define HAVE_KILLPG 1
17069| #define HAVE_WAIT4 1
17070| #define HAVE_WAITPID 1
17071| #define HAVE_FORK 1
17072| #define HAVE_SYSCALL 1
17073| #define HAVE___SYSCALL 1
17074| #define HAVE_CHROOT 1
17075| #define HAVE_GETCWD 1
17076| #define HAVE_TRUNCATE 1
17077| #define HAVE_FTRUNCATE 1
17078| #define HAVE_FTELLO 1
17079| #define HAVE_TIMES 1
17080| #define HAVE_UTIMES 1
17081| #define HAVE_FCNTL 1
17082| #define HAVE_LOCKF 1
17083| #define HAVE_LSTAT 1
17084| #define HAVE_FSEEKO 1
17085| #define HAVE_LINK 1
17086| #define HAVE_SYMLINK 1
17087| #define HAVE_READLINK 1
17088| #define HAVE_READDIR_R 1
17089| #define HAVE_FSYNC 1
17090| #define HAVE_FCHOWN 1
17091| #define HAVE_SETITIMER 1
17092| #define HAVE_SETRUID 1
17093| #define HAVE_SETEUID 1
17094| #define HAVE_SETREUID 1
17095| #define HAVE_SOCKETPAIR 1
17096| #define HAVE_SETRGID 1
17097| #define HAVE_SETEGID 1
17098| #define HAVE_SETREGID 1
17099| #define HAVE_ISSETUGID 1
17100| #define HAVE_PAUSE 1
17101| #define HAVE_LCHOWN 1
17102| #define HAVE_LCHMOD 1
17103| #define HAVE_GETPGRP 1
17104| #define HAVE_SETPGRP 1
17105| #define HAVE_GETPGID 1
17106| #define HAVE_SETPGID 1
17107| #define HAVE_INITGROUPS 1
17108| #define HAVE_GETGROUPS 1
17109| #define HAVE_SETGROUPS 1
17110| #define HAVE_GETPRIORITY 1
17111| #define HAVE_GETRLIMIT 1
17112| #define HAVE_SETRLIMIT 1
17113| #define HAVE_SYSCONF 1
17114| #define HAVE_CLOSE 1
17115| #define HAVE_GETGRNAM_R 1
17116| #define HAVE_DLOPEN 1
17117| #define HAVE_SIGPROCMASK 1
17118| #define HAVE_SIGACTION 1
17119| #define HAVE_SIGSETJMP 1
17120| #define HAVE__SETJMP 1
17121| #define HAVE__LONGJMP 1
17122| #define HAVE_SETSID 1
17123| #define HAVE_TELLDIR 1
17124| #define HAVE_SEEKDIR 1
17125| #define HAVE_FCHMOD 1
17126| #define HAVE_COSH 1
17127| #define HAVE_SINH 1
17128| #define HAVE_TANH 1
17129| #define HAVE_LOG2 1
17130| #define HAVE_ROUND 1
17131| #define HAVE_SETUID 1
17132| #define HAVE_SETGID 1
17133| #define HAVE_SETENV 1
17134| #define HAVE_UNSETENV 1
17135| #define HAVE_MKTIME 1
17136| #define HAVE_TIMEGM 1
17137| #define HAVE_GMTIME_R 1
17138| #define HAVE_GETTIMEOFDAY 1
17139| #define HAVE_POLL 1
17140| #define HAVE_PREAD 1
17141| #define HAVE_SENDFILE 1
17142| #define HAVE_SHUTDOWN 1
17143| #define HAVE_SIGALTSTACK 1
17144| #define RUBY_SETJMP(env) _setjmp(env)
17145| #define RUBY_LONGJMP(env,val) _longjmp(env,val)
17146| #define RUBY_JMP_BUF jmp_buf
17147| #define HAVE_STRUCT_TM_TM_ZONE 1
17148| #define HAVE_TM_ZONE 1
17149| #define HAVE_STRUCT_TM_TM_GMTOFF 1
17150| #define HAVE_DAYLIGHT 1
17151| #define HAVE_VAR_TIMEZONE 1
17152| #define TYPEOF_VAR_TIMEZONE long
17153| #define HAVE_TIMEZONE 1
17154| #define TIMEZONE_VOID 1
17155| #define NEGATIVE_TIME_T 1
17156| #define POSIX_SIGNAL 1
17157| #define RSHIFT(x,y) ((x)>>(int)(y))
17158| /* end confdefs.h.  */
17159| #include <stdio.h>
17160|
17161| int
17162| main ()
17163| {
17164| FILE *f = stdin; f->__cnt = 0;
17165|   ;
17166|   return 0;
17167| }
17168configure:15275: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
17169configure:15275: $? = 0
17170configure:15281: result: _r
17171configure:15293: checking read buffer ptr field in FILE structures
17172configure:15311: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
17173conftest.c:268:36: error: no member named '_IO_read_ptr' in 'struct __sFILE'
17174FILE *f = stdin; char buf[256]; f->_IO_read_ptr = buf;
17175                                ~  ^
171761 error generated.
17177configure:15311: $? = 1
17178configure: failed program was:
17179| /* confdefs.h */
17180| #define PACKAGE_NAME ""
17181| #define PACKAGE_TARNAME ""
17182| #define PACKAGE_VERSION ""
17183| #define PACKAGE_STRING ""
17184| #define PACKAGE_BUGREPORT ""
17185| #define PACKAGE_URL ""
17186| #define CANONICALIZATION_FOR_MATHN 1
17187| #define STDC_HEADERS 1
17188| #define HAVE_SYS_TYPES_H 1
17189| #define HAVE_SYS_STAT_H 1
17190| #define HAVE_STDLIB_H 1
17191| #define HAVE_STRING_H 1
17192| #define HAVE_MEMORY_H 1
17193| #define HAVE_STRINGS_H 1
17194| #define HAVE_INTTYPES_H 1
17195| #define HAVE_STDINT_H 1
17196| #define HAVE_UNISTD_H 1
17197| #define __EXTENSIONS__ 1
17198| #define _ALL_SOURCE 1
17199| #define _GNU_SOURCE 1
17200| #define _POSIX_PTHREAD_SEMANTICS 1
17201| #define _TANDEM_SOURCE 1
17202| #define HAVE_LONG_LONG 1
17203| #define HAVE_OFF_T 1
17204| #define SIZEOF_INT 4
17205| #define SIZEOF_SHORT 2
17206| #define SIZEOF_LONG 8
17207| #define SIZEOF_LONG_LONG 8
17208| #define SIZEOF___INT64 0
17209| #define SIZEOF_OFF_T 8
17210| #define SIZEOF_VOIDP 8
17211| #define SIZEOF_FLOAT 4
17212| #define SIZEOF_DOUBLE 8
17213| #define SIZEOF_TIME_T 8
17214| #define PRI_LL_PREFIX "ll"
17215| #define rb_pid_t pid_t
17216| #define PIDT2NUM(v) INT2NUM(v)
17217| #define NUM2PIDT(v) NUM2INT(v)
17218| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
17219| #define rb_uid_t uid_t
17220| #define UIDT2NUM(v) UINT2NUM(v)
17221| #define NUM2UIDT(v) NUM2UINT(v)
17222| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
17223| #define rb_gid_t gid_t
17224| #define GIDT2NUM(v) UINT2NUM(v)
17225| #define NUM2GIDT(v) NUM2UINT(v)
17226| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
17227| #define rb_time_t time_t
17228| #define TIMET2NUM(v) LONG2NUM(v)
17229| #define NUM2TIMET(v) NUM2LONG(v)
17230| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
17231| #define rb_dev_t dev_t
17232| #define DEVT2NUM(v) INT2NUM(v)
17233| #define NUM2DEVT(v) NUM2INT(v)
17234| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
17235| #define rb_mode_t mode_t
17236| #define MODET2NUM(v) UINT2NUM(v)
17237| #define NUM2MODET(v) NUM2UINT(v)
17238| #define PRI_MODET_PREFIX PRI_INT_PREFIX
17239| #define rb_rlim_t rlim_t
17240| #define RLIM2NUM(v) ULL2NUM(v)
17241| #define NUM2RLIM(v) NUM2ULL(v)
17242| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
17243| #define HAVE_PROTOTYPES 1
17244| #define TOKEN_PASTE(x,y) x##y
17245| #define STRINGIZE(expr) STRINGIZE0(expr)
17246| #define HAVE_STDARG_PROTOTYPES 1
17247| #define HAVE_VA_ARGS_MACRO 1
17248| #define NORETURN(x) __attribute__ ((noreturn)) x
17249| #define DEPRECATED(x) __attribute__ ((deprecated)) x
17250| #define NOINLINE(x) __attribute__ ((noinline)) x
17251| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
17252| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
17253| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
17254| #define HAVE_GCC_ATOMIC_BUILTINS 1
17255| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
17256| #define HAVE_DECL_SYS_NERR 1
17257| #define HAVE_LIBDL 1
17258| #define HAVE_DIRENT_H 1
17259| #define HAVE__BOOL 1
17260| #define HAVE_STDBOOL_H 1
17261| #define HAVE_SYS_WAIT_H 1
17262| #define HAVE_LIMITS_H 1
17263| #define HAVE_SYS_FILE_H 1
17264| #define HAVE_SYS_IOCTL_H 1
17265| #define HAVE_SYS_SYSCALL_H 1
17266| #define HAVE_FCNTL_H 1
17267| #define HAVE_SYS_FCNTL_H 1
17268| #define HAVE_SYS_SELECT_H 1
17269| #define HAVE_SYS_TIME_H 1
17270| #define HAVE_SYS_TIMES_H 1
17271| #define HAVE_SYS_PARAM_H 1
17272| #define HAVE_PWD_H 1
17273| #define HAVE_GRP_H 1
17274| #define HAVE_UTIME_H 1
17275| #define HAVE_SYS_RESOURCE_H 1
17276| #define HAVE_NETINET_IN_SYSTM_H 1
17277| #define HAVE_FLOAT_H 1
17278| #define HAVE_LANGINFO_H 1
17279| #define HAVE_LOCALE_H 1
17280| #define HAVE_TIME_H 1
17281| #define HAVE_SYS_SOCKET_H 1
17282| #define SIZEOF_SIZE_T 8
17283| #define SIZEOF_PTRDIFF_T 8
17284| #define PRI_SIZE_PREFIX "z"
17285| #define PRI_PTRDIFF_PREFIX "t"
17286| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
17287| #define HAVE_ST_BLKSIZE 1
17288| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17289| #define HAVE_ST_BLOCKS 1
17290| #define HAVE_STRUCT_STAT_ST_RDEV 1
17291| #define HAVE_ST_RDEV 1
17292| #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
17293| #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
17294| #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
17295| #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
17296| #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
17297| #define HAVE_STRUCT_TIMESPEC 1
17298| #define HAVE_STRUCT_TIMEZONE 1
17299| #define HAVE_RB_FD_INIT 1
17300| #define HAVE_INT8_T 1
17301| #define SIZEOF_INT8_T 1
17302| #define HAVE_UINT8_T 1
17303| #define SIZEOF_UINT8_T 1
17304| #define HAVE_INT16_T 1
17305| #define SIZEOF_INT16_T 2
17306| #define HAVE_UINT16_T 1
17307| #define SIZEOF_UINT16_T 2
17308| #define HAVE_INT32_T 1
17309| #define SIZEOF_INT32_T 4
17310| #define HAVE_UINT32_T 1
17311| #define SIZEOF_UINT32_T 4
17312| #define HAVE_INT64_T 1
17313| #define SIZEOF_INT64_T 8
17314| #define HAVE_UINT64_T 1
17315| #define SIZEOF_UINT64_T 8
17316| #define HAVE_INTPTR_T 1
17317| #define SIZEOF_INTPTR_T 8
17318| #define HAVE_UINTPTR_T 1
17319| #define SIZEOF_UINTPTR_T 8
17320| #define HAVE_SSIZE_T 1
17321| #define SIZEOF_SSIZE_T 8
17322| #define GC_MARK_STACKFRAME_WORD 16
17323| #define GETGROUPS_T gid_t
17324| #define RETSIGTYPE void
17325| #define HAVE_ALLOCA_H 1
17326| #define HAVE_ALLOCA 1
17327| #define HAVE_DUP2 1
17328| #define HAVE_MEMMOVE 1
17329| #define HAVE_STRERROR 1
17330| #define HAVE_STRCHR 1
17331| #define HAVE_STRSTR 1
17332| #define HAVE_CRYPT 1
17333| #define HAVE_FLOCK 1
17334| #define HAVE_ISNAN 1
17335| #define HAVE_FINITE 1
17336| #define HAVE_ISINF 1
17337| #define HAVE_HYPOT 1
17338| #define HAVE_ACOSH 1
17339| #define HAVE_ERF 1
17340| #define HAVE_TGAMMA 1
17341| #define HAVE_LGAMMA_R 1
17342| #define HAVE_CBRT 1
17343| #define HAVE_STRLCPY 1
17344| #define HAVE_STRLCAT 1
17345| #define HAVE_FFS 1
17346| #define SPT_TYPE SPT_REUSEARGV
17347| #define HAVE_SIGNBIT 1
17348| #define HAVE_FMOD 1
17349| #define HAVE_KILLPG 1
17350| #define HAVE_WAIT4 1
17351| #define HAVE_WAITPID 1
17352| #define HAVE_FORK 1
17353| #define HAVE_SYSCALL 1
17354| #define HAVE___SYSCALL 1
17355| #define HAVE_CHROOT 1
17356| #define HAVE_GETCWD 1
17357| #define HAVE_TRUNCATE 1
17358| #define HAVE_FTRUNCATE 1
17359| #define HAVE_FTELLO 1
17360| #define HAVE_TIMES 1
17361| #define HAVE_UTIMES 1
17362| #define HAVE_FCNTL 1
17363| #define HAVE_LOCKF 1
17364| #define HAVE_LSTAT 1
17365| #define HAVE_FSEEKO 1
17366| #define HAVE_LINK 1
17367| #define HAVE_SYMLINK 1
17368| #define HAVE_READLINK 1
17369| #define HAVE_READDIR_R 1
17370| #define HAVE_FSYNC 1
17371| #define HAVE_FCHOWN 1
17372| #define HAVE_SETITIMER 1
17373| #define HAVE_SETRUID 1
17374| #define HAVE_SETEUID 1
17375| #define HAVE_SETREUID 1
17376| #define HAVE_SOCKETPAIR 1
17377| #define HAVE_SETRGID 1
17378| #define HAVE_SETEGID 1
17379| #define HAVE_SETREGID 1
17380| #define HAVE_ISSETUGID 1
17381| #define HAVE_PAUSE 1
17382| #define HAVE_LCHOWN 1
17383| #define HAVE_LCHMOD 1
17384| #define HAVE_GETPGRP 1
17385| #define HAVE_SETPGRP 1
17386| #define HAVE_GETPGID 1
17387| #define HAVE_SETPGID 1
17388| #define HAVE_INITGROUPS 1
17389| #define HAVE_GETGROUPS 1
17390| #define HAVE_SETGROUPS 1
17391| #define HAVE_GETPRIORITY 1
17392| #define HAVE_GETRLIMIT 1
17393| #define HAVE_SETRLIMIT 1
17394| #define HAVE_SYSCONF 1
17395| #define HAVE_CLOSE 1
17396| #define HAVE_GETGRNAM_R 1
17397| #define HAVE_DLOPEN 1
17398| #define HAVE_SIGPROCMASK 1
17399| #define HAVE_SIGACTION 1
17400| #define HAVE_SIGSETJMP 1
17401| #define HAVE__SETJMP 1
17402| #define HAVE__LONGJMP 1
17403| #define HAVE_SETSID 1
17404| #define HAVE_TELLDIR 1
17405| #define HAVE_SEEKDIR 1
17406| #define HAVE_FCHMOD 1
17407| #define HAVE_COSH 1
17408| #define HAVE_SINH 1
17409| #define HAVE_TANH 1
17410| #define HAVE_LOG2 1
17411| #define HAVE_ROUND 1
17412| #define HAVE_SETUID 1
17413| #define HAVE_SETGID 1
17414| #define HAVE_SETENV 1
17415| #define HAVE_UNSETENV 1
17416| #define HAVE_MKTIME 1
17417| #define HAVE_TIMEGM 1
17418| #define HAVE_GMTIME_R 1
17419| #define HAVE_GETTIMEOFDAY 1
17420| #define HAVE_POLL 1
17421| #define HAVE_PREAD 1
17422| #define HAVE_SENDFILE 1
17423| #define HAVE_SHUTDOWN 1
17424| #define HAVE_SIGALTSTACK 1
17425| #define RUBY_SETJMP(env) _setjmp(env)
17426| #define RUBY_LONGJMP(env,val) _longjmp(env,val)
17427| #define RUBY_JMP_BUF jmp_buf
17428| #define HAVE_STRUCT_TM_TM_ZONE 1
17429| #define HAVE_TM_ZONE 1
17430| #define HAVE_STRUCT_TM_TM_GMTOFF 1
17431| #define HAVE_DAYLIGHT 1
17432| #define HAVE_VAR_TIMEZONE 1
17433| #define TYPEOF_VAR_TIMEZONE long
17434| #define HAVE_TIMEZONE 1
17435| #define TIMEZONE_VOID 1
17436| #define NEGATIVE_TIME_T 1
17437| #define POSIX_SIGNAL 1
17438| #define RSHIFT(x,y) ((x)>>(int)(y))
17439| #define FILE_COUNT _r
17440| /* end confdefs.h.  */
17441| #include <stdio.h>
17442|
17443| int
17444| main ()
17445| {
17446| FILE *f = stdin; char buf[256]; f->_IO_read_ptr = buf;
17447|   ;
17448|   return 0;
17449| }
17450configure:15311: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
17451conftest.c:268:36: error: no member named '_ptr' in 'struct __sFILE'
17452FILE *f = stdin; char buf[256]; f->_ptr = buf;
17453                                ~  ^
174541 error generated.
17455configure:15311: $? = 1
17456configure: failed program was:
17457| /* confdefs.h */
17458| #define PACKAGE_NAME ""
17459| #define PACKAGE_TARNAME ""
17460| #define PACKAGE_VERSION ""
17461| #define PACKAGE_STRING ""
17462| #define PACKAGE_BUGREPORT ""
17463| #define PACKAGE_URL ""
17464| #define CANONICALIZATION_FOR_MATHN 1
17465| #define STDC_HEADERS 1
17466| #define HAVE_SYS_TYPES_H 1
17467| #define HAVE_SYS_STAT_H 1
17468| #define HAVE_STDLIB_H 1
17469| #define HAVE_STRING_H 1
17470| #define HAVE_MEMORY_H 1
17471| #define HAVE_STRINGS_H 1
17472| #define HAVE_INTTYPES_H 1
17473| #define HAVE_STDINT_H 1
17474| #define HAVE_UNISTD_H 1
17475| #define __EXTENSIONS__ 1
17476| #define _ALL_SOURCE 1
17477| #define _GNU_SOURCE 1
17478| #define _POSIX_PTHREAD_SEMANTICS 1
17479| #define _TANDEM_SOURCE 1
17480| #define HAVE_LONG_LONG 1
17481| #define HAVE_OFF_T 1
17482| #define SIZEOF_INT 4
17483| #define SIZEOF_SHORT 2
17484| #define SIZEOF_LONG 8
17485| #define SIZEOF_LONG_LONG 8
17486| #define SIZEOF___INT64 0
17487| #define SIZEOF_OFF_T 8
17488| #define SIZEOF_VOIDP 8
17489| #define SIZEOF_FLOAT 4
17490| #define SIZEOF_DOUBLE 8
17491| #define SIZEOF_TIME_T 8
17492| #define PRI_LL_PREFIX "ll"
17493| #define rb_pid_t pid_t
17494| #define PIDT2NUM(v) INT2NUM(v)
17495| #define NUM2PIDT(v) NUM2INT(v)
17496| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
17497| #define rb_uid_t uid_t
17498| #define UIDT2NUM(v) UINT2NUM(v)
17499| #define NUM2UIDT(v) NUM2UINT(v)
17500| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
17501| #define rb_gid_t gid_t
17502| #define GIDT2NUM(v) UINT2NUM(v)
17503| #define NUM2GIDT(v) NUM2UINT(v)
17504| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
17505| #define rb_time_t time_t
17506| #define TIMET2NUM(v) LONG2NUM(v)
17507| #define NUM2TIMET(v) NUM2LONG(v)
17508| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
17509| #define rb_dev_t dev_t
17510| #define DEVT2NUM(v) INT2NUM(v)
17511| #define NUM2DEVT(v) NUM2INT(v)
17512| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
17513| #define rb_mode_t mode_t
17514| #define MODET2NUM(v) UINT2NUM(v)
17515| #define NUM2MODET(v) NUM2UINT(v)
17516| #define PRI_MODET_PREFIX PRI_INT_PREFIX
17517| #define rb_rlim_t rlim_t
17518| #define RLIM2NUM(v) ULL2NUM(v)
17519| #define NUM2RLIM(v) NUM2ULL(v)
17520| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
17521| #define HAVE_PROTOTYPES 1
17522| #define TOKEN_PASTE(x,y) x##y
17523| #define STRINGIZE(expr) STRINGIZE0(expr)
17524| #define HAVE_STDARG_PROTOTYPES 1
17525| #define HAVE_VA_ARGS_MACRO 1
17526| #define NORETURN(x) __attribute__ ((noreturn)) x
17527| #define DEPRECATED(x) __attribute__ ((deprecated)) x
17528| #define NOINLINE(x) __attribute__ ((noinline)) x
17529| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
17530| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
17531| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
17532| #define HAVE_GCC_ATOMIC_BUILTINS 1
17533| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
17534| #define HAVE_DECL_SYS_NERR 1
17535| #define HAVE_LIBDL 1
17536| #define HAVE_DIRENT_H 1
17537| #define HAVE__BOOL 1
17538| #define HAVE_STDBOOL_H 1
17539| #define HAVE_SYS_WAIT_H 1
17540| #define HAVE_LIMITS_H 1
17541| #define HAVE_SYS_FILE_H 1
17542| #define HAVE_SYS_IOCTL_H 1
17543| #define HAVE_SYS_SYSCALL_H 1
17544| #define HAVE_FCNTL_H 1
17545| #define HAVE_SYS_FCNTL_H 1
17546| #define HAVE_SYS_SELECT_H 1
17547| #define HAVE_SYS_TIME_H 1
17548| #define HAVE_SYS_TIMES_H 1
17549| #define HAVE_SYS_PARAM_H 1
17550| #define HAVE_PWD_H 1
17551| #define HAVE_GRP_H 1
17552| #define HAVE_UTIME_H 1
17553| #define HAVE_SYS_RESOURCE_H 1
17554| #define HAVE_NETINET_IN_SYSTM_H 1
17555| #define HAVE_FLOAT_H 1
17556| #define HAVE_LANGINFO_H 1
17557| #define HAVE_LOCALE_H 1
17558| #define HAVE_TIME_H 1
17559| #define HAVE_SYS_SOCKET_H 1
17560| #define SIZEOF_SIZE_T 8
17561| #define SIZEOF_PTRDIFF_T 8
17562| #define PRI_SIZE_PREFIX "z"
17563| #define PRI_PTRDIFF_PREFIX "t"
17564| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
17565| #define HAVE_ST_BLKSIZE 1
17566| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17567| #define HAVE_ST_BLOCKS 1
17568| #define HAVE_STRUCT_STAT_ST_RDEV 1
17569| #define HAVE_ST_RDEV 1
17570| #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
17571| #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
17572| #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
17573| #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
17574| #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
17575| #define HAVE_STRUCT_TIMESPEC 1
17576| #define HAVE_STRUCT_TIMEZONE 1
17577| #define HAVE_RB_FD_INIT 1
17578| #define HAVE_INT8_T 1
17579| #define SIZEOF_INT8_T 1
17580| #define HAVE_UINT8_T 1
17581| #define SIZEOF_UINT8_T 1
17582| #define HAVE_INT16_T 1
17583| #define SIZEOF_INT16_T 2
17584| #define HAVE_UINT16_T 1
17585| #define SIZEOF_UINT16_T 2
17586| #define HAVE_INT32_T 1
17587| #define SIZEOF_INT32_T 4
17588| #define HAVE_UINT32_T 1
17589| #define SIZEOF_UINT32_T 4
17590| #define HAVE_INT64_T 1
17591| #define SIZEOF_INT64_T 8
17592| #define HAVE_UINT64_T 1
17593| #define SIZEOF_UINT64_T 8
17594| #define HAVE_INTPTR_T 1
17595| #define SIZEOF_INTPTR_T 8
17596| #define HAVE_UINTPTR_T 1
17597| #define SIZEOF_UINTPTR_T 8
17598| #define HAVE_SSIZE_T 1
17599| #define SIZEOF_SSIZE_T 8
17600| #define GC_MARK_STACKFRAME_WORD 16
17601| #define GETGROUPS_T gid_t
17602| #define RETSIGTYPE void
17603| #define HAVE_ALLOCA_H 1
17604| #define HAVE_ALLOCA 1
17605| #define HAVE_DUP2 1
17606| #define HAVE_MEMMOVE 1
17607| #define HAVE_STRERROR 1
17608| #define HAVE_STRCHR 1
17609| #define HAVE_STRSTR 1
17610| #define HAVE_CRYPT 1
17611| #define HAVE_FLOCK 1
17612| #define HAVE_ISNAN 1
17613| #define HAVE_FINITE 1
17614| #define HAVE_ISINF 1
17615| #define HAVE_HYPOT 1
17616| #define HAVE_ACOSH 1
17617| #define HAVE_ERF 1
17618| #define HAVE_TGAMMA 1
17619| #define HAVE_LGAMMA_R 1
17620| #define HAVE_CBRT 1
17621| #define HAVE_STRLCPY 1
17622| #define HAVE_STRLCAT 1
17623| #define HAVE_FFS 1
17624| #define SPT_TYPE SPT_REUSEARGV
17625| #define HAVE_SIGNBIT 1
17626| #define HAVE_FMOD 1
17627| #define HAVE_KILLPG 1
17628| #define HAVE_WAIT4 1
17629| #define HAVE_WAITPID 1
17630| #define HAVE_FORK 1
17631| #define HAVE_SYSCALL 1
17632| #define HAVE___SYSCALL 1
17633| #define HAVE_CHROOT 1
17634| #define HAVE_GETCWD 1
17635| #define HAVE_TRUNCATE 1
17636| #define HAVE_FTRUNCATE 1
17637| #define HAVE_FTELLO 1
17638| #define HAVE_TIMES 1
17639| #define HAVE_UTIMES 1
17640| #define HAVE_FCNTL 1
17641| #define HAVE_LOCKF 1
17642| #define HAVE_LSTAT 1
17643| #define HAVE_FSEEKO 1
17644| #define HAVE_LINK 1
17645| #define HAVE_SYMLINK 1
17646| #define HAVE_READLINK 1
17647| #define HAVE_READDIR_R 1
17648| #define HAVE_FSYNC 1
17649| #define HAVE_FCHOWN 1
17650| #define HAVE_SETITIMER 1
17651| #define HAVE_SETRUID 1
17652| #define HAVE_SETEUID 1
17653| #define HAVE_SETREUID 1
17654| #define HAVE_SOCKETPAIR 1
17655| #define HAVE_SETRGID 1
17656| #define HAVE_SETEGID 1
17657| #define HAVE_SETREGID 1
17658| #define HAVE_ISSETUGID 1
17659| #define HAVE_PAUSE 1
17660| #define HAVE_LCHOWN 1
17661| #define HAVE_LCHMOD 1
17662| #define HAVE_GETPGRP 1
17663| #define HAVE_SETPGRP 1
17664| #define HAVE_GETPGID 1
17665| #define HAVE_SETPGID 1
17666| #define HAVE_INITGROUPS 1
17667| #define HAVE_GETGROUPS 1
17668| #define HAVE_SETGROUPS 1
17669| #define HAVE_GETPRIORITY 1
17670| #define HAVE_GETRLIMIT 1
17671| #define HAVE_SETRLIMIT 1
17672| #define HAVE_SYSCONF 1
17673| #define HAVE_CLOSE 1
17674| #define HAVE_GETGRNAM_R 1
17675| #define HAVE_DLOPEN 1
17676| #define HAVE_SIGPROCMASK 1
17677| #define HAVE_SIGACTION 1
17678| #define HAVE_SIGSETJMP 1
17679| #define HAVE__SETJMP 1
17680| #define HAVE__LONGJMP 1
17681| #define HAVE_SETSID 1
17682| #define HAVE_TELLDIR 1
17683| #define HAVE_SEEKDIR 1
17684| #define HAVE_FCHMOD 1
17685| #define HAVE_COSH 1
17686| #define HAVE_SINH 1
17687| #define HAVE_TANH 1
17688| #define HAVE_LOG2 1
17689| #define HAVE_ROUND 1
17690| #define HAVE_SETUID 1
17691| #define HAVE_SETGID 1
17692| #define HAVE_SETENV 1
17693| #define HAVE_UNSETENV 1
17694| #define HAVE_MKTIME 1
17695| #define HAVE_TIMEGM 1
17696| #define HAVE_GMTIME_R 1
17697| #define HAVE_GETTIMEOFDAY 1
17698| #define HAVE_POLL 1
17699| #define HAVE_PREAD 1
17700| #define HAVE_SENDFILE 1
17701| #define HAVE_SHUTDOWN 1
17702| #define HAVE_SIGALTSTACK 1
17703| #define RUBY_SETJMP(env) _setjmp(env)
17704| #define RUBY_LONGJMP(env,val) _longjmp(env,val)
17705| #define RUBY_JMP_BUF jmp_buf
17706| #define HAVE_STRUCT_TM_TM_ZONE 1
17707| #define HAVE_TM_ZONE 1
17708| #define HAVE_STRUCT_TM_TM_GMTOFF 1
17709| #define HAVE_DAYLIGHT 1
17710| #define HAVE_VAR_TIMEZONE 1
17711| #define TYPEOF_VAR_TIMEZONE long
17712| #define HAVE_TIMEZONE 1
17713| #define TIMEZONE_VOID 1
17714| #define NEGATIVE_TIME_T 1
17715| #define POSIX_SIGNAL 1
17716| #define RSHIFT(x,y) ((x)>>(int)(y))
17717| #define FILE_COUNT _r
17718| /* end confdefs.h.  */
17719| #include <stdio.h>
17720|
17721| int
17722| main ()
17723| {
17724| FILE *f = stdin; char buf[256]; f->_ptr = buf;
17725|   ;
17726|   return 0;
17727| }
17728configure:15311: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
17729conftest.c:268:36: error: no member named '__ptr' in 'struct __sFILE'
17730FILE *f = stdin; char buf[256]; f->__ptr = buf;
17731                                ~  ^
177321 error generated.
17733configure:15311: $? = 1
17734configure: failed program was:
17735| /* confdefs.h */
17736| #define PACKAGE_NAME ""
17737| #define PACKAGE_TARNAME ""
17738| #define PACKAGE_VERSION ""
17739| #define PACKAGE_STRING ""
17740| #define PACKAGE_BUGREPORT ""
17741| #define PACKAGE_URL ""
17742| #define CANONICALIZATION_FOR_MATHN 1
17743| #define STDC_HEADERS 1
17744| #define HAVE_SYS_TYPES_H 1
17745| #define HAVE_SYS_STAT_H 1
17746| #define HAVE_STDLIB_H 1
17747| #define HAVE_STRING_H 1
17748| #define HAVE_MEMORY_H 1
17749| #define HAVE_STRINGS_H 1
17750| #define HAVE_INTTYPES_H 1
17751| #define HAVE_STDINT_H 1
17752| #define HAVE_UNISTD_H 1
17753| #define __EXTENSIONS__ 1
17754| #define _ALL_SOURCE 1
17755| #define _GNU_SOURCE 1
17756| #define _POSIX_PTHREAD_SEMANTICS 1
17757| #define _TANDEM_SOURCE 1
17758| #define HAVE_LONG_LONG 1
17759| #define HAVE_OFF_T 1
17760| #define SIZEOF_INT 4
17761| #define SIZEOF_SHORT 2
17762| #define SIZEOF_LONG 8
17763| #define SIZEOF_LONG_LONG 8
17764| #define SIZEOF___INT64 0
17765| #define SIZEOF_OFF_T 8
17766| #define SIZEOF_VOIDP 8
17767| #define SIZEOF_FLOAT 4
17768| #define SIZEOF_DOUBLE 8
17769| #define SIZEOF_TIME_T 8
17770| #define PRI_LL_PREFIX "ll"
17771| #define rb_pid_t pid_t
17772| #define PIDT2NUM(v) INT2NUM(v)
17773| #define NUM2PIDT(v) NUM2INT(v)
17774| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
17775| #define rb_uid_t uid_t
17776| #define UIDT2NUM(v) UINT2NUM(v)
17777| #define NUM2UIDT(v) NUM2UINT(v)
17778| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
17779| #define rb_gid_t gid_t
17780| #define GIDT2NUM(v) UINT2NUM(v)
17781| #define NUM2GIDT(v) NUM2UINT(v)
17782| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
17783| #define rb_time_t time_t
17784| #define TIMET2NUM(v) LONG2NUM(v)
17785| #define NUM2TIMET(v) NUM2LONG(v)
17786| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
17787| #define rb_dev_t dev_t
17788| #define DEVT2NUM(v) INT2NUM(v)
17789| #define NUM2DEVT(v) NUM2INT(v)
17790| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
17791| #define rb_mode_t mode_t
17792| #define MODET2NUM(v) UINT2NUM(v)
17793| #define NUM2MODET(v) NUM2UINT(v)
17794| #define PRI_MODET_PREFIX PRI_INT_PREFIX
17795| #define rb_rlim_t rlim_t
17796| #define RLIM2NUM(v) ULL2NUM(v)
17797| #define NUM2RLIM(v) NUM2ULL(v)
17798| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
17799| #define HAVE_PROTOTYPES 1
17800| #define TOKEN_PASTE(x,y) x##y
17801| #define STRINGIZE(expr) STRINGIZE0(expr)
17802| #define HAVE_STDARG_PROTOTYPES 1
17803| #define HAVE_VA_ARGS_MACRO 1
17804| #define NORETURN(x) __attribute__ ((noreturn)) x
17805| #define DEPRECATED(x) __attribute__ ((deprecated)) x
17806| #define NOINLINE(x) __attribute__ ((noinline)) x
17807| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
17808| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
17809| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
17810| #define HAVE_GCC_ATOMIC_BUILTINS 1
17811| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
17812| #define HAVE_DECL_SYS_NERR 1
17813| #define HAVE_LIBDL 1
17814| #define HAVE_DIRENT_H 1
17815| #define HAVE__BOOL 1
17816| #define HAVE_STDBOOL_H 1
17817| #define HAVE_SYS_WAIT_H 1
17818| #define HAVE_LIMITS_H 1
17819| #define HAVE_SYS_FILE_H 1
17820| #define HAVE_SYS_IOCTL_H 1
17821| #define HAVE_SYS_SYSCALL_H 1
17822| #define HAVE_FCNTL_H 1
17823| #define HAVE_SYS_FCNTL_H 1
17824| #define HAVE_SYS_SELECT_H 1
17825| #define HAVE_SYS_TIME_H 1
17826| #define HAVE_SYS_TIMES_H 1
17827| #define HAVE_SYS_PARAM_H 1
17828| #define HAVE_PWD_H 1
17829| #define HAVE_GRP_H 1
17830| #define HAVE_UTIME_H 1
17831| #define HAVE_SYS_RESOURCE_H 1
17832| #define HAVE_NETINET_IN_SYSTM_H 1
17833| #define HAVE_FLOAT_H 1
17834| #define HAVE_LANGINFO_H 1
17835| #define HAVE_LOCALE_H 1
17836| #define HAVE_TIME_H 1
17837| #define HAVE_SYS_SOCKET_H 1
17838| #define SIZEOF_SIZE_T 8
17839| #define SIZEOF_PTRDIFF_T 8
17840| #define PRI_SIZE_PREFIX "z"
17841| #define PRI_PTRDIFF_PREFIX "t"
17842| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
17843| #define HAVE_ST_BLKSIZE 1
17844| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17845| #define HAVE_ST_BLOCKS 1
17846| #define HAVE_STRUCT_STAT_ST_RDEV 1
17847| #define HAVE_ST_RDEV 1
17848| #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
17849| #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
17850| #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
17851| #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
17852| #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
17853| #define HAVE_STRUCT_TIMESPEC 1
17854| #define HAVE_STRUCT_TIMEZONE 1
17855| #define HAVE_RB_FD_INIT 1
17856| #define HAVE_INT8_T 1
17857| #define SIZEOF_INT8_T 1
17858| #define HAVE_UINT8_T 1
17859| #define SIZEOF_UINT8_T 1
17860| #define HAVE_INT16_T 1
17861| #define SIZEOF_INT16_T 2
17862| #define HAVE_UINT16_T 1
17863| #define SIZEOF_UINT16_T 2
17864| #define HAVE_INT32_T 1
17865| #define SIZEOF_INT32_T 4
17866| #define HAVE_UINT32_T 1
17867| #define SIZEOF_UINT32_T 4
17868| #define HAVE_INT64_T 1
17869| #define SIZEOF_INT64_T 8
17870| #define HAVE_UINT64_T 1
17871| #define SIZEOF_UINT64_T 8
17872| #define HAVE_INTPTR_T 1
17873| #define SIZEOF_INTPTR_T 8
17874| #define HAVE_UINTPTR_T 1
17875| #define SIZEOF_UINTPTR_T 8
17876| #define HAVE_SSIZE_T 1
17877| #define SIZEOF_SSIZE_T 8
17878| #define GC_MARK_STACKFRAME_WORD 16
17879| #define GETGROUPS_T gid_t
17880| #define RETSIGTYPE void
17881| #define HAVE_ALLOCA_H 1
17882| #define HAVE_ALLOCA 1
17883| #define HAVE_DUP2 1
17884| #define HAVE_MEMMOVE 1
17885| #define HAVE_STRERROR 1
17886| #define HAVE_STRCHR 1
17887| #define HAVE_STRSTR 1
17888| #define HAVE_CRYPT 1
17889| #define HAVE_FLOCK 1
17890| #define HAVE_ISNAN 1
17891| #define HAVE_FINITE 1
17892| #define HAVE_ISINF 1
17893| #define HAVE_HYPOT 1
17894| #define HAVE_ACOSH 1
17895| #define HAVE_ERF 1
17896| #define HAVE_TGAMMA 1
17897| #define HAVE_LGAMMA_R 1
17898| #define HAVE_CBRT 1
17899| #define HAVE_STRLCPY 1
17900| #define HAVE_STRLCAT 1
17901| #define HAVE_FFS 1
17902| #define SPT_TYPE SPT_REUSEARGV
17903| #define HAVE_SIGNBIT 1
17904| #define HAVE_FMOD 1
17905| #define HAVE_KILLPG 1
17906| #define HAVE_WAIT4 1
17907| #define HAVE_WAITPID 1
17908| #define HAVE_FORK 1
17909| #define HAVE_SYSCALL 1
17910| #define HAVE___SYSCALL 1
17911| #define HAVE_CHROOT 1
17912| #define HAVE_GETCWD 1
17913| #define HAVE_TRUNCATE 1
17914| #define HAVE_FTRUNCATE 1
17915| #define HAVE_FTELLO 1
17916| #define HAVE_TIMES 1
17917| #define HAVE_UTIMES 1
17918| #define HAVE_FCNTL 1
17919| #define HAVE_LOCKF 1
17920| #define HAVE_LSTAT 1
17921| #define HAVE_FSEEKO 1
17922| #define HAVE_LINK 1
17923| #define HAVE_SYMLINK 1
17924| #define HAVE_READLINK 1
17925| #define HAVE_READDIR_R 1
17926| #define HAVE_FSYNC 1
17927| #define HAVE_FCHOWN 1
17928| #define HAVE_SETITIMER 1
17929| #define HAVE_SETRUID 1
17930| #define HAVE_SETEUID 1
17931| #define HAVE_SETREUID 1
17932| #define HAVE_SOCKETPAIR 1
17933| #define HAVE_SETRGID 1
17934| #define HAVE_SETEGID 1
17935| #define HAVE_SETREGID 1
17936| #define HAVE_ISSETUGID 1
17937| #define HAVE_PAUSE 1
17938| #define HAVE_LCHOWN 1
17939| #define HAVE_LCHMOD 1
17940| #define HAVE_GETPGRP 1
17941| #define HAVE_SETPGRP 1
17942| #define HAVE_GETPGID 1
17943| #define HAVE_SETPGID 1
17944| #define HAVE_INITGROUPS 1
17945| #define HAVE_GETGROUPS 1
17946| #define HAVE_SETGROUPS 1
17947| #define HAVE_GETPRIORITY 1
17948| #define HAVE_GETRLIMIT 1
17949| #define HAVE_SETRLIMIT 1
17950| #define HAVE_SYSCONF 1
17951| #define HAVE_CLOSE 1
17952| #define HAVE_GETGRNAM_R 1
17953| #define HAVE_DLOPEN 1
17954| #define HAVE_SIGPROCMASK 1
17955| #define HAVE_SIGACTION 1
17956| #define HAVE_SIGSETJMP 1
17957| #define HAVE__SETJMP 1
17958| #define HAVE__LONGJMP 1
17959| #define HAVE_SETSID 1
17960| #define HAVE_TELLDIR 1
17961| #define HAVE_SEEKDIR 1
17962| #define HAVE_FCHMOD 1
17963| #define HAVE_COSH 1
17964| #define HAVE_SINH 1
17965| #define HAVE_TANH 1
17966| #define HAVE_LOG2 1
17967| #define HAVE_ROUND 1
17968| #define HAVE_SETUID 1
17969| #define HAVE_SETGID 1
17970| #define HAVE_SETENV 1
17971| #define HAVE_UNSETENV 1
17972| #define HAVE_MKTIME 1
17973| #define HAVE_TIMEGM 1
17974| #define HAVE_GMTIME_R 1
17975| #define HAVE_GETTIMEOFDAY 1
17976| #define HAVE_POLL 1
17977| #define HAVE_PREAD 1
17978| #define HAVE_SENDFILE 1
17979| #define HAVE_SHUTDOWN 1
17980| #define HAVE_SIGALTSTACK 1
17981| #define RUBY_SETJMP(env) _setjmp(env)
17982| #define RUBY_LONGJMP(env,val) _longjmp(env,val)
17983| #define RUBY_JMP_BUF jmp_buf
17984| #define HAVE_STRUCT_TM_TM_ZONE 1
17985| #define HAVE_TM_ZONE 1
17986| #define HAVE_STRUCT_TM_TM_GMTOFF 1
17987| #define HAVE_DAYLIGHT 1
17988| #define HAVE_VAR_TIMEZONE 1
17989| #define TYPEOF_VAR_TIMEZONE long
17990| #define HAVE_TIMEZONE 1
17991| #define TIMEZONE_VOID 1
17992| #define NEGATIVE_TIME_T 1
17993| #define POSIX_SIGNAL 1
17994| #define RSHIFT(x,y) ((x)>>(int)(y))
17995| #define FILE_COUNT _r
17996| /* end confdefs.h.  */
17997| #include <stdio.h>
17998|
17999| int
18000| main ()
18001| {
18002| FILE *f = stdin; char buf[256]; f->__ptr = buf;
18003|   ;
18004|   return 0;
18005| }
18006configure:15311: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
18007conftest.c:268:36: error: no member named 'bufpos' in 'struct __sFILE'
18008FILE *f = stdin; char buf[256]; f->bufpos = buf;
18009                                ~  ^
180101 error generated.
18011configure:15311: $? = 1
18012configure: failed program was:
18013| /* confdefs.h */
18014| #define PACKAGE_NAME ""
18015| #define PACKAGE_TARNAME ""
18016| #define PACKAGE_VERSION ""
18017| #define PACKAGE_STRING ""
18018| #define PACKAGE_BUGREPORT ""
18019| #define PACKAGE_URL ""
18020| #define CANONICALIZATION_FOR_MATHN 1
18021| #define STDC_HEADERS 1
18022| #define HAVE_SYS_TYPES_H 1
18023| #define HAVE_SYS_STAT_H 1
18024| #define HAVE_STDLIB_H 1
18025| #define HAVE_STRING_H 1
18026| #define HAVE_MEMORY_H 1
18027| #define HAVE_STRINGS_H 1
18028| #define HAVE_INTTYPES_H 1
18029| #define HAVE_STDINT_H 1
18030| #define HAVE_UNISTD_H 1
18031| #define __EXTENSIONS__ 1
18032| #define _ALL_SOURCE 1
18033| #define _GNU_SOURCE 1
18034| #define _POSIX_PTHREAD_SEMANTICS 1
18035| #define _TANDEM_SOURCE 1
18036| #define HAVE_LONG_LONG 1
18037| #define HAVE_OFF_T 1
18038| #define SIZEOF_INT 4
18039| #define SIZEOF_SHORT 2
18040| #define SIZEOF_LONG 8
18041| #define SIZEOF_LONG_LONG 8
18042| #define SIZEOF___INT64 0
18043| #define SIZEOF_OFF_T 8
18044| #define SIZEOF_VOIDP 8
18045| #define SIZEOF_FLOAT 4
18046| #define SIZEOF_DOUBLE 8
18047| #define SIZEOF_TIME_T 8
18048| #define PRI_LL_PREFIX "ll"
18049| #define rb_pid_t pid_t
18050| #define PIDT2NUM(v) INT2NUM(v)
18051| #define NUM2PIDT(v) NUM2INT(v)
18052| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
18053| #define rb_uid_t uid_t
18054| #define UIDT2NUM(v) UINT2NUM(v)
18055| #define NUM2UIDT(v) NUM2UINT(v)
18056| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
18057| #define rb_gid_t gid_t
18058| #define GIDT2NUM(v) UINT2NUM(v)
18059| #define NUM2GIDT(v) NUM2UINT(v)
18060| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
18061| #define rb_time_t time_t
18062| #define TIMET2NUM(v) LONG2NUM(v)
18063| #define NUM2TIMET(v) NUM2LONG(v)
18064| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
18065| #define rb_dev_t dev_t
18066| #define DEVT2NUM(v) INT2NUM(v)
18067| #define NUM2DEVT(v) NUM2INT(v)
18068| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
18069| #define rb_mode_t mode_t
18070| #define MODET2NUM(v) UINT2NUM(v)
18071| #define NUM2MODET(v) NUM2UINT(v)
18072| #define PRI_MODET_PREFIX PRI_INT_PREFIX
18073| #define rb_rlim_t rlim_t
18074| #define RLIM2NUM(v) ULL2NUM(v)
18075| #define NUM2RLIM(v) NUM2ULL(v)
18076| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
18077| #define HAVE_PROTOTYPES 1
18078| #define TOKEN_PASTE(x,y) x##y
18079| #define STRINGIZE(expr) STRINGIZE0(expr)
18080| #define HAVE_STDARG_PROTOTYPES 1
18081| #define HAVE_VA_ARGS_MACRO 1
18082| #define NORETURN(x) __attribute__ ((noreturn)) x
18083| #define DEPRECATED(x) __attribute__ ((deprecated)) x
18084| #define NOINLINE(x) __attribute__ ((noinline)) x
18085| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
18086| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
18087| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
18088| #define HAVE_GCC_ATOMIC_BUILTINS 1
18089| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
18090| #define HAVE_DECL_SYS_NERR 1
18091| #define HAVE_LIBDL 1
18092| #define HAVE_DIRENT_H 1
18093| #define HAVE__BOOL 1
18094| #define HAVE_STDBOOL_H 1
18095| #define HAVE_SYS_WAIT_H 1
18096| #define HAVE_LIMITS_H 1
18097| #define HAVE_SYS_FILE_H 1
18098| #define HAVE_SYS_IOCTL_H 1
18099| #define HAVE_SYS_SYSCALL_H 1
18100| #define HAVE_FCNTL_H 1
18101| #define HAVE_SYS_FCNTL_H 1
18102| #define HAVE_SYS_SELECT_H 1
18103| #define HAVE_SYS_TIME_H 1
18104| #define HAVE_SYS_TIMES_H 1
18105| #define HAVE_SYS_PARAM_H 1
18106| #define HAVE_PWD_H 1
18107| #define HAVE_GRP_H 1
18108| #define HAVE_UTIME_H 1
18109| #define HAVE_SYS_RESOURCE_H 1
18110| #define HAVE_NETINET_IN_SYSTM_H 1
18111| #define HAVE_FLOAT_H 1
18112| #define HAVE_LANGINFO_H 1
18113| #define HAVE_LOCALE_H 1
18114| #define HAVE_TIME_H 1
18115| #define HAVE_SYS_SOCKET_H 1
18116| #define SIZEOF_SIZE_T 8
18117| #define SIZEOF_PTRDIFF_T 8
18118| #define PRI_SIZE_PREFIX "z"
18119| #define PRI_PTRDIFF_PREFIX "t"
18120| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
18121| #define HAVE_ST_BLKSIZE 1
18122| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
18123| #define HAVE_ST_BLOCKS 1
18124| #define HAVE_STRUCT_STAT_ST_RDEV 1
18125| #define HAVE_ST_RDEV 1
18126| #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
18127| #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
18128| #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
18129| #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
18130| #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
18131| #define HAVE_STRUCT_TIMESPEC 1
18132| #define HAVE_STRUCT_TIMEZONE 1
18133| #define HAVE_RB_FD_INIT 1
18134| #define HAVE_INT8_T 1
18135| #define SIZEOF_INT8_T 1
18136| #define HAVE_UINT8_T 1
18137| #define SIZEOF_UINT8_T 1
18138| #define HAVE_INT16_T 1
18139| #define SIZEOF_INT16_T 2
18140| #define HAVE_UINT16_T 1
18141| #define SIZEOF_UINT16_T 2
18142| #define HAVE_INT32_T 1
18143| #define SIZEOF_INT32_T 4
18144| #define HAVE_UINT32_T 1
18145| #define SIZEOF_UINT32_T 4
18146| #define HAVE_INT64_T 1
18147| #define SIZEOF_INT64_T 8
18148| #define HAVE_UINT64_T 1
18149| #define SIZEOF_UINT64_T 8
18150| #define HAVE_INTPTR_T 1
18151| #define SIZEOF_INTPTR_T 8
18152| #define HAVE_UINTPTR_T 1
18153| #define SIZEOF_UINTPTR_T 8
18154| #define HAVE_SSIZE_T 1
18155| #define SIZEOF_SSIZE_T 8
18156| #define GC_MARK_STACKFRAME_WORD 16
18157| #define GETGROUPS_T gid_t
18158| #define RETSIGTYPE void
18159| #define HAVE_ALLOCA_H 1
18160| #define HAVE_ALLOCA 1
18161| #define HAVE_DUP2 1
18162| #define HAVE_MEMMOVE 1
18163| #define HAVE_STRERROR 1
18164| #define HAVE_STRCHR 1
18165| #define HAVE_STRSTR 1
18166| #define HAVE_CRYPT 1
18167| #define HAVE_FLOCK 1
18168| #define HAVE_ISNAN 1
18169| #define HAVE_FINITE 1
18170| #define HAVE_ISINF 1
18171| #define HAVE_HYPOT 1
18172| #define HAVE_ACOSH 1
18173| #define HAVE_ERF 1
18174| #define HAVE_TGAMMA 1
18175| #define HAVE_LGAMMA_R 1
18176| #define HAVE_CBRT 1
18177| #define HAVE_STRLCPY 1
18178| #define HAVE_STRLCAT 1
18179| #define HAVE_FFS 1
18180| #define SPT_TYPE SPT_REUSEARGV
18181| #define HAVE_SIGNBIT 1
18182| #define HAVE_FMOD 1
18183| #define HAVE_KILLPG 1
18184| #define HAVE_WAIT4 1
18185| #define HAVE_WAITPID 1
18186| #define HAVE_FORK 1
18187| #define HAVE_SYSCALL 1
18188| #define HAVE___SYSCALL 1
18189| #define HAVE_CHROOT 1
18190| #define HAVE_GETCWD 1
18191| #define HAVE_TRUNCATE 1
18192| #define HAVE_FTRUNCATE 1
18193| #define HAVE_FTELLO 1
18194| #define HAVE_TIMES 1
18195| #define HAVE_UTIMES 1
18196| #define HAVE_FCNTL 1
18197| #define HAVE_LOCKF 1
18198| #define HAVE_LSTAT 1
18199| #define HAVE_FSEEKO 1
18200| #define HAVE_LINK 1
18201| #define HAVE_SYMLINK 1
18202| #define HAVE_READLINK 1
18203| #define HAVE_READDIR_R 1
18204| #define HAVE_FSYNC 1
18205| #define HAVE_FCHOWN 1
18206| #define HAVE_SETITIMER 1
18207| #define HAVE_SETRUID 1
18208| #define HAVE_SETEUID 1
18209| #define HAVE_SETREUID 1
18210| #define HAVE_SOCKETPAIR 1
18211| #define HAVE_SETRGID 1
18212| #define HAVE_SETEGID 1
18213| #define HAVE_SETREGID 1
18214| #define HAVE_ISSETUGID 1
18215| #define HAVE_PAUSE 1
18216| #define HAVE_LCHOWN 1
18217| #define HAVE_LCHMOD 1
18218| #define HAVE_GETPGRP 1
18219| #define HAVE_SETPGRP 1
18220| #define HAVE_GETPGID 1
18221| #define HAVE_SETPGID 1
18222| #define HAVE_INITGROUPS 1
18223| #define HAVE_GETGROUPS 1
18224| #define HAVE_SETGROUPS 1
18225| #define HAVE_GETPRIORITY 1
18226| #define HAVE_GETRLIMIT 1
18227| #define HAVE_SETRLIMIT 1
18228| #define HAVE_SYSCONF 1
18229| #define HAVE_CLOSE 1
18230| #define HAVE_GETGRNAM_R 1
18231| #define HAVE_DLOPEN 1
18232| #define HAVE_SIGPROCMASK 1
18233| #define HAVE_SIGACTION 1
18234| #define HAVE_SIGSETJMP 1
18235| #define HAVE__SETJMP 1
18236| #define HAVE__LONGJMP 1
18237| #define HAVE_SETSID 1
18238| #define HAVE_TELLDIR 1
18239| #define HAVE_SEEKDIR 1
18240| #define HAVE_FCHMOD 1
18241| #define HAVE_COSH 1
18242| #define HAVE_SINH 1
18243| #define HAVE_TANH 1
18244| #define HAVE_LOG2 1
18245| #define HAVE_ROUND 1
18246| #define HAVE_SETUID 1
18247| #define HAVE_SETGID 1
18248| #define HAVE_SETENV 1
18249| #define HAVE_UNSETENV 1
18250| #define HAVE_MKTIME 1
18251| #define HAVE_TIMEGM 1
18252| #define HAVE_GMTIME_R 1
18253| #define HAVE_GETTIMEOFDAY 1
18254| #define HAVE_POLL 1
18255| #define HAVE_PREAD 1
18256| #define HAVE_SENDFILE 1
18257| #define HAVE_SHUTDOWN 1
18258| #define HAVE_SIGALTSTACK 1
18259| #define RUBY_SETJMP(env) _setjmp(env)
18260| #define RUBY_LONGJMP(env,val) _longjmp(env,val)
18261| #define RUBY_JMP_BUF jmp_buf
18262| #define HAVE_STRUCT_TM_TM_ZONE 1
18263| #define HAVE_TM_ZONE 1
18264| #define HAVE_STRUCT_TM_TM_GMTOFF 1
18265| #define HAVE_DAYLIGHT 1
18266| #define HAVE_VAR_TIMEZONE 1
18267| #define TYPEOF_VAR_TIMEZONE long
18268| #define HAVE_TIMEZONE 1
18269| #define TIMEZONE_VOID 1
18270| #define NEGATIVE_TIME_T 1
18271| #define POSIX_SIGNAL 1
18272| #define RSHIFT(x,y) ((x)>>(int)(y))
18273| #define FILE_COUNT _r
18274| /* end confdefs.h.  */
18275| #include <stdio.h>
18276|
18277| int
18278| main ()
18279| {
18280| FILE *f = stdin; char buf[256]; f->bufpos = buf;
18281|   ;
18282|   return 0;
18283| }
18284configure:15311: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
18285conftest.c:268:39: warning: assigning to 'unsigned char *' from 'char [256]' converts between pointers to integer types with different sign [-Wpointer-sign]
18286FILE *f = stdin; char buf[256]; f->_p = buf;
18287                                      ^ ~~~
182881 warning generated.
18289configure:15311: $? = 0
18290configure:15319: result: _p
18291configure:15366: checking size of struct stat.st_ino
18292configure:15395: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
18293configure:15395: $? = 0
18294configure:15433: result: SIZEOF_LONG
18295configure:15461: checking whether _SC_CLK_TCK is supported
18296configure:15478: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
18297conftest.c:270:13: warning: expression result unused [-Wunused-value]
18298_SC_CLK_TCK >= 0
18299~~~~~~~~~~~ ^  ~
183001 warning generated.
18301configure:15478: $? = 0
18302configure:15486: result: yes
18303configure:15596: checking stack growing direction on x86_64
18304configure:15647: result: -1
18305configure:15660: checking for pthread_kill in -lthr
18306configure:15685: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -lthr  -ldl -lobjc >&5
18307ld: library not found for -lthr
18308clang: error: linker command failed with exit code 1 (use -v to see invocation)
18309configure:15685: $? = 1
18310configure: failed program was:
18311| /* confdefs.h */
18312| #define PACKAGE_NAME ""
18313| #define PACKAGE_TARNAME ""
18314| #define PACKAGE_VERSION ""
18315| #define PACKAGE_STRING ""
18316| #define PACKAGE_BUGREPORT ""
18317| #define PACKAGE_URL ""
18318| #define CANONICALIZATION_FOR_MATHN 1
18319| #define STDC_HEADERS 1
18320| #define HAVE_SYS_TYPES_H 1
18321| #define HAVE_SYS_STAT_H 1
18322| #define HAVE_STDLIB_H 1
18323| #define HAVE_STRING_H 1
18324| #define HAVE_MEMORY_H 1
18325| #define HAVE_STRINGS_H 1
18326| #define HAVE_INTTYPES_H 1
18327| #define HAVE_STDINT_H 1
18328| #define HAVE_UNISTD_H 1
18329| #define __EXTENSIONS__ 1
18330| #define _ALL_SOURCE 1
18331| #define _GNU_SOURCE 1
18332| #define _POSIX_PTHREAD_SEMANTICS 1
18333| #define _TANDEM_SOURCE 1
18334| #define HAVE_LONG_LONG 1
18335| #define HAVE_OFF_T 1
18336| #define SIZEOF_INT 4
18337| #define SIZEOF_SHORT 2
18338| #define SIZEOF_LONG 8
18339| #define SIZEOF_LONG_LONG 8
18340| #define SIZEOF___INT64 0
18341| #define SIZEOF_OFF_T 8
18342| #define SIZEOF_VOIDP 8
18343| #define SIZEOF_FLOAT 4
18344| #define SIZEOF_DOUBLE 8
18345| #define SIZEOF_TIME_T 8
18346| #define PRI_LL_PREFIX "ll"
18347| #define rb_pid_t pid_t
18348| #define PIDT2NUM(v) INT2NUM(v)
18349| #define NUM2PIDT(v) NUM2INT(v)
18350| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
18351| #define rb_uid_t uid_t
18352| #define UIDT2NUM(v) UINT2NUM(v)
18353| #define NUM2UIDT(v) NUM2UINT(v)
18354| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
18355| #define rb_gid_t gid_t
18356| #define GIDT2NUM(v) UINT2NUM(v)
18357| #define NUM2GIDT(v) NUM2UINT(v)
18358| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
18359| #define rb_time_t time_t
18360| #define TIMET2NUM(v) LONG2NUM(v)
18361| #define NUM2TIMET(v) NUM2LONG(v)
18362| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
18363| #define rb_dev_t dev_t
18364| #define DEVT2NUM(v) INT2NUM(v)
18365| #define NUM2DEVT(v) NUM2INT(v)
18366| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
18367| #define rb_mode_t mode_t
18368| #define MODET2NUM(v) UINT2NUM(v)
18369| #define NUM2MODET(v) NUM2UINT(v)
18370| #define PRI_MODET_PREFIX PRI_INT_PREFIX
18371| #define rb_rlim_t rlim_t
18372| #define RLIM2NUM(v) ULL2NUM(v)
18373| #define NUM2RLIM(v) NUM2ULL(v)
18374| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
18375| #define HAVE_PROTOTYPES 1
18376| #define TOKEN_PASTE(x,y) x##y
18377| #define STRINGIZE(expr) STRINGIZE0(expr)
18378| #define HAVE_STDARG_PROTOTYPES 1
18379| #define HAVE_VA_ARGS_MACRO 1
18380| #define NORETURN(x) __attribute__ ((noreturn)) x
18381| #define DEPRECATED(x) __attribute__ ((deprecated)) x
18382| #define NOINLINE(x) __attribute__ ((noinline)) x
18383| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
18384| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
18385| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
18386| #define HAVE_GCC_ATOMIC_BUILTINS 1
18387| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
18388| #define HAVE_DECL_SYS_NERR 1
18389| #define HAVE_LIBDL 1
18390| #define HAVE_DIRENT_H 1
18391| #define HAVE__BOOL 1
18392| #define HAVE_STDBOOL_H 1
18393| #define HAVE_SYS_WAIT_H 1
18394| #define HAVE_LIMITS_H 1
18395| #define HAVE_SYS_FILE_H 1
18396| #define HAVE_SYS_IOCTL_H 1
18397| #define HAVE_SYS_SYSCALL_H 1
18398| #define HAVE_FCNTL_H 1
18399| #define HAVE_SYS_FCNTL_H 1
18400| #define HAVE_SYS_SELECT_H 1
18401| #define HAVE_SYS_TIME_H 1
18402| #define HAVE_SYS_TIMES_H 1
18403| #define HAVE_SYS_PARAM_H 1
18404| #define HAVE_PWD_H 1
18405| #define HAVE_GRP_H 1
18406| #define HAVE_UTIME_H 1
18407| #define HAVE_SYS_RESOURCE_H 1
18408| #define HAVE_NETINET_IN_SYSTM_H 1
18409| #define HAVE_FLOAT_H 1
18410| #define HAVE_LANGINFO_H 1
18411| #define HAVE_LOCALE_H 1
18412| #define HAVE_TIME_H 1
18413| #define HAVE_SYS_SOCKET_H 1
18414| #define SIZEOF_SIZE_T 8
18415| #define SIZEOF_PTRDIFF_T 8
18416| #define PRI_SIZE_PREFIX "z"
18417| #define PRI_PTRDIFF_PREFIX "t"
18418| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
18419| #define HAVE_ST_BLKSIZE 1
18420| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
18421| #define HAVE_ST_BLOCKS 1
18422| #define HAVE_STRUCT_STAT_ST_RDEV 1
18423| #define HAVE_ST_RDEV 1
18424| #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
18425| #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
18426| #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
18427| #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
18428| #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
18429| #define HAVE_STRUCT_TIMESPEC 1
18430| #define HAVE_STRUCT_TIMEZONE 1
18431| #define HAVE_RB_FD_INIT 1
18432| #define HAVE_INT8_T 1
18433| #define SIZEOF_INT8_T 1
18434| #define HAVE_UINT8_T 1
18435| #define SIZEOF_UINT8_T 1
18436| #define HAVE_INT16_T 1
18437| #define SIZEOF_INT16_T 2
18438| #define HAVE_UINT16_T 1
18439| #define SIZEOF_UINT16_T 2
18440| #define HAVE_INT32_T 1
18441| #define SIZEOF_INT32_T 4
18442| #define HAVE_UINT32_T 1
18443| #define SIZEOF_UINT32_T 4
18444| #define HAVE_INT64_T 1
18445| #define SIZEOF_INT64_T 8
18446| #define HAVE_UINT64_T 1
18447| #define SIZEOF_UINT64_T 8
18448| #define HAVE_INTPTR_T 1
18449| #define SIZEOF_INTPTR_T 8
18450| #define HAVE_UINTPTR_T 1
18451| #define SIZEOF_UINTPTR_T 8
18452| #define HAVE_SSIZE_T 1
18453| #define SIZEOF_SSIZE_T 8
18454| #define GC_MARK_STACKFRAME_WORD 16
18455| #define GETGROUPS_T gid_t
18456| #define RETSIGTYPE void
18457| #define HAVE_ALLOCA_H 1
18458| #define HAVE_ALLOCA 1
18459| #define HAVE_DUP2 1
18460| #define HAVE_MEMMOVE 1
18461| #define HAVE_STRERROR 1
18462| #define HAVE_STRCHR 1
18463| #define HAVE_STRSTR 1
18464| #define HAVE_CRYPT 1
18465| #define HAVE_FLOCK 1
18466| #define HAVE_ISNAN 1
18467| #define HAVE_FINITE 1
18468| #define HAVE_ISINF 1
18469| #define HAVE_HYPOT 1
18470| #define HAVE_ACOSH 1
18471| #define HAVE_ERF 1
18472| #define HAVE_TGAMMA 1
18473| #define HAVE_LGAMMA_R 1
18474| #define HAVE_CBRT 1
18475| #define HAVE_STRLCPY 1
18476| #define HAVE_STRLCAT 1
18477| #define HAVE_FFS 1
18478| #define SPT_TYPE SPT_REUSEARGV
18479| #define HAVE_SIGNBIT 1
18480| #define HAVE_FMOD 1
18481| #define HAVE_KILLPG 1
18482| #define HAVE_WAIT4 1
18483| #define HAVE_WAITPID 1
18484| #define HAVE_FORK 1
18485| #define HAVE_SYSCALL 1
18486| #define HAVE___SYSCALL 1
18487| #define HAVE_CHROOT 1
18488| #define HAVE_GETCWD 1
18489| #define HAVE_TRUNCATE 1
18490| #define HAVE_FTRUNCATE 1
18491| #define HAVE_FTELLO 1
18492| #define HAVE_TIMES 1
18493| #define HAVE_UTIMES 1
18494| #define HAVE_FCNTL 1
18495| #define HAVE_LOCKF 1
18496| #define HAVE_LSTAT 1
18497| #define HAVE_FSEEKO 1
18498| #define HAVE_LINK 1
18499| #define HAVE_SYMLINK 1
18500| #define HAVE_READLINK 1
18501| #define HAVE_READDIR_R 1
18502| #define HAVE_FSYNC 1
18503| #define HAVE_FCHOWN 1
18504| #define HAVE_SETITIMER 1
18505| #define HAVE_SETRUID 1
18506| #define HAVE_SETEUID 1
18507| #define HAVE_SETREUID 1
18508| #define HAVE_SOCKETPAIR 1
18509| #define HAVE_SETRGID 1
18510| #define HAVE_SETEGID 1
18511| #define HAVE_SETREGID 1
18512| #define HAVE_ISSETUGID 1
18513| #define HAVE_PAUSE 1
18514| #define HAVE_LCHOWN 1
18515| #define HAVE_LCHMOD 1
18516| #define HAVE_GETPGRP 1
18517| #define HAVE_SETPGRP 1
18518| #define HAVE_GETPGID 1
18519| #define HAVE_SETPGID 1
18520| #define HAVE_INITGROUPS 1
18521| #define HAVE_GETGROUPS 1
18522| #define HAVE_SETGROUPS 1
18523| #define HAVE_GETPRIORITY 1
18524| #define HAVE_GETRLIMIT 1
18525| #define HAVE_SETRLIMIT 1
18526| #define HAVE_SYSCONF 1
18527| #define HAVE_CLOSE 1
18528| #define HAVE_GETGRNAM_R 1
18529| #define HAVE_DLOPEN 1
18530| #define HAVE_SIGPROCMASK 1
18531| #define HAVE_SIGACTION 1
18532| #define HAVE_SIGSETJMP 1
18533| #define HAVE__SETJMP 1
18534| #define HAVE__LONGJMP 1
18535| #define HAVE_SETSID 1
18536| #define HAVE_TELLDIR 1
18537| #define HAVE_SEEKDIR 1
18538| #define HAVE_FCHMOD 1
18539| #define HAVE_COSH 1
18540| #define HAVE_SINH 1
18541| #define HAVE_TANH 1
18542| #define HAVE_LOG2 1
18543| #define HAVE_ROUND 1
18544| #define HAVE_SETUID 1
18545| #define HAVE_SETGID 1
18546| #define HAVE_SETENV 1
18547| #define HAVE_UNSETENV 1
18548| #define HAVE_MKTIME 1
18549| #define HAVE_TIMEGM 1
18550| #define HAVE_GMTIME_R 1
18551| #define HAVE_GETTIMEOFDAY 1
18552| #define HAVE_POLL 1
18553| #define HAVE_PREAD 1
18554| #define HAVE_SENDFILE 1
18555| #define HAVE_SHUTDOWN 1
18556| #define HAVE_SIGALTSTACK 1
18557| #define RUBY_SETJMP(env) _setjmp(env)
18558| #define RUBY_LONGJMP(env,val) _longjmp(env,val)
18559| #define RUBY_JMP_BUF jmp_buf
18560| #define HAVE_STRUCT_TM_TM_ZONE 1
18561| #define HAVE_TM_ZONE 1
18562| #define HAVE_STRUCT_TM_TM_GMTOFF 1
18563| #define HAVE_DAYLIGHT 1
18564| #define HAVE_VAR_TIMEZONE 1
18565| #define TYPEOF_VAR_TIMEZONE long
18566| #define HAVE_TIMEZONE 1
18567| #define TIMEZONE_VOID 1
18568| #define NEGATIVE_TIME_T 1
18569| #define POSIX_SIGNAL 1
18570| #define RSHIFT(x,y) ((x)>>(int)(y))
18571| #define FILE_COUNT _r
18572| #define FILE_READPTR _p
18573| #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
18574| #define HAVE__SC_CLK_TCK 1
18575| #define STACK_GROW_DIRECTION -1
18576| /* end confdefs.h.  */
18577|
18578| /* Override any GCC internal prototype to avoid an error.
18579|    Use char because int might match the return type of a GCC
18580|    builtin and then its argument prototype would still apply.  */
18581| #ifdef __cplusplus
18582| extern "C"
18583| #endif
18584| char pthread_kill ();
18585| int
18586| main ()
18587| {
18588| return pthread_kill ();
18589|   ;
18590|   return 0;
18591| }
18592configure:15695: result: no
18593configure:15660: checking for pthread_kill in -lpthread
18594configure:15685: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -lpthread  -ldl -lobjc >&5
18595configure:15685: $? = 0
18596configure:15695: result: yes
18597configure:15714: checking for pthread_np.h
18598configure:15714: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
18599conftest.c:272:10: fatal error: 'pthread_np.h' file not found
18600#include <pthread_np.h>
18601         ^
186021 error generated.
18603configure:15714: $? = 1
18604configure: failed program was:
18605| /* confdefs.h */
18606| #define PACKAGE_NAME ""
18607| #define PACKAGE_TARNAME ""
18608| #define PACKAGE_VERSION ""
18609| #define PACKAGE_STRING ""
18610| #define PACKAGE_BUGREPORT ""
18611| #define PACKAGE_URL ""
18612| #define CANONICALIZATION_FOR_MATHN 1
18613| #define STDC_HEADERS 1
18614| #define HAVE_SYS_TYPES_H 1
18615| #define HAVE_SYS_STAT_H 1
18616| #define HAVE_STDLIB_H 1
18617| #define HAVE_STRING_H 1
18618| #define HAVE_MEMORY_H 1
18619| #define HAVE_STRINGS_H 1
18620| #define HAVE_INTTYPES_H 1
18621| #define HAVE_STDINT_H 1
18622| #define HAVE_UNISTD_H 1
18623| #define __EXTENSIONS__ 1
18624| #define _ALL_SOURCE 1
18625| #define _GNU_SOURCE 1
18626| #define _POSIX_PTHREAD_SEMANTICS 1
18627| #define _TANDEM_SOURCE 1
18628| #define HAVE_LONG_LONG 1
18629| #define HAVE_OFF_T 1
18630| #define SIZEOF_INT 4
18631| #define SIZEOF_SHORT 2
18632| #define SIZEOF_LONG 8
18633| #define SIZEOF_LONG_LONG 8
18634| #define SIZEOF___INT64 0
18635| #define SIZEOF_OFF_T 8
18636| #define SIZEOF_VOIDP 8
18637| #define SIZEOF_FLOAT 4
18638| #define SIZEOF_DOUBLE 8
18639| #define SIZEOF_TIME_T 8
18640| #define PRI_LL_PREFIX "ll"
18641| #define rb_pid_t pid_t
18642| #define PIDT2NUM(v) INT2NUM(v)
18643| #define NUM2PIDT(v) NUM2INT(v)
18644| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
18645| #define rb_uid_t uid_t
18646| #define UIDT2NUM(v) UINT2NUM(v)
18647| #define NUM2UIDT(v) NUM2UINT(v)
18648| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
18649| #define rb_gid_t gid_t
18650| #define GIDT2NUM(v) UINT2NUM(v)
18651| #define NUM2GIDT(v) NUM2UINT(v)
18652| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
18653| #define rb_time_t time_t
18654| #define TIMET2NUM(v) LONG2NUM(v)
18655| #define NUM2TIMET(v) NUM2LONG(v)
18656| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
18657| #define rb_dev_t dev_t
18658| #define DEVT2NUM(v) INT2NUM(v)
18659| #define NUM2DEVT(v) NUM2INT(v)
18660| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
18661| #define rb_mode_t mode_t
18662| #define MODET2NUM(v) UINT2NUM(v)
18663| #define NUM2MODET(v) NUM2UINT(v)
18664| #define PRI_MODET_PREFIX PRI_INT_PREFIX
18665| #define rb_rlim_t rlim_t
18666| #define RLIM2NUM(v) ULL2NUM(v)
18667| #define NUM2RLIM(v) NUM2ULL(v)
18668| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
18669| #define HAVE_PROTOTYPES 1
18670| #define TOKEN_PASTE(x,y) x##y
18671| #define STRINGIZE(expr) STRINGIZE0(expr)
18672| #define HAVE_STDARG_PROTOTYPES 1
18673| #define HAVE_VA_ARGS_MACRO 1
18674| #define NORETURN(x) __attribute__ ((noreturn)) x
18675| #define DEPRECATED(x) __attribute__ ((deprecated)) x
18676| #define NOINLINE(x) __attribute__ ((noinline)) x
18677| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
18678| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
18679| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
18680| #define HAVE_GCC_ATOMIC_BUILTINS 1
18681| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
18682| #define HAVE_DECL_SYS_NERR 1
18683| #define HAVE_LIBDL 1
18684| #define HAVE_DIRENT_H 1
18685| #define HAVE__BOOL 1
18686| #define HAVE_STDBOOL_H 1
18687| #define HAVE_SYS_WAIT_H 1
18688| #define HAVE_LIMITS_H 1
18689| #define HAVE_SYS_FILE_H 1
18690| #define HAVE_SYS_IOCTL_H 1
18691| #define HAVE_SYS_SYSCALL_H 1
18692| #define HAVE_FCNTL_H 1
18693| #define HAVE_SYS_FCNTL_H 1
18694| #define HAVE_SYS_SELECT_H 1
18695| #define HAVE_SYS_TIME_H 1
18696| #define HAVE_SYS_TIMES_H 1
18697| #define HAVE_SYS_PARAM_H 1
18698| #define HAVE_PWD_H 1
18699| #define HAVE_GRP_H 1
18700| #define HAVE_UTIME_H 1
18701| #define HAVE_SYS_RESOURCE_H 1
18702| #define HAVE_NETINET_IN_SYSTM_H 1
18703| #define HAVE_FLOAT_H 1
18704| #define HAVE_LANGINFO_H 1
18705| #define HAVE_LOCALE_H 1
18706| #define HAVE_TIME_H 1
18707| #define HAVE_SYS_SOCKET_H 1
18708| #define SIZEOF_SIZE_T 8
18709| #define SIZEOF_PTRDIFF_T 8
18710| #define PRI_SIZE_PREFIX "z"
18711| #define PRI_PTRDIFF_PREFIX "t"
18712| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
18713| #define HAVE_ST_BLKSIZE 1
18714| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
18715| #define HAVE_ST_BLOCKS 1
18716| #define HAVE_STRUCT_STAT_ST_RDEV 1
18717| #define HAVE_ST_RDEV 1
18718| #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
18719| #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
18720| #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
18721| #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
18722| #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
18723| #define HAVE_STRUCT_TIMESPEC 1
18724| #define HAVE_STRUCT_TIMEZONE 1
18725| #define HAVE_RB_FD_INIT 1
18726| #define HAVE_INT8_T 1
18727| #define SIZEOF_INT8_T 1
18728| #define HAVE_UINT8_T 1
18729| #define SIZEOF_UINT8_T 1
18730| #define HAVE_INT16_T 1
18731| #define SIZEOF_INT16_T 2
18732| #define HAVE_UINT16_T 1
18733| #define SIZEOF_UINT16_T 2
18734| #define HAVE_INT32_T 1
18735| #define SIZEOF_INT32_T 4
18736| #define HAVE_UINT32_T 1
18737| #define SIZEOF_UINT32_T 4
18738| #define HAVE_INT64_T 1
18739| #define SIZEOF_INT64_T 8
18740| #define HAVE_UINT64_T 1
18741| #define SIZEOF_UINT64_T 8
18742| #define HAVE_INTPTR_T 1
18743| #define SIZEOF_INTPTR_T 8
18744| #define HAVE_UINTPTR_T 1
18745| #define SIZEOF_UINTPTR_T 8
18746| #define HAVE_SSIZE_T 1
18747| #define SIZEOF_SSIZE_T 8
18748| #define GC_MARK_STACKFRAME_WORD 16
18749| #define GETGROUPS_T gid_t
18750| #define RETSIGTYPE void
18751| #define HAVE_ALLOCA_H 1
18752| #define HAVE_ALLOCA 1
18753| #define HAVE_DUP2 1
18754| #define HAVE_MEMMOVE 1
18755| #define HAVE_STRERROR 1
18756| #define HAVE_STRCHR 1
18757| #define HAVE_STRSTR 1
18758| #define HAVE_CRYPT 1
18759| #define HAVE_FLOCK 1
18760| #define HAVE_ISNAN 1
18761| #define HAVE_FINITE 1
18762| #define HAVE_ISINF 1
18763| #define HAVE_HYPOT 1
18764| #define HAVE_ACOSH 1
18765| #define HAVE_ERF 1
18766| #define HAVE_TGAMMA 1
18767| #define HAVE_LGAMMA_R 1
18768| #define HAVE_CBRT 1
18769| #define HAVE_STRLCPY 1
18770| #define HAVE_STRLCAT 1
18771| #define HAVE_FFS 1
18772| #define SPT_TYPE SPT_REUSEARGV
18773| #define HAVE_SIGNBIT 1
18774| #define HAVE_FMOD 1
18775| #define HAVE_KILLPG 1
18776| #define HAVE_WAIT4 1
18777| #define HAVE_WAITPID 1
18778| #define HAVE_FORK 1
18779| #define HAVE_SYSCALL 1
18780| #define HAVE___SYSCALL 1
18781| #define HAVE_CHROOT 1
18782| #define HAVE_GETCWD 1
18783| #define HAVE_TRUNCATE 1
18784| #define HAVE_FTRUNCATE 1
18785| #define HAVE_FTELLO 1
18786| #define HAVE_TIMES 1
18787| #define HAVE_UTIMES 1
18788| #define HAVE_FCNTL 1
18789| #define HAVE_LOCKF 1
18790| #define HAVE_LSTAT 1
18791| #define HAVE_FSEEKO 1
18792| #define HAVE_LINK 1
18793| #define HAVE_SYMLINK 1
18794| #define HAVE_READLINK 1
18795| #define HAVE_READDIR_R 1
18796| #define HAVE_FSYNC 1
18797| #define HAVE_FCHOWN 1
18798| #define HAVE_SETITIMER 1
18799| #define HAVE_SETRUID 1
18800| #define HAVE_SETEUID 1
18801| #define HAVE_SETREUID 1
18802| #define HAVE_SOCKETPAIR 1
18803| #define HAVE_SETRGID 1
18804| #define HAVE_SETEGID 1
18805| #define HAVE_SETREGID 1
18806| #define HAVE_ISSETUGID 1
18807| #define HAVE_PAUSE 1
18808| #define HAVE_LCHOWN 1
18809| #define HAVE_LCHMOD 1
18810| #define HAVE_GETPGRP 1
18811| #define HAVE_SETPGRP 1
18812| #define HAVE_GETPGID 1
18813| #define HAVE_SETPGID 1
18814| #define HAVE_INITGROUPS 1
18815| #define HAVE_GETGROUPS 1
18816| #define HAVE_SETGROUPS 1
18817| #define HAVE_GETPRIORITY 1
18818| #define HAVE_GETRLIMIT 1
18819| #define HAVE_SETRLIMIT 1
18820| #define HAVE_SYSCONF 1
18821| #define HAVE_CLOSE 1
18822| #define HAVE_GETGRNAM_R 1
18823| #define HAVE_DLOPEN 1
18824| #define HAVE_SIGPROCMASK 1
18825| #define HAVE_SIGACTION 1
18826| #define HAVE_SIGSETJMP 1
18827| #define HAVE__SETJMP 1
18828| #define HAVE__LONGJMP 1
18829| #define HAVE_SETSID 1
18830| #define HAVE_TELLDIR 1
18831| #define HAVE_SEEKDIR 1
18832| #define HAVE_FCHMOD 1
18833| #define HAVE_COSH 1
18834| #define HAVE_SINH 1
18835| #define HAVE_TANH 1
18836| #define HAVE_LOG2 1
18837| #define HAVE_ROUND 1
18838| #define HAVE_SETUID 1
18839| #define HAVE_SETGID 1
18840| #define HAVE_SETENV 1
18841| #define HAVE_UNSETENV 1
18842| #define HAVE_MKTIME 1
18843| #define HAVE_TIMEGM 1
18844| #define HAVE_GMTIME_R 1
18845| #define HAVE_GETTIMEOFDAY 1
18846| #define HAVE_POLL 1
18847| #define HAVE_PREAD 1
18848| #define HAVE_SENDFILE 1
18849| #define HAVE_SHUTDOWN 1
18850| #define HAVE_SIGALTSTACK 1
18851| #define RUBY_SETJMP(env) _setjmp(env)
18852| #define RUBY_LONGJMP(env,val) _longjmp(env,val)
18853| #define RUBY_JMP_BUF jmp_buf
18854| #define HAVE_STRUCT_TM_TM_ZONE 1
18855| #define HAVE_TM_ZONE 1
18856| #define HAVE_STRUCT_TM_TM_GMTOFF 1
18857| #define HAVE_DAYLIGHT 1
18858| #define HAVE_VAR_TIMEZONE 1
18859| #define TYPEOF_VAR_TIMEZONE long
18860| #define HAVE_TIMEZONE 1
18861| #define TIMEZONE_VOID 1
18862| #define NEGATIVE_TIME_T 1
18863| #define POSIX_SIGNAL 1
18864| #define RSHIFT(x,y) ((x)>>(int)(y))
18865| #define FILE_COUNT _r
18866| #define FILE_READPTR _p
18867| #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
18868| #define HAVE__SC_CLK_TCK 1
18869| #define STACK_GROW_DIRECTION -1
18870| #define _REENTRANT 1
18871| #define _THREAD_SAFE 1
18872| #define HAVE_LIBPTHREAD 1
18873| /* end confdefs.h.  */
18874| #include <pthread.h>
18875|
18876| #include <pthread_np.h>
18877configure:15714: result: no
18878configure:15751: checking for sched_yield
18879configure:15751: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -lpthread -ldl -lobjc >&5
18880configure:15751: $? = 0
18881configure:15751: result: yes
18882configure:15751: checking for pthread_attr_setinheritsched
18883configure:15751: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -lpthread -ldl -lobjc >&5
18884configure:15751: $? = 0
18885configure:15751: result: yes
18886configure:15751: checking for pthread_getattr_np
18887configure:15751: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -lpthread -ldl -lobjc >&5
18888Undefined symbols for architecture x86_64:
18889  "_pthread_getattr_np", referenced from:
18890      _main in conftest-1CS1dF.o
18891ld: symbol(s) not found for architecture x86_64
18892clang: error: linker command failed with exit code 1 (use -v to see invocation)
18893configure:15751: $? = 1
18894configure: failed program was:
18895| /* confdefs.h */
18896| #define PACKAGE_NAME ""
18897| #define PACKAGE_TARNAME ""
18898| #define PACKAGE_VERSION ""
18899| #define PACKAGE_STRING ""
18900| #define PACKAGE_BUGREPORT ""
18901| #define PACKAGE_URL ""
18902| #define CANONICALIZATION_FOR_MATHN 1
18903| #define STDC_HEADERS 1
18904| #define HAVE_SYS_TYPES_H 1
18905| #define HAVE_SYS_STAT_H 1
18906| #define HAVE_STDLIB_H 1
18907| #define HAVE_STRING_H 1
18908| #define HAVE_MEMORY_H 1
18909| #define HAVE_STRINGS_H 1
18910| #define HAVE_INTTYPES_H 1
18911| #define HAVE_STDINT_H 1
18912| #define HAVE_UNISTD_H 1
18913| #define __EXTENSIONS__ 1
18914| #define _ALL_SOURCE 1
18915| #define _GNU_SOURCE 1
18916| #define _POSIX_PTHREAD_SEMANTICS 1
18917| #define _TANDEM_SOURCE 1
18918| #define HAVE_LONG_LONG 1
18919| #define HAVE_OFF_T 1
18920| #define SIZEOF_INT 4
18921| #define SIZEOF_SHORT 2
18922| #define SIZEOF_LONG 8
18923| #define SIZEOF_LONG_LONG 8
18924| #define SIZEOF___INT64 0
18925| #define SIZEOF_OFF_T 8
18926| #define SIZEOF_VOIDP 8
18927| #define SIZEOF_FLOAT 4
18928| #define SIZEOF_DOUBLE 8
18929| #define SIZEOF_TIME_T 8
18930| #define PRI_LL_PREFIX "ll"
18931| #define rb_pid_t pid_t
18932| #define PIDT2NUM(v) INT2NUM(v)
18933| #define NUM2PIDT(v) NUM2INT(v)
18934| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
18935| #define rb_uid_t uid_t
18936| #define UIDT2NUM(v) UINT2NUM(v)
18937| #define NUM2UIDT(v) NUM2UINT(v)
18938| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
18939| #define rb_gid_t gid_t
18940| #define GIDT2NUM(v) UINT2NUM(v)
18941| #define NUM2GIDT(v) NUM2UINT(v)
18942| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
18943| #define rb_time_t time_t
18944| #define TIMET2NUM(v) LONG2NUM(v)
18945| #define NUM2TIMET(v) NUM2LONG(v)
18946| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
18947| #define rb_dev_t dev_t
18948| #define DEVT2NUM(v) INT2NUM(v)
18949| #define NUM2DEVT(v) NUM2INT(v)
18950| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
18951| #define rb_mode_t mode_t
18952| #define MODET2NUM(v) UINT2NUM(v)
18953| #define NUM2MODET(v) NUM2UINT(v)
18954| #define PRI_MODET_PREFIX PRI_INT_PREFIX
18955| #define rb_rlim_t rlim_t
18956| #define RLIM2NUM(v) ULL2NUM(v)
18957| #define NUM2RLIM(v) NUM2ULL(v)
18958| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
18959| #define HAVE_PROTOTYPES 1
18960| #define TOKEN_PASTE(x,y) x##y
18961| #define STRINGIZE(expr) STRINGIZE0(expr)
18962| #define HAVE_STDARG_PROTOTYPES 1
18963| #define HAVE_VA_ARGS_MACRO 1
18964| #define NORETURN(x) __attribute__ ((noreturn)) x
18965| #define DEPRECATED(x) __attribute__ ((deprecated)) x
18966| #define NOINLINE(x) __attribute__ ((noinline)) x
18967| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
18968| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
18969| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
18970| #define HAVE_GCC_ATOMIC_BUILTINS 1
18971| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
18972| #define HAVE_DECL_SYS_NERR 1
18973| #define HAVE_LIBDL 1
18974| #define HAVE_DIRENT_H 1
18975| #define HAVE__BOOL 1
18976| #define HAVE_STDBOOL_H 1
18977| #define HAVE_SYS_WAIT_H 1
18978| #define HAVE_LIMITS_H 1
18979| #define HAVE_SYS_FILE_H 1
18980| #define HAVE_SYS_IOCTL_H 1
18981| #define HAVE_SYS_SYSCALL_H 1
18982| #define HAVE_FCNTL_H 1
18983| #define HAVE_SYS_FCNTL_H 1
18984| #define HAVE_SYS_SELECT_H 1
18985| #define HAVE_SYS_TIME_H 1
18986| #define HAVE_SYS_TIMES_H 1
18987| #define HAVE_SYS_PARAM_H 1
18988| #define HAVE_PWD_H 1
18989| #define HAVE_GRP_H 1
18990| #define HAVE_UTIME_H 1
18991| #define HAVE_SYS_RESOURCE_H 1
18992| #define HAVE_NETINET_IN_SYSTM_H 1
18993| #define HAVE_FLOAT_H 1
18994| #define HAVE_LANGINFO_H 1
18995| #define HAVE_LOCALE_H 1
18996| #define HAVE_TIME_H 1
18997| #define HAVE_SYS_SOCKET_H 1
18998| #define SIZEOF_SIZE_T 8
18999| #define SIZEOF_PTRDIFF_T 8
19000| #define PRI_SIZE_PREFIX "z"
19001| #define PRI_PTRDIFF_PREFIX "t"
19002| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
19003| #define HAVE_ST_BLKSIZE 1
19004| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19005| #define HAVE_ST_BLOCKS 1
19006| #define HAVE_STRUCT_STAT_ST_RDEV 1
19007| #define HAVE_ST_RDEV 1
19008| #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
19009| #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
19010| #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19011| #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
19012| #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
19013| #define HAVE_STRUCT_TIMESPEC 1
19014| #define HAVE_STRUCT_TIMEZONE 1
19015| #define HAVE_RB_FD_INIT 1
19016| #define HAVE_INT8_T 1
19017| #define SIZEOF_INT8_T 1
19018| #define HAVE_UINT8_T 1
19019| #define SIZEOF_UINT8_T 1
19020| #define HAVE_INT16_T 1
19021| #define SIZEOF_INT16_T 2
19022| #define HAVE_UINT16_T 1
19023| #define SIZEOF_UINT16_T 2
19024| #define HAVE_INT32_T 1
19025| #define SIZEOF_INT32_T 4
19026| #define HAVE_UINT32_T 1
19027| #define SIZEOF_UINT32_T 4
19028| #define HAVE_INT64_T 1
19029| #define SIZEOF_INT64_T 8
19030| #define HAVE_UINT64_T 1
19031| #define SIZEOF_UINT64_T 8
19032| #define HAVE_INTPTR_T 1
19033| #define SIZEOF_INTPTR_T 8
19034| #define HAVE_UINTPTR_T 1
19035| #define SIZEOF_UINTPTR_T 8
19036| #define HAVE_SSIZE_T 1
19037| #define SIZEOF_SSIZE_T 8
19038| #define GC_MARK_STACKFRAME_WORD 16
19039| #define GETGROUPS_T gid_t
19040| #define RETSIGTYPE void
19041| #define HAVE_ALLOCA_H 1
19042| #define HAVE_ALLOCA 1
19043| #define HAVE_DUP2 1
19044| #define HAVE_MEMMOVE 1
19045| #define HAVE_STRERROR 1
19046| #define HAVE_STRCHR 1
19047| #define HAVE_STRSTR 1
19048| #define HAVE_CRYPT 1
19049| #define HAVE_FLOCK 1
19050| #define HAVE_ISNAN 1
19051| #define HAVE_FINITE 1
19052| #define HAVE_ISINF 1
19053| #define HAVE_HYPOT 1
19054| #define HAVE_ACOSH 1
19055| #define HAVE_ERF 1
19056| #define HAVE_TGAMMA 1
19057| #define HAVE_LGAMMA_R 1
19058| #define HAVE_CBRT 1
19059| #define HAVE_STRLCPY 1
19060| #define HAVE_STRLCAT 1
19061| #define HAVE_FFS 1
19062| #define SPT_TYPE SPT_REUSEARGV
19063| #define HAVE_SIGNBIT 1
19064| #define HAVE_FMOD 1
19065| #define HAVE_KILLPG 1
19066| #define HAVE_WAIT4 1
19067| #define HAVE_WAITPID 1
19068| #define HAVE_FORK 1
19069| #define HAVE_SYSCALL 1
19070| #define HAVE___SYSCALL 1
19071| #define HAVE_CHROOT 1
19072| #define HAVE_GETCWD 1
19073| #define HAVE_TRUNCATE 1
19074| #define HAVE_FTRUNCATE 1
19075| #define HAVE_FTELLO 1
19076| #define HAVE_TIMES 1
19077| #define HAVE_UTIMES 1
19078| #define HAVE_FCNTL 1
19079| #define HAVE_LOCKF 1
19080| #define HAVE_LSTAT 1
19081| #define HAVE_FSEEKO 1
19082| #define HAVE_LINK 1
19083| #define HAVE_SYMLINK 1
19084| #define HAVE_READLINK 1
19085| #define HAVE_READDIR_R 1
19086| #define HAVE_FSYNC 1
19087| #define HAVE_FCHOWN 1
19088| #define HAVE_SETITIMER 1
19089| #define HAVE_SETRUID 1
19090| #define HAVE_SETEUID 1
19091| #define HAVE_SETREUID 1
19092| #define HAVE_SOCKETPAIR 1
19093| #define HAVE_SETRGID 1
19094| #define HAVE_SETEGID 1
19095| #define HAVE_SETREGID 1
19096| #define HAVE_ISSETUGID 1
19097| #define HAVE_PAUSE 1
19098| #define HAVE_LCHOWN 1
19099| #define HAVE_LCHMOD 1
19100| #define HAVE_GETPGRP 1
19101| #define HAVE_SETPGRP 1
19102| #define HAVE_GETPGID 1
19103| #define HAVE_SETPGID 1
19104| #define HAVE_INITGROUPS 1
19105| #define HAVE_GETGROUPS 1
19106| #define HAVE_SETGROUPS 1
19107| #define HAVE_GETPRIORITY 1
19108| #define HAVE_GETRLIMIT 1
19109| #define HAVE_SETRLIMIT 1
19110| #define HAVE_SYSCONF 1
19111| #define HAVE_CLOSE 1
19112| #define HAVE_GETGRNAM_R 1
19113| #define HAVE_DLOPEN 1
19114| #define HAVE_SIGPROCMASK 1
19115| #define HAVE_SIGACTION 1
19116| #define HAVE_SIGSETJMP 1
19117| #define HAVE__SETJMP 1
19118| #define HAVE__LONGJMP 1
19119| #define HAVE_SETSID 1
19120| #define HAVE_TELLDIR 1
19121| #define HAVE_SEEKDIR 1
19122| #define HAVE_FCHMOD 1
19123| #define HAVE_COSH 1
19124| #define HAVE_SINH 1
19125| #define HAVE_TANH 1
19126| #define HAVE_LOG2 1
19127| #define HAVE_ROUND 1
19128| #define HAVE_SETUID 1
19129| #define HAVE_SETGID 1
19130| #define HAVE_SETENV 1
19131| #define HAVE_UNSETENV 1
19132| #define HAVE_MKTIME 1
19133| #define HAVE_TIMEGM 1
19134| #define HAVE_GMTIME_R 1
19135| #define HAVE_GETTIMEOFDAY 1
19136| #define HAVE_POLL 1
19137| #define HAVE_PREAD 1
19138| #define HAVE_SENDFILE 1
19139| #define HAVE_SHUTDOWN 1
19140| #define HAVE_SIGALTSTACK 1
19141| #define RUBY_SETJMP(env) _setjmp(env)
19142| #define RUBY_LONGJMP(env,val) _longjmp(env,val)
19143| #define RUBY_JMP_BUF jmp_buf
19144| #define HAVE_STRUCT_TM_TM_ZONE 1
19145| #define HAVE_TM_ZONE 1
19146| #define HAVE_STRUCT_TM_TM_GMTOFF 1
19147| #define HAVE_DAYLIGHT 1
19148| #define HAVE_VAR_TIMEZONE 1
19149| #define TYPEOF_VAR_TIMEZONE long
19150| #define HAVE_TIMEZONE 1
19151| #define TIMEZONE_VOID 1
19152| #define NEGATIVE_TIME_T 1
19153| #define POSIX_SIGNAL 1
19154| #define RSHIFT(x,y) ((x)>>(int)(y))
19155| #define FILE_COUNT _r
19156| #define FILE_READPTR _p
19157| #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
19158| #define HAVE__SC_CLK_TCK 1
19159| #define STACK_GROW_DIRECTION -1
19160| #define _REENTRANT 1
19161| #define _THREAD_SAFE 1
19162| #define HAVE_LIBPTHREAD 1
19163| #define HAVE_SCHED_YIELD 1
19164| #define HAVE_PTHREAD_ATTR_SETINHERITSCHED 1
19165| /* end confdefs.h.  */
19166| /* Define pthread_getattr_np to an innocuous variant, in case <limits.h> declares pthread_getattr_np.
19167|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19168| #define pthread_getattr_np innocuous_pthread_getattr_np
19169|
19170| /* System header to define __stub macros and hopefully few prototypes,
19171|     which can conflict with char pthread_getattr_np (); below.
19172|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19173|     <limits.h> exists even on freestanding compilers.  */
19174|
19175| #ifdef __STDC__
19176| # include <limits.h>
19177| #else
19178| # include <assert.h>
19179| #endif
19180|
19181| #undef pthread_getattr_np
19182|
19183| /* Override any GCC internal prototype to avoid an error.
19184|    Use char because int might match the return type of a GCC
19185|    builtin and then its argument prototype would still apply.  */
19186| #ifdef __cplusplus
19187| extern "C"
19188| #endif
19189| char pthread_getattr_np ();
19190| /* The GNU C library defines this for functions which it implements
19191|     to always fail with ENOSYS.  Some functions are actually named
19192|     something starting with __ and the normal name is an alias.  */
19193| #if defined __stub_pthread_getattr_np || defined __stub___pthread_getattr_np
19194| choke me
19195| #endif
19196|
19197| int
19198| main ()
19199| {
19200| return pthread_getattr_np ();
19201|   ;
19202|   return 0;
19203| }
19204configure:15751: result: no
19205configure:15751: checking for pthread_attr_get_np
19206configure:15751: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -lpthread -ldl -lobjc >&5
19207Undefined symbols for architecture x86_64:
19208  "_pthread_attr_get_np", referenced from:
19209      _main in conftest-IWgLNY.o
19210ld: symbol(s) not found for architecture x86_64
19211clang: error: linker command failed with exit code 1 (use -v to see invocation)
19212configure:15751: $? = 1
19213configure: failed program was:
19214| /* confdefs.h */
19215| #define PACKAGE_NAME ""
19216| #define PACKAGE_TARNAME ""
19217| #define PACKAGE_VERSION ""
19218| #define PACKAGE_STRING ""
19219| #define PACKAGE_BUGREPORT ""
19220| #define PACKAGE_URL ""
19221| #define CANONICALIZATION_FOR_MATHN 1
19222| #define STDC_HEADERS 1
19223| #define HAVE_SYS_TYPES_H 1
19224| #define HAVE_SYS_STAT_H 1
19225| #define HAVE_STDLIB_H 1
19226| #define HAVE_STRING_H 1
19227| #define HAVE_MEMORY_H 1
19228| #define HAVE_STRINGS_H 1
19229| #define HAVE_INTTYPES_H 1
19230| #define HAVE_STDINT_H 1
19231| #define HAVE_UNISTD_H 1
19232| #define __EXTENSIONS__ 1
19233| #define _ALL_SOURCE 1
19234| #define _GNU_SOURCE 1
19235| #define _POSIX_PTHREAD_SEMANTICS 1
19236| #define _TANDEM_SOURCE 1
19237| #define HAVE_LONG_LONG 1
19238| #define HAVE_OFF_T 1
19239| #define SIZEOF_INT 4
19240| #define SIZEOF_SHORT 2
19241| #define SIZEOF_LONG 8
19242| #define SIZEOF_LONG_LONG 8
19243| #define SIZEOF___INT64 0
19244| #define SIZEOF_OFF_T 8
19245| #define SIZEOF_VOIDP 8
19246| #define SIZEOF_FLOAT 4
19247| #define SIZEOF_DOUBLE 8
19248| #define SIZEOF_TIME_T 8
19249| #define PRI_LL_PREFIX "ll"
19250| #define rb_pid_t pid_t
19251| #define PIDT2NUM(v) INT2NUM(v)
19252| #define NUM2PIDT(v) NUM2INT(v)
19253| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
19254| #define rb_uid_t uid_t
19255| #define UIDT2NUM(v) UINT2NUM(v)
19256| #define NUM2UIDT(v) NUM2UINT(v)
19257| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
19258| #define rb_gid_t gid_t
19259| #define GIDT2NUM(v) UINT2NUM(v)
19260| #define NUM2GIDT(v) NUM2UINT(v)
19261| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
19262| #define rb_time_t time_t
19263| #define TIMET2NUM(v) LONG2NUM(v)
19264| #define NUM2TIMET(v) NUM2LONG(v)
19265| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
19266| #define rb_dev_t dev_t
19267| #define DEVT2NUM(v) INT2NUM(v)
19268| #define NUM2DEVT(v) NUM2INT(v)
19269| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
19270| #define rb_mode_t mode_t
19271| #define MODET2NUM(v) UINT2NUM(v)
19272| #define NUM2MODET(v) NUM2UINT(v)
19273| #define PRI_MODET_PREFIX PRI_INT_PREFIX
19274| #define rb_rlim_t rlim_t
19275| #define RLIM2NUM(v) ULL2NUM(v)
19276| #define NUM2RLIM(v) NUM2ULL(v)
19277| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
19278| #define HAVE_PROTOTYPES 1
19279| #define TOKEN_PASTE(x,y) x##y
19280| #define STRINGIZE(expr) STRINGIZE0(expr)
19281| #define HAVE_STDARG_PROTOTYPES 1
19282| #define HAVE_VA_ARGS_MACRO 1
19283| #define NORETURN(x) __attribute__ ((noreturn)) x
19284| #define DEPRECATED(x) __attribute__ ((deprecated)) x
19285| #define NOINLINE(x) __attribute__ ((noinline)) x
19286| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
19287| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
19288| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
19289| #define HAVE_GCC_ATOMIC_BUILTINS 1
19290| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
19291| #define HAVE_DECL_SYS_NERR 1
19292| #define HAVE_LIBDL 1
19293| #define HAVE_DIRENT_H 1
19294| #define HAVE__BOOL 1
19295| #define HAVE_STDBOOL_H 1
19296| #define HAVE_SYS_WAIT_H 1
19297| #define HAVE_LIMITS_H 1
19298| #define HAVE_SYS_FILE_H 1
19299| #define HAVE_SYS_IOCTL_H 1
19300| #define HAVE_SYS_SYSCALL_H 1
19301| #define HAVE_FCNTL_H 1
19302| #define HAVE_SYS_FCNTL_H 1
19303| #define HAVE_SYS_SELECT_H 1
19304| #define HAVE_SYS_TIME_H 1
19305| #define HAVE_SYS_TIMES_H 1
19306| #define HAVE_SYS_PARAM_H 1
19307| #define HAVE_PWD_H 1
19308| #define HAVE_GRP_H 1
19309| #define HAVE_UTIME_H 1
19310| #define HAVE_SYS_RESOURCE_H 1
19311| #define HAVE_NETINET_IN_SYSTM_H 1
19312| #define HAVE_FLOAT_H 1
19313| #define HAVE_LANGINFO_H 1
19314| #define HAVE_LOCALE_H 1
19315| #define HAVE_TIME_H 1
19316| #define HAVE_SYS_SOCKET_H 1
19317| #define SIZEOF_SIZE_T 8
19318| #define SIZEOF_PTRDIFF_T 8
19319| #define PRI_SIZE_PREFIX "z"
19320| #define PRI_PTRDIFF_PREFIX "t"
19321| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
19322| #define HAVE_ST_BLKSIZE 1
19323| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19324| #define HAVE_ST_BLOCKS 1
19325| #define HAVE_STRUCT_STAT_ST_RDEV 1
19326| #define HAVE_ST_RDEV 1
19327| #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
19328| #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
19329| #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19330| #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
19331| #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
19332| #define HAVE_STRUCT_TIMESPEC 1
19333| #define HAVE_STRUCT_TIMEZONE 1
19334| #define HAVE_RB_FD_INIT 1
19335| #define HAVE_INT8_T 1
19336| #define SIZEOF_INT8_T 1
19337| #define HAVE_UINT8_T 1
19338| #define SIZEOF_UINT8_T 1
19339| #define HAVE_INT16_T 1
19340| #define SIZEOF_INT16_T 2
19341| #define HAVE_UINT16_T 1
19342| #define SIZEOF_UINT16_T 2
19343| #define HAVE_INT32_T 1
19344| #define SIZEOF_INT32_T 4
19345| #define HAVE_UINT32_T 1
19346| #define SIZEOF_UINT32_T 4
19347| #define HAVE_INT64_T 1
19348| #define SIZEOF_INT64_T 8
19349| #define HAVE_UINT64_T 1
19350| #define SIZEOF_UINT64_T 8
19351| #define HAVE_INTPTR_T 1
19352| #define SIZEOF_INTPTR_T 8
19353| #define HAVE_UINTPTR_T 1
19354| #define SIZEOF_UINTPTR_T 8
19355| #define HAVE_SSIZE_T 1
19356| #define SIZEOF_SSIZE_T 8
19357| #define GC_MARK_STACKFRAME_WORD 16
19358| #define GETGROUPS_T gid_t
19359| #define RETSIGTYPE void
19360| #define HAVE_ALLOCA_H 1
19361| #define HAVE_ALLOCA 1
19362| #define HAVE_DUP2 1
19363| #define HAVE_MEMMOVE 1
19364| #define HAVE_STRERROR 1
19365| #define HAVE_STRCHR 1
19366| #define HAVE_STRSTR 1
19367| #define HAVE_CRYPT 1
19368| #define HAVE_FLOCK 1
19369| #define HAVE_ISNAN 1
19370| #define HAVE_FINITE 1
19371| #define HAVE_ISINF 1
19372| #define HAVE_HYPOT 1
19373| #define HAVE_ACOSH 1
19374| #define HAVE_ERF 1
19375| #define HAVE_TGAMMA 1
19376| #define HAVE_LGAMMA_R 1
19377| #define HAVE_CBRT 1
19378| #define HAVE_STRLCPY 1
19379| #define HAVE_STRLCAT 1
19380| #define HAVE_FFS 1
19381| #define SPT_TYPE SPT_REUSEARGV
19382| #define HAVE_SIGNBIT 1
19383| #define HAVE_FMOD 1
19384| #define HAVE_KILLPG 1
19385| #define HAVE_WAIT4 1
19386| #define HAVE_WAITPID 1
19387| #define HAVE_FORK 1
19388| #define HAVE_SYSCALL 1
19389| #define HAVE___SYSCALL 1
19390| #define HAVE_CHROOT 1
19391| #define HAVE_GETCWD 1
19392| #define HAVE_TRUNCATE 1
19393| #define HAVE_FTRUNCATE 1
19394| #define HAVE_FTELLO 1
19395| #define HAVE_TIMES 1
19396| #define HAVE_UTIMES 1
19397| #define HAVE_FCNTL 1
19398| #define HAVE_LOCKF 1
19399| #define HAVE_LSTAT 1
19400| #define HAVE_FSEEKO 1
19401| #define HAVE_LINK 1
19402| #define HAVE_SYMLINK 1
19403| #define HAVE_READLINK 1
19404| #define HAVE_READDIR_R 1
19405| #define HAVE_FSYNC 1
19406| #define HAVE_FCHOWN 1
19407| #define HAVE_SETITIMER 1
19408| #define HAVE_SETRUID 1
19409| #define HAVE_SETEUID 1
19410| #define HAVE_SETREUID 1
19411| #define HAVE_SOCKETPAIR 1
19412| #define HAVE_SETRGID 1
19413| #define HAVE_SETEGID 1
19414| #define HAVE_SETREGID 1
19415| #define HAVE_ISSETUGID 1
19416| #define HAVE_PAUSE 1
19417| #define HAVE_LCHOWN 1
19418| #define HAVE_LCHMOD 1
19419| #define HAVE_GETPGRP 1
19420| #define HAVE_SETPGRP 1
19421| #define HAVE_GETPGID 1
19422| #define HAVE_SETPGID 1
19423| #define HAVE_INITGROUPS 1
19424| #define HAVE_GETGROUPS 1
19425| #define HAVE_SETGROUPS 1
19426| #define HAVE_GETPRIORITY 1
19427| #define HAVE_GETRLIMIT 1
19428| #define HAVE_SETRLIMIT 1
19429| #define HAVE_SYSCONF 1
19430| #define HAVE_CLOSE 1
19431| #define HAVE_GETGRNAM_R 1
19432| #define HAVE_DLOPEN 1
19433| #define HAVE_SIGPROCMASK 1
19434| #define HAVE_SIGACTION 1
19435| #define HAVE_SIGSETJMP 1
19436| #define HAVE__SETJMP 1
19437| #define HAVE__LONGJMP 1
19438| #define HAVE_SETSID 1
19439| #define HAVE_TELLDIR 1
19440| #define HAVE_SEEKDIR 1
19441| #define HAVE_FCHMOD 1
19442| #define HAVE_COSH 1
19443| #define HAVE_SINH 1
19444| #define HAVE_TANH 1
19445| #define HAVE_LOG2 1
19446| #define HAVE_ROUND 1
19447| #define HAVE_SETUID 1
19448| #define HAVE_SETGID 1
19449| #define HAVE_SETENV 1
19450| #define HAVE_UNSETENV 1
19451| #define HAVE_MKTIME 1
19452| #define HAVE_TIMEGM 1
19453| #define HAVE_GMTIME_R 1
19454| #define HAVE_GETTIMEOFDAY 1
19455| #define HAVE_POLL 1
19456| #define HAVE_PREAD 1
19457| #define HAVE_SENDFILE 1
19458| #define HAVE_SHUTDOWN 1
19459| #define HAVE_SIGALTSTACK 1
19460| #define RUBY_SETJMP(env) _setjmp(env)
19461| #define RUBY_LONGJMP(env,val) _longjmp(env,val)
19462| #define RUBY_JMP_BUF jmp_buf
19463| #define HAVE_STRUCT_TM_TM_ZONE 1
19464| #define HAVE_TM_ZONE 1
19465| #define HAVE_STRUCT_TM_TM_GMTOFF 1
19466| #define HAVE_DAYLIGHT 1
19467| #define HAVE_VAR_TIMEZONE 1
19468| #define TYPEOF_VAR_TIMEZONE long
19469| #define HAVE_TIMEZONE 1
19470| #define TIMEZONE_VOID 1
19471| #define NEGATIVE_TIME_T 1
19472| #define POSIX_SIGNAL 1
19473| #define RSHIFT(x,y) ((x)>>(int)(y))
19474| #define FILE_COUNT _r
19475| #define FILE_READPTR _p
19476| #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
19477| #define HAVE__SC_CLK_TCK 1
19478| #define STACK_GROW_DIRECTION -1
19479| #define _REENTRANT 1
19480| #define _THREAD_SAFE 1
19481| #define HAVE_LIBPTHREAD 1
19482| #define HAVE_SCHED_YIELD 1
19483| #define HAVE_PTHREAD_ATTR_SETINHERITSCHED 1
19484| /* end confdefs.h.  */
19485| /* Define pthread_attr_get_np to an innocuous variant, in case <limits.h> declares pthread_attr_get_np.
19486|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19487| #define pthread_attr_get_np innocuous_pthread_attr_get_np
19488|
19489| /* System header to define __stub macros and hopefully few prototypes,
19490|     which can conflict with char pthread_attr_get_np (); below.
19491|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19492|     <limits.h> exists even on freestanding compilers.  */
19493|
19494| #ifdef __STDC__
19495| # include <limits.h>
19496| #else
19497| # include <assert.h>
19498| #endif
19499|
19500| #undef pthread_attr_get_np
19501|
19502| /* Override any GCC internal prototype to avoid an error.
19503|    Use char because int might match the return type of a GCC
19504|    builtin and then its argument prototype would still apply.  */
19505| #ifdef __cplusplus
19506| extern "C"
19507| #endif
19508| char pthread_attr_get_np ();
19509| /* The GNU C library defines this for functions which it implements
19510|     to always fail with ENOSYS.  Some functions are actually named
19511|     something starting with __ and the normal name is an alias.  */
19512| #if defined __stub_pthread_attr_get_np || defined __stub___pthread_attr_get_np
19513| choke me
19514| #endif
19515|
19516| int
19517| main ()
19518| {
19519| return pthread_attr_get_np ();
19520|   ;
19521|   return 0;
19522| }
19523configure:15751: result: no
19524configure:15751: checking for pthread_attr_getstack
19525configure:15751: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -lpthread -ldl -lobjc >&5
19526configure:15751: $? = 0
19527configure:15751: result: yes
19528configure:15751: checking for pthread_get_stackaddr_np
19529configure:15751: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -lpthread -ldl -lobjc >&5
19530configure:15751: $? = 0
19531configure:15751: result: yes
19532configure:15751: checking for pthread_get_stacksize_np
19533configure:15751: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -lpthread -ldl -lobjc >&5
19534configure:15751: $? = 0
19535configure:15751: result: yes
19536configure:15751: checking for thr_stksegment
19537configure:15751: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -lpthread -ldl -lobjc >&5
19538Undefined symbols for architecture x86_64:
19539  "_thr_stksegment", referenced from:
19540      _main in conftest-zEcIXm.o
19541ld: symbol(s) not found for architecture x86_64
19542clang: error: linker command failed with exit code 1 (use -v to see invocation)
19543configure:15751: $? = 1
19544configure: failed program was:
19545| /* confdefs.h */
19546| #define PACKAGE_NAME ""
19547| #define PACKAGE_TARNAME ""
19548| #define PACKAGE_VERSION ""
19549| #define PACKAGE_STRING ""
19550| #define PACKAGE_BUGREPORT ""
19551| #define PACKAGE_URL ""
19552| #define CANONICALIZATION_FOR_MATHN 1
19553| #define STDC_HEADERS 1
19554| #define HAVE_SYS_TYPES_H 1
19555| #define HAVE_SYS_STAT_H 1
19556| #define HAVE_STDLIB_H 1
19557| #define HAVE_STRING_H 1
19558| #define HAVE_MEMORY_H 1
19559| #define HAVE_STRINGS_H 1
19560| #define HAVE_INTTYPES_H 1
19561| #define HAVE_STDINT_H 1
19562| #define HAVE_UNISTD_H 1
19563| #define __EXTENSIONS__ 1
19564| #define _ALL_SOURCE 1
19565| #define _GNU_SOURCE 1
19566| #define _POSIX_PTHREAD_SEMANTICS 1
19567| #define _TANDEM_SOURCE 1
19568| #define HAVE_LONG_LONG 1
19569| #define HAVE_OFF_T 1
19570| #define SIZEOF_INT 4
19571| #define SIZEOF_SHORT 2
19572| #define SIZEOF_LONG 8
19573| #define SIZEOF_LONG_LONG 8
19574| #define SIZEOF___INT64 0
19575| #define SIZEOF_OFF_T 8
19576| #define SIZEOF_VOIDP 8
19577| #define SIZEOF_FLOAT 4
19578| #define SIZEOF_DOUBLE 8
19579| #define SIZEOF_TIME_T 8
19580| #define PRI_LL_PREFIX "ll"
19581| #define rb_pid_t pid_t
19582| #define PIDT2NUM(v) INT2NUM(v)
19583| #define NUM2PIDT(v) NUM2INT(v)
19584| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
19585| #define rb_uid_t uid_t
19586| #define UIDT2NUM(v) UINT2NUM(v)
19587| #define NUM2UIDT(v) NUM2UINT(v)
19588| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
19589| #define rb_gid_t gid_t
19590| #define GIDT2NUM(v) UINT2NUM(v)
19591| #define NUM2GIDT(v) NUM2UINT(v)
19592| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
19593| #define rb_time_t time_t
19594| #define TIMET2NUM(v) LONG2NUM(v)
19595| #define NUM2TIMET(v) NUM2LONG(v)
19596| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
19597| #define rb_dev_t dev_t
19598| #define DEVT2NUM(v) INT2NUM(v)
19599| #define NUM2DEVT(v) NUM2INT(v)
19600| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
19601| #define rb_mode_t mode_t
19602| #define MODET2NUM(v) UINT2NUM(v)
19603| #define NUM2MODET(v) NUM2UINT(v)
19604| #define PRI_MODET_PREFIX PRI_INT_PREFIX
19605| #define rb_rlim_t rlim_t
19606| #define RLIM2NUM(v) ULL2NUM(v)
19607| #define NUM2RLIM(v) NUM2ULL(v)
19608| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
19609| #define HAVE_PROTOTYPES 1
19610| #define TOKEN_PASTE(x,y) x##y
19611| #define STRINGIZE(expr) STRINGIZE0(expr)
19612| #define HAVE_STDARG_PROTOTYPES 1
19613| #define HAVE_VA_ARGS_MACRO 1
19614| #define NORETURN(x) __attribute__ ((noreturn)) x
19615| #define DEPRECATED(x) __attribute__ ((deprecated)) x
19616| #define NOINLINE(x) __attribute__ ((noinline)) x
19617| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
19618| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
19619| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
19620| #define HAVE_GCC_ATOMIC_BUILTINS 1
19621| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
19622| #define HAVE_DECL_SYS_NERR 1
19623| #define HAVE_LIBDL 1
19624| #define HAVE_DIRENT_H 1
19625| #define HAVE__BOOL 1
19626| #define HAVE_STDBOOL_H 1
19627| #define HAVE_SYS_WAIT_H 1
19628| #define HAVE_LIMITS_H 1
19629| #define HAVE_SYS_FILE_H 1
19630| #define HAVE_SYS_IOCTL_H 1
19631| #define HAVE_SYS_SYSCALL_H 1
19632| #define HAVE_FCNTL_H 1
19633| #define HAVE_SYS_FCNTL_H 1
19634| #define HAVE_SYS_SELECT_H 1
19635| #define HAVE_SYS_TIME_H 1
19636| #define HAVE_SYS_TIMES_H 1
19637| #define HAVE_SYS_PARAM_H 1
19638| #define HAVE_PWD_H 1
19639| #define HAVE_GRP_H 1
19640| #define HAVE_UTIME_H 1
19641| #define HAVE_SYS_RESOURCE_H 1
19642| #define HAVE_NETINET_IN_SYSTM_H 1
19643| #define HAVE_FLOAT_H 1
19644| #define HAVE_LANGINFO_H 1
19645| #define HAVE_LOCALE_H 1
19646| #define HAVE_TIME_H 1
19647| #define HAVE_SYS_SOCKET_H 1
19648| #define SIZEOF_SIZE_T 8
19649| #define SIZEOF_PTRDIFF_T 8
19650| #define PRI_SIZE_PREFIX "z"
19651| #define PRI_PTRDIFF_PREFIX "t"
19652| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
19653| #define HAVE_ST_BLKSIZE 1
19654| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19655| #define HAVE_ST_BLOCKS 1
19656| #define HAVE_STRUCT_STAT_ST_RDEV 1
19657| #define HAVE_ST_RDEV 1
19658| #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
19659| #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
19660| #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19661| #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
19662| #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
19663| #define HAVE_STRUCT_TIMESPEC 1
19664| #define HAVE_STRUCT_TIMEZONE 1
19665| #define HAVE_RB_FD_INIT 1
19666| #define HAVE_INT8_T 1
19667| #define SIZEOF_INT8_T 1
19668| #define HAVE_UINT8_T 1
19669| #define SIZEOF_UINT8_T 1
19670| #define HAVE_INT16_T 1
19671| #define SIZEOF_INT16_T 2
19672| #define HAVE_UINT16_T 1
19673| #define SIZEOF_UINT16_T 2
19674| #define HAVE_INT32_T 1
19675| #define SIZEOF_INT32_T 4
19676| #define HAVE_UINT32_T 1
19677| #define SIZEOF_UINT32_T 4
19678| #define HAVE_INT64_T 1
19679| #define SIZEOF_INT64_T 8
19680| #define HAVE_UINT64_T 1
19681| #define SIZEOF_UINT64_T 8
19682| #define HAVE_INTPTR_T 1
19683| #define SIZEOF_INTPTR_T 8
19684| #define HAVE_UINTPTR_T 1
19685| #define SIZEOF_UINTPTR_T 8
19686| #define HAVE_SSIZE_T 1
19687| #define SIZEOF_SSIZE_T 8
19688| #define GC_MARK_STACKFRAME_WORD 16
19689| #define GETGROUPS_T gid_t
19690| #define RETSIGTYPE void
19691| #define HAVE_ALLOCA_H 1
19692| #define HAVE_ALLOCA 1
19693| #define HAVE_DUP2 1
19694| #define HAVE_MEMMOVE 1
19695| #define HAVE_STRERROR 1
19696| #define HAVE_STRCHR 1
19697| #define HAVE_STRSTR 1
19698| #define HAVE_CRYPT 1
19699| #define HAVE_FLOCK 1
19700| #define HAVE_ISNAN 1
19701| #define HAVE_FINITE 1
19702| #define HAVE_ISINF 1
19703| #define HAVE_HYPOT 1
19704| #define HAVE_ACOSH 1
19705| #define HAVE_ERF 1
19706| #define HAVE_TGAMMA 1
19707| #define HAVE_LGAMMA_R 1
19708| #define HAVE_CBRT 1
19709| #define HAVE_STRLCPY 1
19710| #define HAVE_STRLCAT 1
19711| #define HAVE_FFS 1
19712| #define SPT_TYPE SPT_REUSEARGV
19713| #define HAVE_SIGNBIT 1
19714| #define HAVE_FMOD 1
19715| #define HAVE_KILLPG 1
19716| #define HAVE_WAIT4 1
19717| #define HAVE_WAITPID 1
19718| #define HAVE_FORK 1
19719| #define HAVE_SYSCALL 1
19720| #define HAVE___SYSCALL 1
19721| #define HAVE_CHROOT 1
19722| #define HAVE_GETCWD 1
19723| #define HAVE_TRUNCATE 1
19724| #define HAVE_FTRUNCATE 1
19725| #define HAVE_FTELLO 1
19726| #define HAVE_TIMES 1
19727| #define HAVE_UTIMES 1
19728| #define HAVE_FCNTL 1
19729| #define HAVE_LOCKF 1
19730| #define HAVE_LSTAT 1
19731| #define HAVE_FSEEKO 1
19732| #define HAVE_LINK 1
19733| #define HAVE_SYMLINK 1
19734| #define HAVE_READLINK 1
19735| #define HAVE_READDIR_R 1
19736| #define HAVE_FSYNC 1
19737| #define HAVE_FCHOWN 1
19738| #define HAVE_SETITIMER 1
19739| #define HAVE_SETRUID 1
19740| #define HAVE_SETEUID 1
19741| #define HAVE_SETREUID 1
19742| #define HAVE_SOCKETPAIR 1
19743| #define HAVE_SETRGID 1
19744| #define HAVE_SETEGID 1
19745| #define HAVE_SETREGID 1
19746| #define HAVE_ISSETUGID 1
19747| #define HAVE_PAUSE 1
19748| #define HAVE_LCHOWN 1
19749| #define HAVE_LCHMOD 1
19750| #define HAVE_GETPGRP 1
19751| #define HAVE_SETPGRP 1
19752| #define HAVE_GETPGID 1
19753| #define HAVE_SETPGID 1
19754| #define HAVE_INITGROUPS 1
19755| #define HAVE_GETGROUPS 1
19756| #define HAVE_SETGROUPS 1
19757| #define HAVE_GETPRIORITY 1
19758| #define HAVE_GETRLIMIT 1
19759| #define HAVE_SETRLIMIT 1
19760| #define HAVE_SYSCONF 1
19761| #define HAVE_CLOSE 1
19762| #define HAVE_GETGRNAM_R 1
19763| #define HAVE_DLOPEN 1
19764| #define HAVE_SIGPROCMASK 1
19765| #define HAVE_SIGACTION 1
19766| #define HAVE_SIGSETJMP 1
19767| #define HAVE__SETJMP 1
19768| #define HAVE__LONGJMP 1
19769| #define HAVE_SETSID 1
19770| #define HAVE_TELLDIR 1
19771| #define HAVE_SEEKDIR 1
19772| #define HAVE_FCHMOD 1
19773| #define HAVE_COSH 1
19774| #define HAVE_SINH 1
19775| #define HAVE_TANH 1
19776| #define HAVE_LOG2 1
19777| #define HAVE_ROUND 1
19778| #define HAVE_SETUID 1
19779| #define HAVE_SETGID 1
19780| #define HAVE_SETENV 1
19781| #define HAVE_UNSETENV 1
19782| #define HAVE_MKTIME 1
19783| #define HAVE_TIMEGM 1
19784| #define HAVE_GMTIME_R 1
19785| #define HAVE_GETTIMEOFDAY 1
19786| #define HAVE_POLL 1
19787| #define HAVE_PREAD 1
19788| #define HAVE_SENDFILE 1
19789| #define HAVE_SHUTDOWN 1
19790| #define HAVE_SIGALTSTACK 1
19791| #define RUBY_SETJMP(env) _setjmp(env)
19792| #define RUBY_LONGJMP(env,val) _longjmp(env,val)
19793| #define RUBY_JMP_BUF jmp_buf
19794| #define HAVE_STRUCT_TM_TM_ZONE 1
19795| #define HAVE_TM_ZONE 1
19796| #define HAVE_STRUCT_TM_TM_GMTOFF 1
19797| #define HAVE_DAYLIGHT 1
19798| #define HAVE_VAR_TIMEZONE 1
19799| #define TYPEOF_VAR_TIMEZONE long
19800| #define HAVE_TIMEZONE 1
19801| #define TIMEZONE_VOID 1
19802| #define NEGATIVE_TIME_T 1
19803| #define POSIX_SIGNAL 1
19804| #define RSHIFT(x,y) ((x)>>(int)(y))
19805| #define FILE_COUNT _r
19806| #define FILE_READPTR _p
19807| #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
19808| #define HAVE__SC_CLK_TCK 1
19809| #define STACK_GROW_DIRECTION -1
19810| #define _REENTRANT 1
19811| #define _THREAD_SAFE 1
19812| #define HAVE_LIBPTHREAD 1
19813| #define HAVE_SCHED_YIELD 1
19814| #define HAVE_PTHREAD_ATTR_SETINHERITSCHED 1
19815| #define HAVE_PTHREAD_ATTR_GETSTACK 1
19816| #define HAVE_PTHREAD_GET_STACKADDR_NP 1
19817| #define HAVE_PTHREAD_GET_STACKSIZE_NP 1
19818| /* end confdefs.h.  */
19819| /* Define thr_stksegment to an innocuous variant, in case <limits.h> declares thr_stksegment.
19820|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19821| #define thr_stksegment innocuous_thr_stksegment
19822|
19823| /* System header to define __stub macros and hopefully few prototypes,
19824|     which can conflict with char thr_stksegment (); below.
19825|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19826|     <limits.h> exists even on freestanding compilers.  */
19827|
19828| #ifdef __STDC__
19829| # include <limits.h>
19830| #else
19831| # include <assert.h>
19832| #endif
19833|
19834| #undef thr_stksegment
19835|
19836| /* Override any GCC internal prototype to avoid an error.
19837|    Use char because int might match the return type of a GCC
19838|    builtin and then its argument prototype would still apply.  */
19839| #ifdef __cplusplus
19840| extern "C"
19841| #endif
19842| char thr_stksegment ();
19843| /* The GNU C library defines this for functions which it implements
19844|     to always fail with ENOSYS.  Some functions are actually named
19845|     something starting with __ and the normal name is an alias.  */
19846| #if defined __stub_thr_stksegment || defined __stub___thr_stksegment
19847| choke me
19848| #endif
19849|
19850| int
19851| main ()
19852| {
19853| return thr_stksegment ();
19854|   ;
19855|   return 0;
19856| }
19857configure:15751: result: no
19858configure:15751: checking for pthread_stackseg_np
19859configure:15751: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -lpthread -ldl -lobjc >&5
19860Undefined symbols for architecture x86_64:
19861  "_pthread_stackseg_np", referenced from:
19862      _main in conftest-eUt26k.o
19863ld: symbol(s) not found for architecture x86_64
19864clang: error: linker command failed with exit code 1 (use -v to see invocation)
19865configure:15751: $? = 1
19866configure: failed program was:
19867| /* confdefs.h */
19868| #define PACKAGE_NAME ""
19869| #define PACKAGE_TARNAME ""
19870| #define PACKAGE_VERSION ""
19871| #define PACKAGE_STRING ""
19872| #define PACKAGE_BUGREPORT ""
19873| #define PACKAGE_URL ""
19874| #define CANONICALIZATION_FOR_MATHN 1
19875| #define STDC_HEADERS 1
19876| #define HAVE_SYS_TYPES_H 1
19877| #define HAVE_SYS_STAT_H 1
19878| #define HAVE_STDLIB_H 1
19879| #define HAVE_STRING_H 1
19880| #define HAVE_MEMORY_H 1
19881| #define HAVE_STRINGS_H 1
19882| #define HAVE_INTTYPES_H 1
19883| #define HAVE_STDINT_H 1
19884| #define HAVE_UNISTD_H 1
19885| #define __EXTENSIONS__ 1
19886| #define _ALL_SOURCE 1
19887| #define _GNU_SOURCE 1
19888| #define _POSIX_PTHREAD_SEMANTICS 1
19889| #define _TANDEM_SOURCE 1
19890| #define HAVE_LONG_LONG 1
19891| #define HAVE_OFF_T 1
19892| #define SIZEOF_INT 4
19893| #define SIZEOF_SHORT 2
19894| #define SIZEOF_LONG 8
19895| #define SIZEOF_LONG_LONG 8
19896| #define SIZEOF___INT64 0
19897| #define SIZEOF_OFF_T 8
19898| #define SIZEOF_VOIDP 8
19899| #define SIZEOF_FLOAT 4
19900| #define SIZEOF_DOUBLE 8
19901| #define SIZEOF_TIME_T 8
19902| #define PRI_LL_PREFIX "ll"
19903| #define rb_pid_t pid_t
19904| #define PIDT2NUM(v) INT2NUM(v)
19905| #define NUM2PIDT(v) NUM2INT(v)
19906| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
19907| #define rb_uid_t uid_t
19908| #define UIDT2NUM(v) UINT2NUM(v)
19909| #define NUM2UIDT(v) NUM2UINT(v)
19910| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
19911| #define rb_gid_t gid_t
19912| #define GIDT2NUM(v) UINT2NUM(v)
19913| #define NUM2GIDT(v) NUM2UINT(v)
19914| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
19915| #define rb_time_t time_t
19916| #define TIMET2NUM(v) LONG2NUM(v)
19917| #define NUM2TIMET(v) NUM2LONG(v)
19918| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
19919| #define rb_dev_t dev_t
19920| #define DEVT2NUM(v) INT2NUM(v)
19921| #define NUM2DEVT(v) NUM2INT(v)
19922| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
19923| #define rb_mode_t mode_t
19924| #define MODET2NUM(v) UINT2NUM(v)
19925| #define NUM2MODET(v) NUM2UINT(v)
19926| #define PRI_MODET_PREFIX PRI_INT_PREFIX
19927| #define rb_rlim_t rlim_t
19928| #define RLIM2NUM(v) ULL2NUM(v)
19929| #define NUM2RLIM(v) NUM2ULL(v)
19930| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
19931| #define HAVE_PROTOTYPES 1
19932| #define TOKEN_PASTE(x,y) x##y
19933| #define STRINGIZE(expr) STRINGIZE0(expr)
19934| #define HAVE_STDARG_PROTOTYPES 1
19935| #define HAVE_VA_ARGS_MACRO 1
19936| #define NORETURN(x) __attribute__ ((noreturn)) x
19937| #define DEPRECATED(x) __attribute__ ((deprecated)) x
19938| #define NOINLINE(x) __attribute__ ((noinline)) x
19939| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
19940| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
19941| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
19942| #define HAVE_GCC_ATOMIC_BUILTINS 1
19943| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
19944| #define HAVE_DECL_SYS_NERR 1
19945| #define HAVE_LIBDL 1
19946| #define HAVE_DIRENT_H 1
19947| #define HAVE__BOOL 1
19948| #define HAVE_STDBOOL_H 1
19949| #define HAVE_SYS_WAIT_H 1
19950| #define HAVE_LIMITS_H 1
19951| #define HAVE_SYS_FILE_H 1
19952| #define HAVE_SYS_IOCTL_H 1
19953| #define HAVE_SYS_SYSCALL_H 1
19954| #define HAVE_FCNTL_H 1
19955| #define HAVE_SYS_FCNTL_H 1
19956| #define HAVE_SYS_SELECT_H 1
19957| #define HAVE_SYS_TIME_H 1
19958| #define HAVE_SYS_TIMES_H 1
19959| #define HAVE_SYS_PARAM_H 1
19960| #define HAVE_PWD_H 1
19961| #define HAVE_GRP_H 1
19962| #define HAVE_UTIME_H 1
19963| #define HAVE_SYS_RESOURCE_H 1
19964| #define HAVE_NETINET_IN_SYSTM_H 1
19965| #define HAVE_FLOAT_H 1
19966| #define HAVE_LANGINFO_H 1
19967| #define HAVE_LOCALE_H 1
19968| #define HAVE_TIME_H 1
19969| #define HAVE_SYS_SOCKET_H 1
19970| #define SIZEOF_SIZE_T 8
19971| #define SIZEOF_PTRDIFF_T 8
19972| #define PRI_SIZE_PREFIX "z"
19973| #define PRI_PTRDIFF_PREFIX "t"
19974| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
19975| #define HAVE_ST_BLKSIZE 1
19976| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19977| #define HAVE_ST_BLOCKS 1
19978| #define HAVE_STRUCT_STAT_ST_RDEV 1
19979| #define HAVE_ST_RDEV 1
19980| #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
19981| #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
19982| #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19983| #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
19984| #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
19985| #define HAVE_STRUCT_TIMESPEC 1
19986| #define HAVE_STRUCT_TIMEZONE 1
19987| #define HAVE_RB_FD_INIT 1
19988| #define HAVE_INT8_T 1
19989| #define SIZEOF_INT8_T 1
19990| #define HAVE_UINT8_T 1
19991| #define SIZEOF_UINT8_T 1
19992| #define HAVE_INT16_T 1
19993| #define SIZEOF_INT16_T 2
19994| #define HAVE_UINT16_T 1
19995| #define SIZEOF_UINT16_T 2
19996| #define HAVE_INT32_T 1
19997| #define SIZEOF_INT32_T 4
19998| #define HAVE_UINT32_T 1
19999| #define SIZEOF_UINT32_T 4
20000| #define HAVE_INT64_T 1
20001| #define SIZEOF_INT64_T 8
20002| #define HAVE_UINT64_T 1
20003| #define SIZEOF_UINT64_T 8
20004| #define HAVE_INTPTR_T 1
20005| #define SIZEOF_INTPTR_T 8
20006| #define HAVE_UINTPTR_T 1
20007| #define SIZEOF_UINTPTR_T 8
20008| #define HAVE_SSIZE_T 1
20009| #define SIZEOF_SSIZE_T 8
20010| #define GC_MARK_STACKFRAME_WORD 16
20011| #define GETGROUPS_T gid_t
20012| #define RETSIGTYPE void
20013| #define HAVE_ALLOCA_H 1
20014| #define HAVE_ALLOCA 1
20015| #define HAVE_DUP2 1
20016| #define HAVE_MEMMOVE 1
20017| #define HAVE_STRERROR 1
20018| #define HAVE_STRCHR 1
20019| #define HAVE_STRSTR 1
20020| #define HAVE_CRYPT 1
20021| #define HAVE_FLOCK 1
20022| #define HAVE_ISNAN 1
20023| #define HAVE_FINITE 1
20024| #define HAVE_ISINF 1
20025| #define HAVE_HYPOT 1
20026| #define HAVE_ACOSH 1
20027| #define HAVE_ERF 1
20028| #define HAVE_TGAMMA 1
20029| #define HAVE_LGAMMA_R 1
20030| #define HAVE_CBRT 1
20031| #define HAVE_STRLCPY 1
20032| #define HAVE_STRLCAT 1
20033| #define HAVE_FFS 1
20034| #define SPT_TYPE SPT_REUSEARGV
20035| #define HAVE_SIGNBIT 1
20036| #define HAVE_FMOD 1
20037| #define HAVE_KILLPG 1
20038| #define HAVE_WAIT4 1
20039| #define HAVE_WAITPID 1
20040| #define HAVE_FORK 1
20041| #define HAVE_SYSCALL 1
20042| #define HAVE___SYSCALL 1
20043| #define HAVE_CHROOT 1
20044| #define HAVE_GETCWD 1
20045| #define HAVE_TRUNCATE 1
20046| #define HAVE_FTRUNCATE 1
20047| #define HAVE_FTELLO 1
20048| #define HAVE_TIMES 1
20049| #define HAVE_UTIMES 1
20050| #define HAVE_FCNTL 1
20051| #define HAVE_LOCKF 1
20052| #define HAVE_LSTAT 1
20053| #define HAVE_FSEEKO 1
20054| #define HAVE_LINK 1
20055| #define HAVE_SYMLINK 1
20056| #define HAVE_READLINK 1
20057| #define HAVE_READDIR_R 1
20058| #define HAVE_FSYNC 1
20059| #define HAVE_FCHOWN 1
20060| #define HAVE_SETITIMER 1
20061| #define HAVE_SETRUID 1
20062| #define HAVE_SETEUID 1
20063| #define HAVE_SETREUID 1
20064| #define HAVE_SOCKETPAIR 1
20065| #define HAVE_SETRGID 1
20066| #define HAVE_SETEGID 1
20067| #define HAVE_SETREGID 1
20068| #define HAVE_ISSETUGID 1
20069| #define HAVE_PAUSE 1
20070| #define HAVE_LCHOWN 1
20071| #define HAVE_LCHMOD 1
20072| #define HAVE_GETPGRP 1
20073| #define HAVE_SETPGRP 1
20074| #define HAVE_GETPGID 1
20075| #define HAVE_SETPGID 1
20076| #define HAVE_INITGROUPS 1
20077| #define HAVE_GETGROUPS 1
20078| #define HAVE_SETGROUPS 1
20079| #define HAVE_GETPRIORITY 1
20080| #define HAVE_GETRLIMIT 1
20081| #define HAVE_SETRLIMIT 1
20082| #define HAVE_SYSCONF 1
20083| #define HAVE_CLOSE 1
20084| #define HAVE_GETGRNAM_R 1
20085| #define HAVE_DLOPEN 1
20086| #define HAVE_SIGPROCMASK 1
20087| #define HAVE_SIGACTION 1
20088| #define HAVE_SIGSETJMP 1
20089| #define HAVE__SETJMP 1
20090| #define HAVE__LONGJMP 1
20091| #define HAVE_SETSID 1
20092| #define HAVE_TELLDIR 1
20093| #define HAVE_SEEKDIR 1
20094| #define HAVE_FCHMOD 1
20095| #define HAVE_COSH 1
20096| #define HAVE_SINH 1
20097| #define HAVE_TANH 1
20098| #define HAVE_LOG2 1
20099| #define HAVE_ROUND 1
20100| #define HAVE_SETUID 1
20101| #define HAVE_SETGID 1
20102| #define HAVE_SETENV 1
20103| #define HAVE_UNSETENV 1
20104| #define HAVE_MKTIME 1
20105| #define HAVE_TIMEGM 1
20106| #define HAVE_GMTIME_R 1
20107| #define HAVE_GETTIMEOFDAY 1
20108| #define HAVE_POLL 1
20109| #define HAVE_PREAD 1
20110| #define HAVE_SENDFILE 1
20111| #define HAVE_SHUTDOWN 1
20112| #define HAVE_SIGALTSTACK 1
20113| #define RUBY_SETJMP(env) _setjmp(env)
20114| #define RUBY_LONGJMP(env,val) _longjmp(env,val)
20115| #define RUBY_JMP_BUF jmp_buf
20116| #define HAVE_STRUCT_TM_TM_ZONE 1
20117| #define HAVE_TM_ZONE 1
20118| #define HAVE_STRUCT_TM_TM_GMTOFF 1
20119| #define HAVE_DAYLIGHT 1
20120| #define HAVE_VAR_TIMEZONE 1
20121| #define TYPEOF_VAR_TIMEZONE long
20122| #define HAVE_TIMEZONE 1
20123| #define TIMEZONE_VOID 1
20124| #define NEGATIVE_TIME_T 1
20125| #define POSIX_SIGNAL 1
20126| #define RSHIFT(x,y) ((x)>>(int)(y))
20127| #define FILE_COUNT _r
20128| #define FILE_READPTR _p
20129| #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
20130| #define HAVE__SC_CLK_TCK 1
20131| #define STACK_GROW_DIRECTION -1
20132| #define _REENTRANT 1
20133| #define _THREAD_SAFE 1
20134| #define HAVE_LIBPTHREAD 1
20135| #define HAVE_SCHED_YIELD 1
20136| #define HAVE_PTHREAD_ATTR_SETINHERITSCHED 1
20137| #define HAVE_PTHREAD_ATTR_GETSTACK 1
20138| #define HAVE_PTHREAD_GET_STACKADDR_NP 1
20139| #define HAVE_PTHREAD_GET_STACKSIZE_NP 1
20140| /* end confdefs.h.  */
20141| /* Define pthread_stackseg_np to an innocuous variant, in case <limits.h> declares pthread_stackseg_np.
20142|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20143| #define pthread_stackseg_np innocuous_pthread_stackseg_np
20144|
20145| /* System header to define __stub macros and hopefully few prototypes,
20146|     which can conflict with char pthread_stackseg_np (); below.
20147|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20148|     <limits.h> exists even on freestanding compilers.  */
20149|
20150| #ifdef __STDC__
20151| # include <limits.h>
20152| #else
20153| # include <assert.h>
20154| #endif
20155|
20156| #undef pthread_stackseg_np
20157|
20158| /* Override any GCC internal prototype to avoid an error.
20159|    Use char because int might match the return type of a GCC
20160|    builtin and then its argument prototype would still apply.  */
20161| #ifdef __cplusplus
20162| extern "C"
20163| #endif
20164| char pthread_stackseg_np ();
20165| /* The GNU C library defines this for functions which it implements
20166|     to always fail with ENOSYS.  Some functions are actually named
20167|     something starting with __ and the normal name is an alias.  */
20168| #if defined __stub_pthread_stackseg_np || defined __stub___pthread_stackseg_np
20169| choke me
20170| #endif
20171|
20172| int
20173| main ()
20174| {
20175| return pthread_stackseg_np ();
20176|   ;
20177|   return 0;
20178| }
20179configure:15751: result: no
20180configure:15751: checking for pthread_getthrds_np
20181configure:15751: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -lpthread -ldl -lobjc >&5
20182Undefined symbols for architecture x86_64:
20183  "_pthread_getthrds_np", referenced from:
20184      _main in conftest-iNnKyh.o
20185ld: symbol(s) not found for architecture x86_64
20186clang: error: linker command failed with exit code 1 (use -v to see invocation)
20187configure:15751: $? = 1
20188configure: failed program was:
20189| /* confdefs.h */
20190| #define PACKAGE_NAME ""
20191| #define PACKAGE_TARNAME ""
20192| #define PACKAGE_VERSION ""
20193| #define PACKAGE_STRING ""
20194| #define PACKAGE_BUGREPORT ""
20195| #define PACKAGE_URL ""
20196| #define CANONICALIZATION_FOR_MATHN 1
20197| #define STDC_HEADERS 1
20198| #define HAVE_SYS_TYPES_H 1
20199| #define HAVE_SYS_STAT_H 1
20200| #define HAVE_STDLIB_H 1
20201| #define HAVE_STRING_H 1
20202| #define HAVE_MEMORY_H 1
20203| #define HAVE_STRINGS_H 1
20204| #define HAVE_INTTYPES_H 1
20205| #define HAVE_STDINT_H 1
20206| #define HAVE_UNISTD_H 1
20207| #define __EXTENSIONS__ 1
20208| #define _ALL_SOURCE 1
20209| #define _GNU_SOURCE 1
20210| #define _POSIX_PTHREAD_SEMANTICS 1
20211| #define _TANDEM_SOURCE 1
20212| #define HAVE_LONG_LONG 1
20213| #define HAVE_OFF_T 1
20214| #define SIZEOF_INT 4
20215| #define SIZEOF_SHORT 2
20216| #define SIZEOF_LONG 8
20217| #define SIZEOF_LONG_LONG 8
20218| #define SIZEOF___INT64 0
20219| #define SIZEOF_OFF_T 8
20220| #define SIZEOF_VOIDP 8
20221| #define SIZEOF_FLOAT 4
20222| #define SIZEOF_DOUBLE 8
20223| #define SIZEOF_TIME_T 8
20224| #define PRI_LL_PREFIX "ll"
20225| #define rb_pid_t pid_t
20226| #define PIDT2NUM(v) INT2NUM(v)
20227| #define NUM2PIDT(v) NUM2INT(v)
20228| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
20229| #define rb_uid_t uid_t
20230| #define UIDT2NUM(v) UINT2NUM(v)
20231| #define NUM2UIDT(v) NUM2UINT(v)
20232| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
20233| #define rb_gid_t gid_t
20234| #define GIDT2NUM(v) UINT2NUM(v)
20235| #define NUM2GIDT(v) NUM2UINT(v)
20236| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
20237| #define rb_time_t time_t
20238| #define TIMET2NUM(v) LONG2NUM(v)
20239| #define NUM2TIMET(v) NUM2LONG(v)
20240| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
20241| #define rb_dev_t dev_t
20242| #define DEVT2NUM(v) INT2NUM(v)
20243| #define NUM2DEVT(v) NUM2INT(v)
20244| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
20245| #define rb_mode_t mode_t
20246| #define MODET2NUM(v) UINT2NUM(v)
20247| #define NUM2MODET(v) NUM2UINT(v)
20248| #define PRI_MODET_PREFIX PRI_INT_PREFIX
20249| #define rb_rlim_t rlim_t
20250| #define RLIM2NUM(v) ULL2NUM(v)
20251| #define NUM2RLIM(v) NUM2ULL(v)
20252| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
20253| #define HAVE_PROTOTYPES 1
20254| #define TOKEN_PASTE(x,y) x##y
20255| #define STRINGIZE(expr) STRINGIZE0(expr)
20256| #define HAVE_STDARG_PROTOTYPES 1
20257| #define HAVE_VA_ARGS_MACRO 1
20258| #define NORETURN(x) __attribute__ ((noreturn)) x
20259| #define DEPRECATED(x) __attribute__ ((deprecated)) x
20260| #define NOINLINE(x) __attribute__ ((noinline)) x
20261| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
20262| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
20263| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
20264| #define HAVE_GCC_ATOMIC_BUILTINS 1
20265| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
20266| #define HAVE_DECL_SYS_NERR 1
20267| #define HAVE_LIBDL 1
20268| #define HAVE_DIRENT_H 1
20269| #define HAVE__BOOL 1
20270| #define HAVE_STDBOOL_H 1
20271| #define HAVE_SYS_WAIT_H 1
20272| #define HAVE_LIMITS_H 1
20273| #define HAVE_SYS_FILE_H 1
20274| #define HAVE_SYS_IOCTL_H 1
20275| #define HAVE_SYS_SYSCALL_H 1
20276| #define HAVE_FCNTL_H 1
20277| #define HAVE_SYS_FCNTL_H 1
20278| #define HAVE_SYS_SELECT_H 1
20279| #define HAVE_SYS_TIME_H 1
20280| #define HAVE_SYS_TIMES_H 1
20281| #define HAVE_SYS_PARAM_H 1
20282| #define HAVE_PWD_H 1
20283| #define HAVE_GRP_H 1
20284| #define HAVE_UTIME_H 1
20285| #define HAVE_SYS_RESOURCE_H 1
20286| #define HAVE_NETINET_IN_SYSTM_H 1
20287| #define HAVE_FLOAT_H 1
20288| #define HAVE_LANGINFO_H 1
20289| #define HAVE_LOCALE_H 1
20290| #define HAVE_TIME_H 1
20291| #define HAVE_SYS_SOCKET_H 1
20292| #define SIZEOF_SIZE_T 8
20293| #define SIZEOF_PTRDIFF_T 8
20294| #define PRI_SIZE_PREFIX "z"
20295| #define PRI_PTRDIFF_PREFIX "t"
20296| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
20297| #define HAVE_ST_BLKSIZE 1
20298| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
20299| #define HAVE_ST_BLOCKS 1
20300| #define HAVE_STRUCT_STAT_ST_RDEV 1
20301| #define HAVE_ST_RDEV 1
20302| #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
20303| #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
20304| #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
20305| #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
20306| #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
20307| #define HAVE_STRUCT_TIMESPEC 1
20308| #define HAVE_STRUCT_TIMEZONE 1
20309| #define HAVE_RB_FD_INIT 1
20310| #define HAVE_INT8_T 1
20311| #define SIZEOF_INT8_T 1
20312| #define HAVE_UINT8_T 1
20313| #define SIZEOF_UINT8_T 1
20314| #define HAVE_INT16_T 1
20315| #define SIZEOF_INT16_T 2
20316| #define HAVE_UINT16_T 1
20317| #define SIZEOF_UINT16_T 2
20318| #define HAVE_INT32_T 1
20319| #define SIZEOF_INT32_T 4
20320| #define HAVE_UINT32_T 1
20321| #define SIZEOF_UINT32_T 4
20322| #define HAVE_INT64_T 1
20323| #define SIZEOF_INT64_T 8
20324| #define HAVE_UINT64_T 1
20325| #define SIZEOF_UINT64_T 8
20326| #define HAVE_INTPTR_T 1
20327| #define SIZEOF_INTPTR_T 8
20328| #define HAVE_UINTPTR_T 1
20329| #define SIZEOF_UINTPTR_T 8
20330| #define HAVE_SSIZE_T 1
20331| #define SIZEOF_SSIZE_T 8
20332| #define GC_MARK_STACKFRAME_WORD 16
20333| #define GETGROUPS_T gid_t
20334| #define RETSIGTYPE void
20335| #define HAVE_ALLOCA_H 1
20336| #define HAVE_ALLOCA 1
20337| #define HAVE_DUP2 1
20338| #define HAVE_MEMMOVE 1
20339| #define HAVE_STRERROR 1
20340| #define HAVE_STRCHR 1
20341| #define HAVE_STRSTR 1
20342| #define HAVE_CRYPT 1
20343| #define HAVE_FLOCK 1
20344| #define HAVE_ISNAN 1
20345| #define HAVE_FINITE 1
20346| #define HAVE_ISINF 1
20347| #define HAVE_HYPOT 1
20348| #define HAVE_ACOSH 1
20349| #define HAVE_ERF 1
20350| #define HAVE_TGAMMA 1
20351| #define HAVE_LGAMMA_R 1
20352| #define HAVE_CBRT 1
20353| #define HAVE_STRLCPY 1
20354| #define HAVE_STRLCAT 1
20355| #define HAVE_FFS 1
20356| #define SPT_TYPE SPT_REUSEARGV
20357| #define HAVE_SIGNBIT 1
20358| #define HAVE_FMOD 1
20359| #define HAVE_KILLPG 1
20360| #define HAVE_WAIT4 1
20361| #define HAVE_WAITPID 1
20362| #define HAVE_FORK 1
20363| #define HAVE_SYSCALL 1
20364| #define HAVE___SYSCALL 1
20365| #define HAVE_CHROOT 1
20366| #define HAVE_GETCWD 1
20367| #define HAVE_TRUNCATE 1
20368| #define HAVE_FTRUNCATE 1
20369| #define HAVE_FTELLO 1
20370| #define HAVE_TIMES 1
20371| #define HAVE_UTIMES 1
20372| #define HAVE_FCNTL 1
20373| #define HAVE_LOCKF 1
20374| #define HAVE_LSTAT 1
20375| #define HAVE_FSEEKO 1
20376| #define HAVE_LINK 1
20377| #define HAVE_SYMLINK 1
20378| #define HAVE_READLINK 1
20379| #define HAVE_READDIR_R 1
20380| #define HAVE_FSYNC 1
20381| #define HAVE_FCHOWN 1
20382| #define HAVE_SETITIMER 1
20383| #define HAVE_SETRUID 1
20384| #define HAVE_SETEUID 1
20385| #define HAVE_SETREUID 1
20386| #define HAVE_SOCKETPAIR 1
20387| #define HAVE_SETRGID 1
20388| #define HAVE_SETEGID 1
20389| #define HAVE_SETREGID 1
20390| #define HAVE_ISSETUGID 1
20391| #define HAVE_PAUSE 1
20392| #define HAVE_LCHOWN 1
20393| #define HAVE_LCHMOD 1
20394| #define HAVE_GETPGRP 1
20395| #define HAVE_SETPGRP 1
20396| #define HAVE_GETPGID 1
20397| #define HAVE_SETPGID 1
20398| #define HAVE_INITGROUPS 1
20399| #define HAVE_GETGROUPS 1
20400| #define HAVE_SETGROUPS 1
20401| #define HAVE_GETPRIORITY 1
20402| #define HAVE_GETRLIMIT 1
20403| #define HAVE_SETRLIMIT 1
20404| #define HAVE_SYSCONF 1
20405| #define HAVE_CLOSE 1
20406| #define HAVE_GETGRNAM_R 1
20407| #define HAVE_DLOPEN 1
20408| #define HAVE_SIGPROCMASK 1
20409| #define HAVE_SIGACTION 1
20410| #define HAVE_SIGSETJMP 1
20411| #define HAVE__SETJMP 1
20412| #define HAVE__LONGJMP 1
20413| #define HAVE_SETSID 1
20414| #define HAVE_TELLDIR 1
20415| #define HAVE_SEEKDIR 1
20416| #define HAVE_FCHMOD 1
20417| #define HAVE_COSH 1
20418| #define HAVE_SINH 1
20419| #define HAVE_TANH 1
20420| #define HAVE_LOG2 1
20421| #define HAVE_ROUND 1
20422| #define HAVE_SETUID 1
20423| #define HAVE_SETGID 1
20424| #define HAVE_SETENV 1
20425| #define HAVE_UNSETENV 1
20426| #define HAVE_MKTIME 1
20427| #define HAVE_TIMEGM 1
20428| #define HAVE_GMTIME_R 1
20429| #define HAVE_GETTIMEOFDAY 1
20430| #define HAVE_POLL 1
20431| #define HAVE_PREAD 1
20432| #define HAVE_SENDFILE 1
20433| #define HAVE_SHUTDOWN 1
20434| #define HAVE_SIGALTSTACK 1
20435| #define RUBY_SETJMP(env) _setjmp(env)
20436| #define RUBY_LONGJMP(env,val) _longjmp(env,val)
20437| #define RUBY_JMP_BUF jmp_buf
20438| #define HAVE_STRUCT_TM_TM_ZONE 1
20439| #define HAVE_TM_ZONE 1
20440| #define HAVE_STRUCT_TM_TM_GMTOFF 1
20441| #define HAVE_DAYLIGHT 1
20442| #define HAVE_VAR_TIMEZONE 1
20443| #define TYPEOF_VAR_TIMEZONE long
20444| #define HAVE_TIMEZONE 1
20445| #define TIMEZONE_VOID 1
20446| #define NEGATIVE_TIME_T 1
20447| #define POSIX_SIGNAL 1
20448| #define RSHIFT(x,y) ((x)>>(int)(y))
20449| #define FILE_COUNT _r
20450| #define FILE_READPTR _p
20451| #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
20452| #define HAVE__SC_CLK_TCK 1
20453| #define STACK_GROW_DIRECTION -1
20454| #define _REENTRANT 1
20455| #define _THREAD_SAFE 1
20456| #define HAVE_LIBPTHREAD 1
20457| #define HAVE_SCHED_YIELD 1
20458| #define HAVE_PTHREAD_ATTR_SETINHERITSCHED 1
20459| #define HAVE_PTHREAD_ATTR_GETSTACK 1
20460| #define HAVE_PTHREAD_GET_STACKADDR_NP 1
20461| #define HAVE_PTHREAD_GET_STACKSIZE_NP 1
20462| /* end confdefs.h.  */
20463| /* Define pthread_getthrds_np to an innocuous variant, in case <limits.h> declares pthread_getthrds_np.
20464|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20465| #define pthread_getthrds_np innocuous_pthread_getthrds_np
20466|
20467| /* System header to define __stub macros and hopefully few prototypes,
20468|     which can conflict with char pthread_getthrds_np (); below.
20469|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20470|     <limits.h> exists even on freestanding compilers.  */
20471|
20472| #ifdef __STDC__
20473| # include <limits.h>
20474| #else
20475| # include <assert.h>
20476| #endif
20477|
20478| #undef pthread_getthrds_np
20479|
20480| /* Override any GCC internal prototype to avoid an error.
20481|    Use char because int might match the return type of a GCC
20482|    builtin and then its argument prototype would still apply.  */
20483| #ifdef __cplusplus
20484| extern "C"
20485| #endif
20486| char pthread_getthrds_np ();
20487| /* The GNU C library defines this for functions which it implements
20488|     to always fail with ENOSYS.  Some functions are actually named
20489|     something starting with __ and the normal name is an alias.  */
20490| #if defined __stub_pthread_getthrds_np || defined __stub___pthread_getthrds_np
20491| choke me
20492| #endif
20493|
20494| int
20495| main ()
20496| {
20497| return pthread_getthrds_np ();
20498|   ;
20499|   return 0;
20500| }
20501configure:15751: result: no
20502configure:15751: checking for pthread_condattr_setclock
20503configure:15751: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -lpthread -ldl -lobjc >&5
20504Undefined symbols for architecture x86_64:
20505  "_pthread_condattr_setclock", referenced from:
20506      _main in conftest-zNYdRC.o
20507ld: symbol(s) not found for architecture x86_64
20508clang: error: linker command failed with exit code 1 (use -v to see invocation)
20509configure:15751: $? = 1
20510configure: failed program was:
20511| /* confdefs.h */
20512| #define PACKAGE_NAME ""
20513| #define PACKAGE_TARNAME ""
20514| #define PACKAGE_VERSION ""
20515| #define PACKAGE_STRING ""
20516| #define PACKAGE_BUGREPORT ""
20517| #define PACKAGE_URL ""
20518| #define CANONICALIZATION_FOR_MATHN 1
20519| #define STDC_HEADERS 1
20520| #define HAVE_SYS_TYPES_H 1
20521| #define HAVE_SYS_STAT_H 1
20522| #define HAVE_STDLIB_H 1
20523| #define HAVE_STRING_H 1
20524| #define HAVE_MEMORY_H 1
20525| #define HAVE_STRINGS_H 1
20526| #define HAVE_INTTYPES_H 1
20527| #define HAVE_STDINT_H 1
20528| #define HAVE_UNISTD_H 1
20529| #define __EXTENSIONS__ 1
20530| #define _ALL_SOURCE 1
20531| #define _GNU_SOURCE 1
20532| #define _POSIX_PTHREAD_SEMANTICS 1
20533| #define _TANDEM_SOURCE 1
20534| #define HAVE_LONG_LONG 1
20535| #define HAVE_OFF_T 1
20536| #define SIZEOF_INT 4
20537| #define SIZEOF_SHORT 2
20538| #define SIZEOF_LONG 8
20539| #define SIZEOF_LONG_LONG 8
20540| #define SIZEOF___INT64 0
20541| #define SIZEOF_OFF_T 8
20542| #define SIZEOF_VOIDP 8
20543| #define SIZEOF_FLOAT 4
20544| #define SIZEOF_DOUBLE 8
20545| #define SIZEOF_TIME_T 8
20546| #define PRI_LL_PREFIX "ll"
20547| #define rb_pid_t pid_t
20548| #define PIDT2NUM(v) INT2NUM(v)
20549| #define NUM2PIDT(v) NUM2INT(v)
20550| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
20551| #define rb_uid_t uid_t
20552| #define UIDT2NUM(v) UINT2NUM(v)
20553| #define NUM2UIDT(v) NUM2UINT(v)
20554| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
20555| #define rb_gid_t gid_t
20556| #define GIDT2NUM(v) UINT2NUM(v)
20557| #define NUM2GIDT(v) NUM2UINT(v)
20558| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
20559| #define rb_time_t time_t
20560| #define TIMET2NUM(v) LONG2NUM(v)
20561| #define NUM2TIMET(v) NUM2LONG(v)
20562| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
20563| #define rb_dev_t dev_t
20564| #define DEVT2NUM(v) INT2NUM(v)
20565| #define NUM2DEVT(v) NUM2INT(v)
20566| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
20567| #define rb_mode_t mode_t
20568| #define MODET2NUM(v) UINT2NUM(v)
20569| #define NUM2MODET(v) NUM2UINT(v)
20570| #define PRI_MODET_PREFIX PRI_INT_PREFIX
20571| #define rb_rlim_t rlim_t
20572| #define RLIM2NUM(v) ULL2NUM(v)
20573| #define NUM2RLIM(v) NUM2ULL(v)
20574| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
20575| #define HAVE_PROTOTYPES 1
20576| #define TOKEN_PASTE(x,y) x##y
20577| #define STRINGIZE(expr) STRINGIZE0(expr)
20578| #define HAVE_STDARG_PROTOTYPES 1
20579| #define HAVE_VA_ARGS_MACRO 1
20580| #define NORETURN(x) __attribute__ ((noreturn)) x
20581| #define DEPRECATED(x) __attribute__ ((deprecated)) x
20582| #define NOINLINE(x) __attribute__ ((noinline)) x
20583| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
20584| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
20585| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
20586| #define HAVE_GCC_ATOMIC_BUILTINS 1
20587| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
20588| #define HAVE_DECL_SYS_NERR 1
20589| #define HAVE_LIBDL 1
20590| #define HAVE_DIRENT_H 1
20591| #define HAVE__BOOL 1
20592| #define HAVE_STDBOOL_H 1
20593| #define HAVE_SYS_WAIT_H 1
20594| #define HAVE_LIMITS_H 1
20595| #define HAVE_SYS_FILE_H 1
20596| #define HAVE_SYS_IOCTL_H 1
20597| #define HAVE_SYS_SYSCALL_H 1
20598| #define HAVE_FCNTL_H 1
20599| #define HAVE_SYS_FCNTL_H 1
20600| #define HAVE_SYS_SELECT_H 1
20601| #define HAVE_SYS_TIME_H 1
20602| #define HAVE_SYS_TIMES_H 1
20603| #define HAVE_SYS_PARAM_H 1
20604| #define HAVE_PWD_H 1
20605| #define HAVE_GRP_H 1
20606| #define HAVE_UTIME_H 1
20607| #define HAVE_SYS_RESOURCE_H 1
20608| #define HAVE_NETINET_IN_SYSTM_H 1
20609| #define HAVE_FLOAT_H 1
20610| #define HAVE_LANGINFO_H 1
20611| #define HAVE_LOCALE_H 1
20612| #define HAVE_TIME_H 1
20613| #define HAVE_SYS_SOCKET_H 1
20614| #define SIZEOF_SIZE_T 8
20615| #define SIZEOF_PTRDIFF_T 8
20616| #define PRI_SIZE_PREFIX "z"
20617| #define PRI_PTRDIFF_PREFIX "t"
20618| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
20619| #define HAVE_ST_BLKSIZE 1
20620| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
20621| #define HAVE_ST_BLOCKS 1
20622| #define HAVE_STRUCT_STAT_ST_RDEV 1
20623| #define HAVE_ST_RDEV 1
20624| #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
20625| #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
20626| #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
20627| #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
20628| #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
20629| #define HAVE_STRUCT_TIMESPEC 1
20630| #define HAVE_STRUCT_TIMEZONE 1
20631| #define HAVE_RB_FD_INIT 1
20632| #define HAVE_INT8_T 1
20633| #define SIZEOF_INT8_T 1
20634| #define HAVE_UINT8_T 1
20635| #define SIZEOF_UINT8_T 1
20636| #define HAVE_INT16_T 1
20637| #define SIZEOF_INT16_T 2
20638| #define HAVE_UINT16_T 1
20639| #define SIZEOF_UINT16_T 2
20640| #define HAVE_INT32_T 1
20641| #define SIZEOF_INT32_T 4
20642| #define HAVE_UINT32_T 1
20643| #define SIZEOF_UINT32_T 4
20644| #define HAVE_INT64_T 1
20645| #define SIZEOF_INT64_T 8
20646| #define HAVE_UINT64_T 1
20647| #define SIZEOF_UINT64_T 8
20648| #define HAVE_INTPTR_T 1
20649| #define SIZEOF_INTPTR_T 8
20650| #define HAVE_UINTPTR_T 1
20651| #define SIZEOF_UINTPTR_T 8
20652| #define HAVE_SSIZE_T 1
20653| #define SIZEOF_SSIZE_T 8
20654| #define GC_MARK_STACKFRAME_WORD 16
20655| #define GETGROUPS_T gid_t
20656| #define RETSIGTYPE void
20657| #define HAVE_ALLOCA_H 1
20658| #define HAVE_ALLOCA 1
20659| #define HAVE_DUP2 1
20660| #define HAVE_MEMMOVE 1
20661| #define HAVE_STRERROR 1
20662| #define HAVE_STRCHR 1
20663| #define HAVE_STRSTR 1
20664| #define HAVE_CRYPT 1
20665| #define HAVE_FLOCK 1
20666| #define HAVE_ISNAN 1
20667| #define HAVE_FINITE 1
20668| #define HAVE_ISINF 1
20669| #define HAVE_HYPOT 1
20670| #define HAVE_ACOSH 1
20671| #define HAVE_ERF 1
20672| #define HAVE_TGAMMA 1
20673| #define HAVE_LGAMMA_R 1
20674| #define HAVE_CBRT 1
20675| #define HAVE_STRLCPY 1
20676| #define HAVE_STRLCAT 1
20677| #define HAVE_FFS 1
20678| #define SPT_TYPE SPT_REUSEARGV
20679| #define HAVE_SIGNBIT 1
20680| #define HAVE_FMOD 1
20681| #define HAVE_KILLPG 1
20682| #define HAVE_WAIT4 1
20683| #define HAVE_WAITPID 1
20684| #define HAVE_FORK 1
20685| #define HAVE_SYSCALL 1
20686| #define HAVE___SYSCALL 1
20687| #define HAVE_CHROOT 1
20688| #define HAVE_GETCWD 1
20689| #define HAVE_TRUNCATE 1
20690| #define HAVE_FTRUNCATE 1
20691| #define HAVE_FTELLO 1
20692| #define HAVE_TIMES 1
20693| #define HAVE_UTIMES 1
20694| #define HAVE_FCNTL 1
20695| #define HAVE_LOCKF 1
20696| #define HAVE_LSTAT 1
20697| #define HAVE_FSEEKO 1
20698| #define HAVE_LINK 1
20699| #define HAVE_SYMLINK 1
20700| #define HAVE_READLINK 1
20701| #define HAVE_READDIR_R 1
20702| #define HAVE_FSYNC 1
20703| #define HAVE_FCHOWN 1
20704| #define HAVE_SETITIMER 1
20705| #define HAVE_SETRUID 1
20706| #define HAVE_SETEUID 1
20707| #define HAVE_SETREUID 1
20708| #define HAVE_SOCKETPAIR 1
20709| #define HAVE_SETRGID 1
20710| #define HAVE_SETEGID 1
20711| #define HAVE_SETREGID 1
20712| #define HAVE_ISSETUGID 1
20713| #define HAVE_PAUSE 1
20714| #define HAVE_LCHOWN 1
20715| #define HAVE_LCHMOD 1
20716| #define HAVE_GETPGRP 1
20717| #define HAVE_SETPGRP 1
20718| #define HAVE_GETPGID 1
20719| #define HAVE_SETPGID 1
20720| #define HAVE_INITGROUPS 1
20721| #define HAVE_GETGROUPS 1
20722| #define HAVE_SETGROUPS 1
20723| #define HAVE_GETPRIORITY 1
20724| #define HAVE_GETRLIMIT 1
20725| #define HAVE_SETRLIMIT 1
20726| #define HAVE_SYSCONF 1
20727| #define HAVE_CLOSE 1
20728| #define HAVE_GETGRNAM_R 1
20729| #define HAVE_DLOPEN 1
20730| #define HAVE_SIGPROCMASK 1
20731| #define HAVE_SIGACTION 1
20732| #define HAVE_SIGSETJMP 1
20733| #define HAVE__SETJMP 1
20734| #define HAVE__LONGJMP 1
20735| #define HAVE_SETSID 1
20736| #define HAVE_TELLDIR 1
20737| #define HAVE_SEEKDIR 1
20738| #define HAVE_FCHMOD 1
20739| #define HAVE_COSH 1
20740| #define HAVE_SINH 1
20741| #define HAVE_TANH 1
20742| #define HAVE_LOG2 1
20743| #define HAVE_ROUND 1
20744| #define HAVE_SETUID 1
20745| #define HAVE_SETGID 1
20746| #define HAVE_SETENV 1
20747| #define HAVE_UNSETENV 1
20748| #define HAVE_MKTIME 1
20749| #define HAVE_TIMEGM 1
20750| #define HAVE_GMTIME_R 1
20751| #define HAVE_GETTIMEOFDAY 1
20752| #define HAVE_POLL 1
20753| #define HAVE_PREAD 1
20754| #define HAVE_SENDFILE 1
20755| #define HAVE_SHUTDOWN 1
20756| #define HAVE_SIGALTSTACK 1
20757| #define RUBY_SETJMP(env) _setjmp(env)
20758| #define RUBY_LONGJMP(env,val) _longjmp(env,val)
20759| #define RUBY_JMP_BUF jmp_buf
20760| #define HAVE_STRUCT_TM_TM_ZONE 1
20761| #define HAVE_TM_ZONE 1
20762| #define HAVE_STRUCT_TM_TM_GMTOFF 1
20763| #define HAVE_DAYLIGHT 1
20764| #define HAVE_VAR_TIMEZONE 1
20765| #define TYPEOF_VAR_TIMEZONE long
20766| #define HAVE_TIMEZONE 1
20767| #define TIMEZONE_VOID 1
20768| #define NEGATIVE_TIME_T 1
20769| #define POSIX_SIGNAL 1
20770| #define RSHIFT(x,y) ((x)>>(int)(y))
20771| #define FILE_COUNT _r
20772| #define FILE_READPTR _p
20773| #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
20774| #define HAVE__SC_CLK_TCK 1
20775| #define STACK_GROW_DIRECTION -1
20776| #define _REENTRANT 1
20777| #define _THREAD_SAFE 1
20778| #define HAVE_LIBPTHREAD 1
20779| #define HAVE_SCHED_YIELD 1
20780| #define HAVE_PTHREAD_ATTR_SETINHERITSCHED 1
20781| #define HAVE_PTHREAD_ATTR_GETSTACK 1
20782| #define HAVE_PTHREAD_GET_STACKADDR_NP 1
20783| #define HAVE_PTHREAD_GET_STACKSIZE_NP 1
20784| /* end confdefs.h.  */
20785| /* Define pthread_condattr_setclock to an innocuous variant, in case <limits.h> declares pthread_condattr_setclock.
20786|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20787| #define pthread_condattr_setclock innocuous_pthread_condattr_setclock
20788|
20789| /* System header to define __stub macros and hopefully few prototypes,
20790|     which can conflict with char pthread_condattr_setclock (); below.
20791|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20792|     <limits.h> exists even on freestanding compilers.  */
20793|
20794| #ifdef __STDC__
20795| # include <limits.h>
20796| #else
20797| # include <assert.h>
20798| #endif
20799|
20800| #undef pthread_condattr_setclock
20801|
20802| /* Override any GCC internal prototype to avoid an error.
20803|    Use char because int might match the return type of a GCC
20804|    builtin and then its argument prototype would still apply.  */
20805| #ifdef __cplusplus
20806| extern "C"
20807| #endif
20808| char pthread_condattr_setclock ();
20809| /* The GNU C library defines this for functions which it implements
20810|     to always fail with ENOSYS.  Some functions are actually named
20811|     something starting with __ and the normal name is an alias.  */
20812| #if defined __stub_pthread_condattr_setclock || defined __stub___pthread_condattr_setclock
20813| choke me
20814| #endif
20815|
20816| int
20817| main ()
20818| {
20819| return pthread_condattr_setclock ();
20820|   ;
20821|   return 0;
20822| }
20823configure:15751: result: no
20824configure:15751: checking for pthread_sigmask
20825configure:15751: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -lpthread -ldl -lobjc >&5
20826configure:15751: $? = 0
20827configure:15751: result: yes
20828configure:15779: checking if fork works with pthread
20829configure:15847: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -lpthread -ldl -lobjc >&5
20830configure:15847: $? = 0
20831configure:15847: ./conftest
20832configure:15847: $? = 0
20833configure:15857: result: yes
20834configure:15941: checking for backtrace
20835configure:15941: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -lpthread -ldl -lobjc >&5
20836configure:15941: $? = 0
20837configure:15941: result: yes
20838configure:15962: checking valgrind/memcheck.h usability
20839configure:15962: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
20840conftest.c:310:10: fatal error: 'valgrind/memcheck.h' file not found
20841#include <valgrind/memcheck.h>
20842         ^
208431 error generated.
20844configure:15962: $? = 1
20845configure: failed program was:
20846| /* confdefs.h */
20847| #define PACKAGE_NAME ""
20848| #define PACKAGE_TARNAME ""
20849| #define PACKAGE_VERSION ""
20850| #define PACKAGE_STRING ""
20851| #define PACKAGE_BUGREPORT ""
20852| #define PACKAGE_URL ""
20853| #define CANONICALIZATION_FOR_MATHN 1
20854| #define STDC_HEADERS 1
20855| #define HAVE_SYS_TYPES_H 1
20856| #define HAVE_SYS_STAT_H 1
20857| #define HAVE_STDLIB_H 1
20858| #define HAVE_STRING_H 1
20859| #define HAVE_MEMORY_H 1
20860| #define HAVE_STRINGS_H 1
20861| #define HAVE_INTTYPES_H 1
20862| #define HAVE_STDINT_H 1
20863| #define HAVE_UNISTD_H 1
20864| #define __EXTENSIONS__ 1
20865| #define _ALL_SOURCE 1
20866| #define _GNU_SOURCE 1
20867| #define _POSIX_PTHREAD_SEMANTICS 1
20868| #define _TANDEM_SOURCE 1
20869| #define HAVE_LONG_LONG 1
20870| #define HAVE_OFF_T 1
20871| #define SIZEOF_INT 4
20872| #define SIZEOF_SHORT 2
20873| #define SIZEOF_LONG 8
20874| #define SIZEOF_LONG_LONG 8
20875| #define SIZEOF___INT64 0
20876| #define SIZEOF_OFF_T 8
20877| #define SIZEOF_VOIDP 8
20878| #define SIZEOF_FLOAT 4
20879| #define SIZEOF_DOUBLE 8
20880| #define SIZEOF_TIME_T 8
20881| #define PRI_LL_PREFIX "ll"
20882| #define rb_pid_t pid_t
20883| #define PIDT2NUM(v) INT2NUM(v)
20884| #define NUM2PIDT(v) NUM2INT(v)
20885| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
20886| #define rb_uid_t uid_t
20887| #define UIDT2NUM(v) UINT2NUM(v)
20888| #define NUM2UIDT(v) NUM2UINT(v)
20889| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
20890| #define rb_gid_t gid_t
20891| #define GIDT2NUM(v) UINT2NUM(v)
20892| #define NUM2GIDT(v) NUM2UINT(v)
20893| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
20894| #define rb_time_t time_t
20895| #define TIMET2NUM(v) LONG2NUM(v)
20896| #define NUM2TIMET(v) NUM2LONG(v)
20897| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
20898| #define rb_dev_t dev_t
20899| #define DEVT2NUM(v) INT2NUM(v)
20900| #define NUM2DEVT(v) NUM2INT(v)
20901| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
20902| #define rb_mode_t mode_t
20903| #define MODET2NUM(v) UINT2NUM(v)
20904| #define NUM2MODET(v) NUM2UINT(v)
20905| #define PRI_MODET_PREFIX PRI_INT_PREFIX
20906| #define rb_rlim_t rlim_t
20907| #define RLIM2NUM(v) ULL2NUM(v)
20908| #define NUM2RLIM(v) NUM2ULL(v)
20909| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
20910| #define HAVE_PROTOTYPES 1
20911| #define TOKEN_PASTE(x,y) x##y
20912| #define STRINGIZE(expr) STRINGIZE0(expr)
20913| #define HAVE_STDARG_PROTOTYPES 1
20914| #define HAVE_VA_ARGS_MACRO 1
20915| #define NORETURN(x) __attribute__ ((noreturn)) x
20916| #define DEPRECATED(x) __attribute__ ((deprecated)) x
20917| #define NOINLINE(x) __attribute__ ((noinline)) x
20918| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
20919| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
20920| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
20921| #define HAVE_GCC_ATOMIC_BUILTINS 1
20922| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
20923| #define HAVE_DECL_SYS_NERR 1
20924| #define HAVE_LIBDL 1
20925| #define HAVE_DIRENT_H 1
20926| #define HAVE__BOOL 1
20927| #define HAVE_STDBOOL_H 1
20928| #define HAVE_SYS_WAIT_H 1
20929| #define HAVE_LIMITS_H 1
20930| #define HAVE_SYS_FILE_H 1
20931| #define HAVE_SYS_IOCTL_H 1
20932| #define HAVE_SYS_SYSCALL_H 1
20933| #define HAVE_FCNTL_H 1
20934| #define HAVE_SYS_FCNTL_H 1
20935| #define HAVE_SYS_SELECT_H 1
20936| #define HAVE_SYS_TIME_H 1
20937| #define HAVE_SYS_TIMES_H 1
20938| #define HAVE_SYS_PARAM_H 1
20939| #define HAVE_PWD_H 1
20940| #define HAVE_GRP_H 1
20941| #define HAVE_UTIME_H 1
20942| #define HAVE_SYS_RESOURCE_H 1
20943| #define HAVE_NETINET_IN_SYSTM_H 1
20944| #define HAVE_FLOAT_H 1
20945| #define HAVE_LANGINFO_H 1
20946| #define HAVE_LOCALE_H 1
20947| #define HAVE_TIME_H 1
20948| #define HAVE_SYS_SOCKET_H 1
20949| #define SIZEOF_SIZE_T 8
20950| #define SIZEOF_PTRDIFF_T 8
20951| #define PRI_SIZE_PREFIX "z"
20952| #define PRI_PTRDIFF_PREFIX "t"
20953| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
20954| #define HAVE_ST_BLKSIZE 1
20955| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
20956| #define HAVE_ST_BLOCKS 1
20957| #define HAVE_STRUCT_STAT_ST_RDEV 1
20958| #define HAVE_ST_RDEV 1
20959| #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
20960| #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
20961| #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
20962| #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
20963| #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
20964| #define HAVE_STRUCT_TIMESPEC 1
20965| #define HAVE_STRUCT_TIMEZONE 1
20966| #define HAVE_RB_FD_INIT 1
20967| #define HAVE_INT8_T 1
20968| #define SIZEOF_INT8_T 1
20969| #define HAVE_UINT8_T 1
20970| #define SIZEOF_UINT8_T 1
20971| #define HAVE_INT16_T 1
20972| #define SIZEOF_INT16_T 2
20973| #define HAVE_UINT16_T 1
20974| #define SIZEOF_UINT16_T 2
20975| #define HAVE_INT32_T 1
20976| #define SIZEOF_INT32_T 4
20977| #define HAVE_UINT32_T 1
20978| #define SIZEOF_UINT32_T 4
20979| #define HAVE_INT64_T 1
20980| #define SIZEOF_INT64_T 8
20981| #define HAVE_UINT64_T 1
20982| #define SIZEOF_UINT64_T 8
20983| #define HAVE_INTPTR_T 1
20984| #define SIZEOF_INTPTR_T 8
20985| #define HAVE_UINTPTR_T 1
20986| #define SIZEOF_UINTPTR_T 8
20987| #define HAVE_SSIZE_T 1
20988| #define SIZEOF_SSIZE_T 8
20989| #define GC_MARK_STACKFRAME_WORD 16
20990| #define GETGROUPS_T gid_t
20991| #define RETSIGTYPE void
20992| #define HAVE_ALLOCA_H 1
20993| #define HAVE_ALLOCA 1
20994| #define HAVE_DUP2 1
20995| #define HAVE_MEMMOVE 1
20996| #define HAVE_STRERROR 1
20997| #define HAVE_STRCHR 1
20998| #define HAVE_STRSTR 1
20999| #define HAVE_CRYPT 1
21000| #define HAVE_FLOCK 1
21001| #define HAVE_ISNAN 1
21002| #define HAVE_FINITE 1
21003| #define HAVE_ISINF 1
21004| #define HAVE_HYPOT 1
21005| #define HAVE_ACOSH 1
21006| #define HAVE_ERF 1
21007| #define HAVE_TGAMMA 1
21008| #define HAVE_LGAMMA_R 1
21009| #define HAVE_CBRT 1
21010| #define HAVE_STRLCPY 1
21011| #define HAVE_STRLCAT 1
21012| #define HAVE_FFS 1
21013| #define SPT_TYPE SPT_REUSEARGV
21014| #define HAVE_SIGNBIT 1
21015| #define HAVE_FMOD 1
21016| #define HAVE_KILLPG 1
21017| #define HAVE_WAIT4 1
21018| #define HAVE_WAITPID 1
21019| #define HAVE_FORK 1
21020| #define HAVE_SYSCALL 1
21021| #define HAVE___SYSCALL 1
21022| #define HAVE_CHROOT 1
21023| #define HAVE_GETCWD 1
21024| #define HAVE_TRUNCATE 1
21025| #define HAVE_FTRUNCATE 1
21026| #define HAVE_FTELLO 1
21027| #define HAVE_TIMES 1
21028| #define HAVE_UTIMES 1
21029| #define HAVE_FCNTL 1
21030| #define HAVE_LOCKF 1
21031| #define HAVE_LSTAT 1
21032| #define HAVE_FSEEKO 1
21033| #define HAVE_LINK 1
21034| #define HAVE_SYMLINK 1
21035| #define HAVE_READLINK 1
21036| #define HAVE_READDIR_R 1
21037| #define HAVE_FSYNC 1
21038| #define HAVE_FCHOWN 1
21039| #define HAVE_SETITIMER 1
21040| #define HAVE_SETRUID 1
21041| #define HAVE_SETEUID 1
21042| #define HAVE_SETREUID 1
21043| #define HAVE_SOCKETPAIR 1
21044| #define HAVE_SETRGID 1
21045| #define HAVE_SETEGID 1
21046| #define HAVE_SETREGID 1
21047| #define HAVE_ISSETUGID 1
21048| #define HAVE_PAUSE 1
21049| #define HAVE_LCHOWN 1
21050| #define HAVE_LCHMOD 1
21051| #define HAVE_GETPGRP 1
21052| #define HAVE_SETPGRP 1
21053| #define HAVE_GETPGID 1
21054| #define HAVE_SETPGID 1
21055| #define HAVE_INITGROUPS 1
21056| #define HAVE_GETGROUPS 1
21057| #define HAVE_SETGROUPS 1
21058| #define HAVE_GETPRIORITY 1
21059| #define HAVE_GETRLIMIT 1
21060| #define HAVE_SETRLIMIT 1
21061| #define HAVE_SYSCONF 1
21062| #define HAVE_CLOSE 1
21063| #define HAVE_GETGRNAM_R 1
21064| #define HAVE_DLOPEN 1
21065| #define HAVE_SIGPROCMASK 1
21066| #define HAVE_SIGACTION 1
21067| #define HAVE_SIGSETJMP 1
21068| #define HAVE__SETJMP 1
21069| #define HAVE__LONGJMP 1
21070| #define HAVE_SETSID 1
21071| #define HAVE_TELLDIR 1
21072| #define HAVE_SEEKDIR 1
21073| #define HAVE_FCHMOD 1
21074| #define HAVE_COSH 1
21075| #define HAVE_SINH 1
21076| #define HAVE_TANH 1
21077| #define HAVE_LOG2 1
21078| #define HAVE_ROUND 1
21079| #define HAVE_SETUID 1
21080| #define HAVE_SETGID 1
21081| #define HAVE_SETENV 1
21082| #define HAVE_UNSETENV 1
21083| #define HAVE_MKTIME 1
21084| #define HAVE_TIMEGM 1
21085| #define HAVE_GMTIME_R 1
21086| #define HAVE_GETTIMEOFDAY 1
21087| #define HAVE_POLL 1
21088| #define HAVE_PREAD 1
21089| #define HAVE_SENDFILE 1
21090| #define HAVE_SHUTDOWN 1
21091| #define HAVE_SIGALTSTACK 1
21092| #define RUBY_SETJMP(env) _setjmp(env)
21093| #define RUBY_LONGJMP(env,val) _longjmp(env,val)
21094| #define RUBY_JMP_BUF jmp_buf
21095| #define HAVE_STRUCT_TM_TM_ZONE 1
21096| #define HAVE_TM_ZONE 1
21097| #define HAVE_STRUCT_TM_TM_GMTOFF 1
21098| #define HAVE_DAYLIGHT 1
21099| #define HAVE_VAR_TIMEZONE 1
21100| #define TYPEOF_VAR_TIMEZONE long
21101| #define HAVE_TIMEZONE 1
21102| #define TIMEZONE_VOID 1
21103| #define NEGATIVE_TIME_T 1
21104| #define POSIX_SIGNAL 1
21105| #define RSHIFT(x,y) ((x)>>(int)(y))
21106| #define FILE_COUNT _r
21107| #define FILE_READPTR _p
21108| #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
21109| #define HAVE__SC_CLK_TCK 1
21110| #define STACK_GROW_DIRECTION -1
21111| #define _REENTRANT 1
21112| #define _THREAD_SAFE 1
21113| #define HAVE_LIBPTHREAD 1
21114| #define HAVE_SCHED_YIELD 1
21115| #define HAVE_PTHREAD_ATTR_SETINHERITSCHED 1
21116| #define HAVE_PTHREAD_ATTR_GETSTACK 1
21117| #define HAVE_PTHREAD_GET_STACKADDR_NP 1
21118| #define HAVE_PTHREAD_GET_STACKSIZE_NP 1
21119| #define HAVE_PTHREAD_SIGMASK 1
21120| #define HAVE_BACKTRACE 1
21121| /* end confdefs.h.  */
21122| #include <stdio.h>
21123| #ifdef HAVE_SYS_TYPES_H
21124| # include <sys/types.h>
21125| #endif
21126| #ifdef HAVE_SYS_STAT_H
21127| # include <sys/stat.h>
21128| #endif
21129| #ifdef STDC_HEADERS
21130| # include <stdlib.h>
21131| # include <stddef.h>
21132| #else
21133| # ifdef HAVE_STDLIB_H
21134| #  include <stdlib.h>
21135| # endif
21136| #endif
21137| #ifdef HAVE_STRING_H
21138| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
21139| #  include <memory.h>
21140| # endif
21141| # include <string.h>
21142| #endif
21143| #ifdef HAVE_STRINGS_H
21144| # include <strings.h>
21145| #endif
21146| #ifdef HAVE_INTTYPES_H
21147| # include <inttypes.h>
21148| #endif
21149| #ifdef HAVE_STDINT_H
21150| # include <stdint.h>
21151| #endif
21152| #ifdef HAVE_UNISTD_H
21153| # include <unistd.h>
21154| #endif
21155| #include <valgrind/memcheck.h>
21156configure:15962: result: no
21157configure:15962: checking valgrind/memcheck.h presence
21158configure:15962: /usr/bin/clang -E -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c
21159conftest.c:277:10: fatal error: 'valgrind/memcheck.h' file not found
21160#include <valgrind/memcheck.h>
21161         ^
211621 error generated.
21163configure:15962: $? = 1
21164configure: failed program was:
21165| /* confdefs.h */
21166| #define PACKAGE_NAME ""
21167| #define PACKAGE_TARNAME ""
21168| #define PACKAGE_VERSION ""
21169| #define PACKAGE_STRING ""
21170| #define PACKAGE_BUGREPORT ""
21171| #define PACKAGE_URL ""
21172| #define CANONICALIZATION_FOR_MATHN 1
21173| #define STDC_HEADERS 1
21174| #define HAVE_SYS_TYPES_H 1
21175| #define HAVE_SYS_STAT_H 1
21176| #define HAVE_STDLIB_H 1
21177| #define HAVE_STRING_H 1
21178| #define HAVE_MEMORY_H 1
21179| #define HAVE_STRINGS_H 1
21180| #define HAVE_INTTYPES_H 1
21181| #define HAVE_STDINT_H 1
21182| #define HAVE_UNISTD_H 1
21183| #define __EXTENSIONS__ 1
21184| #define _ALL_SOURCE 1
21185| #define _GNU_SOURCE 1
21186| #define _POSIX_PTHREAD_SEMANTICS 1
21187| #define _TANDEM_SOURCE 1
21188| #define HAVE_LONG_LONG 1
21189| #define HAVE_OFF_T 1
21190| #define SIZEOF_INT 4
21191| #define SIZEOF_SHORT 2
21192| #define SIZEOF_LONG 8
21193| #define SIZEOF_LONG_LONG 8
21194| #define SIZEOF___INT64 0
21195| #define SIZEOF_OFF_T 8
21196| #define SIZEOF_VOIDP 8
21197| #define SIZEOF_FLOAT 4
21198| #define SIZEOF_DOUBLE 8
21199| #define SIZEOF_TIME_T 8
21200| #define PRI_LL_PREFIX "ll"
21201| #define rb_pid_t pid_t
21202| #define PIDT2NUM(v) INT2NUM(v)
21203| #define NUM2PIDT(v) NUM2INT(v)
21204| #define PRI_PIDT_PREFIX PRI_INT_PREFIX
21205| #define rb_uid_t uid_t
21206| #define UIDT2NUM(v) UINT2NUM(v)
21207| #define NUM2UIDT(v) NUM2UINT(v)
21208| #define PRI_UIDT_PREFIX PRI_INT_PREFIX
21209| #define rb_gid_t gid_t
21210| #define GIDT2NUM(v) UINT2NUM(v)
21211| #define NUM2GIDT(v) NUM2UINT(v)
21212| #define PRI_GIDT_PREFIX PRI_INT_PREFIX
21213| #define rb_time_t time_t
21214| #define TIMET2NUM(v) LONG2NUM(v)
21215| #define NUM2TIMET(v) NUM2LONG(v)
21216| #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
21217| #define rb_dev_t dev_t
21218| #define DEVT2NUM(v) INT2NUM(v)
21219| #define NUM2DEVT(v) NUM2INT(v)
21220| #define PRI_DEVT_PREFIX PRI_INT_PREFIX
21221| #define rb_mode_t mode_t
21222| #define MODET2NUM(v) UINT2NUM(v)
21223| #define NUM2MODET(v) NUM2UINT(v)
21224| #define PRI_MODET_PREFIX PRI_INT_PREFIX
21225| #define rb_rlim_t rlim_t
21226| #define RLIM2NUM(v) ULL2NUM(v)
21227| #define NUM2RLIM(v) NUM2ULL(v)
21228| #define PRI_RLIM_PREFIX PRI_LL_PREFIX
21229| #define HAVE_PROTOTYPES 1
21230| #define TOKEN_PASTE(x,y) x##y
21231| #define STRINGIZE(expr) STRINGIZE0(expr)
21232| #define HAVE_STDARG_PROTOTYPES 1
21233| #define HAVE_VA_ARGS_MACRO 1
21234| #define NORETURN(x) __attribute__ ((noreturn)) x
21235| #define DEPRECATED(x) __attribute__ ((deprecated)) x
21236| #define NOINLINE(x) __attribute__ ((noinline)) x
21237| #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
21238| #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
21239| #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
21240| #define HAVE_GCC_ATOMIC_BUILTINS 1
21241| #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
21242| #define HAVE_DECL_SYS_NERR 1
21243| #define HAVE_LIBDL 1
21244| #define HAVE_DIRENT_H 1
21245| #define HAVE__BOOL 1
21246| #define HAVE_STDBOOL_H 1
21247| #define HAVE_SYS_WAIT_H 1
21248| #define HAVE_LIMITS_H 1
21249| #define HAVE_SYS_FILE_H 1
21250| #define HAVE_SYS_IOCTL_H 1
21251| #define HAVE_SYS_SYSCALL_H 1
21252| #define HAVE_FCNTL_H 1
21253| #define HAVE_SYS_FCNTL_H 1
21254| #define HAVE_SYS_SELECT_H 1
21255| #define HAVE_SYS_TIME_H 1
21256| #define HAVE_SYS_TIMES_H 1
21257| #define HAVE_SYS_PARAM_H 1
21258| #define HAVE_PWD_H 1
21259| #define HAVE_GRP_H 1
21260| #define HAVE_UTIME_H 1
21261| #define HAVE_SYS_RESOURCE_H 1
21262| #define HAVE_NETINET_IN_SYSTM_H 1
21263| #define HAVE_FLOAT_H 1
21264| #define HAVE_LANGINFO_H 1
21265| #define HAVE_LOCALE_H 1
21266| #define HAVE_TIME_H 1
21267| #define HAVE_SYS_SOCKET_H 1
21268| #define SIZEOF_SIZE_T 8
21269| #define SIZEOF_PTRDIFF_T 8
21270| #define PRI_SIZE_PREFIX "z"
21271| #define PRI_PTRDIFF_PREFIX "t"
21272| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
21273| #define HAVE_ST_BLKSIZE 1
21274| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
21275| #define HAVE_ST_BLOCKS 1
21276| #define HAVE_STRUCT_STAT_ST_RDEV 1
21277| #define HAVE_ST_RDEV 1
21278| #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_LONG
21279| #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_LONG
21280| #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
21281| #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
21282| #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
21283| #define HAVE_STRUCT_TIMESPEC 1
21284| #define HAVE_STRUCT_TIMEZONE 1
21285| #define HAVE_RB_FD_INIT 1
21286| #define HAVE_INT8_T 1
21287| #define SIZEOF_INT8_T 1
21288| #define HAVE_UINT8_T 1
21289| #define SIZEOF_UINT8_T 1
21290| #define HAVE_INT16_T 1
21291| #define SIZEOF_INT16_T 2
21292| #define HAVE_UINT16_T 1
21293| #define SIZEOF_UINT16_T 2
21294| #define HAVE_INT32_T 1
21295| #define SIZEOF_INT32_T 4
21296| #define HAVE_UINT32_T 1
21297| #define SIZEOF_UINT32_T 4
21298| #define HAVE_INT64_T 1
21299| #define SIZEOF_INT64_T 8
21300| #define HAVE_UINT64_T 1
21301| #define SIZEOF_UINT64_T 8
21302| #define HAVE_INTPTR_T 1
21303| #define SIZEOF_INTPTR_T 8
21304| #define HAVE_UINTPTR_T 1
21305| #define SIZEOF_UINTPTR_T 8
21306| #define HAVE_SSIZE_T 1
21307| #define SIZEOF_SSIZE_T 8
21308| #define GC_MARK_STACKFRAME_WORD 16
21309| #define GETGROUPS_T gid_t
21310| #define RETSIGTYPE void
21311| #define HAVE_ALLOCA_H 1
21312| #define HAVE_ALLOCA 1
21313| #define HAVE_DUP2 1
21314| #define HAVE_MEMMOVE 1
21315| #define HAVE_STRERROR 1
21316| #define HAVE_STRCHR 1
21317| #define HAVE_STRSTR 1
21318| #define HAVE_CRYPT 1
21319| #define HAVE_FLOCK 1
21320| #define HAVE_ISNAN 1
21321| #define HAVE_FINITE 1
21322| #define HAVE_ISINF 1
21323| #define HAVE_HYPOT 1
21324| #define HAVE_ACOSH 1
21325| #define HAVE_ERF 1
21326| #define HAVE_TGAMMA 1
21327| #define HAVE_LGAMMA_R 1
21328| #define HAVE_CBRT 1
21329| #define HAVE_STRLCPY 1
21330| #define HAVE_STRLCAT 1
21331| #define HAVE_FFS 1
21332| #define SPT_TYPE SPT_REUSEARGV
21333| #define HAVE_SIGNBIT 1
21334| #define HAVE_FMOD 1
21335| #define HAVE_KILLPG 1
21336| #define HAVE_WAIT4 1
21337| #define HAVE_WAITPID 1
21338| #define HAVE_FORK 1
21339| #define HAVE_SYSCALL 1
21340| #define HAVE___SYSCALL 1
21341| #define HAVE_CHROOT 1
21342| #define HAVE_GETCWD 1
21343| #define HAVE_TRUNCATE 1
21344| #define HAVE_FTRUNCATE 1
21345| #define HAVE_FTELLO 1
21346| #define HAVE_TIMES 1
21347| #define HAVE_UTIMES 1
21348| #define HAVE_FCNTL 1
21349| #define HAVE_LOCKF 1
21350| #define HAVE_LSTAT 1
21351| #define HAVE_FSEEKO 1
21352| #define HAVE_LINK 1
21353| #define HAVE_SYMLINK 1
21354| #define HAVE_READLINK 1
21355| #define HAVE_READDIR_R 1
21356| #define HAVE_FSYNC 1
21357| #define HAVE_FCHOWN 1
21358| #define HAVE_SETITIMER 1
21359| #define HAVE_SETRUID 1
21360| #define HAVE_SETEUID 1
21361| #define HAVE_SETREUID 1
21362| #define HAVE_SOCKETPAIR 1
21363| #define HAVE_SETRGID 1
21364| #define HAVE_SETEGID 1
21365| #define HAVE_SETREGID 1
21366| #define HAVE_ISSETUGID 1
21367| #define HAVE_PAUSE 1
21368| #define HAVE_LCHOWN 1
21369| #define HAVE_LCHMOD 1
21370| #define HAVE_GETPGRP 1
21371| #define HAVE_SETPGRP 1
21372| #define HAVE_GETPGID 1
21373| #define HAVE_SETPGID 1
21374| #define HAVE_INITGROUPS 1
21375| #define HAVE_GETGROUPS 1
21376| #define HAVE_SETGROUPS 1
21377| #define HAVE_GETPRIORITY 1
21378| #define HAVE_GETRLIMIT 1
21379| #define HAVE_SETRLIMIT 1
21380| #define HAVE_SYSCONF 1
21381| #define HAVE_CLOSE 1
21382| #define HAVE_GETGRNAM_R 1
21383| #define HAVE_DLOPEN 1
21384| #define HAVE_SIGPROCMASK 1
21385| #define HAVE_SIGACTION 1
21386| #define HAVE_SIGSETJMP 1
21387| #define HAVE__SETJMP 1
21388| #define HAVE__LONGJMP 1
21389| #define HAVE_SETSID 1
21390| #define HAVE_TELLDIR 1
21391| #define HAVE_SEEKDIR 1
21392| #define HAVE_FCHMOD 1
21393| #define HAVE_COSH 1
21394| #define HAVE_SINH 1
21395| #define HAVE_TANH 1
21396| #define HAVE_LOG2 1
21397| #define HAVE_ROUND 1
21398| #define HAVE_SETUID 1
21399| #define HAVE_SETGID 1
21400| #define HAVE_SETENV 1
21401| #define HAVE_UNSETENV 1
21402| #define HAVE_MKTIME 1
21403| #define HAVE_TIMEGM 1
21404| #define HAVE_GMTIME_R 1
21405| #define HAVE_GETTIMEOFDAY 1
21406| #define HAVE_POLL 1
21407| #define HAVE_PREAD 1
21408| #define HAVE_SENDFILE 1
21409| #define HAVE_SHUTDOWN 1
21410| #define HAVE_SIGALTSTACK 1
21411| #define RUBY_SETJMP(env) _setjmp(env)
21412| #define RUBY_LONGJMP(env,val) _longjmp(env,val)
21413| #define RUBY_JMP_BUF jmp_buf
21414| #define HAVE_STRUCT_TM_TM_ZONE 1
21415| #define HAVE_TM_ZONE 1
21416| #define HAVE_STRUCT_TM_TM_GMTOFF 1
21417| #define HAVE_DAYLIGHT 1
21418| #define HAVE_VAR_TIMEZONE 1
21419| #define TYPEOF_VAR_TIMEZONE long
21420| #define HAVE_TIMEZONE 1
21421| #define TIMEZONE_VOID 1
21422| #define NEGATIVE_TIME_T 1
21423| #define POSIX_SIGNAL 1
21424| #define RSHIFT(x,y) ((x)>>(int)(y))
21425| #define FILE_COUNT _r
21426| #define FILE_READPTR _p
21427| #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
21428| #define HAVE__SC_CLK_TCK 1
21429| #define STACK_GROW_DIRECTION -1
21430| #define _REENTRANT 1
21431| #define _THREAD_SAFE 1
21432| #define HAVE_LIBPTHREAD 1
21433| #define HAVE_SCHED_YIELD 1
21434| #define HAVE_PTHREAD_ATTR_SETINHERITSCHED 1
21435| #define HAVE_PTHREAD_ATTR_GETSTACK 1
21436| #define HAVE_PTHREAD_GET_STACKADDR_NP 1
21437| #define HAVE_PTHREAD_GET_STACKSIZE_NP 1
21438| #define HAVE_PTHREAD_SIGMASK 1
21439| #define HAVE_BACKTRACE 1
21440| /* end confdefs.h.  */
21441| #include <valgrind/memcheck.h>
21442configure:15962: result: no
21443configure:15962: checking for valgrind/memcheck.h
21444configure:15962: result: no
21445configure:15995: checking whether ELF binaries are produced
21446configure:16011: /usr/bin/clang -o conftest -O2 -arch x86_64  -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -L/opt/local/lib -arch x86_64  -arch x86_64 conftest.c -lpthread -ldl -lobjc >&5
21447configure:16011: $? = 0
21448configure:16025: result: no
21449configure:16062: checking whether OS depend dynamic link works
21450configure:16305: result: yes
21451configure:16503: checking for strip
21452configure:16519: found /opt/local/bin/strip
21453configure:16530: result: strip
21454configure:16875: checking for prefix of external symbols
21455configure:16892: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -fno-common -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
21456configure:16892: $? = 0
21457configure:16904: result: _
21458configure:17090: checking pthread.h usability
21459configure:17090: /usr/bin/clang -c -O2 -arch x86_64  -arch x86_64 -fno-common -pipe -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c >&5
21460configure:17090: $? = 0
21461configure:17090: result: yes
21462configure:17090: checking pthread.h presence
21463configure:17090: /usr/bin/clang -E -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE conftest.c
21464configure:17090: $? = 0
21465configure:17090: result: yes
21466configure:17090: checking for pthread.h
21467configure:17090: result: yes
21468configure:17120: checking for if make is GNU make
21469configure:17137: result: yes
21470configure:17638: checking for nroff
21471configure:17657: found /usr/bin/nroff
21472configure:17669: result: /usr/bin/nroff
21473configure:17740: result: ruby library version = 1.9.1
21474configure:17914: creating ./config.status
21475
21476## ---------------------- ##
21477## Running config.status. ##
21478## ---------------------- ##
21479
21480This file was extended by config.status, which was
21481generated by GNU Autoconf 2.68.  Invocation command line was
21482
21483  CONFIG_FILES    =
21484  CONFIG_HEADERS  =
21485  CONFIG_LINKS    =
21486  CONFIG_COMMANDS =
21487  $ ./config.status
21488
21489on nanaimo-bar.local
21490
21491config.status:894: creating Makefile
21492config.status:894: creating ruby-1.9.pc
21493configure:18992: WARNING: unrecognized options: --without-tk
21494
21495## ---------------- ##
21496## Cache variables. ##
21497## ---------------- ##
21498
21499ac_cv_build=x86_64-apple-darwin11
21500ac_cv_c_bigendian=no
21501ac_cv_c_char_unsigned=no
21502ac_cv_c_compiler_gnu=yes
21503ac_cv_c_const=yes
21504ac_cv_c_inline=inline
21505ac_cv_c_volatile=yes
21506ac_cv_cxx_compiler_gnu=yes
21507ac_cv_env_CCC_set=
21508ac_cv_env_CCC_value=
21509ac_cv_env_CC_set=set
21510ac_cv_env_CC_value=/usr/bin/clang
21511ac_cv_env_CFLAGS_set=set
21512ac_cv_env_CFLAGS_value='-O2 -arch x86_64'
21513ac_cv_env_CPPFLAGS_set=set
21514ac_cv_env_CPPFLAGS_value=-I/opt/local/include
21515ac_cv_env_CPP_set=
21516ac_cv_env_CPP_value=
21517ac_cv_env_CXXFLAGS_set=set
21518ac_cv_env_CXXFLAGS_value='-O2 -arch x86_64'
21519ac_cv_env_CXX_set=set
21520ac_cv_env_CXX_value=/usr/bin/clang++
21521ac_cv_env_LDFLAGS_set=set
21522ac_cv_env_LDFLAGS_value='-L/opt/local/lib -arch x86_64'
21523ac_cv_env_LIBS_set=
21524ac_cv_env_LIBS_value=
21525ac_cv_env_build_alias_set=
21526ac_cv_env_build_alias_value=
21527ac_cv_env_host_alias_set=
21528ac_cv_env_host_alias_value=
21529ac_cv_env_target_alias_set=
21530ac_cv_env_target_alias_value=
21531ac_cv_func___builtin_setjmp=no
21532ac_cv_func___syscall=yes
21533ac_cv_func__longjmp=yes
21534ac_cv_func__setjmp=yes
21535ac_cv_func_acosh=yes
21536ac_cv_func_alloca_works=yes
21537ac_cv_func_backtrace=yes
21538ac_cv_func_cbrt=yes
21539ac_cv_func_chroot=yes
21540ac_cv_func_chsize=no
21541ac_cv_func_clock_gettime=no
21542ac_cv_func_close=yes
21543ac_cv_func_cosh=yes
21544ac_cv_func_crypt=yes
21545ac_cv_func_daemon=no
21546ac_cv_func_dl_iterate_phdr=no
21547ac_cv_func_dlopen=yes
21548ac_cv_func_dup2=yes
21549ac_cv_func_eaccess=no
21550ac_cv_func_erf=yes
21551ac_cv_func_fchmod=yes
21552ac_cv_func_fchown=yes
21553ac_cv_func_fcntl=yes
21554ac_cv_func_fdatasync=no
21555ac_cv_func_ffs=yes
21556ac_cv_func_finite=yes
21557ac_cv_func_flock=yes
21558ac_cv_func_fmod=yes
21559ac_cv_func_fork=yes
21560ac_cv_func_fseeko64=no
21561ac_cv_func_fseeko=yes
21562ac_cv_func_fsync=yes
21563ac_cv_func_ftello64=no
21564ac_cv_func_ftello=yes
21565ac_cv_func_ftruncate64=no
21566ac_cv_func_ftruncate=yes
21567ac_cv_func_getcwd=yes
21568ac_cv_func_getgrnam_r=yes
21569ac_cv_func_getgroups=yes
21570ac_cv_func_getpgid=yes
21571ac_cv_func_getpgrp=yes
21572ac_cv_func_getpriority=yes
21573ac_cv_func_getrlimit=yes
21574ac_cv_func_gettimeofday=yes
21575ac_cv_func_gmtime_r=yes
21576ac_cv_func_hypot=yes
21577ac_cv_func_initgroups=yes
21578ac_cv_func_isinf=yes
21579ac_cv_func_isnan=yes
21580ac_cv_func_issetugid=yes
21581ac_cv_func_killpg=yes
21582ac_cv_func_lchmod=yes
21583ac_cv_func_lchown=yes
21584ac_cv_func_lgamma_r=yes
21585ac_cv_func_link=yes
21586ac_cv_func_lockf=yes
21587ac_cv_func_log2=yes
21588ac_cv_func_lstat=yes
21589ac_cv_func_memcmp_working=yes
21590ac_cv_func_memmove=yes
21591ac_cv_func_mktime=yes
21592ac_cv_func_pause=yes
21593ac_cv_func_poll=yes
21594ac_cv_func_posix_fadvise=no
21595ac_cv_func_ppoll=no
21596ac_cv_func_pread=yes
21597ac_cv_func_pthread_attr_get_np=no
21598ac_cv_func_pthread_attr_getstack=yes
21599ac_cv_func_pthread_attr_setinheritsched=yes
21600ac_cv_func_pthread_condattr_setclock=no
21601ac_cv_func_pthread_get_stackaddr_np=yes
21602ac_cv_func_pthread_get_stacksize_np=yes
21603ac_cv_func_pthread_getattr_np=no
21604ac_cv_func_pthread_getthrds_np=no
21605ac_cv_func_pthread_sigmask=yes
21606ac_cv_func_pthread_stackseg_np=no
21607ac_cv_func_readdir_r=yes
21608ac_cv_func_readlink=yes
21609ac_cv_func_round=yes
21610ac_cv_func_sched_yield=yes
21611ac_cv_func_seekdir=yes
21612ac_cv_func_select_large_fdset=no
21613ac_cv_func_sendfile=yes
21614ac_cv_func_setegid=yes
21615ac_cv_func_setenv=yes
21616ac_cv_func_seteuid=yes
21617ac_cv_func_setgid=yes
21618ac_cv_func_setgroups=yes
21619ac_cv_func_setitimer=yes
21620ac_cv_func_setpgid=yes
21621ac_cv_func_setpgrp=yes
21622ac_cv_func_setproctitle=no
21623ac_cv_func_setregid=yes
21624ac_cv_func_setresgid=no
21625ac_cv_func_setresuid=no
21626ac_cv_func_setreuid=yes
21627ac_cv_func_setrgid=yes
21628ac_cv_func_setrlimit=yes
21629ac_cv_func_setruid=yes
21630ac_cv_func_setsid=yes
21631ac_cv_func_setuid=yes
21632ac_cv_func_shutdown=yes
21633ac_cv_func_sigaction=yes
21634ac_cv_func_sigaltstack=yes
21635ac_cv_func_sigprocmask=yes
21636ac_cv_func_sigsetjmp=yes
21637ac_cv_func_sinh=yes
21638ac_cv_func_socketpair=yes
21639ac_cv_func_spawnv=no
21640ac_cv_func_strchr=yes
21641ac_cv_func_strerror=yes
21642ac_cv_func_strlcat=yes
21643ac_cv_func_strlcpy=yes
21644ac_cv_func_strstr=yes
21645ac_cv_func_symlink=yes
21646ac_cv_func_syscall=yes
21647ac_cv_func_sysconf=yes
21648ac_cv_func_tanh=yes
21649ac_cv_func_telldir=yes
21650ac_cv_func_tgamma=yes
21651ac_cv_func_thr_stksegment=no
21652ac_cv_func_timegm=yes
21653ac_cv_func_times=yes
21654ac_cv_func_timezone=yes
21655ac_cv_func_truncate64=no
21656ac_cv_func_truncate=yes
21657ac_cv_func_unsetenv=yes
21658ac_cv_func_utimensat=no
21659ac_cv_func_utimes=yes
21660ac_cv_func_wait4=yes
21661ac_cv_func_waitpid=yes
21662ac_cv_have_decl_sys_nerr=yes
21663ac_cv_header_a_out_h=no
21664ac_cv_header_direct_h=no
21665ac_cv_header_dirent_dirent_h=yes
21666ac_cv_header_fcntl_h=yes
21667ac_cv_header_float_h=yes
21668ac_cv_header_grp_h=yes
21669ac_cv_header_ieeefp_h=no
21670ac_cv_header_intrinsics_h=no
21671ac_cv_header_inttypes_h=yes
21672ac_cv_header_langinfo_h=yes
21673ac_cv_header_limits_h=yes
21674ac_cv_header_locale_h=yes
21675ac_cv_header_memory_h=yes
21676ac_cv_header_minix_config_h=no
21677ac_cv_header_net_socket_h=no
21678ac_cv_header_netinet_in_systm_h=yes
21679ac_cv_header_process_h=no
21680ac_cv_header_pthread_h=yes
21681ac_cv_header_pthread_np_h=no
21682ac_cv_header_pwd_h=yes
21683ac_cv_header_stdbool_h=yes
21684ac_cv_header_stdc=yes
21685ac_cv_header_stdint_h=yes
21686ac_cv_header_stdlib_h=yes
21687ac_cv_header_string_h=yes
21688ac_cv_header_strings_h=yes
21689ac_cv_header_sys_fcntl_h=yes
21690ac_cv_header_sys_file_h=yes
21691ac_cv_header_sys_ioctl_h=yes
21692ac_cv_header_sys_mkdev_h=no
21693ac_cv_header_sys_param_h=yes
21694ac_cv_header_sys_resource_h=yes
21695ac_cv_header_sys_select_h=yes
21696ac_cv_header_sys_sendfile_h=no
21697ac_cv_header_sys_socket_h=yes
21698ac_cv_header_sys_stat_h=yes
21699ac_cv_header_sys_syscall_h=yes
21700ac_cv_header_sys_time_h=yes
21701ac_cv_header_sys_times_h=yes
21702ac_cv_header_sys_types_h=yes
21703ac_cv_header_sys_utime_h=no
21704ac_cv_header_sys_wait_h=yes
21705ac_cv_header_syscall_h=no
21706ac_cv_header_time_h=yes
21707ac_cv_header_ucontext_h=no
21708ac_cv_header_unistd_h=yes
21709ac_cv_header_utime_h=yes
21710ac_cv_header_valgrind_memcheck_h=no
21711ac_cv_header_xti_h=no
21712ac_cv_host=x86_64-apple-darwin11
21713ac_cv_lib_crypt_crypt=no
21714ac_cv_lib_dl_dlopen=yes
21715ac_cv_lib_dld_shl_load=no
21716ac_cv_lib_pthread___pthread_kill=yes
21717ac_cv_lib_rt_clock_gettime=no
21718ac_cv_lib_socket_socketpair=no
21719ac_cv_lib_thr___pthread_kill=no
21720ac_cv_member_struct_stat_st_atim=no
21721ac_cv_member_struct_stat_st_atimensec=no
21722ac_cv_member_struct_stat_st_atimespec=yes
21723ac_cv_member_struct_stat_st_blksize=yes
21724ac_cv_member_struct_stat_st_blocks=yes
21725ac_cv_member_struct_stat_st_ctim=no
21726ac_cv_member_struct_stat_st_ctimensec=no
21727ac_cv_member_struct_stat_st_ctimespec=yes
21728ac_cv_member_struct_stat_st_mtim=no
21729ac_cv_member_struct_stat_st_mtimensec=no
21730ac_cv_member_struct_stat_st_mtimespec=yes
21731ac_cv_member_struct_stat_st_rdev=yes
21732ac_cv_member_struct_tm_tm_zone=yes
21733ac_cv_objext=o
21734ac_cv_path_EGREP='/usr/bin/grep -E'
21735ac_cv_path_GREP=/usr/bin/grep
21736ac_cv_path_NROFF=/usr/bin/nroff
21737ac_cv_path_mkdir=/opt/local/bin/gmkdir
21738ac_cv_prog_CC=/usr/bin/clang
21739ac_cv_prog_CPP='/usr/bin/clang -E'
21740ac_cv_prog_DOT=dot
21741ac_cv_prog_DOXYGEN=doxygen
21742ac_cv_prog_PKG_CONFIG=pkg-config
21743ac_cv_prog_ac_ct_AR=ar
21744ac_cv_prog_ac_ct_AS=as
21745ac_cv_prog_ac_ct_NM=nm
21746ac_cv_prog_ac_ct_RANLIB=ranlib
21747ac_cv_prog_ac_ct_STRIP=strip
21748ac_cv_prog_cc_c89=
21749ac_cv_prog_cc_g=yes
21750ac_cv_prog_cxx_g=yes
21751ac_cv_prog_gcc_traditional=no
21752ac_cv_prog_make_make_set=yes
21753ac_cv_safe_to_define___extensions__=yes
21754ac_cv_search_opendir='none required'
21755ac_cv_sizeof___int64=0
21756ac_cv_sizeof_double=8
21757ac_cv_sizeof_float=4
21758ac_cv_sizeof_int16_t=2
21759ac_cv_sizeof_int32_t=4
21760ac_cv_sizeof_int64_t=8
21761ac_cv_sizeof_int8_t=1
21762ac_cv_sizeof_int=4
21763ac_cv_sizeof_intptr_t=8
21764ac_cv_sizeof_long=8
21765ac_cv_sizeof_long_long=8
21766ac_cv_sizeof_off_t=8
21767ac_cv_sizeof_ptrdiff_t=8
21768ac_cv_sizeof_short=2
21769ac_cv_sizeof_size_t=8
21770ac_cv_sizeof_ssize_t=8
21771ac_cv_sizeof_struct_stat_st_blocks=SIZEOF_LONG
21772ac_cv_sizeof_struct_stat_st_ino=SIZEOF_LONG
21773ac_cv_sizeof_struct_stat_st_size=SIZEOF_LONG
21774ac_cv_sizeof_time_t=8
21775ac_cv_sizeof_uint16_t=2
21776ac_cv_sizeof_uint32_t=4
21777ac_cv_sizeof_uint64_t=8
21778ac_cv_sizeof_uint8_t=1
21779ac_cv_sizeof_uintptr_t=8
21780ac_cv_sizeof_voidp=8
21781ac_cv_struct_tm=time.h
21782ac_cv_sys_file_offset_bits=no
21783ac_cv_sys_largefile_CC=no
21784ac_cv_target=x86_64-apple-darwin11
21785ac_cv_type__Bool=yes
21786ac_cv_type_clockid_t=no
21787ac_cv_type_dev_t=yes
21788ac_cv_type_fd_mask=yes
21789ac_cv_type_getgroups=gid_t
21790ac_cv_type_gid_t=yes
21791ac_cv_type_long_long=yes
21792ac_cv_type_mode_t=yes
21793ac_cv_type_off_t=yes
21794ac_cv_type_pid_t=yes
21795ac_cv_type_rlim_t=yes
21796ac_cv_type_signal=void
21797ac_cv_type_size_t=yes
21798ac_cv_type_struct_timespec=yes
21799ac_cv_type_struct_timezone=yes
21800ac_cv_type_time_t=yes
21801ac_cv_type_uid_t=yes
21802ac_cv_working_alloca_h=yes
21803rb_cv_binary_elf=no
21804rb_cv_broken_crypt=no
21805rb_cv_broken_glibc_ia64_erfc=no
21806rb_cv_char_bit=8
21807rb_cv_cppoutfile=yes
21808rb_cv_dev_t_convertible=INT
21809rb_cv_dlopen=yes
21810rb_cv_dynamic_alloca=ok
21811rb_cv_fcnt=_r
21812rb_cv_fork_with_pthread=yes
21813rb_cv_frptr=_p
21814rb_cv_func_cdecl='__attribute__ ((cdecl)) x'
21815rb_cv_func_deprecated='__attribute__ ((deprecated)) x'
21816rb_cv_func_exported='__attribute__ ((visibility("default")))'
21817rb_cv_func_fastcall='__attribute__ ((fastcall)) x'
21818rb_cv_func_noinline='__attribute__ ((noinline)) x'
21819rb_cv_func_noreturn='__attribute__ ((noreturn)) x'
21820rb_cv_func_stdcall='__attribute__ ((stdcall)) x'
21821rb_cv_func_timezone_void=yes
21822rb_cv_gc_mark_stackframe_word=16
21823rb_cv_gcc_atomic_builtins=yes
21824rb_cv_gcc_function_alias=no
21825rb_cv_gid_t_convertible=UINT
21826rb_cv_have_daylight=yes
21827rb_cv_have_prototypes=yes
21828rb_cv_have_sc_clk_tck=yes
21829rb_cv_have_signbit=yes
21830rb_cv_large_fd_select=yes
21831rb_cv_localtime_overflow=yes
21832rb_cv_member_struct_tm_tm_gmtoff=yes
21833rb_cv_mode_t_convertible=UINT
21834rb_cv_negative_time_t=yes
21835rb_cv_pid_t_convertible=INT
21836rb_cv_pri_prefix_long_long=ll
21837rb_cv_pri_prefix_ptrdiff_t=t
21838rb_cv_pri_prefix_size_t=z
21839rb_cv_prog_gnu_ld=no
21840rb_cv_rlim_t_convertible=ULL
21841rb_cv_rshift_sign=yes
21842rb_cv_stack_end_address=no
21843rb_cv_stack_grow_dir_x86_64=-1
21844rb_cv_stdarg=yes
21845rb_cv_string_literal_concatenation=yes
21846rb_cv_stringization='#expr'
21847rb_cv_symbol_prefix=_
21848rb_cv_target_archs=x86_64
21849rb_cv_time_t_convertible=LONG
21850rb_cv_tokenpaste=ansi
21851rb_cv_type_int128_t=no
21852rb_cv_type_int16_t=yes
21853rb_cv_type_int32_t=yes
21854rb_cv_type_int64_t=yes
21855rb_cv_type_int8_t=yes
21856rb_cv_type_intptr_t=yes
21857rb_cv_type_ssize_t=yes
21858rb_cv_type_uint128_t=no
21859rb_cv_type_uint16_t=yes
21860rb_cv_type_uint32_t=yes
21861rb_cv_type_uint64_t=yes
21862rb_cv_type_uint8_t=yes
21863rb_cv_type_uintptr_t=yes
21864rb_cv_uid_t_convertible=UINT
21865rb_cv_unsetenv_return_value=yes
21866rb_cv_va_args_macro=yes
21867rb_cv_var_altzone=no
21868rb_cv_var_timezone=long
21869rb_cv_warnflags='-Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Werror=pointer-arith -Werror=write-strings -Werror=declaration-after-statement -Werror=shorten-64-to-32 -Werror=implicit-function-declaration'
21870
21871## ----------------- ##
21872## Output variables. ##
21873## ----------------- ##
21874
21875ALLOCA=''
21876AR='ar'
21877ARCHFILE=''
21878ARCH_FLAG=' -arch x86_64'
21879AS='as'
21880ASFLAGS=''
21881BASERUBY='ruby'
21882BUILTIN_ENCOBJS=' ascii.$(OBJEXT) us_ascii.$(OBJEXT) unicode.$(OBJEXT) utf_8.$(OBJEXT)'
21883BUILTIN_TRANSOBJS=' newline.$(OBJEXT)'
21884BUILTIN_TRANSSRCS=' newline.c'
21885CAPITARGET='capi'
21886CC='/usr/bin/clang'
21887CCDLFLAGS='-fno-common'
21888CFLAGS='-O2  -arch x86_64 -fno-common -pipe'
21889CHDIR='cd -P'
21890COMMON_HEADERS=''
21891COMMON_LIBS=''
21892COMMON_MACROS=''
21893COUTFLAG='-o '
21894CP='cp'
21895CPP='$(CC) -E'
21896CPPFLAGS='-I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE $(DEFS) ${cppflags}'
21897CPPOUTFILE='-o conftest.i'
21898CXX='/usr/bin/clang++'
21899CXXFLAGS='-O2'
21900DEFS=''
21901DLDFLAGS='-Wl,-undefined,dynamic_lookup -Wl,-multiply_defined,suppress -Wl,-flat_namespace'
21902DLDLIBS=''
21903DLEXT2=''
21904DLEXT='bundle'
21905DLLWRAP=''
21906DOT='dot'
21907DOXYGEN='doxygen'
21908ECHO_C='\c'
21909ECHO_N=''
21910ECHO_T=''
21911EGREP='/usr/bin/grep -E'
21912ENABLE_SHARED='yes'
21913EXECUTABLE_EXTS=''
21914EXEEXT=''
21915EXPORT_PREFIX=''
21916EXTOUT='.ext'
21917EXTSTATIC=''
21918GCC='yes'
21919GNU_LD='no'
21920GREP='/usr/bin/grep'
21921INSTALLDOC='all'
21922INSTALL_DATA='${INSTALL} -m 644'
21923INSTALL_PROGRAM='${INSTALL}'
21924INSTALL_SCRIPT='${INSTALL}'
21925LDFLAGS='-L. -L/opt/local/lib  -arch x86_64 -L/usr/local/lib'
21926LDSHARED='$(CC) -dynamic -bundle'
21927LDSHAREDXX='$(CXX) -dynamic -bundle'
21928LIBEXT='a'
21929LIBOBJS=' ${LIBOBJDIR}setproctitle$U.o'
21930LIBPATHENV='DYLD_LIBRARY_PATH'
21931LIBPATHFLAG=' -L%s'
21932LIBRUBY='$(LIBRUBY_SO)'
21933LIBRUBYARG='$(LIBRUBYARG_SHARED)'
21934LIBRUBYARG_SHARED='-l$(RUBY_SO_NAME)'
21935LIBRUBYARG_STATIC='-l$(RUBY_SO_NAME)-static'
21936LIBRUBY_A='lib$(RUBY_SO_NAME)-static.a'
21937LIBRUBY_ALIASES='lib$(RUBY_BASE_NAME).$(MAJOR).$(MINOR).dylib lib$(RUBY_INSTALL_NAME).dylib'
21938LIBRUBY_DLDFLAGS='-Wl,-undefined,dynamic_lookup -Wl,-multiply_defined,suppress -Wl,-flat_namespace -install_name $(libdir)/$(LIBRUBY_SO) -current_version $(MAJOR).$(MINOR).$(TEENY) -compatibility_version $(ruby_version) -Wl,-unexported_symbol,_Init_* -Wl,-unexported_symbol,*_threadptr_*  $(XLDFLAGS)'
21939LIBRUBY_LDSHARED='$(CC) -dynamiclib'
21940LIBRUBY_RELATIVE='no'
21941LIBRUBY_SO='lib$(RUBY_SO_NAME).dylib'
21942LIBS='-lpthread -ldl -lobjc'
21943LINK_SO=''
21944LN_S='ln -s'
21945LTLIBOBJS=' ${LIBOBJDIR}setproctitle$U.lo'
21946MAINLIBS=''
21947MAJOR='1'
21948MAKEDIRS='/opt/local/bin/gmkdir -p'
21949MAKEFILES='Makefile'
21950MANTYPE='doc'
21951MINIOBJS='dmydln.o'
21952MINIRUBY='./miniruby$(EXEEXT) -I$(srcdir)/lib -I. -I$(EXTOUT)/common'
21953MINOR='9'
21954MKDIR_P='/opt/local/bin/gmkdir -p'
21955NM='nm'
21956NROFF='/usr/bin/nroff'
21957NULLCMD=':'
21958OBJCOPY=':'
21959OBJDUMP=''
21960OBJEXT='o'
21961OUTFLAG='-o '
21962PACKAGE='ruby'
21963PACKAGE_BUGREPORT=''
21964PACKAGE_NAME=''
21965PACKAGE_STRING=''
21966PACKAGE_TARNAME=''
21967PACKAGE_URL=''
21968PACKAGE_VERSION=''
21969PATH_SEPARATOR=':'
21970PKG_CONFIG='pkg-config'
21971PREP='miniruby$(EXEEXT)'
21972RANLIB='ranlib'
21973RDOCTARGET='rdoc'
21974RI_BASE_NAME='ri'
21975RM='rm -f'
21976RMALL='rm -fr'
21977RMDIR='rmdir'
21978RMDIRS='rmdir -p'
21979RPATHFLAG=''
21980RUBYW_BASE_NAME='rubyw'
21981RUBYW_INSTALL_NAME=''
21982RUBY_BASE_NAME='ruby'
21983RUBY_INSTALL_NAME='$(RUBY_BASE_NAME)1.9'
21984RUBY_PROGRAM_VERSION='1.9.3'
21985RUBY_RELEASE_DATE='2012-04-20'
21986RUBY_SO_NAME='$(RUBY_BASE_NAME).$(MAJOR).$(MINOR).$(TEENY)'
21987RUNRUBY='$(MINIRUBY) $(srcdir)/tool/runruby.rb --extout=$(EXTOUT)'
21988SET_MAKE=''
21989SHELL='/bin/sh'
21990SOLIBS=''
21991STATIC=''
21992STRIP='strip -A -n'
21993SYMBOL_PREFIX='_'
21994TEENY='1'
21995TEST_RUNNABLE='yes'
21996THREAD_MODEL='pthread'
21997TRY_LINK=''
21998UNIVERSAL_ARCHNAMES=''
21999UNIVERSAL_INTS=''
22000USE_RUBYGEMS='YES'
22001WERRORFLAG='-Werror'
22002WINDRES=''
22003XCFLAGS='-include ruby/config.h -include ruby/missing.h -fvisibility=hidden -DRUBY_EXPORT'
22004XLDFLAGS='-Wl,-u,_objc_msgSend'
22005XRUBY='$(RUNRUBY)'
22006XRUBY_LIBDIR=''
22007XRUBY_RUBYHDRDIR=''
22008XRUBY_RUBYLIBDIR=''
22009ac_ct_CC=''
22010ac_ct_CXX=''
22011ac_ct_OBJCOPY=''
22012ac_ct_OBJDUMP=''
22013arch='x86_64-darwin11'
22014bindir='${exec_prefix}/bin'
22015build='x86_64-apple-darwin11'
22016build_alias=''
22017build_cpu='x86_64'
22018build_os='darwin11'
22019build_vendor='apple'
22020cflags=' ${optflags} ${debugflags} ${warnflags}'
22021configure_args=' '\''--prefix=/opt/local'\'' '\''--enable-shared'\'' '\''--mandir=/opt/local/share/man'\'' '\''--enable-pthread'\'' '\''--without-tk'\'' '\''--with-opt-dir=/opt/local'\'' '\''--program-suffix=1.9'\'' '\''--with-rubylibprefix=/opt/local/lib/ruby1.9'\'' '\''--with-arch=x86_64'\'' '\''CC=/usr/bin/clang'\'' '\''CFLAGS=-O2 -arch x86_64'\'' '\''LDFLAGS=-L/opt/local/lib -arch x86_64'\'' '\''CPPFLAGS=-I/opt/local/include'\'' '\''CXX=/usr/bin/clang++'\'' '\''CXXFLAGS=-O2 -arch x86_64'\'''
22022cppflags='-I/opt/local/include'
22023cxxflags=' ${optflags} ${debugflags} ${warnflags}'
22024datadir='${datarootdir}'
22025datarootdir='${prefix}/share'
22026debugflags='-g3'
22027docdir='${datarootdir}/doc/${PACKAGE}'
22028dvidir='${docdir}'
22029exec='exec'
22030exec_prefix='${prefix}'
22031host='x86_64-apple-darwin11'
22032host_alias=''
22033host_cpu='x86_64'
22034host_os='darwin11'
22035host_vendor='apple'
22036htmldir='${docdir}'
22037includedir='${prefix}/include'
22038infodir='${datarootdir}/info'
22039libdir='${exec_prefix}/lib'
22040libexecdir='${exec_prefix}/libexec'
22041localedir='${datarootdir}/locale'
22042localstatedir='${prefix}/var'
22043mandir='/opt/local/share/man'
22044oldincludedir='/usr/include'
22045optflags='-O3'
22046pdfdir='${docdir}'
22047prefix='/opt/local'
22048program_transform_name='s&$$&1.9&;s&^&&'
22049psdir='${docdir}'
22050ridir='${datarootdir}/${RI_BASE_NAME}'
22051ruby_pc='ruby-1.9.pc'
22052ruby_version='1.9.1'
22053rubyhdrdir='${includedir}/${RUBY_BASE_NAME}-${ruby_version}'
22054rubylibprefix='/opt/local/lib/ruby1.9'
22055rubyw_install_name=''
22056sbindir='${exec_prefix}/sbin'
22057setup='Setup'
22058sharedstatedir='${prefix}/com'
22059sitearch='${arch}'
22060sitedir='${rubylibprefix}/site_ruby'
22061sitehdrdir='${rubyhdrdir}/site_ruby'
22062sysconfdir='${prefix}/etc'
22063target='x86_64-apple-darwin11'
22064target_alias=''
22065target_cpu='x86_64'
22066target_os='darwin11'
22067target_vendor='apple'
22068try_header=''
22069vendordir='${rubylibprefix}/vendor_ruby'
22070vendorhdrdir='${rubyhdrdir}/vendor_ruby'
22071warnflags='-Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Werror=pointer-arith -Werror=write-strings -Werror=declaration-after-statement -Werror=shorten-64-to-32 -Werror=implicit-function-declaration'
22072
22073configure: exit 0