Ticket #66730: config_log.txt

File config_log.txt, 49.5 KB (added by barracuda156, 22 months 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.71.  Invocation command line was
6
7  $ ./configure --prefix=/opt/local
8
9## --------- ##
10## Platform. ##
11## --------- ##
12
13hostname = 10.6.shared
14uname -m = x86_64
15uname -r = 10.8.0
16uname -s = Darwin
17uname -v = Darwin Kernel Version 10.8.0: Tue Jun  7 16:32:41 PDT 2011; root:xnu-1504.15.3~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 10.8.0: Tue Jun  7 16:32:41 PDT 2011; root:xnu-1504.15.3~1/RELEASE_X86_64
27Kernel configured for up to 8 processors.
288 processors are physically available.
298 processors are logically available.
30Processor type: i486 (Intel 80486)
31Processors active: 0 1 2 3 4 5 6 7
32Primary memory available: 8.00 gigabytes
33Default processor set: 153 tasks, 384 threads, 8 processors
34Load average: 1.29, Mach factor: 6.70
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:2368: looking for aux files: config.guess config.sub ltmain.sh compile missing install-sh
52configure:2381:  trying ./
53configure:2410:   ./config.guess found
54configure:2410:   ./config.sub found
55configure:2410:   ./ltmain.sh found
56configure:2410:   ./compile found
57configure:2410:   ./missing found
58configure:2392:   ./install-sh found
59configure:2542: checking for a BSD-compatible install
60configure:2615: result: /usr/bin/install -c
61configure:2626: checking whether build environment is sane
62configure:2681: result: yes
63configure:2840: checking for a race-free mkdir -p
64configure:2884: result: /opt/local/bin/gmkdir -p
65configure:2891: checking for gawk
66configure:2912: found /opt/local/bin/gawk
67configure:2923: result: gawk
68configure:2934: checking whether make sets $(MAKE)
69configure:2957: result: yes
70configure:2987: checking whether make supports nested variables
71configure:3005: result: yes
72configure:3151: checking whether make supports the include directive
73configure:3166: make -f confmf.GNU && cat confinc.out
74this is the am__doit target
75configure:3169: $? = 0
76configure:3188: result: yes (GNU style)
77configure:3264: checking for gcc
78configure:3296: result: /usr/bin/gcc-4.2
79configure:3649: checking for C compiler version
80configure:3658: /usr/bin/gcc-4.2 --version >&5
81i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3)
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:3669: $? = 0
87configure:3658: /usr/bin/gcc-4.2 -v >&5
88Using built-in specs.
89Target: i686-apple-darwin10
90Configured with: /var/tmp/gcc/gcc-5666.3~6/src/configure --disable-checking --enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin10 --program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10 --target=i686-apple-darwin10 --with-gxx-include-dir=/include/c++/4.2.1
91Thread model: posix
92gcc version 4.2.1 (Apple Inc. build 5666) (dot 3)
93configure:3669: $? = 0
94configure:3658: /usr/bin/gcc-4.2 -V >&5
95gcc-4.2: argument to `-V' is missing
96configure:3669: $? = 1
97configure:3658: /usr/bin/gcc-4.2 -qversion >&5
98i686-apple-darwin10-gcc-4.2.1: no input files
99configure:3669: $? = 1
100configure:3658: /usr/bin/gcc-4.2 -version >&5
101i686-apple-darwin10-gcc-4.2.1: no input files
102configure:3669: $? = 1
103configure:3689: checking whether the C compiler works
104configure:3711: /usr/bin/gcc-4.2 -pipe -Os -arch ppc -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc conftest.c  >&5
105configure:3715: $? = 0
106configure:3765: result: yes
107configure:3768: checking for C compiler default output file name
108configure:3770: result: a.out
109configure:3776: checking for suffix of executables
110configure:3783: /usr/bin/gcc-4.2 -o conftest -pipe -Os -arch ppc -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc conftest.c  >&5
111configure:3787: $? = 0
112configure:3810: result:
113configure:3832: checking whether we are cross compiling
114configure:3840: /usr/bin/gcc-4.2 -o conftest -pipe -Os -arch ppc -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc conftest.c  >&5
115configure:3844: $? = 0
116configure:3851: ./conftest
117configure:3855: $? = 0
118configure:3870: result: no
119configure:3875: checking for suffix of object files
120configure:3898: /usr/bin/gcc-4.2 -c -pipe -Os -arch ppc -I/opt/local/include conftest.c >&5
121configure:3902: $? = 0
122configure:3924: result: o
123configure:3928: checking whether the compiler supports GNU C
124configure:3948: /usr/bin/gcc-4.2 -c -pipe -Os -arch ppc -I/opt/local/include conftest.c >&5
125configure:3948: $? = 0
126configure:3958: result: yes
127configure:3969: checking whether /usr/bin/gcc-4.2 accepts -g
128configure:3990: /usr/bin/gcc-4.2 -c -g -I/opt/local/include conftest.c >&5
129configure:3990: $? = 0
130configure:4034: result: yes
131configure:4054: checking for /usr/bin/gcc-4.2 option to enable C11 features
132configure:4069: /usr/bin/gcc-4.2  -c -pipe -Os -arch ppc -I/opt/local/include conftest.c >&5
133conftest.c:61:3: error: #error "Compiler does not advertise C99 conformance"
134conftest.c:116: error: expected ';', ',' or ')' before 'text'
135conftest.c:165:3: error: #error "Compiler does not advertise C11 conformance"
136conftest.c: In function '_Alignas':
137conftest.c:169: error: expected declaration specifiers before 'aligned_as_double'
138conftest.c:170: error: expected declaration specifiers or '...' before numeric constant
139conftest.c:170: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'no_special_alignment'
140conftest.c:171: error: storage class specified for parameter 'aligned_as_int'
141conftest.c:172: error: expected declaration specifiers or '...' before numeric constant
142conftest.c:172: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_Alignas'
143conftest.c:177: error: expected expression before 'int'
144conftest.c:177: error: enumerator value for 'int_alignment' is not an integer constant
145conftest.c:178: error: expected expression before 'int'
146conftest.c:178: error: enumerator value for 'int_array_alignment' is not an integer constant
147conftest.c:179: error: expected expression before 'char'
148conftest.c:180: error: enumerator value for 'char_alignment' is not an integer constant
149conftest.c:180: warning: empty declaration
150conftest.c:181: error: expected declaration specifiers before '_Static_assert'
151conftest.c:184: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'does_not_return'
152conftest.c:190: error: expected specifier-qualifier-list before '_Static_assert'
153conftest.c:193: warning: empty declaration
154conftest.c:197: error: parameter 'utf8_literal' is initialized
155conftest.c:197: error: 'syntax' undeclared (first use in this function)
156conftest.c:197: error: (Each undeclared identifier is reported only once
157conftest.c:197: error: for each function it appears in.)
158conftest.c:197: error: expected ',' or ';' before 'error'
159conftest.c:200: error: storage class specified for parameter 'long_ptr'
160conftest.c:201: error: storage class specified for parameter 'long_ptr'
161conftest.c:201: error: redefinition of parameter 'long_ptr'
162conftest.c:200: error: previous definition of 'long_ptr' was here
163conftest.c:202: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long_ptr'
164conftest.c:217: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
165conftest.c:269: error: old-style parameter declarations in prototyped function definition
166conftest.c:169: error: parameter name omitted
167conftest.c:269: error: expected '{' at end of input
168configure:4069: $? = 1
169configure: failed program was:
170| /* confdefs.h */
171| #define PACKAGE_NAME ""
172| #define PACKAGE_TARNAME ""
173| #define PACKAGE_VERSION ""
174| #define PACKAGE_STRING ""
175| #define PACKAGE_BUGREPORT ""
176| #define PACKAGE_URL ""
177| /* end confdefs.h.  */
178|
179| /* Does the compiler advertise C89 conformance?
180|    Do not test the value of __STDC__, because some compilers set it to 0
181|    while being otherwise adequately conformant. */
182| #if !defined __STDC__
183| # error "Compiler does not advertise C89 conformance"
184| #endif
185|
186| #include <stddef.h>
187| #include <stdarg.h>
188| struct stat;
189| /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
190| struct buf { int x; };
191| struct buf * (*rcsopen) (struct buf *, struct stat *, int);
192| static char *e (p, i)
193|      char **p;
194|      int i;
195| {
196|   return p[i];
197| }
198| static char *f (char * (*g) (char **, int), char **p, ...)
199| {
200|   char *s;
201|   va_list v;
202|   va_start (v,p);
203|   s = g (p, va_arg (v,int));
204|   va_end (v);
205|   return s;
206| }
207|
208| /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
209|    function prototypes and stuff, but not \xHH hex character constants.
210|    These do not provoke an error unfortunately, instead are silently treated
211|    as an "x".  The following induces an error, until -std is added to get
212|    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
213|    array size at least.  It is necessary to write \x00 == 0 to get something
214|    that is true only with -std.  */
215| int osf4_cc_array ['\x00' == 0 ? 1 : -1];
216|
217| /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
218|    inside strings and character constants.  */
219| #define FOO(x) 'x'
220| int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
221|
222| int test (int i, double x);
223| struct s1 {int (*f) (int a);};
224| struct s2 {int (*f) (double a);};
225| int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
226|                int, int);
227|
228| // Does the compiler advertise C99 conformance?
229| #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
230| # error "Compiler does not advertise C99 conformance"
231| #endif
232|
233| #include <stdbool.h>
234| extern int puts (const char *);
235| extern int printf (const char *, ...);
236| extern int dprintf (int, const char *, ...);
237| extern void *malloc (size_t);
238|
239| // Check varargs macros.  These examples are taken from C99 6.10.3.5.
240| // dprintf is used instead of fprintf to avoid needing to declare
241| // FILE and stderr.
242| #define debug(...) dprintf (2, __VA_ARGS__)
243| #define showlist(...) puts (#__VA_ARGS__)
244| #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
245| static void
246| test_varargs_macros (void)
247| {
248|   int x = 1234;
249|   int y = 5678;
250|   debug ("Flag");
251|   debug ("X = %d\n", x);
252|   showlist (The first, second, and third items.);
253|   report (x>y, "x is %d but y is %d", x, y);
254| }
255|
256| // Check long long types.
257| #define BIG64 18446744073709551615ull
258| #define BIG32 4294967295ul
259| #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
260| #if !BIG_OK
261|   #error "your preprocessor is broken"
262| #endif
263| #if BIG_OK
264| #else
265|   #error "your preprocessor is broken"
266| #endif
267| static long long int bignum = -9223372036854775807LL;
268| static unsigned long long int ubignum = BIG64;
269|
270| struct incomplete_array
271| {
272|   int datasize;
273|   double data[];
274| };
275|
276| struct named_init {
277|   int number;
278|   const wchar_t *name;
279|   double average;
280| };
281|
282| typedef const char *ccp;
283|
284| static inline int
285| test_restrict (ccp restrict text)
286| {
287|   // See if C++-style comments work.
288|   // Iterate through items via the restricted pointer.
289|   // Also check for declarations in for loops.
290|   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
291|     continue;
292|   return 0;
293| }
294|
295| // Check varargs and va_copy.
296| static bool
297| test_varargs (const char *format, ...)
298| {
299|   va_list args;
300|   va_start (args, format);
301|   va_list args_copy;
302|   va_copy (args_copy, args);
303|
304|   const char *str = "";
305|   int number = 0;
306|   float fnumber = 0;
307|
308|   while (*format)
309|     {
310|       switch (*format++)
311|       {
312|       case 's': // string
313|         str = va_arg (args_copy, const char *);
314|         break;
315|       case 'd': // int
316|         number = va_arg (args_copy, int);
317|         break;
318|       case 'f': // float
319|         fnumber = va_arg (args_copy, double);
320|         break;
321|       default:
322|         break;
323|       }
324|     }
325|   va_end (args_copy);
326|   va_end (args);
327|
328|   return *str && number && fnumber;
329| }
330|
331|
332| // Does the compiler advertise C11 conformance?
333| #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
334| # error "Compiler does not advertise C11 conformance"
335| #endif
336|
337| // Check _Alignas.
338| char _Alignas (double) aligned_as_double;
339| char _Alignas (0) no_special_alignment;
340| extern char aligned_as_int;
341| char _Alignas (0) _Alignas (int) aligned_as_int;
342|
343| // Check _Alignof.
344| enum
345| {
346|   int_alignment = _Alignof (int),
347|   int_array_alignment = _Alignof (int[100]),
348|   char_alignment = _Alignof (char)
349| };
350| _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
351|
352| // Check _Noreturn.
353| int _Noreturn does_not_return (void) { for (;;) continue; }
354|
355| // Check _Static_assert.
356| struct test_static_assert
357| {
358|   int x;
359|   _Static_assert (sizeof (int) <= sizeof (long int),
360|                   "_Static_assert does not work in struct");
361|   long int y;
362| };
363|
364| // Check UTF-8 literals.
365| #define u8 syntax error!
366| char const utf8_literal[] = u8"happens to be ASCII" "another string";
367|
368| // Check duplicate typedefs.
369| typedef long *long_ptr;
370| typedef long int *long_ptr;
371| typedef long_ptr long_ptr;
372|
373| // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
374| struct anonymous
375| {
376|   union {
377|     struct { int i; int j; };
378|     struct { int k; long int l; } w;
379|   };
380|   int m;
381| } v1;
382|
383|
384| int
385| main (int argc, char **argv)
386| {
387|   int ok = 0;
388|   
389| ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
390|
391|   
392|   // Check bool.
393|   _Bool success = false;
394|   success |= (argc != 0);
395|
396|   // Check restrict.
397|   if (test_restrict ("String literal") == 0)
398|     success = true;
399|   char *restrict newvar = "Another string";
400|
401|   // Check varargs.
402|   success &= test_varargs ("s, d' f .", "string", 65, 34.234);
403|   test_varargs_macros ();
404|
405|   // Check flexible array members.
406|   struct incomplete_array *ia =
407|     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
408|   ia->datasize = 10;
409|   for (int i = 0; i < ia->datasize; ++i)
410|     ia->data[i] = i * 1.234;
411|
412|   // Check named initializers.
413|   struct named_init ni = {
414|     .number = 34,
415|     .name = L"Test wide string",
416|     .average = 543.34343,
417|   };
418|
419|   ni.number = 58;
420|
421|   int dynamic_array[ni.number];
422|   dynamic_array[0] = argv[0][0];
423|   dynamic_array[ni.number - 1] = 543;
424|
425|   // work around unused variable warnings
426|   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
427|        || dynamic_array[ni.number - 1] != 543);
428|
429|   
430|   _Static_assert ((offsetof (struct anonymous, i)
431|                  == offsetof (struct anonymous, w.k)),
432|                 "Anonymous union alignment botch");
433|   v1.i = 2;
434|   v1.w.k = 5;
435|   ok |= v1.i != 5;
436|
437|   return ok;
438| }
439|
440configure:4069: /usr/bin/gcc-4.2 -std=gnu11 -c -pipe -Os -arch ppc -I/opt/local/include conftest.c >&5
441cc1: error: unrecognized command line option "-std=gnu11"
442configure:4069: $? = 1
443configure: failed program was:
444| /* confdefs.h */
445| #define PACKAGE_NAME ""
446| #define PACKAGE_TARNAME ""
447| #define PACKAGE_VERSION ""
448| #define PACKAGE_STRING ""
449| #define PACKAGE_BUGREPORT ""
450| #define PACKAGE_URL ""
451| /* end confdefs.h.  */
452|
453| /* Does the compiler advertise C89 conformance?
454|    Do not test the value of __STDC__, because some compilers set it to 0
455|    while being otherwise adequately conformant. */
456| #if !defined __STDC__
457| # error "Compiler does not advertise C89 conformance"
458| #endif
459|
460| #include <stddef.h>
461| #include <stdarg.h>
462| struct stat;
463| /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
464| struct buf { int x; };
465| struct buf * (*rcsopen) (struct buf *, struct stat *, int);
466| static char *e (p, i)
467|      char **p;
468|      int i;
469| {
470|   return p[i];
471| }
472| static char *f (char * (*g) (char **, int), char **p, ...)
473| {
474|   char *s;
475|   va_list v;
476|   va_start (v,p);
477|   s = g (p, va_arg (v,int));
478|   va_end (v);
479|   return s;
480| }
481|
482| /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
483|    function prototypes and stuff, but not \xHH hex character constants.
484|    These do not provoke an error unfortunately, instead are silently treated
485|    as an "x".  The following induces an error, until -std is added to get
486|    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
487|    array size at least.  It is necessary to write \x00 == 0 to get something
488|    that is true only with -std.  */
489| int osf4_cc_array ['\x00' == 0 ? 1 : -1];
490|
491| /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
492|    inside strings and character constants.  */
493| #define FOO(x) 'x'
494| int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
495|
496| int test (int i, double x);
497| struct s1 {int (*f) (int a);};
498| struct s2 {int (*f) (double a);};
499| int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
500|                int, int);
501|
502| // Does the compiler advertise C99 conformance?
503| #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
504| # error "Compiler does not advertise C99 conformance"
505| #endif
506|
507| #include <stdbool.h>
508| extern int puts (const char *);
509| extern int printf (const char *, ...);
510| extern int dprintf (int, const char *, ...);
511| extern void *malloc (size_t);
512|
513| // Check varargs macros.  These examples are taken from C99 6.10.3.5.
514| // dprintf is used instead of fprintf to avoid needing to declare
515| // FILE and stderr.
516| #define debug(...) dprintf (2, __VA_ARGS__)
517| #define showlist(...) puts (#__VA_ARGS__)
518| #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
519| static void
520| test_varargs_macros (void)
521| {
522|   int x = 1234;
523|   int y = 5678;
524|   debug ("Flag");
525|   debug ("X = %d\n", x);
526|   showlist (The first, second, and third items.);
527|   report (x>y, "x is %d but y is %d", x, y);
528| }
529|
530| // Check long long types.
531| #define BIG64 18446744073709551615ull
532| #define BIG32 4294967295ul
533| #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
534| #if !BIG_OK
535|   #error "your preprocessor is broken"
536| #endif
537| #if BIG_OK
538| #else
539|   #error "your preprocessor is broken"
540| #endif
541| static long long int bignum = -9223372036854775807LL;
542| static unsigned long long int ubignum = BIG64;
543|
544| struct incomplete_array
545| {
546|   int datasize;
547|   double data[];
548| };
549|
550| struct named_init {
551|   int number;
552|   const wchar_t *name;
553|   double average;
554| };
555|
556| typedef const char *ccp;
557|
558| static inline int
559| test_restrict (ccp restrict text)
560| {
561|   // See if C++-style comments work.
562|   // Iterate through items via the restricted pointer.
563|   // Also check for declarations in for loops.
564|   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
565|     continue;
566|   return 0;
567| }
568|
569| // Check varargs and va_copy.
570| static bool
571| test_varargs (const char *format, ...)
572| {
573|   va_list args;
574|   va_start (args, format);
575|   va_list args_copy;
576|   va_copy (args_copy, args);
577|
578|   const char *str = "";
579|   int number = 0;
580|   float fnumber = 0;
581|
582|   while (*format)
583|     {
584|       switch (*format++)
585|       {
586|       case 's': // string
587|         str = va_arg (args_copy, const char *);
588|         break;
589|       case 'd': // int
590|         number = va_arg (args_copy, int);
591|         break;
592|       case 'f': // float
593|         fnumber = va_arg (args_copy, double);
594|         break;
595|       default:
596|         break;
597|       }
598|     }
599|   va_end (args_copy);
600|   va_end (args);
601|
602|   return *str && number && fnumber;
603| }
604|
605|
606| // Does the compiler advertise C11 conformance?
607| #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
608| # error "Compiler does not advertise C11 conformance"
609| #endif
610|
611| // Check _Alignas.
612| char _Alignas (double) aligned_as_double;
613| char _Alignas (0) no_special_alignment;
614| extern char aligned_as_int;
615| char _Alignas (0) _Alignas (int) aligned_as_int;
616|
617| // Check _Alignof.
618| enum
619| {
620|   int_alignment = _Alignof (int),
621|   int_array_alignment = _Alignof (int[100]),
622|   char_alignment = _Alignof (char)
623| };
624| _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
625|
626| // Check _Noreturn.
627| int _Noreturn does_not_return (void) { for (;;) continue; }
628|
629| // Check _Static_assert.
630| struct test_static_assert
631| {
632|   int x;
633|   _Static_assert (sizeof (int) <= sizeof (long int),
634|                   "_Static_assert does not work in struct");
635|   long int y;
636| };
637|
638| // Check UTF-8 literals.
639| #define u8 syntax error!
640| char const utf8_literal[] = u8"happens to be ASCII" "another string";
641|
642| // Check duplicate typedefs.
643| typedef long *long_ptr;
644| typedef long int *long_ptr;
645| typedef long_ptr long_ptr;
646|
647| // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
648| struct anonymous
649| {
650|   union {
651|     struct { int i; int j; };
652|     struct { int k; long int l; } w;
653|   };
654|   int m;
655| } v1;
656|
657|
658| int
659| main (int argc, char **argv)
660| {
661|   int ok = 0;
662|   
663| ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
664|
665|   
666|   // Check bool.
667|   _Bool success = false;
668|   success |= (argc != 0);
669|
670|   // Check restrict.
671|   if (test_restrict ("String literal") == 0)
672|     success = true;
673|   char *restrict newvar = "Another string";
674|
675|   // Check varargs.
676|   success &= test_varargs ("s, d' f .", "string", 65, 34.234);
677|   test_varargs_macros ();
678|
679|   // Check flexible array members.
680|   struct incomplete_array *ia =
681|     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
682|   ia->datasize = 10;
683|   for (int i = 0; i < ia->datasize; ++i)
684|     ia->data[i] = i * 1.234;
685|
686|   // Check named initializers.
687|   struct named_init ni = {
688|     .number = 34,
689|     .name = L"Test wide string",
690|     .average = 543.34343,
691|   };
692|
693|   ni.number = 58;
694|
695|   int dynamic_array[ni.number];
696|   dynamic_array[0] = argv[0][0];
697|   dynamic_array[ni.number - 1] = 543;
698|
699|   // work around unused variable warnings
700|   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
701|        || dynamic_array[ni.number - 1] != 543);
702|
703|   
704|   _Static_assert ((offsetof (struct anonymous, i)
705|                  == offsetof (struct anonymous, w.k)),
706|                 "Anonymous union alignment botch");
707|   v1.i = 2;
708|   v1.w.k = 5;
709|   ok |= v1.i != 5;
710|
711|   return ok;
712| }
713|
714configure:4082: result: unsupported
715configure:4100: checking for /usr/bin/gcc-4.2 option to enable C99 features
716configure:4115: /usr/bin/gcc-4.2  -c -pipe -Os -arch ppc -I/opt/local/include conftest.c >&5
717conftest.c:61:3: error: #error "Compiler does not advertise C99 conformance"
718conftest.c:116: error: expected ';', ',' or ')' before 'text'
719conftest.c: In function 'main':
720conftest.c:178: error: nested functions are disabled, use -fnested-functions to re-enable
721conftest.c:178: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'newvar'
722conftest.c:178: error: 'newvar' undeclared (first use in this function)
723conftest.c:178: error: (Each undeclared identifier is reported only once
724conftest.c:178: error: for each function it appears in.)
725conftest.c:188: error: 'for' loop initial declaration used outside C99 mode
726configure:4115: $? = 1
727configure: failed program was:
728| /* confdefs.h */
729| #define PACKAGE_NAME ""
730| #define PACKAGE_TARNAME ""
731| #define PACKAGE_VERSION ""
732| #define PACKAGE_STRING ""
733| #define PACKAGE_BUGREPORT ""
734| #define PACKAGE_URL ""
735| /* end confdefs.h.  */
736|
737| /* Does the compiler advertise C89 conformance?
738|    Do not test the value of __STDC__, because some compilers set it to 0
739|    while being otherwise adequately conformant. */
740| #if !defined __STDC__
741| # error "Compiler does not advertise C89 conformance"
742| #endif
743|
744| #include <stddef.h>
745| #include <stdarg.h>
746| struct stat;
747| /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
748| struct buf { int x; };
749| struct buf * (*rcsopen) (struct buf *, struct stat *, int);
750| static char *e (p, i)
751|      char **p;
752|      int i;
753| {
754|   return p[i];
755| }
756| static char *f (char * (*g) (char **, int), char **p, ...)
757| {
758|   char *s;
759|   va_list v;
760|   va_start (v,p);
761|   s = g (p, va_arg (v,int));
762|   va_end (v);
763|   return s;
764| }
765|
766| /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
767|    function prototypes and stuff, but not \xHH hex character constants.
768|    These do not provoke an error unfortunately, instead are silently treated
769|    as an "x".  The following induces an error, until -std is added to get
770|    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
771|    array size at least.  It is necessary to write \x00 == 0 to get something
772|    that is true only with -std.  */
773| int osf4_cc_array ['\x00' == 0 ? 1 : -1];
774|
775| /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
776|    inside strings and character constants.  */
777| #define FOO(x) 'x'
778| int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
779|
780| int test (int i, double x);
781| struct s1 {int (*f) (int a);};
782| struct s2 {int (*f) (double a);};
783| int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
784|                int, int);
785|
786| // Does the compiler advertise C99 conformance?
787| #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
788| # error "Compiler does not advertise C99 conformance"
789| #endif
790|
791| #include <stdbool.h>
792| extern int puts (const char *);
793| extern int printf (const char *, ...);
794| extern int dprintf (int, const char *, ...);
795| extern void *malloc (size_t);
796|
797| // Check varargs macros.  These examples are taken from C99 6.10.3.5.
798| // dprintf is used instead of fprintf to avoid needing to declare
799| // FILE and stderr.
800| #define debug(...) dprintf (2, __VA_ARGS__)
801| #define showlist(...) puts (#__VA_ARGS__)
802| #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
803| static void
804| test_varargs_macros (void)
805| {
806|   int x = 1234;
807|   int y = 5678;
808|   debug ("Flag");
809|   debug ("X = %d\n", x);
810|   showlist (The first, second, and third items.);
811|   report (x>y, "x is %d but y is %d", x, y);
812| }
813|
814| // Check long long types.
815| #define BIG64 18446744073709551615ull
816| #define BIG32 4294967295ul
817| #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
818| #if !BIG_OK
819|   #error "your preprocessor is broken"
820| #endif
821| #if BIG_OK
822| #else
823|   #error "your preprocessor is broken"
824| #endif
825| static long long int bignum = -9223372036854775807LL;
826| static unsigned long long int ubignum = BIG64;
827|
828| struct incomplete_array
829| {
830|   int datasize;
831|   double data[];
832| };
833|
834| struct named_init {
835|   int number;
836|   const wchar_t *name;
837|   double average;
838| };
839|
840| typedef const char *ccp;
841|
842| static inline int
843| test_restrict (ccp restrict text)
844| {
845|   // See if C++-style comments work.
846|   // Iterate through items via the restricted pointer.
847|   // Also check for declarations in for loops.
848|   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
849|     continue;
850|   return 0;
851| }
852|
853| // Check varargs and va_copy.
854| static bool
855| test_varargs (const char *format, ...)
856| {
857|   va_list args;
858|   va_start (args, format);
859|   va_list args_copy;
860|   va_copy (args_copy, args);
861|
862|   const char *str = "";
863|   int number = 0;
864|   float fnumber = 0;
865|
866|   while (*format)
867|     {
868|       switch (*format++)
869|       {
870|       case 's': // string
871|         str = va_arg (args_copy, const char *);
872|         break;
873|       case 'd': // int
874|         number = va_arg (args_copy, int);
875|         break;
876|       case 'f': // float
877|         fnumber = va_arg (args_copy, double);
878|         break;
879|       default:
880|         break;
881|       }
882|     }
883|   va_end (args_copy);
884|   va_end (args);
885|
886|   return *str && number && fnumber;
887| }
888|
889|
890| int
891| main (int argc, char **argv)
892| {
893|   int ok = 0;
894|   
895| ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
896|
897|   
898|   // Check bool.
899|   _Bool success = false;
900|   success |= (argc != 0);
901|
902|   // Check restrict.
903|   if (test_restrict ("String literal") == 0)
904|     success = true;
905|   char *restrict newvar = "Another string";
906|
907|   // Check varargs.
908|   success &= test_varargs ("s, d' f .", "string", 65, 34.234);
909|   test_varargs_macros ();
910|
911|   // Check flexible array members.
912|   struct incomplete_array *ia =
913|     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
914|   ia->datasize = 10;
915|   for (int i = 0; i < ia->datasize; ++i)
916|     ia->data[i] = i * 1.234;
917|
918|   // Check named initializers.
919|   struct named_init ni = {
920|     .number = 34,
921|     .name = L"Test wide string",
922|     .average = 543.34343,
923|   };
924|
925|   ni.number = 58;
926|
927|   int dynamic_array[ni.number];
928|   dynamic_array[0] = argv[0][0];
929|   dynamic_array[ni.number - 1] = 543;
930|
931|   // work around unused variable warnings
932|   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
933|        || dynamic_array[ni.number - 1] != 543);
934|
935|   return ok;
936| }
937|
938configure:4115: /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -I/opt/local/include conftest.c >&5
939configure:4115: $? = 0
940configure:4136: result: -std=gnu99
941configure:4203: checking whether /usr/bin/gcc-4.2 -std=gnu99 understands -c and -o together
942configure:4226: /usr/bin/gcc-4.2 -std=gnu99 -c conftest.c -o conftest2.o
943configure:4229: $? = 0
944configure:4226: /usr/bin/gcc-4.2 -std=gnu99 -c conftest.c -o conftest2.o
945configure:4229: $? = 0
946configure:4241: result: yes
947configure:4260: checking dependency style of /usr/bin/gcc-4.2 -std=gnu99
948configure:4372: result: gcc3
949configure:4388: checking for library containing strerror
950configure:4418: /usr/bin/gcc-4.2 -std=gnu99 -o conftest -pipe -Os -arch ppc -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc conftest.c  >&5
951configure:4418: $? = 0
952configure:4438: result: none required
953configure:4500: checking for gcc
954configure:4532: result: /usr/bin/gcc-4.2
955configure:4885: checking for C compiler version
956configure:4894: /usr/bin/gcc-4.2 --version >&5
957i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3)
958Copyright (C) 2007 Free Software Foundation, Inc.
959This is free software; see the source for copying conditions.  There is NO
960warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
961
962configure:4905: $? = 0
963configure:4894: /usr/bin/gcc-4.2 -v >&5
964Using built-in specs.
965Target: i686-apple-darwin10
966Configured with: /var/tmp/gcc/gcc-5666.3~6/src/configure --disable-checking --enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin10 --program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10 --target=i686-apple-darwin10 --with-gxx-include-dir=/include/c++/4.2.1
967Thread model: posix
968gcc version 4.2.1 (Apple Inc. build 5666) (dot 3)
969configure:4905: $? = 0
970configure:4894: /usr/bin/gcc-4.2 -V >&5
971gcc-4.2: argument to `-V' is missing
972configure:4905: $? = 1
973configure:4894: /usr/bin/gcc-4.2 -qversion >&5
974i686-apple-darwin10-gcc-4.2.1: no input files
975configure:4905: $? = 1
976configure:4894: /usr/bin/gcc-4.2 -version >&5
977i686-apple-darwin10-gcc-4.2.1: no input files
978configure:4905: $? = 1
979configure:4909: checking whether the compiler supports GNU C
980configure:4939: result: yes
981configure:4950: checking whether /usr/bin/gcc-4.2 accepts -g
982configure:5015: result: yes
983configure:5035: checking for /usr/bin/gcc-4.2 option to enable C11 features
984configure:5063: result: unsupported
985configure:5081: checking for /usr/bin/gcc-4.2 option to enable C99 features
986configure:5117: result: -std=gnu99
987configure:5184: checking whether /usr/bin/gcc-4.2 -std=gnu99 understands -c and -o together
988configure:5222: result: yes
989configure:5241: checking dependency style of /usr/bin/gcc-4.2 -std=gnu99
990configure:5353: result: gcc3
991configure:5372: checking for stdio.h
992configure:5372: /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -I/opt/local/include conftest.c >&5
993configure:5372: $? = 0
994configure:5372: result: yes
995configure:5372: checking for stdlib.h
996configure:5372: /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -I/opt/local/include conftest.c >&5
997configure:5372: $? = 0
998configure:5372: result: yes
999configure:5372: checking for string.h
1000configure:5372: /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -I/opt/local/include conftest.c >&5
1001configure:5372: $? = 0
1002configure:5372: result: yes
1003configure:5372: checking for inttypes.h
1004configure:5372: /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -I/opt/local/include conftest.c >&5
1005configure:5372: $? = 0
1006configure:5372: result: yes
1007configure:5372: checking for stdint.h
1008configure:5372: /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -I/opt/local/include conftest.c >&5
1009configure:5372: $? = 0
1010configure:5372: result: yes
1011configure:5372: checking for strings.h
1012configure:5372: /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -I/opt/local/include conftest.c >&5
1013configure:5372: $? = 0
1014configure:5372: result: yes
1015configure:5372: checking for sys/stat.h
1016configure:5372: /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -I/opt/local/include conftest.c >&5
1017configure:5372: $? = 0
1018configure:5372: result: yes
1019configure:5372: checking for sys/types.h
1020configure:5372: /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -I/opt/local/include conftest.c >&5
1021configure:5372: $? = 0
1022configure:5372: result: yes
1023configure:5372: checking for unistd.h
1024configure:5372: /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -I/opt/local/include conftest.c >&5
1025configure:5372: $? = 0
1026configure:5372: result: yes
1027configure:5397: checking for grep that handles long lines and -e
1028configure:5461: result: /opt/local/bin/ggrep
1029configure:5469: checking for egrep
1030configure:5537: result: /opt/local/bin/ggrep -E
1031configure:5575: checking build system type
1032configure:5590: result: x86_64-apple-darwin10.8.0
1033configure:5610: checking host system type
1034configure:5624: result: x86_64-apple-darwin10.8.0
1035configure:5665: checking how to print strings
1036configure:5692: result: printf
1037configure:5713: checking for a sed that does not truncate output
1038configure:5783: result: /opt/local/bin/gsed
1039configure:5801: checking for fgrep
1040configure:5869: result: /opt/local/bin/ggrep -F
1041configure:5905: checking for ld used by /usr/bin/gcc-4.2 -std=gnu99
1042configure:5973: result: /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld
1043configure:5980: checking if the linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) is GNU ld
1044configure:5996: result: no
1045configure:6008: checking for BSD- or MS-compatible name lister (nm)
1046configure:6063: result: /opt/local/bin/nm
1047configure:6203: checking the name lister (/opt/local/bin/nm) interface
1048configure:6211: /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -I/opt/local/include conftest.c >&5
1049configure:6214: /opt/local/bin/nm "conftest.o"
1050configure:6217: output
105100000000 D _some_variable
1052configure:6224: result: BSD nm
1053configure:6227: checking whether ln -s works
1054configure:6231: result: yes
1055configure:6239: checking the maximum length of command line arguments
1056configure:6371: result: 196608
1057configure:6419: checking how to convert x86_64-apple-darwin10.8.0 file names to x86_64-apple-darwin10.8.0 format
1058configure:6460: result: func_convert_file_noop
1059configure:6467: checking how to convert x86_64-apple-darwin10.8.0 file names to toolchain format
1060configure:6488: result: func_convert_file_noop
1061configure:6495: checking for /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld option to reload object files
1062configure:6503: result: -r
1063configure:6582: checking for file
1064configure:6603: found /usr/bin/file
1065configure:6614: result: file
1066configure:6690: checking for objdump
1067configure:6725: result: no
1068configure:6754: checking how to recognize dependent libraries
1069configure:6955: result: pass_all
1070configure:7045: checking for dlltool
1071configure:7080: result: no
1072configure:7110: checking how to associate runtime and link libraries
1073configure:7138: result: printf %s\n
1074configure:7203: checking for ar
1075configure:7224: found /opt/local/bin/ar
1076configure:7235: result: ar
1077configure:7288: checking for archiver @FILE support
1078configure:7306: /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -I/opt/local/include conftest.c >&5
1079configure:7306: $? = 0
1080configure:7310: ar cr libconftest.a @conftest.lst >&5
1081ar: @conftest.lst: No such file or directory
1082configure:7313: $? = 1
1083configure:7333: result: no
1084configure:7396: checking for strip
1085configure:7417: found /opt/local/bin/strip
1086configure:7428: result: strip
1087configure:7505: checking for ranlib
1088configure:7526: found /opt/local/bin/ranlib
1089configure:7537: result: ranlib
1090configure:7639: checking command to parse /opt/local/bin/nm output from /usr/bin/gcc-4.2 -std=gnu99 object
1091configure:7793: /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -I/opt/local/include conftest.c >&5
1092configure:7796: $? = 0
1093configure:7800: /opt/local/bin/nm conftest.o \| /opt/local/bin/gsed -n -e 's/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | /opt/local/bin/gsed '/ __gnu_lto/d' \> conftest.nm
1094configure:7803: $? = 0
1095cannot find nm_test_var in conftest.nm
1096configure:7793: /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -I/opt/local/include conftest.c >&5
1097configure:7796: $? = 0
1098configure:7800: /opt/local/bin/nm conftest.o \| /opt/local/bin/gsed -n -e 's/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p' | /opt/local/bin/gsed '/ __gnu_lto/d' \> conftest.nm
1099configure:7803: $? = 0
1100configure:7869: /usr/bin/gcc-4.2 -std=gnu99 -o conftest -pipe -Os -arch ppc -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc conftest.c conftstm.o >&5
1101configure:7872: $? = 0
1102configure:7910: result: ok
1103configure:7957: checking for sysroot
1104configure:7988: result: no
1105configure:7995: checking for a working dd
1106configure:8039: result: /bin/dd
1107configure:8043: checking how to truncate binary pipes
1108configure:8059: result: /bin/dd bs=4096 count=1
1109configure:8396: checking for mt
1110configure:8431: result: no
1111configure:8451: checking if : is a manifest tool
1112configure:8458: : '-?'
1113configure:8466: result: no
1114configure:8527: checking for dsymutil
1115configure:8548: found /usr/bin/dsymutil
1116configure:8559: result: dsymutil
1117configure:8629: checking for nmedit
1118configure:8650: found /opt/local/bin/nmedit
1119configure:8661: result: nmedit
1120configure:8731: checking for lipo
1121configure:8752: found /opt/local/bin/lipo
1122configure:8763: result: lipo
1123configure:8833: checking for otool
1124configure:8854: found /opt/local/bin/otool
1125configure:8865: result: otool
1126configure:8935: checking for otool64
1127configure:8970: result: no
1128configure:9015: checking for -single_module linker flag
1129/usr/bin/gcc-4.2 -std=gnu99 -pipe -Os -arch ppc -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc -o libconftest.dylib -dynamiclib -Wl,-single_module conftest.c
1130configure:9049: result: yes
1131configure:9052: checking for -exported_symbols_list linker flag
1132configure:9073: /usr/bin/gcc-4.2 -std=gnu99 -o conftest -pipe -Os -arch ppc -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc -Wl,-exported_symbols_list,conftest.sym conftest.c  >&5
1133configure:9073: $? = 0
1134configure:9084: result: yes
1135configure:9087: checking for -force_load linker flag
1136/usr/bin/gcc-4.2 -std=gnu99 -pipe -Os -arch ppc -c -o conftest.o conftest.c
1137ar cr libconftest.a conftest.o
1138ranlib libconftest.a
1139/usr/bin/gcc-4.2 -std=gnu99 -pipe -Os -arch ppc -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc -o conftest conftest.c -Wl,-force_load,./libconftest.a
1140configure:9120: result: yes
1141configure:9187: checking for dlfcn.h
1142configure:9187: /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -I/opt/local/include conftest.c >&5
1143configure:9187: $? = 0
1144configure:9187: result: yes
1145configure:9446: checking for objdir
1146configure:9462: result: .libs
1147configure:9722: checking if /usr/bin/gcc-4.2 -std=gnu99 supports -fno-rtti -fno-exceptions
1148configure:9741: /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -I/opt/local/include -fno-rtti -fno-exceptions conftest.c >&5
1149cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C
1150configure:9745: $? = 0
1151configure:9758: result: no
1152configure:10116: checking for /usr/bin/gcc-4.2 -std=gnu99 option to produce PIC
1153configure:10124: result: -fno-common -DPIC
1154configure:10132: checking if /usr/bin/gcc-4.2 -std=gnu99 PIC flag -fno-common -DPIC works
1155configure:10151: /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -I/opt/local/include -fno-common -DPIC -DPIC conftest.c >&5
1156configure:10155: $? = 0
1157configure:10168: result: yes
1158configure:10197: checking if /usr/bin/gcc-4.2 -std=gnu99 static flag -static works
1159configure:10226: result: no
1160configure:10241: checking if /usr/bin/gcc-4.2 -std=gnu99 supports -c -o file.o
1161configure:10263: /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -I/opt/local/include -o out/conftest2.o conftest.c >&5
1162configure:10267: $? = 0
1163configure:10289: result: yes
1164configure:10297: checking if /usr/bin/gcc-4.2 -std=gnu99 supports -c -o file.o
1165configure:10345: result: yes
1166configure:10378: checking whether the /usr/bin/gcc-4.2 -std=gnu99 linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) supports shared libraries
1167configure:11646: result: yes
1168configure:11887: checking dynamic linker characteristics
1169configure:12708: result: darwin10.8.0 dyld
1170configure:12830: checking how to hardcode library paths into programs
1171configure:12855: result: immediate
1172configure:13407: checking whether stripping libraries is possible
1173configure:13424: result: yes
1174configure:13458: checking if libtool supports shared libraries
1175configure:13460: result: yes
1176configure:13463: checking whether to build shared libraries
1177configure:13488: result: yes
1178configure:13491: checking whether to build static libraries
1179configure:13495: result: yes
1180configure:13533: checking whether make sets $(MAKE)
1181configure:13556: result: yes
1182configure:13565: checking whether build environment is sane
1183configure:13620: result: yes
1184configure:13634: checking whether to enable maintainer-specific portions of Makefiles
1185configure:13644: result: no
1186configure:13657: checking if malloc debugging is wanted
1187configure:13676: result: no
1188configure:13717: checking for imlib2-config
1189configure:13753: result: no
1190configure:13761: checking for imlib2 - version >= 1.0.0
1191configure:13825: result: no
1192configure:13835: error: Cannot find imlib2: Is imlib2-config in the path?
1193
1194## ---------------- ##
1195## Cache variables. ##
1196## ---------------- ##
1197
1198ac_cv_build=x86_64-apple-darwin10.8.0
1199ac_cv_c_compiler_gnu=yes
1200ac_cv_env_CC_set=set
1201ac_cv_env_CC_value=/usr/bin/gcc-4.2
1202ac_cv_env_CFLAGS_set=set
1203ac_cv_env_CFLAGS_value='-pipe -Os -arch ppc'
1204ac_cv_env_CPPFLAGS_set=set
1205ac_cv_env_CPPFLAGS_value=-I/opt/local/include
1206ac_cv_env_LDFLAGS_set=set
1207ac_cv_env_LDFLAGS_value='-L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc'
1208ac_cv_env_LIBS_set=
1209ac_cv_env_LIBS_value=
1210ac_cv_env_LT_SYS_LIBRARY_PATH_set=
1211ac_cv_env_LT_SYS_LIBRARY_PATH_value=
1212ac_cv_env_build_alias_set=
1213ac_cv_env_build_alias_value=
1214ac_cv_env_host_alias_set=
1215ac_cv_env_host_alias_value=
1216ac_cv_env_target_alias_set=
1217ac_cv_env_target_alias_value=
1218ac_cv_header_dlfcn_h=yes
1219ac_cv_header_inttypes_h=yes
1220ac_cv_header_stdint_h=yes
1221ac_cv_header_stdio_h=yes
1222ac_cv_header_stdlib_h=yes
1223ac_cv_header_string_h=yes
1224ac_cv_header_strings_h=yes
1225ac_cv_header_sys_stat_h=yes
1226ac_cv_header_sys_types_h=yes
1227ac_cv_header_unistd_h=yes
1228ac_cv_host=x86_64-apple-darwin10.8.0
1229ac_cv_objext=o
1230ac_cv_path_EGREP='/opt/local/bin/ggrep -E'
1231ac_cv_path_FGREP='/opt/local/bin/ggrep -F'
1232ac_cv_path_GREP=/opt/local/bin/ggrep
1233ac_cv_path_IMLIB2_CONFIG=no
1234ac_cv_path_SED=/opt/local/bin/gsed
1235ac_cv_path_lt_DD=/bin/dd
1236ac_cv_path_mkdir=/opt/local/bin/gmkdir
1237ac_cv_prog_AWK=gawk
1238ac_cv_prog_ac_ct_AR=ar
1239ac_cv_prog_ac_ct_CC=/usr/bin/gcc-4.2
1240ac_cv_prog_ac_ct_DSYMUTIL=dsymutil
1241ac_cv_prog_ac_ct_FILECMD=file
1242ac_cv_prog_ac_ct_LIPO=lipo
1243ac_cv_prog_ac_ct_NMEDIT=nmedit
1244ac_cv_prog_ac_ct_OTOOL=otool
1245ac_cv_prog_ac_ct_RANLIB=ranlib
1246ac_cv_prog_ac_ct_STRIP=strip
1247ac_cv_prog_cc_c11=no
1248ac_cv_prog_cc_c99=-std=gnu99
1249ac_cv_prog_cc_g=yes
1250ac_cv_prog_cc_stdc=-std=gnu99
1251ac_cv_prog_make_make_set=yes
1252ac_cv_search_strerror='none required'
1253am_cv_CC_dependencies_compiler_type=gcc3
1254am_cv_make_support_nested_variables=yes
1255am_cv_prog_cc_c_o=yes
1256lt_cv_apple_cc_single_mod=yes
1257lt_cv_ar_at_file=no
1258lt_cv_deplibs_check_method=pass_all
1259lt_cv_file_magic_cmd='$MAGIC_CMD'
1260lt_cv_file_magic_test_file=
1261lt_cv_ld_exported_symbols_list=yes
1262lt_cv_ld_force_load=yes
1263lt_cv_ld_reload_flag=-r
1264lt_cv_nm_interface='BSD nm'
1265lt_cv_objdir=.libs
1266lt_cv_path_LD=/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld
1267lt_cv_path_NM=/opt/local/bin/nm
1268lt_cv_path_mainfest_tool=no
1269lt_cv_prog_compiler_c_o=yes
1270lt_cv_prog_compiler_pic='-fno-common -DPIC'
1271lt_cv_prog_compiler_pic_works=yes
1272lt_cv_prog_compiler_rtti_exceptions=no
1273lt_cv_prog_compiler_static_works=no
1274lt_cv_prog_gnu_ld=no
1275lt_cv_sharedlib_from_linklib_cmd='printf %s\n'
1276lt_cv_sys_global_symbol_pipe='/opt/local/bin/gsed -n -e '\''s/^.*[       ]\([BCDEGRST][BCDEGRST]*\)[     ][      ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p'\'' | /opt/local/bin/gsed '\''/ __gnu_lto/d'\'''
1277lt_cv_sys_global_symbol_to_c_name_address='/opt/local/bin/gsed -n -e '\''s/^: \(.*\) .*$/  {"\1", (void *) 0},/p'\'' -e '\''s/^[BCDEGRST][BCDEGRST]* .* \(.*\)$/  {"\1", (void *) \&\1},/p'\'''
1278lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='/opt/local/bin/gsed -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'\'''
1279lt_cv_sys_global_symbol_to_cdecl='/opt/local/bin/gsed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[BCDEGRST][BCDEGRST]* .* \(.*\)$/extern char \1;/p'\'''
1280lt_cv_sys_global_symbol_to_import=
1281lt_cv_sys_max_cmd_len=196608
1282lt_cv_to_host_file_cmd=func_convert_file_noop
1283lt_cv_to_tool_file_cmd=func_convert_file_noop
1284lt_cv_truncate_bin='/bin/dd bs=4096 count=1'
1285
1286## ----------------- ##
1287## Output variables. ##
1288## ----------------- ##
1289
1290ACLOCAL='${SHELL} '\''/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_giblib/giblib/work/giblib-1.2.4/missing'\'' aclocal-1.16'
1291AMDEPBACKSLASH='\'
1292AMDEP_FALSE='#'
1293AMDEP_TRUE=''
1294AMTAR='$${TAR-tar}'
1295AM_BACKSLASH='\'
1296AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
1297AM_DEFAULT_VERBOSITY='1'
1298AM_V='$(V)'
1299AR='ar'
1300AUTOCONF='${SHELL} '\''/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_giblib/giblib/work/giblib-1.2.4/missing'\'' autoconf'
1301AUTOHEADER='${SHELL} '\''/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_giblib/giblib/work/giblib-1.2.4/missing'\'' autoheader'
1302AUTOMAKE='${SHELL} '\''/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_giblib/giblib/work/giblib-1.2.4/missing'\'' automake-1.16'
1303AWK='gawk'
1304CC='/usr/bin/gcc-4.2 -std=gnu99'
1305CCDEPMODE='depmode=gcc3'
1306CFLAGS='-pipe -Os -arch ppc'
1307CPPFLAGS='-I/opt/local/include'
1308CSCOPE='cscope'
1309CTAGS='ctags'
1310CYGPATH_W='echo'
1311DEFS=''
1312DEPDIR='.deps'
1313DLLTOOL='false'
1314DSYMUTIL='dsymutil'
1315DUMPBIN=''
1316ECHO_C='\c'
1317ECHO_N=''
1318ECHO_T=''
1319EGREP='/opt/local/bin/ggrep -E'
1320ETAGS='etags'
1321EXEEXT=''
1322FGREP='/opt/local/bin/ggrep -F'
1323FILECMD='file'
1324GREP='/opt/local/bin/ggrep'
1325IMLIB2_CFLAGS=''
1326IMLIB2_CONFIG='no'
1327IMLIB2_LIBS=''
1328IMLIB_CFLAGS=''
1329IMLIB_LIBS=''
1330INSTALL_DATA='${INSTALL} -m 644'
1331INSTALL_PROGRAM='${INSTALL}'
1332INSTALL_SCRIPT='${INSTALL}'
1333INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
1334LD='/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld'
1335LDFLAGS='-L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc'
1336LIBOBJS=''
1337LIBS=''
1338LIBTOOL='$(SHELL) $(top_builddir)/libtool'
1339LIPO='lipo'
1340LN_S='ln -s'
1341LTLIBOBJS=''
1342LT_SYS_LIBRARY_PATH=''
1343MAINT='#'
1344MAINTAINER_MODE_FALSE=''
1345MAINTAINER_MODE_TRUE='#'
1346MAKEINFO='${SHELL} '\''/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_giblib/giblib/work/giblib-1.2.4/missing'\'' makeinfo'
1347MANIFEST_TOOL=':'
1348MKDIR_P='/opt/local/bin/gmkdir -p'
1349NM='/opt/local/bin/nm'
1350NMEDIT='nmedit'
1351OBJDUMP='false'
1352OBJEXT='o'
1353OTOOL64=':'
1354OTOOL='otool'
1355PACKAGE='giblib'
1356PACKAGE_BUGREPORT=''
1357PACKAGE_NAME=''
1358PACKAGE_STRING=''
1359PACKAGE_TARNAME=''
1360PACKAGE_URL=''
1361PACKAGE_VERSION=''
1362PATH_SEPARATOR=':'
1363RANLIB='ranlib'
1364SED='/opt/local/bin/gsed'
1365SET_MAKE=''
1366SHELL='/bin/sh'
1367STRIP='strip'
1368VERSION='1.2.4'
1369ac_ct_AR='ar'
1370ac_ct_CC='/usr/bin/gcc-4.2'
1371ac_ct_DUMPBIN=''
1372am__EXEEXT_FALSE=''
1373am__EXEEXT_TRUE=''
1374am__fastdepCC_FALSE='#'
1375am__fastdepCC_TRUE=''
1376am__include='include'
1377am__isrc=''
1378am__leading_dot='.'
1379am__nodep='_no'
1380am__quote=''
1381am__tar='$${TAR-tar} chof - "$$tardir"'
1382am__untar='$${TAR-tar} xf -'
1383bindir='${exec_prefix}/bin'
1384build='x86_64-apple-darwin10.8.0'
1385build_alias=''
1386build_cpu='x86_64'
1387build_os='darwin10.8.0'
1388build_vendor='apple'
1389datadir='${datarootdir}'
1390datarootdir='${prefix}/share'
1391docdir='${datarootdir}/doc/${PACKAGE}'
1392dvidir='${docdir}'
1393exec_prefix='NONE'
1394host='x86_64-apple-darwin10.8.0'
1395host_alias=''
1396host_cpu='x86_64'
1397host_os='darwin10.8.0'
1398host_vendor='apple'
1399htmldir='${docdir}'
1400includedir='${prefix}/include'
1401infodir='${datarootdir}/info'
1402install_sh='${SHELL} /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_giblib/giblib/work/giblib-1.2.4/install-sh'
1403libdir='${exec_prefix}/lib'
1404libexecdir='${exec_prefix}/libexec'
1405localedir='${datarootdir}/locale'
1406localstatedir='${prefix}/var'
1407mandir='${datarootdir}/man'
1408mkdir_p='$(MKDIR_P)'
1409oldincludedir='/usr/include'
1410pdfdir='${docdir}'
1411prefix='/opt/local'
1412program_transform_name='s,x,x,'
1413psdir='${docdir}'
1414runstatedir='${localstatedir}/run'
1415sbindir='${exec_prefix}/sbin'
1416sharedstatedir='${prefix}/com'
1417sysconfdir='${prefix}/etc'
1418target_alias=''
1419
1420## ----------- ##
1421## confdefs.h. ##
1422## ----------- ##
1423
1424/* confdefs.h */
1425#define PACKAGE_NAME ""
1426#define PACKAGE_TARNAME ""
1427#define PACKAGE_VERSION ""
1428#define PACKAGE_STRING ""
1429#define PACKAGE_BUGREPORT ""
1430#define PACKAGE_URL ""
1431#define HAVE_STDIO_H 1
1432#define HAVE_STDLIB_H 1
1433#define HAVE_STRING_H 1
1434#define HAVE_INTTYPES_H 1
1435#define HAVE_STDINT_H 1
1436#define HAVE_STRINGS_H 1
1437#define HAVE_SYS_STAT_H 1
1438#define HAVE_SYS_TYPES_H 1
1439#define HAVE_UNISTD_H 1
1440#define STDC_HEADERS 1
1441#define HAVE_DLFCN_H 1
1442#define LT_OBJDIR ".libs/"
1443
1444configure: exit 1