Ticket #64828: config.log

File config.log, 70.8 KB (added by barracuda156, 3 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 libuv configure 1.44.1, which was
5generated by GNU Autoconf 2.71.  Invocation command line was
6
7  $ ./configure --prefix=/opt/local --disable-silent-rules
8
9## --------- ##
10## Platform. ##
11## --------- ##
12
13hostname = 36-120.wireless-city.scu.edu.tw
14uname -m = Power Macintosh
15uname -r = 9.8.0
16uname -s = Darwin
17uname -v = Darwin Kernel Version 9.8.0: Wed Jul 15 16:57:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_PPC
18
19/usr/bin/uname -p = powerpc
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 9.8.0: Wed Jul 15 16:57:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_PPC
27Kernel configured for up to 4 processors.
284 processors are physically available.
294 processors are logically available.
30Processor type: ppc970 (PowerPC 970)
31Processors active: 0 1 2 3
32Primary memory available: 16.00 gigabytes
33Default processor set: 60 tasks, 220 threads, 4 processors
34Load average: 0.82, Mach factor: 3.17
35/bin/machine           = unknown
36/usr/bin/oslevel       = unknown
37/bin/universe          = unknown
38
39PATH: /opt/local/bin/
40PATH: /opt/local/sbin/
41PATH: /bin/
42PATH: /sbin/
43PATH: /usr/bin/
44PATH: /usr/sbin/
45
46
47## ----------- ##
48## Core tests. ##
49## ----------- ##
50
51configure:2429: looking for aux files: ltmain.sh ar-lib compile config.guess config.sub missing install-sh
52configure:2442:  trying ./
53configure:2471:   ./ltmain.sh found
54configure:2471:   ./ar-lib found
55configure:2471:   ./compile found
56configure:2471:   ./config.guess found
57configure:2471:   ./config.sub found
58configure:2471:   ./missing found
59configure:2453:   ./install-sh found
60configure:2665: checking for a BSD-compatible install
61configure:2738: result: /usr/bin/install -c
62configure:2749: checking whether build environment is sane
63configure:2804: result: yes
64configure:2963: checking for a race-free mkdir -p
65configure:3007: result: /opt/local/bin/gmkdir -p
66configure:3014: checking for gawk
67configure:3035: found /opt/local/bin/gawk
68configure:3046: result: gawk
69configure:3057: checking whether make sets $(MAKE)
70configure:3080: result: yes
71configure:3110: checking whether make supports nested variables
72configure:3128: result: yes
73configure:3270: checking build system type
74configure:3285: result: powerpc-apple-darwin9.8.0
75configure:3305: checking host system type
76configure:3319: result: powerpc-apple-darwin9.8.0
77configure:3465: checking for gcc
78configure:3497: result: /usr/bin/gcc-4.2
79configure:3850: checking for C compiler version
80configure:3859: /usr/bin/gcc-4.2 --version >&5
81powerpc-apple-darwin9-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5577)
82Copyright (C) 2007 Free Software Foundation, Inc.
83This is free software; see the source for copying conditions.  There is NO
84warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
85
86configure:3870: $? = 0
87configure:3859: /usr/bin/gcc-4.2 -v >&5
88Using built-in specs.
89Target: powerpc-apple-darwin9
90Configured with: /var/tmp/gcc_42/gcc_42-5577~1/src/configure --disable-checking --prefix=/usr --mandir=/usr/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin9 --with-gxx-include-dir=/usr/include/c++/4.0.0 --program-prefix= --host=powerpc-apple-darwin9 --target=powerpc-apple-darwin9
91Thread model: posix
92gcc version 4.2.1 (Apple Inc. build 5577)
93configure:3870: $? = 0
94configure:3859: /usr/bin/gcc-4.2 -V >&5
95gcc-4.2: argument to `-V' is missing
96configure:3870: $? = 1
97configure:3859: /usr/bin/gcc-4.2 -qversion >&5
98powerpc-apple-darwin9-gcc-4.2.1: no input files
99configure:3870: $? = 1
100configure:3859: /usr/bin/gcc-4.2 -version >&5
101powerpc-apple-darwin9-gcc-4.2.1: no input files
102configure:3870: $? = 1
103configure:3890: checking whether the C compiler works
104configure:3912: /usr/bin/gcc-4.2 -pipe -Os -arch ppc -isystem/opt/local/include/LegacySupport -I/opt/local/include -D__DARWIN_64_BIT_INO_T -Wl,-headerpad_max_install_names -L/opt/local/lib -lMacportsLegacySupport -arch ppc conftest.c  >&5
105configure:3916: $? = 0
106configure:3966: result: yes
107configure:3969: checking for C compiler default output file name
108configure:3971: result: a.out
109configure:3977: checking for suffix of executables
110configure:3984: /usr/bin/gcc-4.2 -o conftest -pipe -Os -arch ppc -isystem/opt/local/include/LegacySupport -I/opt/local/include -D__DARWIN_64_BIT_INO_T -Wl,-headerpad_max_install_names -L/opt/local/lib -lMacportsLegacySupport -arch ppc conftest.c  >&5
111configure:3988: $? = 0
112configure:4011: result:
113configure:4033: checking whether we are cross compiling
114configure:4041: /usr/bin/gcc-4.2 -o conftest -pipe -Os -arch ppc -isystem/opt/local/include/LegacySupport -I/opt/local/include -D__DARWIN_64_BIT_INO_T -Wl,-headerpad_max_install_names -L/opt/local/lib -lMacportsLegacySupport -arch ppc conftest.c  >&5
115configure:4045: $? = 0
116configure:4052: ./conftest
117configure:4056: $? = 0
118configure:4071: result: no
119configure:4076: checking for suffix of object files
120configure:4099: /usr/bin/gcc-4.2 -c -pipe -Os -arch ppc -isystem/opt/local/include/LegacySupport -I/opt/local/include -D__DARWIN_64_BIT_INO_T conftest.c >&5
121configure:4103: $? = 0
122configure:4125: result: o
123configure:4129: checking whether the compiler supports GNU C
124configure:4149: /usr/bin/gcc-4.2 -c -pipe -Os -arch ppc -isystem/opt/local/include/LegacySupport -I/opt/local/include -D__DARWIN_64_BIT_INO_T conftest.c >&5
125configure:4149: $? = 0
126configure:4159: result: yes
127configure:4170: checking whether /usr/bin/gcc-4.2 accepts -g
128configure:4191: /usr/bin/gcc-4.2 -c -g -isystem/opt/local/include/LegacySupport -I/opt/local/include -D__DARWIN_64_BIT_INO_T conftest.c >&5
129configure:4191: $? = 0
130configure:4235: result: yes
131configure:4255: checking for /usr/bin/gcc-4.2 option to enable C11 features
132configure:4270: /usr/bin/gcc-4.2  -c -pipe -Os -arch ppc -isystem/opt/local/include/LegacySupport -I/opt/local/include -D__DARWIN_64_BIT_INO_T conftest.c >&5
133conftest.c:63:3: error: #error "Compiler does not advertise C99 conformance"
134conftest.c:118: error: expected ';', ',' or ')' before 'text'
135conftest.c:167:3: error: #error "Compiler does not advertise C11 conformance"
136conftest.c: In function '_Alignas':
137conftest.c:171: error: expected declaration specifiers before 'aligned_as_double'
138conftest.c:172: error: expected declaration specifiers or '...' before numeric constant
139conftest.c:172: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'no_special_alignment'
140conftest.c:173: error: storage class specified for parameter 'aligned_as_int'
141conftest.c:174: error: expected declaration specifiers or '...' before numeric constant
142conftest.c:174: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_Alignas'
143conftest.c:179: error: expected expression before 'int'
144conftest.c:179: error: enumerator value for 'int_alignment' is not an integer constant
145conftest.c:180: error: expected expression before 'int'
146conftest.c:180: error: enumerator value for 'int_array_alignment' is not an integer constant
147conftest.c:181: error: expected expression before 'char'
148conftest.c:182: error: enumerator value for 'char_alignment' is not an integer constant
149conftest.c:182: warning: empty declaration
150conftest.c:183: error: expected declaration specifiers before '_Static_assert'
151conftest.c:186: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'does_not_return'
152conftest.c:192: error: expected specifier-qualifier-list before '_Static_assert'
153conftest.c:195: warning: empty declaration
154conftest.c:199: error: parameter 'utf8_literal' is initialized
155conftest.c:199: error: 'syntax' undeclared (first use in this function)
156conftest.c:199: error: (Each undeclared identifier is reported only once
157conftest.c:199: error: for each function it appears in.)
158conftest.c:199: error: expected ',' or ';' before 'error'
159conftest.c:202: error: storage class specified for parameter 'long_ptr'
160conftest.c:203: error: storage class specified for parameter 'long_ptr'
161conftest.c:203: error: redefinition of parameter 'long_ptr'
162conftest.c:202: error: previous definition of 'long_ptr' was here
163conftest.c:204: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long_ptr'
164conftest.c:219: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
165conftest.c:271: error: old-style parameter declarations in prototyped function definition
166conftest.c:171: error: parameter name omitted
167conftest.c:271: error: expected '{' at end of input
168configure:4270: $? = 1
169configure: failed program was:
170| /* confdefs.h */
171| #define PACKAGE_NAME "libuv"
172| #define PACKAGE_TARNAME "libuv"
173| #define PACKAGE_VERSION "1.44.1"
174| #define PACKAGE_STRING "libuv 1.44.1"
175| #define PACKAGE_BUGREPORT "https://github.com/libuv/libuv/issues"
176| #define PACKAGE_URL ""
177| #define PACKAGE "libuv"
178| #define VERSION "1.44.1"
179| /* end confdefs.h.  */
180|
181| /* Does the compiler advertise C89 conformance?
182|    Do not test the value of __STDC__, because some compilers set it to 0
183|    while being otherwise adequately conformant. */
184| #if !defined __STDC__
185| # error "Compiler does not advertise C89 conformance"
186| #endif
187|
188| #include <stddef.h>
189| #include <stdarg.h>
190| struct stat;
191| /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
192| struct buf { int x; };
193| struct buf * (*rcsopen) (struct buf *, struct stat *, int);
194| static char *e (p, i)
195|      char **p;
196|      int i;
197| {
198|   return p[i];
199| }
200| static char *f (char * (*g) (char **, int), char **p, ...)
201| {
202|   char *s;
203|   va_list v;
204|   va_start (v,p);
205|   s = g (p, va_arg (v,int));
206|   va_end (v);
207|   return s;
208| }
209|
210| /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
211|    function prototypes and stuff, but not \xHH hex character constants.
212|    These do not provoke an error unfortunately, instead are silently treated
213|    as an "x".  The following induces an error, until -std is added to get
214|    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
215|    array size at least.  It is necessary to write \x00 == 0 to get something
216|    that is true only with -std.  */
217| int osf4_cc_array ['\x00' == 0 ? 1 : -1];
218|
219| /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
220|    inside strings and character constants.  */
221| #define FOO(x) 'x'
222| int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
223|
224| int test (int i, double x);
225| struct s1 {int (*f) (int a);};
226| struct s2 {int (*f) (double a);};
227| int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
228|                int, int);
229|
230| // Does the compiler advertise C99 conformance?
231| #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
232| # error "Compiler does not advertise C99 conformance"
233| #endif
234|
235| #include <stdbool.h>
236| extern int puts (const char *);
237| extern int printf (const char *, ...);
238| extern int dprintf (int, const char *, ...);
239| extern void *malloc (size_t);
240|
241| // Check varargs macros.  These examples are taken from C99 6.10.3.5.
242| // dprintf is used instead of fprintf to avoid needing to declare
243| // FILE and stderr.
244| #define debug(...) dprintf (2, __VA_ARGS__)
245| #define showlist(...) puts (#__VA_ARGS__)
246| #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
247| static void
248| test_varargs_macros (void)
249| {
250|   int x = 1234;
251|   int y = 5678;
252|   debug ("Flag");
253|   debug ("X = %d\n", x);
254|   showlist (The first, second, and third items.);
255|   report (x>y, "x is %d but y is %d", x, y);
256| }
257|
258| // Check long long types.
259| #define BIG64 18446744073709551615ull
260| #define BIG32 4294967295ul
261| #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
262| #if !BIG_OK
263|   #error "your preprocessor is broken"
264| #endif
265| #if BIG_OK
266| #else
267|   #error "your preprocessor is broken"
268| #endif
269| static long long int bignum = -9223372036854775807LL;
270| static unsigned long long int ubignum = BIG64;
271|
272| struct incomplete_array
273| {
274|   int datasize;
275|   double data[];
276| };
277|
278| struct named_init {
279|   int number;
280|   const wchar_t *name;
281|   double average;
282| };
283|
284| typedef const char *ccp;
285|
286| static inline int
287| test_restrict (ccp restrict text)
288| {
289|   // See if C++-style comments work.
290|   // Iterate through items via the restricted pointer.
291|   // Also check for declarations in for loops.
292|   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
293|     continue;
294|   return 0;
295| }
296|
297| // Check varargs and va_copy.
298| static bool
299| test_varargs (const char *format, ...)
300| {
301|   va_list args;
302|   va_start (args, format);
303|   va_list args_copy;
304|   va_copy (args_copy, args);
305|
306|   const char *str = "";
307|   int number = 0;
308|   float fnumber = 0;
309|
310|   while (*format)
311|     {
312|       switch (*format++)
313|       {
314|       case 's': // string
315|         str = va_arg (args_copy, const char *);
316|         break;
317|       case 'd': // int
318|         number = va_arg (args_copy, int);
319|         break;
320|       case 'f': // float
321|         fnumber = va_arg (args_copy, double);
322|         break;
323|       default:
324|         break;
325|       }
326|     }
327|   va_end (args_copy);
328|   va_end (args);
329|
330|   return *str && number && fnumber;
331| }
332|
333|
334| // Does the compiler advertise C11 conformance?
335| #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
336| # error "Compiler does not advertise C11 conformance"
337| #endif
338|
339| // Check _Alignas.
340| char _Alignas (double) aligned_as_double;
341| char _Alignas (0) no_special_alignment;
342| extern char aligned_as_int;
343| char _Alignas (0) _Alignas (int) aligned_as_int;
344|
345| // Check _Alignof.
346| enum
347| {
348|   int_alignment = _Alignof (int),
349|   int_array_alignment = _Alignof (int[100]),
350|   char_alignment = _Alignof (char)
351| };
352| _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
353|
354| // Check _Noreturn.
355| int _Noreturn does_not_return (void) { for (;;) continue; }
356|
357| // Check _Static_assert.
358| struct test_static_assert
359| {
360|   int x;
361|   _Static_assert (sizeof (int) <= sizeof (long int),
362|                   "_Static_assert does not work in struct");
363|   long int y;
364| };
365|
366| // Check UTF-8 literals.
367| #define u8 syntax error!
368| char const utf8_literal[] = u8"happens to be ASCII" "another string";
369|
370| // Check duplicate typedefs.
371| typedef long *long_ptr;
372| typedef long int *long_ptr;
373| typedef long_ptr long_ptr;
374|
375| // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
376| struct anonymous
377| {
378|   union {
379|     struct { int i; int j; };
380|     struct { int k; long int l; } w;
381|   };
382|   int m;
383| } v1;
384|
385|
386| int
387| main (int argc, char **argv)
388| {
389|   int ok = 0;
390|   
391| ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
392|
393|   
394|   // Check bool.
395|   _Bool success = false;
396|   success |= (argc != 0);
397|
398|   // Check restrict.
399|   if (test_restrict ("String literal") == 0)
400|     success = true;
401|   char *restrict newvar = "Another string";
402|
403|   // Check varargs.
404|   success &= test_varargs ("s, d' f .", "string", 65, 34.234);
405|   test_varargs_macros ();
406|
407|   // Check flexible array members.
408|   struct incomplete_array *ia =
409|     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
410|   ia->datasize = 10;
411|   for (int i = 0; i < ia->datasize; ++i)
412|     ia->data[i] = i * 1.234;
413|
414|   // Check named initializers.
415|   struct named_init ni = {
416|     .number = 34,
417|     .name = L"Test wide string",
418|     .average = 543.34343,
419|   };
420|
421|   ni.number = 58;
422|
423|   int dynamic_array[ni.number];
424|   dynamic_array[0] = argv[0][0];
425|   dynamic_array[ni.number - 1] = 543;
426|
427|   // work around unused variable warnings
428|   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
429|        || dynamic_array[ni.number - 1] != 543);
430|
431|   
432|   _Static_assert ((offsetof (struct anonymous, i)
433|                  == offsetof (struct anonymous, w.k)),
434|                 "Anonymous union alignment botch");
435|   v1.i = 2;
436|   v1.w.k = 5;
437|   ok |= v1.i != 5;
438|
439|   return ok;
440| }
441|
442configure:4270: /usr/bin/gcc-4.2 -std=gnu11 -c -pipe -Os -arch ppc -isystem/opt/local/include/LegacySupport -I/opt/local/include -D__DARWIN_64_BIT_INO_T conftest.c >&5
443cc1: error: unrecognized command line option "-std=gnu11"
444configure:4270: $? = 1
445configure: failed program was:
446| /* confdefs.h */
447| #define PACKAGE_NAME "libuv"
448| #define PACKAGE_TARNAME "libuv"
449| #define PACKAGE_VERSION "1.44.1"
450| #define PACKAGE_STRING "libuv 1.44.1"
451| #define PACKAGE_BUGREPORT "https://github.com/libuv/libuv/issues"
452| #define PACKAGE_URL ""
453| #define PACKAGE "libuv"
454| #define VERSION "1.44.1"
455| /* end confdefs.h.  */
456|
457| /* Does the compiler advertise C89 conformance?
458|    Do not test the value of __STDC__, because some compilers set it to 0
459|    while being otherwise adequately conformant. */
460| #if !defined __STDC__
461| # error "Compiler does not advertise C89 conformance"
462| #endif
463|
464| #include <stddef.h>
465| #include <stdarg.h>
466| struct stat;
467| /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
468| struct buf { int x; };
469| struct buf * (*rcsopen) (struct buf *, struct stat *, int);
470| static char *e (p, i)
471|      char **p;
472|      int i;
473| {
474|   return p[i];
475| }
476| static char *f (char * (*g) (char **, int), char **p, ...)
477| {
478|   char *s;
479|   va_list v;
480|   va_start (v,p);
481|   s = g (p, va_arg (v,int));
482|   va_end (v);
483|   return s;
484| }
485|
486| /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
487|    function prototypes and stuff, but not \xHH hex character constants.
488|    These do not provoke an error unfortunately, instead are silently treated
489|    as an "x".  The following induces an error, until -std is added to get
490|    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
491|    array size at least.  It is necessary to write \x00 == 0 to get something
492|    that is true only with -std.  */
493| int osf4_cc_array ['\x00' == 0 ? 1 : -1];
494|
495| /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
496|    inside strings and character constants.  */
497| #define FOO(x) 'x'
498| int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
499|
500| int test (int i, double x);
501| struct s1 {int (*f) (int a);};
502| struct s2 {int (*f) (double a);};
503| int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
504|                int, int);
505|
506| // Does the compiler advertise C99 conformance?
507| #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
508| # error "Compiler does not advertise C99 conformance"
509| #endif
510|
511| #include <stdbool.h>
512| extern int puts (const char *);
513| extern int printf (const char *, ...);
514| extern int dprintf (int, const char *, ...);
515| extern void *malloc (size_t);
516|
517| // Check varargs macros.  These examples are taken from C99 6.10.3.5.
518| // dprintf is used instead of fprintf to avoid needing to declare
519| // FILE and stderr.
520| #define debug(...) dprintf (2, __VA_ARGS__)
521| #define showlist(...) puts (#__VA_ARGS__)
522| #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
523| static void
524| test_varargs_macros (void)
525| {
526|   int x = 1234;
527|   int y = 5678;
528|   debug ("Flag");
529|   debug ("X = %d\n", x);
530|   showlist (The first, second, and third items.);
531|   report (x>y, "x is %d but y is %d", x, y);
532| }
533|
534| // Check long long types.
535| #define BIG64 18446744073709551615ull
536| #define BIG32 4294967295ul
537| #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
538| #if !BIG_OK
539|   #error "your preprocessor is broken"
540| #endif
541| #if BIG_OK
542| #else
543|   #error "your preprocessor is broken"
544| #endif
545| static long long int bignum = -9223372036854775807LL;
546| static unsigned long long int ubignum = BIG64;
547|
548| struct incomplete_array
549| {
550|   int datasize;
551|   double data[];
552| };
553|
554| struct named_init {
555|   int number;
556|   const wchar_t *name;
557|   double average;
558| };
559|
560| typedef const char *ccp;
561|
562| static inline int
563| test_restrict (ccp restrict text)
564| {
565|   // See if C++-style comments work.
566|   // Iterate through items via the restricted pointer.
567|   // Also check for declarations in for loops.
568|   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
569|     continue;
570|   return 0;
571| }
572|
573| // Check varargs and va_copy.
574| static bool
575| test_varargs (const char *format, ...)
576| {
577|   va_list args;
578|   va_start (args, format);
579|   va_list args_copy;
580|   va_copy (args_copy, args);
581|
582|   const char *str = "";
583|   int number = 0;
584|   float fnumber = 0;
585|
586|   while (*format)
587|     {
588|       switch (*format++)
589|       {
590|       case 's': // string
591|         str = va_arg (args_copy, const char *);
592|         break;
593|       case 'd': // int
594|         number = va_arg (args_copy, int);
595|         break;
596|       case 'f': // float
597|         fnumber = va_arg (args_copy, double);
598|         break;
599|       default:
600|         break;
601|       }
602|     }
603|   va_end (args_copy);
604|   va_end (args);
605|
606|   return *str && number && fnumber;
607| }
608|
609|
610| // Does the compiler advertise C11 conformance?
611| #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
612| # error "Compiler does not advertise C11 conformance"
613| #endif
614|
615| // Check _Alignas.
616| char _Alignas (double) aligned_as_double;
617| char _Alignas (0) no_special_alignment;
618| extern char aligned_as_int;
619| char _Alignas (0) _Alignas (int) aligned_as_int;
620|
621| // Check _Alignof.
622| enum
623| {
624|   int_alignment = _Alignof (int),
625|   int_array_alignment = _Alignof (int[100]),
626|   char_alignment = _Alignof (char)
627| };
628| _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
629|
630| // Check _Noreturn.
631| int _Noreturn does_not_return (void) { for (;;) continue; }
632|
633| // Check _Static_assert.
634| struct test_static_assert
635| {
636|   int x;
637|   _Static_assert (sizeof (int) <= sizeof (long int),
638|                   "_Static_assert does not work in struct");
639|   long int y;
640| };
641|
642| // Check UTF-8 literals.
643| #define u8 syntax error!
644| char const utf8_literal[] = u8"happens to be ASCII" "another string";
645|
646| // Check duplicate typedefs.
647| typedef long *long_ptr;
648| typedef long int *long_ptr;
649| typedef long_ptr long_ptr;
650|
651| // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
652| struct anonymous
653| {
654|   union {
655|     struct { int i; int j; };
656|     struct { int k; long int l; } w;
657|   };
658|   int m;
659| } v1;
660|
661|
662| int
663| main (int argc, char **argv)
664| {
665|   int ok = 0;
666|   
667| ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
668|
669|   
670|   // Check bool.
671|   _Bool success = false;
672|   success |= (argc != 0);
673|
674|   // Check restrict.
675|   if (test_restrict ("String literal") == 0)
676|     success = true;
677|   char *restrict newvar = "Another string";
678|
679|   // Check varargs.
680|   success &= test_varargs ("s, d' f .", "string", 65, 34.234);
681|   test_varargs_macros ();
682|
683|   // Check flexible array members.
684|   struct incomplete_array *ia =
685|     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
686|   ia->datasize = 10;
687|   for (int i = 0; i < ia->datasize; ++i)
688|     ia->data[i] = i * 1.234;
689|
690|   // Check named initializers.
691|   struct named_init ni = {
692|     .number = 34,
693|     .name = L"Test wide string",
694|     .average = 543.34343,
695|   };
696|
697|   ni.number = 58;
698|
699|   int dynamic_array[ni.number];
700|   dynamic_array[0] = argv[0][0];
701|   dynamic_array[ni.number - 1] = 543;
702|
703|   // work around unused variable warnings
704|   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
705|        || dynamic_array[ni.number - 1] != 543);
706|
707|   
708|   _Static_assert ((offsetof (struct anonymous, i)
709|                  == offsetof (struct anonymous, w.k)),
710|                 "Anonymous union alignment botch");
711|   v1.i = 2;
712|   v1.w.k = 5;
713|   ok |= v1.i != 5;
714|
715|   return ok;
716| }
717|
718configure:4283: result: unsupported
719configure:4301: checking for /usr/bin/gcc-4.2 option to enable C99 features
720configure:4316: /usr/bin/gcc-4.2  -c -pipe -Os -arch ppc -isystem/opt/local/include/LegacySupport -I/opt/local/include -D__DARWIN_64_BIT_INO_T conftest.c >&5
721conftest.c:63:3: error: #error "Compiler does not advertise C99 conformance"
722conftest.c:118: error: expected ';', ',' or ')' before 'text'
723conftest.c: In function 'main':
724conftest.c:180: error: nested functions are disabled, use -fnested-functions to re-enable
725conftest.c:180: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'newvar'
726conftest.c:180: error: 'newvar' undeclared (first use in this function)
727conftest.c:180: error: (Each undeclared identifier is reported only once
728conftest.c:180: error: for each function it appears in.)
729conftest.c:190: error: 'for' loop initial declaration used outside C99 mode
730configure:4316: $? = 1
731configure: failed program was:
732| /* confdefs.h */
733| #define PACKAGE_NAME "libuv"
734| #define PACKAGE_TARNAME "libuv"
735| #define PACKAGE_VERSION "1.44.1"
736| #define PACKAGE_STRING "libuv 1.44.1"
737| #define PACKAGE_BUGREPORT "https://github.com/libuv/libuv/issues"
738| #define PACKAGE_URL ""
739| #define PACKAGE "libuv"
740| #define VERSION "1.44.1"
741| /* end confdefs.h.  */
742|
743| /* Does the compiler advertise C89 conformance?
744|    Do not test the value of __STDC__, because some compilers set it to 0
745|    while being otherwise adequately conformant. */
746| #if !defined __STDC__
747| # error "Compiler does not advertise C89 conformance"
748| #endif
749|
750| #include <stddef.h>
751| #include <stdarg.h>
752| struct stat;
753| /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
754| struct buf { int x; };
755| struct buf * (*rcsopen) (struct buf *, struct stat *, int);
756| static char *e (p, i)
757|      char **p;
758|      int i;
759| {
760|   return p[i];
761| }
762| static char *f (char * (*g) (char **, int), char **p, ...)
763| {
764|   char *s;
765|   va_list v;
766|   va_start (v,p);
767|   s = g (p, va_arg (v,int));
768|   va_end (v);
769|   return s;
770| }
771|
772| /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
773|    function prototypes and stuff, but not \xHH hex character constants.
774|    These do not provoke an error unfortunately, instead are silently treated
775|    as an "x".  The following induces an error, until -std is added to get
776|    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
777|    array size at least.  It is necessary to write \x00 == 0 to get something
778|    that is true only with -std.  */
779| int osf4_cc_array ['\x00' == 0 ? 1 : -1];
780|
781| /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
782|    inside strings and character constants.  */
783| #define FOO(x) 'x'
784| int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
785|
786| int test (int i, double x);
787| struct s1 {int (*f) (int a);};
788| struct s2 {int (*f) (double a);};
789| int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
790|                int, int);
791|
792| // Does the compiler advertise C99 conformance?
793| #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
794| # error "Compiler does not advertise C99 conformance"
795| #endif
796|
797| #include <stdbool.h>
798| extern int puts (const char *);
799| extern int printf (const char *, ...);
800| extern int dprintf (int, const char *, ...);
801| extern void *malloc (size_t);
802|
803| // Check varargs macros.  These examples are taken from C99 6.10.3.5.
804| // dprintf is used instead of fprintf to avoid needing to declare
805| // FILE and stderr.
806| #define debug(...) dprintf (2, __VA_ARGS__)
807| #define showlist(...) puts (#__VA_ARGS__)
808| #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
809| static void
810| test_varargs_macros (void)
811| {
812|   int x = 1234;
813|   int y = 5678;
814|   debug ("Flag");
815|   debug ("X = %d\n", x);
816|   showlist (The first, second, and third items.);
817|   report (x>y, "x is %d but y is %d", x, y);
818| }
819|
820| // Check long long types.
821| #define BIG64 18446744073709551615ull
822| #define BIG32 4294967295ul
823| #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
824| #if !BIG_OK
825|   #error "your preprocessor is broken"
826| #endif
827| #if BIG_OK
828| #else
829|   #error "your preprocessor is broken"
830| #endif
831| static long long int bignum = -9223372036854775807LL;
832| static unsigned long long int ubignum = BIG64;
833|
834| struct incomplete_array
835| {
836|   int datasize;
837|   double data[];
838| };
839|
840| struct named_init {
841|   int number;
842|   const wchar_t *name;
843|   double average;
844| };
845|
846| typedef const char *ccp;
847|
848| static inline int
849| test_restrict (ccp restrict text)
850| {
851|   // See if C++-style comments work.
852|   // Iterate through items via the restricted pointer.
853|   // Also check for declarations in for loops.
854|   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
855|     continue;
856|   return 0;
857| }
858|
859| // Check varargs and va_copy.
860| static bool
861| test_varargs (const char *format, ...)
862| {
863|   va_list args;
864|   va_start (args, format);
865|   va_list args_copy;
866|   va_copy (args_copy, args);
867|
868|   const char *str = "";
869|   int number = 0;
870|   float fnumber = 0;
871|
872|   while (*format)
873|     {
874|       switch (*format++)
875|       {
876|       case 's': // string
877|         str = va_arg (args_copy, const char *);
878|         break;
879|       case 'd': // int
880|         number = va_arg (args_copy, int);
881|         break;
882|       case 'f': // float
883|         fnumber = va_arg (args_copy, double);
884|         break;
885|       default:
886|         break;
887|       }
888|     }
889|   va_end (args_copy);
890|   va_end (args);
891|
892|   return *str && number && fnumber;
893| }
894|
895|
896| int
897| main (int argc, char **argv)
898| {
899|   int ok = 0;
900|   
901| ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
902|
903|   
904|   // Check bool.
905|   _Bool success = false;
906|   success |= (argc != 0);
907|
908|   // Check restrict.
909|   if (test_restrict ("String literal") == 0)
910|     success = true;
911|   char *restrict newvar = "Another string";
912|
913|   // Check varargs.
914|   success &= test_varargs ("s, d' f .", "string", 65, 34.234);
915|   test_varargs_macros ();
916|
917|   // Check flexible array members.
918|   struct incomplete_array *ia =
919|     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
920|   ia->datasize = 10;
921|   for (int i = 0; i < ia->datasize; ++i)
922|     ia->data[i] = i * 1.234;
923|
924|   // Check named initializers.
925|   struct named_init ni = {
926|     .number = 34,
927|     .name = L"Test wide string",
928|     .average = 543.34343,
929|   };
930|
931|   ni.number = 58;
932|
933|   int dynamic_array[ni.number];
934|   dynamic_array[0] = argv[0][0];
935|   dynamic_array[ni.number - 1] = 543;
936|
937|   // work around unused variable warnings
938|   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
939|        || dynamic_array[ni.number - 1] != 543);
940|
941|   return ok;
942| }
943|
944configure:4316: /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -isystem/opt/local/include/LegacySupport -I/opt/local/include -D__DARWIN_64_BIT_INO_T conftest.c >&5
945configure:4316: $? = 0
946configure:4337: result: -std=gnu99
947configure:4404: checking whether /usr/bin/gcc-4.2 -std=gnu99 understands -c and -o together
948configure:4427: /usr/bin/gcc-4.2 -std=gnu99 -c conftest.c -o conftest2.o
949configure:4430: $? = 0
950configure:4427: /usr/bin/gcc-4.2 -std=gnu99 -c conftest.c -o conftest2.o
951configure:4430: $? = 0
952configure:4442: result: yes
953configure:4462: checking whether make supports the include directive
954configure:4477: make -f confmf.GNU && cat confinc.out
955this is the am__doit target
956configure:4480: $? = 0
957configure:4494: result: yes (GNU style)
958configure:4520: checking dependency style of /usr/bin/gcc-4.2 -std=gnu99
959configure:4632: result: gcc3
960configure:4651: checking for /usr/bin/gcc-4.2 -std=gnu99 way to treat warnings as errors
961configure:4668: /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -Werror -isystem/opt/local/include/LegacySupport -I/opt/local/include -D__DARWIN_64_BIT_INO_T conftest.c >&5
962configure:4668: $? = 0
963configure:4716: result: -Werror
964configure:4722: checking if /usr/bin/gcc-4.2 -std=gnu99 supports __attribute__(( visibility("default") ))
965configure:4740: /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -Werror -isystem/opt/local/include/LegacySupport -I/opt/local/include -D__DARWIN_64_BIT_INO_T conftest.c >&5
966configure:4740: $? = 0
967configure:4756: result: yes
968configure:4767: checking if /usr/bin/gcc-4.2 -std=gnu99 supports -fvisibility=hidden
969configure:4786: /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -Werror -fvisibility=hidden -isystem/opt/local/include/LegacySupport -I/opt/local/include -D__DARWIN_64_BIT_INO_T conftest.c >&5
970configure:4786: $? = 0
971configure:4807: result: yes
972configure:4825: checking if /usr/bin/gcc-4.2 -std=gnu99 supports -fno-strict-aliasing flag
973configure:4842: /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -fvisibility=hidden -fno-strict-aliasing -isystem/opt/local/include/LegacySupport -I/opt/local/include -D__DARWIN_64_BIT_INO_T conftest.c >&5
974configure:4842: $? = 0
975configure:4861: result: yes
976configure:4874: checking if /usr/bin/gcc-4.2 -std=gnu99 supports -g flag
977configure:4891: /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -fvisibility=hidden -g -isystem/opt/local/include/LegacySupport -I/opt/local/include -D__DARWIN_64_BIT_INO_T conftest.c >&5
978configure:4891: $? = 0
979configure:4910: result: yes
980configure:4923: checking if /usr/bin/gcc-4.2 -std=gnu99 supports -std=gnu89 flag
981configure:4940: /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -fvisibility=hidden -std=gnu89 -isystem/opt/local/include/LegacySupport -I/opt/local/include -D__DARWIN_64_BIT_INO_T conftest.c >&5
982configure:4940: $? = 0
983configure:4959: result: yes
984configure:4972: checking if /usr/bin/gcc-4.2 -std=gnu99 supports -Wall flag
985configure:4989: /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -fvisibility=hidden -Wall -isystem/opt/local/include/LegacySupport -I/opt/local/include -D__DARWIN_64_BIT_INO_T conftest.c >&5
986configure:4989: $? = 0
987configure:5008: result: yes
988configure:5021: checking if /usr/bin/gcc-4.2 -std=gnu99 supports -Wextra flag
989configure:5038: /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -fvisibility=hidden -Wextra -isystem/opt/local/include/LegacySupport -I/opt/local/include -D__DARWIN_64_BIT_INO_T conftest.c >&5
990configure:5038: $? = 0
991configure:5057: result: yes
992configure:5070: checking if /usr/bin/gcc-4.2 -std=gnu99 supports -Wno-long-long flag
993configure:5087: /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -fvisibility=hidden -Wno-long-long -isystem/opt/local/include/LegacySupport -I/opt/local/include -D__DARWIN_64_BIT_INO_T conftest.c >&5
994configure:5087: $? = 0
995configure:5106: result: yes
996configure:5119: checking if /usr/bin/gcc-4.2 -std=gnu99 supports -Wno-unused-parameter flag
997configure:5136: /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -fvisibility=hidden -Wno-unused-parameter -isystem/opt/local/include/LegacySupport -I/opt/local/include -D__DARWIN_64_BIT_INO_T conftest.c >&5
998configure:5136: $? = 0
999configure:5155: result: yes
1000configure:5168: checking if /usr/bin/gcc-4.2 -std=gnu99 supports -Wstrict-prototypes flag
1001configure:5185: /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -fvisibility=hidden -Wstrict-prototypes -isystem/opt/local/include/LegacySupport -I/opt/local/include -D__DARWIN_64_BIT_INO_T conftest.c >&5
1002configure:5185: $? = 0
1003configure:5204: result: yes
1004configure:5270: checking for ar
1005configure:5291: found /opt/local/bin/ar
1006configure:5302: result: ar
1007configure:5328: checking the archiver (ar) interface
1008configure:5345: /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -fvisibility=hidden -isystem/opt/local/include/LegacySupport -I/opt/local/include -D__DARWIN_64_BIT_INO_T conftest.c >&5
1009configure:5345: $? = 0
1010configure:5348: ar cru libconftest.a conftest.o >&5
1011configure:5351: $? = 0
1012configure:5379: result: ar
1013configure:5447: checking how to print strings
1014configure:5474: result: printf
1015configure:5495: checking for a sed that does not truncate output
1016configure:5565: result: /opt/local/bin/gsed
1017configure:5583: checking for grep that handles long lines and -e
1018configure:5647: result: /opt/local/bin/ggrep
1019configure:5652: checking for egrep
1020configure:5720: result: /opt/local/bin/ggrep -E
1021configure:5725: checking for fgrep
1022configure:5793: result: /opt/local/bin/ggrep -F
1023configure:5829: checking for ld used by /usr/bin/gcc-4.2 -std=gnu99
1024configure:5897: result: /usr/libexec/gcc/powerpc-apple-darwin9/4.2.1/ld
1025configure:5904: checking if the linker (/usr/libexec/gcc/powerpc-apple-darwin9/4.2.1/ld) is GNU ld
1026configure:5920: result: no
1027configure:5932: checking for BSD- or MS-compatible name lister (nm)
1028configure:5987: result: /usr/bin/nm -p
1029configure:6127: checking the name lister (/usr/bin/nm -p) interface
1030configure:6135: /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -fvisibility=hidden -isystem/opt/local/include/LegacySupport -I/opt/local/include -D__DARWIN_64_BIT_INO_T conftest.c >&5
1031configure:6138: /usr/bin/nm -p "conftest.o"
1032configure:6141: output
103300000000 D _some_variable
1034configure:6148: result: BSD nm
1035configure:6151: checking whether ln -s works
1036configure:6155: result: yes
1037configure:6163: checking the maximum length of command line arguments
1038configure:6295: result: 196608
1039configure:6343: checking how to convert powerpc-apple-darwin9.8.0 file names to powerpc-apple-darwin9.8.0 format
1040configure:6384: result: func_convert_file_noop
1041configure:6391: checking how to convert powerpc-apple-darwin9.8.0 file names to toolchain format
1042configure:6412: result: func_convert_file_noop
1043configure:6419: checking for /usr/libexec/gcc/powerpc-apple-darwin9/4.2.1/ld option to reload object files
1044configure:6427: result: -r
1045configure:6506: checking for objdump
1046configure:6541: result: no
1047configure:6570: checking how to recognize dependent libraries
1048configure:6771: result: pass_all
1049configure:6861: checking for dlltool
1050configure:6896: result: no
1051configure:6926: checking how to associate runtime and link libraries
1052configure:6954: result: printf %s\n
1053configure:7088: checking for archiver @FILE support
1054configure:7106: /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -fvisibility=hidden -isystem/opt/local/include/LegacySupport -I/opt/local/include -D__DARWIN_64_BIT_INO_T conftest.c >&5
1055configure:7106: $? = 0
1056configure:7110: ar cru libconftest.a @conftest.lst >&5
1057ar: @conftest.lst: No such file or directory
1058configure:7113: $? = 1
1059configure:7133: result: no
1060configure:7196: checking for strip
1061configure:7217: found /opt/local/bin/strip
1062configure:7228: result: strip
1063configure:7305: checking for ranlib
1064configure:7326: found /opt/local/bin/ranlib
1065configure:7337: result: ranlib
1066configure:7439: checking command to parse /usr/bin/nm -p output from /usr/bin/gcc-4.2 -std=gnu99 object
1067configure:7593: /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -fvisibility=hidden -isystem/opt/local/include/LegacySupport -I/opt/local/include -D__DARWIN_64_BIT_INO_T conftest.c >&5
1068configure:7596: $? = 0
1069configure:7600: /usr/bin/nm -p conftest.o \| sed -n -e 's/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm
1070configure:7603: $? = 0
1071cannot find nm_test_var in conftest.nm
1072configure:7593: /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -fvisibility=hidden -isystem/opt/local/include/LegacySupport -I/opt/local/include -D__DARWIN_64_BIT_INO_T conftest.c >&5
1073configure:7596: $? = 0
1074configure:7600: /usr/bin/nm -p conftest.o \| sed -n -e 's/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm
1075configure:7603: $? = 0
1076configure:7669: /usr/bin/gcc-4.2 -std=gnu99 -o conftest -pipe -Os -arch ppc -fvisibility=hidden -isystem/opt/local/include/LegacySupport -I/opt/local/include -D__DARWIN_64_BIT_INO_T -Wl,-headerpad_max_install_names -L/opt/local/lib -lMacportsLegacySupport -arch ppc conftest.c conftstm.o >&5
1077configure:7672: $? = 0
1078configure:7710: result: ok
1079configure:7757: checking for sysroot
1080configure:7788: result: no
1081configure:7795: checking for a working dd
1082configure:7839: result: /bin/dd
1083configure:7843: checking how to truncate binary pipes
1084configure:7859: result: /bin/dd bs=4096 count=1
1085configure:8196: checking for mt
1086configure:8231: result: no
1087configure:8251: checking if : is a manifest tool
1088configure:8258: : '-?'
1089configure:8266: result: no
1090configure:8327: checking for dsymutil
1091configure:8348: found /usr/bin/dsymutil
1092configure:8359: result: dsymutil
1093configure:8429: checking for nmedit
1094configure:8450: found /opt/local/bin/nmedit
1095configure:8461: result: nmedit
1096configure:8531: checking for lipo
1097configure:8552: found /opt/local/bin/lipo
1098configure:8563: result: lipo
1099configure:8633: checking for otool
1100configure:8654: found /opt/local/bin/otool
1101configure:8665: result: otool
1102configure:8735: checking for otool64
1103configure:8770: result: no
1104configure:8815: checking for -single_module linker flag
1105/usr/bin/gcc-4.2 -std=gnu99 -pipe -Os -arch ppc -fvisibility=hidden -Wl,-headerpad_max_install_names -L/opt/local/lib -lMacportsLegacySupport -arch ppc -o libconftest.dylib -dynamiclib -Wl,-single_module conftest.c
1106configure:8849: result: yes
1107configure:8852: checking for -exported_symbols_list linker flag
1108configure:8873: /usr/bin/gcc-4.2 -std=gnu99 -o conftest -pipe -Os -arch ppc -fvisibility=hidden -isystem/opt/local/include/LegacySupport -I/opt/local/include -D__DARWIN_64_BIT_INO_T -Wl,-headerpad_max_install_names -L/opt/local/lib -lMacportsLegacySupport -arch ppc -Wl,-exported_symbols_list,conftest.sym conftest.c  >&5
1109ld warning: cannot export hidden symbol _main from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libuv/libuv/work/.tmp/ccmGiFbP.o
1110configure:8873: $? = 0
1111configure:8884: result: yes
1112configure:8887: checking for -force_load linker flag
1113/usr/bin/gcc-4.2 -std=gnu99 -pipe -Os -arch ppc -fvisibility=hidden -c -o conftest.o conftest.c
1114ar cru libconftest.a conftest.o
1115ranlib libconftest.a
1116/usr/bin/gcc-4.2 -std=gnu99 -pipe -Os -arch ppc -fvisibility=hidden -Wl,-headerpad_max_install_names -L/opt/local/lib -lMacportsLegacySupport -arch ppc -o conftest conftest.c -Wl,-force_load,./libconftest.a
1117ld: unknown option: -force_load
1118collect2: ld returned 1 exit status
1119configure:8920: result: no
1120configure:8991: checking for stdio.h
1121configure:8991: /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -fvisibility=hidden -isystem/opt/local/include/LegacySupport -I/opt/local/include -D__DARWIN_64_BIT_INO_T conftest.c >&5
1122configure:8991: $? = 0
1123configure:8991: result: yes
1124configure:8991: checking for stdlib.h
1125configure:8991: /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -fvisibility=hidden -isystem/opt/local/include/LegacySupport -I/opt/local/include -D__DARWIN_64_BIT_INO_T conftest.c >&5
1126configure:8991: $? = 0
1127configure:8991: result: yes
1128configure:8991: checking for string.h
1129configure:8991: /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -fvisibility=hidden -isystem/opt/local/include/LegacySupport -I/opt/local/include -D__DARWIN_64_BIT_INO_T conftest.c >&5
1130configure:8991: $? = 0
1131configure:8991: result: yes
1132configure:8991: checking for inttypes.h
1133configure:8991: /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -fvisibility=hidden -isystem/opt/local/include/LegacySupport -I/opt/local/include -D__DARWIN_64_BIT_INO_T conftest.c >&5
1134configure:8991: $? = 0
1135configure:8991: result: yes
1136configure:8991: checking for stdint.h
1137configure:8991: /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -fvisibility=hidden -isystem/opt/local/include/LegacySupport -I/opt/local/include -D__DARWIN_64_BIT_INO_T conftest.c >&5
1138configure:8991: $? = 0
1139configure:8991: result: yes
1140configure:8991: checking for strings.h
1141configure:8991: /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -fvisibility=hidden -isystem/opt/local/include/LegacySupport -I/opt/local/include -D__DARWIN_64_BIT_INO_T conftest.c >&5
1142configure:8991: $? = 0
1143configure:8991: result: yes
1144configure:8991: checking for sys/stat.h
1145configure:8991: /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -fvisibility=hidden -isystem/opt/local/include/LegacySupport -I/opt/local/include -D__DARWIN_64_BIT_INO_T conftest.c >&5
1146configure:8991: $? = 0
1147configure:8991: result: yes
1148configure:8991: checking for sys/types.h
1149configure:8991: /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -fvisibility=hidden -isystem/opt/local/include/LegacySupport -I/opt/local/include -D__DARWIN_64_BIT_INO_T conftest.c >&5
1150configure:8991: $? = 0
1151configure:8991: result: yes
1152configure:8991: checking for unistd.h
1153configure:8991: /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -fvisibility=hidden -isystem/opt/local/include/LegacySupport -I/opt/local/include -D__DARWIN_64_BIT_INO_T conftest.c >&5
1154configure:8991: $? = 0
1155configure:8991: result: yes
1156configure:9016: checking for dlfcn.h
1157configure:9016: /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -fvisibility=hidden -isystem/opt/local/include/LegacySupport -I/opt/local/include -D__DARWIN_64_BIT_INO_T conftest.c >&5
1158configure:9016: $? = 0
1159configure:9016: result: yes
1160configure:9213: checking for objdir
1161configure:9229: result: .libs
1162configure:9493: checking if /usr/bin/gcc-4.2 -std=gnu99 supports -fno-rtti -fno-exceptions
1163configure:9512: /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -fvisibility=hidden -isystem/opt/local/include/LegacySupport -I/opt/local/include -D__DARWIN_64_BIT_INO_T -fno-rtti -fno-exceptions conftest.c >&5
1164cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C
1165configure:9516: $? = 0
1166configure:9529: result: no
1167configure:9887: checking for /usr/bin/gcc-4.2 -std=gnu99 option to produce PIC
1168configure:9895: result: -fno-common -DPIC
1169configure:9903: checking if /usr/bin/gcc-4.2 -std=gnu99 PIC flag -fno-common -DPIC works
1170configure:9922: /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -fvisibility=hidden -isystem/opt/local/include/LegacySupport -I/opt/local/include -D__DARWIN_64_BIT_INO_T -fno-common -DPIC -DPIC conftest.c >&5
1171configure:9926: $? = 0
1172configure:9939: result: yes
1173configure:9968: checking if /usr/bin/gcc-4.2 -std=gnu99 static flag -static works
1174configure:9997: result: no
1175configure:10012: checking if /usr/bin/gcc-4.2 -std=gnu99 supports -c -o file.o
1176configure:10034: /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -fvisibility=hidden -isystem/opt/local/include/LegacySupport -I/opt/local/include -D__DARWIN_64_BIT_INO_T -o out/conftest2.o conftest.c >&5
1177configure:10038: $? = 0
1178configure:10060: result: yes
1179configure:10068: checking if /usr/bin/gcc-4.2 -std=gnu99 supports -c -o file.o
1180configure:10116: result: yes
1181configure:10149: checking whether the /usr/bin/gcc-4.2 -std=gnu99 linker (/usr/libexec/gcc/powerpc-apple-darwin9/4.2.1/ld) supports shared libraries
1182configure:11415: result: yes
1183configure:11656: checking dynamic linker characteristics
1184configure:12477: result: darwin9.8.0 dyld
1185configure:12599: checking how to hardcode library paths into programs
1186configure:12624: result: immediate
1187configure:13176: checking whether stripping libraries is possible
1188configure:13190: result: yes
1189configure:13216: checking if libtool supports shared libraries
1190configure:13218: result: yes
1191configure:13221: checking whether to build shared libraries
1192configure:13246: result: yes
1193configure:13249: checking whether to build static libraries
1194configure:13253: result: yes
1195configure:13302: checking whether make supports nested variables
1196configure:13320: result: yes
1197configure:13337: checking how to run the C preprocessor
1198configure:13363: /usr/bin/gcc-4.2 -std=gnu99 -E -isystem/opt/local/include/LegacySupport -I/opt/local/include -D__DARWIN_64_BIT_INO_T conftest.c
1199configure:13363: $? = 0
1200configure:13378: /usr/bin/gcc-4.2 -std=gnu99 -E -isystem/opt/local/include/LegacySupport -I/opt/local/include -D__DARWIN_64_BIT_INO_T conftest.c
1201conftest.c:25:28: error: ac_nonexistent.h: No such file or directory
1202configure:13378: $? = 1
1203configure: failed program was:
1204| /* confdefs.h */
1205| #define PACKAGE_NAME "libuv"
1206| #define PACKAGE_TARNAME "libuv"
1207| #define PACKAGE_VERSION "1.44.1"
1208| #define PACKAGE_STRING "libuv 1.44.1"
1209| #define PACKAGE_BUGREPORT "https://github.com/libuv/libuv/issues"
1210| #define PACKAGE_URL ""
1211| #define PACKAGE "libuv"
1212| #define VERSION "1.44.1"
1213| #define SUPPORT_ATTRIBUTE_VISIBILITY_DEFAULT 1
1214| #define SUPPORT_FLAG_VISIBILITY 1
1215| #define HAVE_STDIO_H 1
1216| #define HAVE_STDLIB_H 1
1217| #define HAVE_STRING_H 1
1218| #define HAVE_INTTYPES_H 1
1219| #define HAVE_STDINT_H 1
1220| #define HAVE_STRINGS_H 1
1221| #define HAVE_SYS_STAT_H 1
1222| #define HAVE_SYS_TYPES_H 1
1223| #define HAVE_UNISTD_H 1
1224| #define STDC_HEADERS 1
1225| #define HAVE_DLFCN_H 1
1226| #define LT_OBJDIR ".libs/"
1227| /* end confdefs.h.  */
1228| #include <ac_nonexistent.h>
1229configure:13405: result: /usr/bin/gcc-4.2 -std=gnu99 -E
1230configure:13419: /usr/bin/gcc-4.2 -std=gnu99 -E -isystem/opt/local/include/LegacySupport -I/opt/local/include -D__DARWIN_64_BIT_INO_T conftest.c
1231configure:13419: $? = 0
1232configure:13434: /usr/bin/gcc-4.2 -std=gnu99 -E -isystem/opt/local/include/LegacySupport -I/opt/local/include -D__DARWIN_64_BIT_INO_T conftest.c
1233conftest.c:25:28: error: ac_nonexistent.h: No such file or directory
1234configure:13434: $? = 1
1235configure: failed program was:
1236| /* confdefs.h */
1237| #define PACKAGE_NAME "libuv"
1238| #define PACKAGE_TARNAME "libuv"
1239| #define PACKAGE_VERSION "1.44.1"
1240| #define PACKAGE_STRING "libuv 1.44.1"
1241| #define PACKAGE_BUGREPORT "https://github.com/libuv/libuv/issues"
1242| #define PACKAGE_URL ""
1243| #define PACKAGE "libuv"
1244| #define VERSION "1.44.1"
1245| #define SUPPORT_ATTRIBUTE_VISIBILITY_DEFAULT 1
1246| #define SUPPORT_FLAG_VISIBILITY 1
1247| #define HAVE_STDIO_H 1
1248| #define HAVE_STDLIB_H 1
1249| #define HAVE_STRING_H 1
1250| #define HAVE_INTTYPES_H 1
1251| #define HAVE_STDINT_H 1
1252| #define HAVE_STRINGS_H 1
1253| #define HAVE_SYS_STAT_H 1
1254| #define HAVE_SYS_TYPES_H 1
1255| #define HAVE_UNISTD_H 1
1256| #define STDC_HEADERS 1
1257| #define HAVE_DLFCN_H 1
1258| #define LT_OBJDIR ".libs/"
1259| /* end confdefs.h.  */
1260| #include <ac_nonexistent.h>
1261configure:13650: checking whether /usr/bin/gcc-4.2 -std=gnu99 is Clang
1262configure:13677: result: no
1263configure:13805: checking whether pthreads work with -pthread
1264configure:13905: /usr/bin/gcc-4.2 -std=gnu99 -o conftest -pipe -Os -arch ppc -fvisibility=hidden -pthread -isystem/opt/local/include/LegacySupport -I/opt/local/include -D__DARWIN_64_BIT_INO_T -Wl,-headerpad_max_install_names -L/opt/local/lib -lMacportsLegacySupport -arch ppc conftest.c   >&5
1265configure:13905: $? = 0
1266configure:13915: result: yes
1267configure:13935: checking for joinable pthread attribute
1268configure:13954: /usr/bin/gcc-4.2 -std=gnu99 -o conftest -pipe -Os -arch ppc -fvisibility=hidden -pthread -isystem/opt/local/include/LegacySupport -I/opt/local/include -D__DARWIN_64_BIT_INO_T -Wl,-headerpad_max_install_names -L/opt/local/lib -lMacportsLegacySupport -arch ppc conftest.c   >&5
1269configure:13954: $? = 0
1270configure:13963: result: PTHREAD_CREATE_JOINABLE
1271configure:13976: checking whether more special flags are required for pthreads
1272configure:13990: result: no
1273configure:13999: checking for PTHREAD_PRIO_INHERIT
1274configure:14016: /usr/bin/gcc-4.2 -std=gnu99 -o conftest -pipe -Os -arch ppc -fvisibility=hidden -pthread -isystem/opt/local/include/LegacySupport -I/opt/local/include -D__DARWIN_64_BIT_INO_T -Wl,-headerpad_max_install_names -L/opt/local/lib -lMacportsLegacySupport -arch ppc conftest.c   >&5
1275configure:14016: $? = 0
1276configure:14026: result: yes
1277configure:14131: checking for library containing dlopen
1278configure:14161: /usr/bin/gcc-4.2 -std=gnu99 -o conftest -pipe -Os -arch ppc -fvisibility=hidden -pthread -isystem/opt/local/include/LegacySupport -I/opt/local/include -D__DARWIN_64_BIT_INO_T -Wl,-headerpad_max_install_names -L/opt/local/lib -lMacportsLegacySupport -arch ppc conftest.c   >&5
1279configure:14161: $? = 0
1280configure:14181: result: none required
1281configure:14190: checking for library containing kstat_lookup
1282configure:14220: /usr/bin/gcc-4.2 -std=gnu99 -o conftest -pipe -Os -arch ppc -fvisibility=hidden -pthread -isystem/opt/local/include/LegacySupport -I/opt/local/include -D__DARWIN_64_BIT_INO_T -Wl,-headerpad_max_install_names -L/opt/local/lib -lMacportsLegacySupport -arch ppc conftest.c   >&5
1283Undefined symbols:
1284  "_kstat_lookup", referenced from:
1285      _main in cciGiJ4z.o
1286ld: symbol(s) not found
1287collect2: ld returned 1 exit status
1288configure:14220: $? = 1
1289configure: failed program was:
1290| /* confdefs.h */
1291| #define PACKAGE_NAME "libuv"
1292| #define PACKAGE_TARNAME "libuv"
1293| #define PACKAGE_VERSION "1.44.1"
1294| #define PACKAGE_STRING "libuv 1.44.1"
1295| #define PACKAGE_BUGREPORT "https://github.com/libuv/libuv/issues"
1296| #define PACKAGE_URL ""
1297| #define PACKAGE "libuv"
1298| #define VERSION "1.44.1"
1299| #define SUPPORT_ATTRIBUTE_VISIBILITY_DEFAULT 1
1300| #define SUPPORT_FLAG_VISIBILITY 1
1301| #define HAVE_STDIO_H 1
1302| #define HAVE_STDLIB_H 1
1303| #define HAVE_STRING_H 1
1304| #define HAVE_INTTYPES_H 1
1305| #define HAVE_STDINT_H 1
1306| #define HAVE_STRINGS_H 1
1307| #define HAVE_SYS_STAT_H 1
1308| #define HAVE_SYS_TYPES_H 1
1309| #define HAVE_UNISTD_H 1
1310| #define STDC_HEADERS 1
1311| #define HAVE_DLFCN_H 1
1312| #define LT_OBJDIR ".libs/"
1313| #define HAVE_PTHREAD_PRIO_INHERIT 1
1314| /* end confdefs.h.  */
1315|
1316| /* Override any GCC internal prototype to avoid an error.
1317|    Use char because int might match the return type of a GCC
1318|    builtin and then its argument prototype would still apply.  */
1319| char kstat_lookup ();
1320| int
1321| main (void)
1322| {
1323| return kstat_lookup ();
1324|   ;
1325|   return 0;
1326| }
1327configure:14220: /usr/bin/gcc-4.2 -std=gnu99 -o conftest -pipe -Os -arch ppc -fvisibility=hidden -pthread -isystem/opt/local/include/LegacySupport -I/opt/local/include -D__DARWIN_64_BIT_INO_T -Wl,-headerpad_max_install_names -L/opt/local/lib -lMacportsLegacySupport -arch ppc conftest.c -lkstat    >&5
1328ld: library not found for -lkstat
1329collect2: ld returned 1 exit status
1330configure:14220: $? = 1
1331configure: failed program was:
1332| /* confdefs.h */
1333| #define PACKAGE_NAME "libuv"
1334| #define PACKAGE_TARNAME "libuv"
1335| #define PACKAGE_VERSION "1.44.1"
1336| #define PACKAGE_STRING "libuv 1.44.1"
1337| #define PACKAGE_BUGREPORT "https://github.com/libuv/libuv/issues"
1338| #define PACKAGE_URL ""
1339| #define PACKAGE "libuv"
1340| #define VERSION "1.44.1"
1341| #define SUPPORT_ATTRIBUTE_VISIBILITY_DEFAULT 1
1342| #define SUPPORT_FLAG_VISIBILITY 1
1343| #define HAVE_STDIO_H 1
1344| #define HAVE_STDLIB_H 1
1345| #define HAVE_STRING_H 1
1346| #define HAVE_INTTYPES_H 1
1347| #define HAVE_STDINT_H 1
1348| #define HAVE_STRINGS_H 1
1349| #define HAVE_SYS_STAT_H 1
1350| #define HAVE_SYS_TYPES_H 1
1351| #define HAVE_UNISTD_H 1
1352| #define STDC_HEADERS 1
1353| #define HAVE_DLFCN_H 1
1354| #define LT_OBJDIR ".libs/"
1355| #define HAVE_PTHREAD_PRIO_INHERIT 1
1356| /* end confdefs.h.  */
1357|
1358| /* Override any GCC internal prototype to avoid an error.
1359|    Use char because int might match the return type of a GCC
1360|    builtin and then its argument prototype would still apply.  */
1361| char kstat_lookup ();
1362| int
1363| main (void)
1364| {
1365| return kstat_lookup ();
1366|   ;
1367|   return 0;
1368| }
1369configure:14240: result: no
1370configure:14249: checking for library containing gethostbyname
1371configure:14279: /usr/bin/gcc-4.2 -std=gnu99 -o conftest -pipe -Os -arch ppc -fvisibility=hidden -pthread -isystem/opt/local/include/LegacySupport -I/opt/local/include -D__DARWIN_64_BIT_INO_T -Wl,-headerpad_max_install_names -L/opt/local/lib -lMacportsLegacySupport -arch ppc conftest.c   >&5
1372configure:14279: $? = 0
1373configure:14299: result: none required
1374configure:14308: checking for library containing perfstat_cpu
1375configure:14338: /usr/bin/gcc-4.2 -std=gnu99 -o conftest -pipe -Os -arch ppc -fvisibility=hidden -pthread -isystem/opt/local/include/LegacySupport -I/opt/local/include -D__DARWIN_64_BIT_INO_T -Wl,-headerpad_max_install_names -L/opt/local/lib -lMacportsLegacySupport -arch ppc conftest.c   >&5
1376Undefined symbols:
1377  "_perfstat_cpu", referenced from:
1378      _main in ccWRA2Ay.o
1379ld: symbol(s) not found
1380collect2: ld returned 1 exit status
1381configure:14338: $? = 1
1382configure: failed program was:
1383| /* confdefs.h */
1384| #define PACKAGE_NAME "libuv"
1385| #define PACKAGE_TARNAME "libuv"
1386| #define PACKAGE_VERSION "1.44.1"
1387| #define PACKAGE_STRING "libuv 1.44.1"
1388| #define PACKAGE_BUGREPORT "https://github.com/libuv/libuv/issues"
1389| #define PACKAGE_URL ""
1390| #define PACKAGE "libuv"
1391| #define VERSION "1.44.1"
1392| #define SUPPORT_ATTRIBUTE_VISIBILITY_DEFAULT 1
1393| #define SUPPORT_FLAG_VISIBILITY 1
1394| #define HAVE_STDIO_H 1
1395| #define HAVE_STDLIB_H 1
1396| #define HAVE_STRING_H 1
1397| #define HAVE_INTTYPES_H 1
1398| #define HAVE_STDINT_H 1
1399| #define HAVE_STRINGS_H 1
1400| #define HAVE_SYS_STAT_H 1
1401| #define HAVE_SYS_TYPES_H 1
1402| #define HAVE_UNISTD_H 1
1403| #define STDC_HEADERS 1
1404| #define HAVE_DLFCN_H 1
1405| #define LT_OBJDIR ".libs/"
1406| #define HAVE_PTHREAD_PRIO_INHERIT 1
1407| /* end confdefs.h.  */
1408|
1409| /* Override any GCC internal prototype to avoid an error.
1410|    Use char because int might match the return type of a GCC
1411|    builtin and then its argument prototype would still apply.  */
1412| char perfstat_cpu ();
1413| int
1414| main (void)
1415| {
1416| return perfstat_cpu ();
1417|   ;
1418|   return 0;
1419| }
1420configure:14338: /usr/bin/gcc-4.2 -std=gnu99 -o conftest -pipe -Os -arch ppc -fvisibility=hidden -pthread -isystem/opt/local/include/LegacySupport -I/opt/local/include -D__DARWIN_64_BIT_INO_T -Wl,-headerpad_max_install_names -L/opt/local/lib -lMacportsLegacySupport -arch ppc conftest.c -lperfstat    >&5
1421ld: library not found for -lperfstat
1422collect2: ld returned 1 exit status
1423configure:14338: $? = 1
1424configure: failed program was:
1425| /* confdefs.h */
1426| #define PACKAGE_NAME "libuv"
1427| #define PACKAGE_TARNAME "libuv"
1428| #define PACKAGE_VERSION "1.44.1"
1429| #define PACKAGE_STRING "libuv 1.44.1"
1430| #define PACKAGE_BUGREPORT "https://github.com/libuv/libuv/issues"
1431| #define PACKAGE_URL ""
1432| #define PACKAGE "libuv"
1433| #define VERSION "1.44.1"
1434| #define SUPPORT_ATTRIBUTE_VISIBILITY_DEFAULT 1
1435| #define SUPPORT_FLAG_VISIBILITY 1
1436| #define HAVE_STDIO_H 1
1437| #define HAVE_STDLIB_H 1
1438| #define HAVE_STRING_H 1
1439| #define HAVE_INTTYPES_H 1
1440| #define HAVE_STDINT_H 1
1441| #define HAVE_STRINGS_H 1
1442| #define HAVE_SYS_STAT_H 1
1443| #define HAVE_SYS_TYPES_H 1
1444| #define HAVE_UNISTD_H 1
1445| #define STDC_HEADERS 1
1446| #define HAVE_DLFCN_H 1
1447| #define LT_OBJDIR ".libs/"
1448| #define HAVE_PTHREAD_PRIO_INHERIT 1
1449| /* end confdefs.h.  */
1450|
1451| /* Override any GCC internal prototype to avoid an error.
1452|    Use char because int might match the return type of a GCC
1453|    builtin and then its argument prototype would still apply.  */
1454| char perfstat_cpu ();
1455| int
1456| main (void)
1457| {
1458| return perfstat_cpu ();
1459|   ;
1460|   return 0;
1461| }
1462configure:14358: result: no
1463configure:14367: checking for library containing clock_gettime
1464configure:14397: /usr/bin/gcc-4.2 -std=gnu99 -o conftest -pipe -Os -arch ppc -fvisibility=hidden -pthread -isystem/opt/local/include/LegacySupport -I/opt/local/include -D__DARWIN_64_BIT_INO_T -Wl,-headerpad_max_install_names -L/opt/local/lib -lMacportsLegacySupport -arch ppc conftest.c   >&5
1465configure:14397: $? = 0
1466configure:14417: result: none required
1467configure:14426: checking for library containing sendfile
1468configure:14456: /usr/bin/gcc-4.2 -std=gnu99 -o conftest -pipe -Os -arch ppc -fvisibility=hidden -pthread -isystem/opt/local/include/LegacySupport -I/opt/local/include -D__DARWIN_64_BIT_INO_T -Wl,-headerpad_max_install_names -L/opt/local/lib -lMacportsLegacySupport -arch ppc conftest.c   >&5
1469configure:14456: $? = 0
1470configure:14476: result: none required
1471configure:14485: checking for library containing socket
1472configure:14515: /usr/bin/gcc-4.2 -std=gnu99 -o conftest -pipe -Os -arch ppc -fvisibility=hidden -pthread -isystem/opt/local/include/LegacySupport -I/opt/local/include -D__DARWIN_64_BIT_INO_T -Wl,-headerpad_max_install_names -L/opt/local/lib -lMacportsLegacySupport -arch ppc conftest.c   >&5
1473configure:14515: $? = 0
1474configure:14535: result: none required
1475configure:14552: checking for special C compiler options needed for large files
1476configure:14600: result: no
1477configure:14606: checking for _FILE_OFFSET_BITS value needed for large files
1478configure:14632: /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -fvisibility=hidden -pthread -isystem/opt/local/include/LegacySupport -I/opt/local/include -D__DARWIN_64_BIT_INO_T conftest.c >&5
1479configure:14632: $? = 0
1480configure:14666: result: no
1481configure:14984: checking for sys/ahafs_evProds.h
1482configure:14984: /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -fvisibility=hidden -pthread -isystem/opt/local/include/LegacySupport -I/opt/local/include -D__DARWIN_64_BIT_INO_T conftest.c >&5
1483conftest.c:54:31: error: sys/ahafs_evProds.h: No such file or directory
1484configure:14984: $? = 1
1485configure: failed program was:
1486| /* confdefs.h */
1487| #define PACKAGE_NAME "libuv"
1488| #define PACKAGE_TARNAME "libuv"
1489| #define PACKAGE_VERSION "1.44.1"
1490| #define PACKAGE_STRING "libuv 1.44.1"
1491| #define PACKAGE_BUGREPORT "https://github.com/libuv/libuv/issues"
1492| #define PACKAGE_URL ""
1493| #define PACKAGE "libuv"
1494| #define VERSION "1.44.1"
1495| #define SUPPORT_ATTRIBUTE_VISIBILITY_DEFAULT 1
1496| #define SUPPORT_FLAG_VISIBILITY 1
1497| #define HAVE_STDIO_H 1
1498| #define HAVE_STDLIB_H 1
1499| #define HAVE_STRING_H 1
1500| #define HAVE_INTTYPES_H 1
1501| #define HAVE_STDINT_H 1
1502| #define HAVE_STRINGS_H 1
1503| #define HAVE_SYS_STAT_H 1
1504| #define HAVE_SYS_TYPES_H 1
1505| #define HAVE_UNISTD_H 1
1506| #define STDC_HEADERS 1
1507| #define HAVE_DLFCN_H 1
1508| #define LT_OBJDIR ".libs/"
1509| #define HAVE_PTHREAD_PRIO_INHERIT 1
1510| /* end confdefs.h.  */
1511| #include <stddef.h>
1512| #ifdef HAVE_STDIO_H
1513| # include <stdio.h>
1514| #endif
1515| #ifdef HAVE_STDLIB_H
1516| # include <stdlib.h>
1517| #endif
1518| #ifdef HAVE_STRING_H
1519| # include <string.h>
1520| #endif
1521| #ifdef HAVE_INTTYPES_H
1522| # include <inttypes.h>
1523| #endif
1524| #ifdef HAVE_STDINT_H
1525| # include <stdint.h>
1526| #endif
1527| #ifdef HAVE_STRINGS_H
1528| # include <strings.h>
1529| #endif
1530| #ifdef HAVE_SYS_TYPES_H
1531| # include <sys/types.h>
1532| #endif
1533| #ifdef HAVE_SYS_STAT_H
1534| # include <sys/stat.h>
1535| #endif
1536| #ifdef HAVE_UNISTD_H
1537| # include <unistd.h>
1538| #endif
1539| #include <sys/ahafs_evProds.h>
1540configure:14984: result: no
1541configure:15144: checking that generated files are newer than configure
1542configure:15150: result: done
1543configure:15237: creating ./config.status
1544
1545## ---------------------- ##
1546## Running config.status. ##
1547## ---------------------- ##
1548
1549This file was extended by libuv config.status 1.44.1, which was
1550generated by GNU Autoconf 2.71.  Invocation command line was
1551
1552  CONFIG_FILES    =
1553  CONFIG_HEADERS  =
1554  CONFIG_LINKS    =
1555  CONFIG_COMMANDS =
1556  $ ./config.status
1557
1558on 36-120.wireless-city.scu.edu.tw
1559
1560config.status:1048: creating Makefile
1561config.status:1048: creating libuv.pc
1562config.status:1251: executing depfiles commands
1563config.status:1324: cd .       && sed -e '/# am--include-marker/d' Makefile         | make -f - am--depfiles
1564config.status:1329: $? = 0
1565config.status:1251: executing libtool commands
1566
1567## ---------------- ##
1568## Cache variables. ##
1569## ---------------- ##
1570
1571ac_cv_build=powerpc-apple-darwin9.8.0
1572ac_cv_c_compiler_gnu=yes
1573ac_cv_env_CC_set=set
1574ac_cv_env_CC_value=/usr/bin/gcc-4.2
1575ac_cv_env_CFLAGS_set=set
1576ac_cv_env_CFLAGS_value='-pipe -Os -arch ppc'
1577ac_cv_env_CPPFLAGS_set=set
1578ac_cv_env_CPPFLAGS_value='-isystem/opt/local/include/LegacySupport -I/opt/local/include -D__DARWIN_64_BIT_INO_T'
1579ac_cv_env_CPP_set=
1580ac_cv_env_CPP_value=
1581ac_cv_env_LDFLAGS_set=set
1582ac_cv_env_LDFLAGS_value='-Wl,-headerpad_max_install_names -L/opt/local/lib -lMacportsLegacySupport -arch ppc'
1583ac_cv_env_LIBS_set=
1584ac_cv_env_LIBS_value=
1585ac_cv_env_LT_SYS_LIBRARY_PATH_set=
1586ac_cv_env_LT_SYS_LIBRARY_PATH_value=
1587ac_cv_env_build_alias_set=
1588ac_cv_env_build_alias_value=
1589ac_cv_env_host_alias_set=
1590ac_cv_env_host_alias_value=
1591ac_cv_env_target_alias_set=
1592ac_cv_env_target_alias_value=
1593ac_cv_header_dlfcn_h=yes
1594ac_cv_header_inttypes_h=yes
1595ac_cv_header_stdint_h=yes
1596ac_cv_header_stdio_h=yes
1597ac_cv_header_stdlib_h=yes
1598ac_cv_header_string_h=yes
1599ac_cv_header_strings_h=yes
1600ac_cv_header_sys_ahafs_evProds_h=no
1601ac_cv_header_sys_stat_h=yes
1602ac_cv_header_sys_types_h=yes
1603ac_cv_header_unistd_h=yes
1604ac_cv_host=powerpc-apple-darwin9.8.0
1605ac_cv_objext=o
1606ac_cv_path_EGREP='/opt/local/bin/ggrep -E'
1607ac_cv_path_FGREP='/opt/local/bin/ggrep -F'
1608ac_cv_path_GREP=/opt/local/bin/ggrep
1609ac_cv_path_SED=/opt/local/bin/gsed
1610ac_cv_path_lt_DD=/bin/dd
1611ac_cv_path_mkdir=/opt/local/bin/gmkdir
1612ac_cv_prog_AWK=gawk
1613ac_cv_prog_CPP='/usr/bin/gcc-4.2 -std=gnu99 -E'
1614ac_cv_prog_ac_ct_AR=ar
1615ac_cv_prog_ac_ct_CC=/usr/bin/gcc-4.2
1616ac_cv_prog_ac_ct_DSYMUTIL=dsymutil
1617ac_cv_prog_ac_ct_LIPO=lipo
1618ac_cv_prog_ac_ct_NMEDIT=nmedit
1619ac_cv_prog_ac_ct_OTOOL=otool
1620ac_cv_prog_ac_ct_RANLIB=ranlib
1621ac_cv_prog_ac_ct_STRIP=strip
1622ac_cv_prog_cc_c11=no
1623ac_cv_prog_cc_c99=-std=gnu99
1624ac_cv_prog_cc_g=yes
1625ac_cv_prog_cc_stdc=-std=gnu99
1626ac_cv_prog_make_make_set=yes
1627ac_cv_search_clock_gettime='none required'
1628ac_cv_search_dlopen='none required'
1629ac_cv_search_gethostbyname='none required'
1630ac_cv_search_kstat_lookup=no
1631ac_cv_search_perfstat_cpu=no
1632ac_cv_search_sendfile='none required'
1633ac_cv_search_socket='none required'
1634ac_cv_sys_file_offset_bits=no
1635ac_cv_sys_largefile_CC=no
1636am_cv_CC_dependencies_compiler_type=gcc3
1637am_cv_ar_interface=ar
1638am_cv_make_support_nested_variables=yes
1639am_cv_prog_cc_c_o=yes
1640ax_cv_PTHREAD_CLANG=no
1641ax_cv_PTHREAD_JOINABLE_ATTR=PTHREAD_CREATE_JOINABLE
1642ax_cv_PTHREAD_PRIO_INHERIT=yes
1643ax_cv_PTHREAD_SPECIAL_FLAGS=no
1644cc_cv_attribute_visibility_default=yes
1645cc_cv_cflags__Wall=yes
1646cc_cv_cflags__Werror=yes
1647cc_cv_cflags__Wextra=yes
1648cc_cv_cflags__Wno_long_long=yes
1649cc_cv_cflags__Wno_unused_parameter=yes
1650cc_cv_cflags__Wstrict_prototypes=yes
1651cc_cv_cflags__fno_strict_aliasing=yes
1652cc_cv_cflags__fvisibility_hidden=yes
1653cc_cv_cflags__g=yes
1654cc_cv_cflags__std_gnu89=yes
1655cc_cv_flag_visibility=yes
1656cc_cv_werror=-Werror
1657lt_cv_apple_cc_single_mod=yes
1658lt_cv_ar_at_file=no
1659lt_cv_deplibs_check_method=pass_all
1660lt_cv_file_magic_cmd='$MAGIC_CMD'
1661lt_cv_file_magic_test_file=
1662lt_cv_ld_exported_symbols_list=yes
1663lt_cv_ld_force_load=no
1664lt_cv_ld_reload_flag=-r
1665lt_cv_nm_interface='BSD nm'
1666lt_cv_objdir=.libs
1667lt_cv_path_LD=/usr/libexec/gcc/powerpc-apple-darwin9/4.2.1/ld
1668lt_cv_path_NM='/usr/bin/nm -p'
1669lt_cv_path_mainfest_tool=no
1670lt_cv_prog_compiler_c_o=yes
1671lt_cv_prog_compiler_pic='-fno-common -DPIC'
1672lt_cv_prog_compiler_pic_works=yes
1673lt_cv_prog_compiler_rtti_exceptions=no
1674lt_cv_prog_compiler_static_works=no
1675lt_cv_prog_gnu_ld=no
1676lt_cv_sharedlib_from_linklib_cmd='printf %s\n'
1677lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[       ]\([BCDEGRST][BCDEGRST]*\)[     ][      ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p'\'' | sed '\''/ __gnu_lto/d'\'''
1678lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \(.*\) .*$/  {"\1", (void *) 0},/p'\'' -e '\''s/^[BCDEGRST][BCDEGRST]* .* \(.*\)$/  {"\1", (void *) \&\1},/p'\'''
1679lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \(.*\) .*$/  {"\1", (void *) 0},/p'\'' -e '\''s/^[BCDEGRST][BCDEGRST]* .* \(lib.*\)$/  {"\1", (void *) \&\1},/p'\'' -e '\''s/^[BCDEGRST][BCDEGRST]* .* \(.*\)$/  {"lib\1", (void *) \&\1},/p'\'''
1680lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[BCDEGRST][BCDEGRST]* .* \(.*\)$/extern char \1;/p'\'''
1681lt_cv_sys_global_symbol_to_import=
1682lt_cv_sys_max_cmd_len=196608
1683lt_cv_to_host_file_cmd=func_convert_file_noop
1684lt_cv_to_tool_file_cmd=func_convert_file_noop
1685lt_cv_truncate_bin='/bin/dd bs=4096 count=1'
1686
1687## ----------------- ##
1688## Output variables. ##
1689## ----------------- ##
1690
1691ACLOCAL='${SHELL} '\''/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libuv/libuv/work/libuv-1.44.1/missing'\'' aclocal-1.16'
1692AIX_FALSE=''
1693AIX_TRUE='#'
1694AMDEPBACKSLASH='\'
1695AMDEP_FALSE='#'
1696AMDEP_TRUE=''
1697AMTAR='$${TAR-tar}'
1698AM_BACKSLASH='\'
1699AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
1700AM_DEFAULT_VERBOSITY='1'
1701AM_V='$(V)'
1702ANDROID_FALSE=''
1703ANDROID_TRUE='#'
1704AR='ar'
1705AUTOCONF='${SHELL} '\''/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libuv/libuv/work/libuv-1.44.1/missing'\'' autoconf'
1706AUTOHEADER='${SHELL} '\''/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libuv/libuv/work/libuv-1.44.1/missing'\'' autoheader'
1707AUTOMAKE='${SHELL} '\''/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libuv/libuv/work/libuv-1.44.1/missing'\'' automake-1.16'
1708AWK='gawk'
1709CC='/usr/bin/gcc-4.2 -std=gnu99'
1710CCDEPMODE='depmode=gcc3'
1711CFLAGS='-pipe -Os -arch ppc -fvisibility=hidden -pthread'
1712CPP='/usr/bin/gcc-4.2 -std=gnu99 -E'
1713CPPFLAGS='-isystem/opt/local/include/LegacySupport -I/opt/local/include -D__DARWIN_64_BIT_INO_T'
1714CSCOPE='cscope'
1715CTAGS='ctags'
1716CYGPATH_W='echo'
1717CYGWIN_FALSE=''
1718CYGWIN_TRUE='#'
1719DARWIN_FALSE='#'
1720DARWIN_TRUE=''
1721DEFS='-DPACKAGE_NAME=\"libuv\" -DPACKAGE_TARNAME=\"libuv\" -DPACKAGE_VERSION=\"1.44.1\" -DPACKAGE_STRING=\"libuv\ 1.44.1\" -DPACKAGE_BUGREPORT=\"https://github.com/libuv/libuv/issues\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libuv\" -DVERSION=\"1.44.1\" -DSUPPORT_ATTRIBUTE_VISIBILITY_DEFAULT=1 -DSUPPORT_FLAG_VISIBILITY=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD_PRIO_INHERIT=1'
1722DEPDIR='.deps'
1723DLLTOOL='false'
1724DRAGONFLY_FALSE=''
1725DRAGONFLY_TRUE='#'
1726DSYMUTIL='dsymutil'
1727DUMPBIN=''
1728ECHO_C='\c'
1729ECHO_N=''
1730ECHO_T=''
1731EGREP='/opt/local/bin/ggrep -E'
1732ETAGS='etags'
1733EXEEXT=''
1734FGREP='/opt/local/bin/ggrep -F'
1735FREEBSD_FALSE=''
1736FREEBSD_TRUE='#'
1737GREP='/opt/local/bin/ggrep'
1738HAIKU_FALSE=''
1739HAIKU_TRUE='#'
1740HURD_FALSE=''
1741HURD_TRUE='#'
1742INSTALL_DATA='${INSTALL} -m 644'
1743INSTALL_PROGRAM='${INSTALL}'
1744INSTALL_SCRIPT='${INSTALL}'
1745INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
1746LD='/usr/libexec/gcc/powerpc-apple-darwin9/4.2.1/ld'
1747LDFLAGS='-Wl,-headerpad_max_install_names -L/opt/local/lib -lMacportsLegacySupport -arch ppc'
1748LIBOBJS=''
1749LIBS=' '
1750LIBTOOL='$(SHELL) $(top_builddir)/libtool'
1751LINUX_FALSE=''
1752LINUX_TRUE='#'
1753LIPO='lipo'
1754LN_S='ln -s'
1755LTLIBOBJS=''
1756LT_SYS_LIBRARY_PATH=''
1757MAKEINFO='${SHELL} '\''/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libuv/libuv/work/libuv-1.44.1/missing'\'' makeinfo'
1758MANIFEST_TOOL=':'
1759MKDIR_P='/opt/local/bin/gmkdir -p'
1760MSYS_FALSE=''
1761MSYS_TRUE='#'
1762NETBSD_FALSE=''
1763NETBSD_TRUE='#'
1764NM='/usr/bin/nm -p'
1765NMEDIT='nmedit'
1766OBJDUMP='false'
1767OBJEXT='o'
1768OPENBSD_FALSE=''
1769OPENBSD_TRUE='#'
1770OS390_FALSE=''
1771OS390_TRUE='#'
1772OS400_FALSE=''
1773OS400_TRUE='#'
1774OTOOL64=':'
1775OTOOL='otool'
1776PACKAGE='libuv'
1777PACKAGE_BUGREPORT='https://github.com/libuv/libuv/issues'
1778PACKAGE_NAME='libuv'
1779PACKAGE_STRING='libuv 1.44.1'
1780PACKAGE_TARNAME='libuv'
1781PACKAGE_URL=''
1782PACKAGE_VERSION='1.44.1'
1783PATH_SEPARATOR=':'
1784PTHREAD_CC='/usr/bin/gcc-4.2 -std=gnu99'
1785PTHREAD_CFLAGS='-pthread'
1786PTHREAD_LIBS=''
1787RANLIB='ranlib'
1788SED='/opt/local/bin/gsed'
1789SET_MAKE=''
1790SHELL='/bin/sh'
1791STRIP='strip'
1792SUNOS_FALSE=''
1793SUNOS_TRUE='#'
1794VERSION='1.44.1'
1795WINNT_FALSE=''
1796WINNT_TRUE='#'
1797ac_ct_AR='ar'
1798ac_ct_CC='/usr/bin/gcc-4.2'
1799ac_ct_DUMPBIN=''
1800am__EXEEXT_FALSE=''
1801am__EXEEXT_TRUE='#'
1802am__fastdepCC_FALSE='#'
1803am__fastdepCC_TRUE=''
1804am__include='include'
1805am__isrc=''
1806am__leading_dot='.'
1807am__nodep='_no'
1808am__quote=''
1809am__tar='$${TAR-tar} chof - "$$tardir"'
1810am__untar='$${TAR-tar} xf -'
1811ax_pthread_config=''
1812bindir='${exec_prefix}/bin'
1813build='powerpc-apple-darwin9.8.0'
1814build_alias=''
1815build_cpu='powerpc'
1816build_os='darwin9.8.0'
1817build_vendor='apple'
1818datadir='${datarootdir}'
1819datarootdir='${prefix}/share'
1820docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1821dvidir='${docdir}'
1822exec_prefix='${prefix}'
1823host='powerpc-apple-darwin9.8.0'
1824host_alias=''
1825host_cpu='powerpc'
1826host_os='darwin9.8.0'
1827host_vendor='apple'
1828htmldir='${docdir}'
1829includedir='${prefix}/include'
1830infodir='${datarootdir}/info'
1831install_sh='${SHELL} /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libuv/libuv/work/libuv-1.44.1/install-sh'
1832libdir='${exec_prefix}/lib'
1833libexecdir='${exec_prefix}/libexec'
1834localedir='${datarootdir}/locale'
1835localstatedir='${prefix}/var'
1836mandir='${datarootdir}/man'
1837mkdir_p='$(MKDIR_P)'
1838oldincludedir='/usr/include'
1839pdfdir='${docdir}'
1840prefix='/opt/local'
1841program_transform_name='s,x,x,'
1842psdir='${docdir}'
1843runstatedir='${localstatedir}/run'
1844sbindir='${exec_prefix}/sbin'
1845sharedstatedir='${prefix}/com'
1846sysconfdir='${prefix}/etc'
1847target_alias=''
1848
1849## ----------- ##
1850## confdefs.h. ##
1851## ----------- ##
1852
1853/* confdefs.h */
1854#define PACKAGE_NAME "libuv"
1855#define PACKAGE_TARNAME "libuv"
1856#define PACKAGE_VERSION "1.44.1"
1857#define PACKAGE_STRING "libuv 1.44.1"
1858#define PACKAGE_BUGREPORT "https://github.com/libuv/libuv/issues"
1859#define PACKAGE_URL ""
1860#define PACKAGE "libuv"
1861#define VERSION "1.44.1"
1862#define SUPPORT_ATTRIBUTE_VISIBILITY_DEFAULT 1
1863#define SUPPORT_FLAG_VISIBILITY 1
1864#define HAVE_STDIO_H 1
1865#define HAVE_STDLIB_H 1
1866#define HAVE_STRING_H 1
1867#define HAVE_INTTYPES_H 1
1868#define HAVE_STDINT_H 1
1869#define HAVE_STRINGS_H 1
1870#define HAVE_SYS_STAT_H 1
1871#define HAVE_SYS_TYPES_H 1
1872#define HAVE_UNISTD_H 1
1873#define STDC_HEADERS 1
1874#define HAVE_DLFCN_H 1
1875#define LT_OBJDIR ".libs/"
1876#define HAVE_PTHREAD_PRIO_INHERIT 1
1877
1878configure: exit 0