Ticket #64779: config_ppc32_Leo.log

File config_ppc32_Leo.log, 165.1 KB (added by barracuda156, 2 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 flac configure 1.3.4, which was
5generated by GNU Autoconf 2.71.  Invocation command line was
6
7  $ ./configure --prefix=/opt/local --disable-silent-rules --disable-xmms-plugin
8
9## --------- ##
10## Platform. ##
11## --------- ##
12
13hostname = 36-72.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: 61 tasks, 273 threads, 4 processors
34Load average: 1.01, Mach factor: 2.98
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:3198: looking for aux files: config.rpath config.guess config.sub ltmain.sh ar-lib compile missing install-sh
52configure:3211:  trying ./
53configure:3240:   ./config.rpath found
54configure:3240:   ./config.guess found
55configure:3240:   ./config.sub found
56configure:3240:   ./ltmain.sh found
57configure:3240:   ./ar-lib found
58configure:3240:   ./compile found
59configure:3240:   ./missing found
60configure:3222:   ./install-sh found
61configure:3373: checking for a BSD-compatible install
62configure:3446: result: /usr/bin/install -c
63configure:3457: checking whether build environment is sane
64configure:3512: result: yes
65configure:3671: checking for a race-free mkdir -p
66configure:3715: result: /opt/local/bin/gmkdir -p
67configure:3722: checking for gawk
68configure:3743: found /opt/local/bin/gawk
69configure:3754: result: gawk
70configure:3765: checking whether make sets $(MAKE)
71configure:3788: result: yes
72configure:3818: checking whether make supports nested variables
73configure:3836: result: yes
74configure:3911: checking how to create a pax tar archive
75configure:3922: tar --version
76tar (GNU tar) 1.15.1
77configure:3925: $? = 0
78configure:3965: tardir=conftest.dir && eval tar --format=posix -chf - "$tardir" >conftest.tar
79configure:3968: $? = 0
80configure:3972: tar -xf - <conftest.tar
81configure:3975: $? = 0
82configure:3977: cat conftest.dir/file
83GrepMe
84configure:3980: $? = 0
85configure:3994: result: gnutar
86configure:4070: checking whether make supports nested variables
87configure:4088: result: yes
88configure:4100: checking whether configure should try to set CFLAGS/CXXFLAGS/CPPFLAGS/LDFLAGS
89configure:4109: result: no
90configure:4113: checking whether to enable debugging
91configure:4178: result: no
92configure:4229: checking whether make supports the include directive
93configure:4244: make -f confmf.GNU && cat confinc.out
94this is the am__doit target
95configure:4247: $? = 0
96configure:4266: result: yes (GNU style)
97configure:4342: checking for gcc
98configure:4374: result: /usr/bin/gcc-4.2
99configure:4727: checking for C compiler version
100configure:4736: /usr/bin/gcc-4.2 --version >&5
101powerpc-apple-darwin9-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5577)
102Copyright (C) 2007 Free Software Foundation, Inc.
103This is free software; see the source for copying conditions.  There is NO
104warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
105
106configure:4747: $? = 0
107configure:4736: /usr/bin/gcc-4.2 -v >&5
108Using built-in specs.
109Target: powerpc-apple-darwin9
110Configured 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
111Thread model: posix
112gcc version 4.2.1 (Apple Inc. build 5577)
113configure:4747: $? = 0
114configure:4736: /usr/bin/gcc-4.2 -V >&5
115gcc-4.2: argument to `-V' is missing
116configure:4747: $? = 1
117configure:4736: /usr/bin/gcc-4.2 -qversion >&5
118powerpc-apple-darwin9-gcc-4.2.1: no input files
119configure:4747: $? = 1
120configure:4736: /usr/bin/gcc-4.2 -version >&5
121powerpc-apple-darwin9-gcc-4.2.1: no input files
122configure:4747: $? = 1
123configure:4767: checking whether the C compiler works
124configure:4789: /usr/bin/gcc-4.2 -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc conftest.c  >&5
125configure:4793: $? = 0
126configure:4843: result: yes
127configure:4846: checking for C compiler default output file name
128configure:4848: result: a.out
129configure:4854: checking for suffix of executables
130configure:4861: /usr/bin/gcc-4.2 -o conftest -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc conftest.c  >&5
131configure:4865: $? = 0
132configure:4888: result:
133configure:4910: checking whether we are cross compiling
134configure:4918: /usr/bin/gcc-4.2 -o conftest -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc conftest.c  >&5
135configure:4922: $? = 0
136configure:4929: ./conftest
137configure:4933: $? = 0
138configure:4948: result: no
139configure:4953: checking for suffix of object files
140configure:4976: /usr/bin/gcc-4.2 -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include conftest.c >&5
141configure:4980: $? = 0
142configure:5002: result: o
143configure:5006: checking whether the compiler supports GNU C
144configure:5026: /usr/bin/gcc-4.2 -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include conftest.c >&5
145configure:5026: $? = 0
146configure:5036: result: yes
147configure:5047: checking whether /usr/bin/gcc-4.2 accepts -g
148configure:5068: /usr/bin/gcc-4.2 -c -g -I/opt/local/include conftest.c >&5
149configure:5068: $? = 0
150configure:5112: result: yes
151configure:5132: checking for /usr/bin/gcc-4.2 option to enable C11 features
152configure:5147: /usr/bin/gcc-4.2  -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include conftest.c >&5
153conftest.c:64:3: error: #error "Compiler does not advertise C99 conformance"
154conftest.c:119: error: expected ';', ',' or ')' before 'text'
155conftest.c:168:3: error: #error "Compiler does not advertise C11 conformance"
156conftest.c: In function '_Alignas':
157conftest.c:172: error: expected declaration specifiers before 'aligned_as_double'
158conftest.c:173: error: expected declaration specifiers or '...' before numeric constant
159conftest.c:173: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'no_special_alignment'
160conftest.c:174: error: storage class specified for parameter 'aligned_as_int'
161conftest.c:175: error: expected declaration specifiers or '...' before numeric constant
162conftest.c:175: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_Alignas'
163conftest.c:180: error: expected expression before 'int'
164conftest.c:180: error: enumerator value for 'int_alignment' is not an integer constant
165conftest.c:181: error: expected expression before 'int'
166conftest.c:181: error: enumerator value for 'int_array_alignment' is not an integer constant
167conftest.c:182: error: expected expression before 'char'
168conftest.c:183: error: enumerator value for 'char_alignment' is not an integer constant
169conftest.c:183: warning: empty declaration
170conftest.c:184: error: expected declaration specifiers before '_Static_assert'
171conftest.c:187: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'does_not_return'
172conftest.c:193: error: expected specifier-qualifier-list before '_Static_assert'
173conftest.c:196: warning: empty declaration
174conftest.c:200: error: parameter 'utf8_literal' is initialized
175conftest.c:200: error: 'syntax' undeclared (first use in this function)
176conftest.c:200: error: (Each undeclared identifier is reported only once
177conftest.c:200: error: for each function it appears in.)
178conftest.c:200: error: expected ',' or ';' before 'error'
179conftest.c:203: error: storage class specified for parameter 'long_ptr'
180conftest.c:204: error: storage class specified for parameter 'long_ptr'
181conftest.c:204: error: redefinition of parameter 'long_ptr'
182conftest.c:203: error: previous definition of 'long_ptr' was here
183conftest.c:205: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long_ptr'
184conftest.c:220: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
185conftest.c:272: error: old-style parameter declarations in prototyped function definition
186conftest.c:172: error: parameter name omitted
187conftest.c:272: error: expected '{' at end of input
188configure:5147: $? = 1
189configure: failed program was:
190| /* confdefs.h */
191| #define PACKAGE_NAME "flac"
192| #define PACKAGE_TARNAME "flac"
193| #define PACKAGE_VERSION "1.3.4"
194| #define PACKAGE_STRING "flac 1.3.4"
195| #define PACKAGE_BUGREPORT "flac-dev@xiph.org"
196| #define PACKAGE_URL "https://www.xiph.org/flac/"
197| #define PACKAGE "flac"
198| #define VERSION "1.3.4"
199| #define NDEBUG /**/
200| /* end confdefs.h.  */
201|
202| /* Does the compiler advertise C89 conformance?
203|    Do not test the value of __STDC__, because some compilers set it to 0
204|    while being otherwise adequately conformant. */
205| #if !defined __STDC__
206| # error "Compiler does not advertise C89 conformance"
207| #endif
208|
209| #include <stddef.h>
210| #include <stdarg.h>
211| struct stat;
212| /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
213| struct buf { int x; };
214| struct buf * (*rcsopen) (struct buf *, struct stat *, int);
215| static char *e (p, i)
216|      char **p;
217|      int i;
218| {
219|   return p[i];
220| }
221| static char *f (char * (*g) (char **, int), char **p, ...)
222| {
223|   char *s;
224|   va_list v;
225|   va_start (v,p);
226|   s = g (p, va_arg (v,int));
227|   va_end (v);
228|   return s;
229| }
230|
231| /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
232|    function prototypes and stuff, but not \xHH hex character constants.
233|    These do not provoke an error unfortunately, instead are silently treated
234|    as an "x".  The following induces an error, until -std is added to get
235|    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
236|    array size at least.  It is necessary to write \x00 == 0 to get something
237|    that is true only with -std.  */
238| int osf4_cc_array ['\x00' == 0 ? 1 : -1];
239|
240| /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
241|    inside strings and character constants.  */
242| #define FOO(x) 'x'
243| int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
244|
245| int test (int i, double x);
246| struct s1 {int (*f) (int a);};
247| struct s2 {int (*f) (double a);};
248| int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
249|                int, int);
250|
251| // Does the compiler advertise C99 conformance?
252| #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
253| # error "Compiler does not advertise C99 conformance"
254| #endif
255|
256| #include <stdbool.h>
257| extern int puts (const char *);
258| extern int printf (const char *, ...);
259| extern int dprintf (int, const char *, ...);
260| extern void *malloc (size_t);
261|
262| // Check varargs macros.  These examples are taken from C99 6.10.3.5.
263| // dprintf is used instead of fprintf to avoid needing to declare
264| // FILE and stderr.
265| #define debug(...) dprintf (2, __VA_ARGS__)
266| #define showlist(...) puts (#__VA_ARGS__)
267| #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
268| static void
269| test_varargs_macros (void)
270| {
271|   int x = 1234;
272|   int y = 5678;
273|   debug ("Flag");
274|   debug ("X = %d\n", x);
275|   showlist (The first, second, and third items.);
276|   report (x>y, "x is %d but y is %d", x, y);
277| }
278|
279| // Check long long types.
280| #define BIG64 18446744073709551615ull
281| #define BIG32 4294967295ul
282| #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
283| #if !BIG_OK
284|   #error "your preprocessor is broken"
285| #endif
286| #if BIG_OK
287| #else
288|   #error "your preprocessor is broken"
289| #endif
290| static long long int bignum = -9223372036854775807LL;
291| static unsigned long long int ubignum = BIG64;
292|
293| struct incomplete_array
294| {
295|   int datasize;
296|   double data[];
297| };
298|
299| struct named_init {
300|   int number;
301|   const wchar_t *name;
302|   double average;
303| };
304|
305| typedef const char *ccp;
306|
307| static inline int
308| test_restrict (ccp restrict text)
309| {
310|   // See if C++-style comments work.
311|   // Iterate through items via the restricted pointer.
312|   // Also check for declarations in for loops.
313|   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
314|     continue;
315|   return 0;
316| }
317|
318| // Check varargs and va_copy.
319| static bool
320| test_varargs (const char *format, ...)
321| {
322|   va_list args;
323|   va_start (args, format);
324|   va_list args_copy;
325|   va_copy (args_copy, args);
326|
327|   const char *str = "";
328|   int number = 0;
329|   float fnumber = 0;
330|
331|   while (*format)
332|     {
333|       switch (*format++)
334|       {
335|       case 's': // string
336|         str = va_arg (args_copy, const char *);
337|         break;
338|       case 'd': // int
339|         number = va_arg (args_copy, int);
340|         break;
341|       case 'f': // float
342|         fnumber = va_arg (args_copy, double);
343|         break;
344|       default:
345|         break;
346|       }
347|     }
348|   va_end (args_copy);
349|   va_end (args);
350|
351|   return *str && number && fnumber;
352| }
353|
354|
355| // Does the compiler advertise C11 conformance?
356| #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
357| # error "Compiler does not advertise C11 conformance"
358| #endif
359|
360| // Check _Alignas.
361| char _Alignas (double) aligned_as_double;
362| char _Alignas (0) no_special_alignment;
363| extern char aligned_as_int;
364| char _Alignas (0) _Alignas (int) aligned_as_int;
365|
366| // Check _Alignof.
367| enum
368| {
369|   int_alignment = _Alignof (int),
370|   int_array_alignment = _Alignof (int[100]),
371|   char_alignment = _Alignof (char)
372| };
373| _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
374|
375| // Check _Noreturn.
376| int _Noreturn does_not_return (void) { for (;;) continue; }
377|
378| // Check _Static_assert.
379| struct test_static_assert
380| {
381|   int x;
382|   _Static_assert (sizeof (int) <= sizeof (long int),
383|                   "_Static_assert does not work in struct");
384|   long int y;
385| };
386|
387| // Check UTF-8 literals.
388| #define u8 syntax error!
389| char const utf8_literal[] = u8"happens to be ASCII" "another string";
390|
391| // Check duplicate typedefs.
392| typedef long *long_ptr;
393| typedef long int *long_ptr;
394| typedef long_ptr long_ptr;
395|
396| // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
397| struct anonymous
398| {
399|   union {
400|     struct { int i; int j; };
401|     struct { int k; long int l; } w;
402|   };
403|   int m;
404| } v1;
405|
406|
407| int
408| main (int argc, char **argv)
409| {
410|   int ok = 0;
411|   
412| ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
413|
414|   
415|   // Check bool.
416|   _Bool success = false;
417|   success |= (argc != 0);
418|
419|   // Check restrict.
420|   if (test_restrict ("String literal") == 0)
421|     success = true;
422|   char *restrict newvar = "Another string";
423|
424|   // Check varargs.
425|   success &= test_varargs ("s, d' f .", "string", 65, 34.234);
426|   test_varargs_macros ();
427|
428|   // Check flexible array members.
429|   struct incomplete_array *ia =
430|     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
431|   ia->datasize = 10;
432|   for (int i = 0; i < ia->datasize; ++i)
433|     ia->data[i] = i * 1.234;
434|
435|   // Check named initializers.
436|   struct named_init ni = {
437|     .number = 34,
438|     .name = L"Test wide string",
439|     .average = 543.34343,
440|   };
441|
442|   ni.number = 58;
443|
444|   int dynamic_array[ni.number];
445|   dynamic_array[0] = argv[0][0];
446|   dynamic_array[ni.number - 1] = 543;
447|
448|   // work around unused variable warnings
449|   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
450|        || dynamic_array[ni.number - 1] != 543);
451|
452|   
453|   _Static_assert ((offsetof (struct anonymous, i)
454|                  == offsetof (struct anonymous, w.k)),
455|                 "Anonymous union alignment botch");
456|   v1.i = 2;
457|   v1.w.k = 5;
458|   ok |= v1.i != 5;
459|
460|   return ok;
461| }
462|
463configure:5147: /usr/bin/gcc-4.2 -std=gnu11 -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include conftest.c >&5
464cc1: error: unrecognized command line option "-std=gnu11"
465configure:5147: $? = 1
466configure: failed program was:
467| /* confdefs.h */
468| #define PACKAGE_NAME "flac"
469| #define PACKAGE_TARNAME "flac"
470| #define PACKAGE_VERSION "1.3.4"
471| #define PACKAGE_STRING "flac 1.3.4"
472| #define PACKAGE_BUGREPORT "flac-dev@xiph.org"
473| #define PACKAGE_URL "https://www.xiph.org/flac/"
474| #define PACKAGE "flac"
475| #define VERSION "1.3.4"
476| #define NDEBUG /**/
477| /* end confdefs.h.  */
478|
479| /* Does the compiler advertise C89 conformance?
480|    Do not test the value of __STDC__, because some compilers set it to 0
481|    while being otherwise adequately conformant. */
482| #if !defined __STDC__
483| # error "Compiler does not advertise C89 conformance"
484| #endif
485|
486| #include <stddef.h>
487| #include <stdarg.h>
488| struct stat;
489| /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
490| struct buf { int x; };
491| struct buf * (*rcsopen) (struct buf *, struct stat *, int);
492| static char *e (p, i)
493|      char **p;
494|      int i;
495| {
496|   return p[i];
497| }
498| static char *f (char * (*g) (char **, int), char **p, ...)
499| {
500|   char *s;
501|   va_list v;
502|   va_start (v,p);
503|   s = g (p, va_arg (v,int));
504|   va_end (v);
505|   return s;
506| }
507|
508| /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
509|    function prototypes and stuff, but not \xHH hex character constants.
510|    These do not provoke an error unfortunately, instead are silently treated
511|    as an "x".  The following induces an error, until -std is added to get
512|    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
513|    array size at least.  It is necessary to write \x00 == 0 to get something
514|    that is true only with -std.  */
515| int osf4_cc_array ['\x00' == 0 ? 1 : -1];
516|
517| /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
518|    inside strings and character constants.  */
519| #define FOO(x) 'x'
520| int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
521|
522| int test (int i, double x);
523| struct s1 {int (*f) (int a);};
524| struct s2 {int (*f) (double a);};
525| int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
526|                int, int);
527|
528| // Does the compiler advertise C99 conformance?
529| #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
530| # error "Compiler does not advertise C99 conformance"
531| #endif
532|
533| #include <stdbool.h>
534| extern int puts (const char *);
535| extern int printf (const char *, ...);
536| extern int dprintf (int, const char *, ...);
537| extern void *malloc (size_t);
538|
539| // Check varargs macros.  These examples are taken from C99 6.10.3.5.
540| // dprintf is used instead of fprintf to avoid needing to declare
541| // FILE and stderr.
542| #define debug(...) dprintf (2, __VA_ARGS__)
543| #define showlist(...) puts (#__VA_ARGS__)
544| #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
545| static void
546| test_varargs_macros (void)
547| {
548|   int x = 1234;
549|   int y = 5678;
550|   debug ("Flag");
551|   debug ("X = %d\n", x);
552|   showlist (The first, second, and third items.);
553|   report (x>y, "x is %d but y is %d", x, y);
554| }
555|
556| // Check long long types.
557| #define BIG64 18446744073709551615ull
558| #define BIG32 4294967295ul
559| #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
560| #if !BIG_OK
561|   #error "your preprocessor is broken"
562| #endif
563| #if BIG_OK
564| #else
565|   #error "your preprocessor is broken"
566| #endif
567| static long long int bignum = -9223372036854775807LL;
568| static unsigned long long int ubignum = BIG64;
569|
570| struct incomplete_array
571| {
572|   int datasize;
573|   double data[];
574| };
575|
576| struct named_init {
577|   int number;
578|   const wchar_t *name;
579|   double average;
580| };
581|
582| typedef const char *ccp;
583|
584| static inline int
585| test_restrict (ccp restrict text)
586| {
587|   // See if C++-style comments work.
588|   // Iterate through items via the restricted pointer.
589|   // Also check for declarations in for loops.
590|   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
591|     continue;
592|   return 0;
593| }
594|
595| // Check varargs and va_copy.
596| static bool
597| test_varargs (const char *format, ...)
598| {
599|   va_list args;
600|   va_start (args, format);
601|   va_list args_copy;
602|   va_copy (args_copy, args);
603|
604|   const char *str = "";
605|   int number = 0;
606|   float fnumber = 0;
607|
608|   while (*format)
609|     {
610|       switch (*format++)
611|       {
612|       case 's': // string
613|         str = va_arg (args_copy, const char *);
614|         break;
615|       case 'd': // int
616|         number = va_arg (args_copy, int);
617|         break;
618|       case 'f': // float
619|         fnumber = va_arg (args_copy, double);
620|         break;
621|       default:
622|         break;
623|       }
624|     }
625|   va_end (args_copy);
626|   va_end (args);
627|
628|   return *str && number && fnumber;
629| }
630|
631|
632| // Does the compiler advertise C11 conformance?
633| #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
634| # error "Compiler does not advertise C11 conformance"
635| #endif
636|
637| // Check _Alignas.
638| char _Alignas (double) aligned_as_double;
639| char _Alignas (0) no_special_alignment;
640| extern char aligned_as_int;
641| char _Alignas (0) _Alignas (int) aligned_as_int;
642|
643| // Check _Alignof.
644| enum
645| {
646|   int_alignment = _Alignof (int),
647|   int_array_alignment = _Alignof (int[100]),
648|   char_alignment = _Alignof (char)
649| };
650| _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
651|
652| // Check _Noreturn.
653| int _Noreturn does_not_return (void) { for (;;) continue; }
654|
655| // Check _Static_assert.
656| struct test_static_assert
657| {
658|   int x;
659|   _Static_assert (sizeof (int) <= sizeof (long int),
660|                   "_Static_assert does not work in struct");
661|   long int y;
662| };
663|
664| // Check UTF-8 literals.
665| #define u8 syntax error!
666| char const utf8_literal[] = u8"happens to be ASCII" "another string";
667|
668| // Check duplicate typedefs.
669| typedef long *long_ptr;
670| typedef long int *long_ptr;
671| typedef long_ptr long_ptr;
672|
673| // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
674| struct anonymous
675| {
676|   union {
677|     struct { int i; int j; };
678|     struct { int k; long int l; } w;
679|   };
680|   int m;
681| } v1;
682|
683|
684| int
685| main (int argc, char **argv)
686| {
687|   int ok = 0;
688|   
689| ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
690|
691|   
692|   // Check bool.
693|   _Bool success = false;
694|   success |= (argc != 0);
695|
696|   // Check restrict.
697|   if (test_restrict ("String literal") == 0)
698|     success = true;
699|   char *restrict newvar = "Another string";
700|
701|   // Check varargs.
702|   success &= test_varargs ("s, d' f .", "string", 65, 34.234);
703|   test_varargs_macros ();
704|
705|   // Check flexible array members.
706|   struct incomplete_array *ia =
707|     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
708|   ia->datasize = 10;
709|   for (int i = 0; i < ia->datasize; ++i)
710|     ia->data[i] = i * 1.234;
711|
712|   // Check named initializers.
713|   struct named_init ni = {
714|     .number = 34,
715|     .name = L"Test wide string",
716|     .average = 543.34343,
717|   };
718|
719|   ni.number = 58;
720|
721|   int dynamic_array[ni.number];
722|   dynamic_array[0] = argv[0][0];
723|   dynamic_array[ni.number - 1] = 543;
724|
725|   // work around unused variable warnings
726|   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
727|        || dynamic_array[ni.number - 1] != 543);
728|
729|   
730|   _Static_assert ((offsetof (struct anonymous, i)
731|                  == offsetof (struct anonymous, w.k)),
732|                 "Anonymous union alignment botch");
733|   v1.i = 2;
734|   v1.w.k = 5;
735|   ok |= v1.i != 5;
736|
737|   return ok;
738| }
739|
740configure:5160: result: unsupported
741configure:5178: checking for /usr/bin/gcc-4.2 option to enable C99 features
742configure:5193: /usr/bin/gcc-4.2  -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include conftest.c >&5
743conftest.c:64:3: error: #error "Compiler does not advertise C99 conformance"
744conftest.c:119: error: expected ';', ',' or ')' before 'text'
745conftest.c: In function 'main':
746conftest.c:181: error: nested functions are disabled, use -fnested-functions to re-enable
747conftest.c:181: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'newvar'
748conftest.c:181: error: 'newvar' undeclared (first use in this function)
749conftest.c:181: error: (Each undeclared identifier is reported only once
750conftest.c:181: error: for each function it appears in.)
751conftest.c:191: error: 'for' loop initial declaration used outside C99 mode
752configure:5193: $? = 1
753configure: failed program was:
754| /* confdefs.h */
755| #define PACKAGE_NAME "flac"
756| #define PACKAGE_TARNAME "flac"
757| #define PACKAGE_VERSION "1.3.4"
758| #define PACKAGE_STRING "flac 1.3.4"
759| #define PACKAGE_BUGREPORT "flac-dev@xiph.org"
760| #define PACKAGE_URL "https://www.xiph.org/flac/"
761| #define PACKAGE "flac"
762| #define VERSION "1.3.4"
763| #define NDEBUG /**/
764| /* end confdefs.h.  */
765|
766| /* Does the compiler advertise C89 conformance?
767|    Do not test the value of __STDC__, because some compilers set it to 0
768|    while being otherwise adequately conformant. */
769| #if !defined __STDC__
770| # error "Compiler does not advertise C89 conformance"
771| #endif
772|
773| #include <stddef.h>
774| #include <stdarg.h>
775| struct stat;
776| /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
777| struct buf { int x; };
778| struct buf * (*rcsopen) (struct buf *, struct stat *, int);
779| static char *e (p, i)
780|      char **p;
781|      int i;
782| {
783|   return p[i];
784| }
785| static char *f (char * (*g) (char **, int), char **p, ...)
786| {
787|   char *s;
788|   va_list v;
789|   va_start (v,p);
790|   s = g (p, va_arg (v,int));
791|   va_end (v);
792|   return s;
793| }
794|
795| /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
796|    function prototypes and stuff, but not \xHH hex character constants.
797|    These do not provoke an error unfortunately, instead are silently treated
798|    as an "x".  The following induces an error, until -std is added to get
799|    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
800|    array size at least.  It is necessary to write \x00 == 0 to get something
801|    that is true only with -std.  */
802| int osf4_cc_array ['\x00' == 0 ? 1 : -1];
803|
804| /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
805|    inside strings and character constants.  */
806| #define FOO(x) 'x'
807| int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
808|
809| int test (int i, double x);
810| struct s1 {int (*f) (int a);};
811| struct s2 {int (*f) (double a);};
812| int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
813|                int, int);
814|
815| // Does the compiler advertise C99 conformance?
816| #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
817| # error "Compiler does not advertise C99 conformance"
818| #endif
819|
820| #include <stdbool.h>
821| extern int puts (const char *);
822| extern int printf (const char *, ...);
823| extern int dprintf (int, const char *, ...);
824| extern void *malloc (size_t);
825|
826| // Check varargs macros.  These examples are taken from C99 6.10.3.5.
827| // dprintf is used instead of fprintf to avoid needing to declare
828| // FILE and stderr.
829| #define debug(...) dprintf (2, __VA_ARGS__)
830| #define showlist(...) puts (#__VA_ARGS__)
831| #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
832| static void
833| test_varargs_macros (void)
834| {
835|   int x = 1234;
836|   int y = 5678;
837|   debug ("Flag");
838|   debug ("X = %d\n", x);
839|   showlist (The first, second, and third items.);
840|   report (x>y, "x is %d but y is %d", x, y);
841| }
842|
843| // Check long long types.
844| #define BIG64 18446744073709551615ull
845| #define BIG32 4294967295ul
846| #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
847| #if !BIG_OK
848|   #error "your preprocessor is broken"
849| #endif
850| #if BIG_OK
851| #else
852|   #error "your preprocessor is broken"
853| #endif
854| static long long int bignum = -9223372036854775807LL;
855| static unsigned long long int ubignum = BIG64;
856|
857| struct incomplete_array
858| {
859|   int datasize;
860|   double data[];
861| };
862|
863| struct named_init {
864|   int number;
865|   const wchar_t *name;
866|   double average;
867| };
868|
869| typedef const char *ccp;
870|
871| static inline int
872| test_restrict (ccp restrict text)
873| {
874|   // See if C++-style comments work.
875|   // Iterate through items via the restricted pointer.
876|   // Also check for declarations in for loops.
877|   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
878|     continue;
879|   return 0;
880| }
881|
882| // Check varargs and va_copy.
883| static bool
884| test_varargs (const char *format, ...)
885| {
886|   va_list args;
887|   va_start (args, format);
888|   va_list args_copy;
889|   va_copy (args_copy, args);
890|
891|   const char *str = "";
892|   int number = 0;
893|   float fnumber = 0;
894|
895|   while (*format)
896|     {
897|       switch (*format++)
898|       {
899|       case 's': // string
900|         str = va_arg (args_copy, const char *);
901|         break;
902|       case 'd': // int
903|         number = va_arg (args_copy, int);
904|         break;
905|       case 'f': // float
906|         fnumber = va_arg (args_copy, double);
907|         break;
908|       default:
909|         break;
910|       }
911|     }
912|   va_end (args_copy);
913|   va_end (args);
914|
915|   return *str && number && fnumber;
916| }
917|
918|
919| int
920| main (int argc, char **argv)
921| {
922|   int ok = 0;
923|   
924| ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
925|
926|   
927|   // Check bool.
928|   _Bool success = false;
929|   success |= (argc != 0);
930|
931|   // Check restrict.
932|   if (test_restrict ("String literal") == 0)
933|     success = true;
934|   char *restrict newvar = "Another string";
935|
936|   // Check varargs.
937|   success &= test_varargs ("s, d' f .", "string", 65, 34.234);
938|   test_varargs_macros ();
939|
940|   // Check flexible array members.
941|   struct incomplete_array *ia =
942|     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
943|   ia->datasize = 10;
944|   for (int i = 0; i < ia->datasize; ++i)
945|     ia->data[i] = i * 1.234;
946|
947|   // Check named initializers.
948|   struct named_init ni = {
949|     .number = 34,
950|     .name = L"Test wide string",
951|     .average = 543.34343,
952|   };
953|
954|   ni.number = 58;
955|
956|   int dynamic_array[ni.number];
957|   dynamic_array[0] = argv[0][0];
958|   dynamic_array[ni.number - 1] = 543;
959|
960|   // work around unused variable warnings
961|   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
962|        || dynamic_array[ni.number - 1] != 543);
963|
964|   return ok;
965| }
966|
967configure:5193: /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include conftest.c >&5
968conftest.c:64:3: error: #error "Compiler does not advertise C99 conformance"
969conftest.c:119: error: expected ';', ',' or ')' before 'text'
970conftest.c: In function 'main':
971conftest.c:181: error: nested functions are disabled, use -fnested-functions to re-enable
972conftest.c:181: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'newvar'
973conftest.c:181: error: 'newvar' undeclared (first use in this function)
974conftest.c:181: error: (Each undeclared identifier is reported only once
975conftest.c:181: error: for each function it appears in.)
976conftest.c:191: error: 'for' loop initial declaration used outside C99 mode
977configure:5193: $? = 1
978configure: failed program was:
979| /* confdefs.h */
980| #define PACKAGE_NAME "flac"
981| #define PACKAGE_TARNAME "flac"
982| #define PACKAGE_VERSION "1.3.4"
983| #define PACKAGE_STRING "flac 1.3.4"
984| #define PACKAGE_BUGREPORT "flac-dev@xiph.org"
985| #define PACKAGE_URL "https://www.xiph.org/flac/"
986| #define PACKAGE "flac"
987| #define VERSION "1.3.4"
988| #define NDEBUG /**/
989| /* end confdefs.h.  */
990|
991| /* Does the compiler advertise C89 conformance?
992|    Do not test the value of __STDC__, because some compilers set it to 0
993|    while being otherwise adequately conformant. */
994| #if !defined __STDC__
995| # error "Compiler does not advertise C89 conformance"
996| #endif
997|
998| #include <stddef.h>
999| #include <stdarg.h>
1000| struct stat;
1001| /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
1002| struct buf { int x; };
1003| struct buf * (*rcsopen) (struct buf *, struct stat *, int);
1004| static char *e (p, i)
1005|      char **p;
1006|      int i;
1007| {
1008|   return p[i];
1009| }
1010| static char *f (char * (*g) (char **, int), char **p, ...)
1011| {
1012|   char *s;
1013|   va_list v;
1014|   va_start (v,p);
1015|   s = g (p, va_arg (v,int));
1016|   va_end (v);
1017|   return s;
1018| }
1019|
1020| /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
1021|    function prototypes and stuff, but not \xHH hex character constants.
1022|    These do not provoke an error unfortunately, instead are silently treated
1023|    as an "x".  The following induces an error, until -std is added to get
1024|    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
1025|    array size at least.  It is necessary to write \x00 == 0 to get something
1026|    that is true only with -std.  */
1027| int osf4_cc_array ['\x00' == 0 ? 1 : -1];
1028|
1029| /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
1030|    inside strings and character constants.  */
1031| #define FOO(x) 'x'
1032| int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
1033|
1034| int test (int i, double x);
1035| struct s1 {int (*f) (int a);};
1036| struct s2 {int (*f) (double a);};
1037| int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
1038|                int, int);
1039|
1040| // Does the compiler advertise C99 conformance?
1041| #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
1042| # error "Compiler does not advertise C99 conformance"
1043| #endif
1044|
1045| #include <stdbool.h>
1046| extern int puts (const char *);
1047| extern int printf (const char *, ...);
1048| extern int dprintf (int, const char *, ...);
1049| extern void *malloc (size_t);
1050|
1051| // Check varargs macros.  These examples are taken from C99 6.10.3.5.
1052| // dprintf is used instead of fprintf to avoid needing to declare
1053| // FILE and stderr.
1054| #define debug(...) dprintf (2, __VA_ARGS__)
1055| #define showlist(...) puts (#__VA_ARGS__)
1056| #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
1057| static void
1058| test_varargs_macros (void)
1059| {
1060|   int x = 1234;
1061|   int y = 5678;
1062|   debug ("Flag");
1063|   debug ("X = %d\n", x);
1064|   showlist (The first, second, and third items.);
1065|   report (x>y, "x is %d but y is %d", x, y);
1066| }
1067|
1068| // Check long long types.
1069| #define BIG64 18446744073709551615ull
1070| #define BIG32 4294967295ul
1071| #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
1072| #if !BIG_OK
1073|   #error "your preprocessor is broken"
1074| #endif
1075| #if BIG_OK
1076| #else
1077|   #error "your preprocessor is broken"
1078| #endif
1079| static long long int bignum = -9223372036854775807LL;
1080| static unsigned long long int ubignum = BIG64;
1081|
1082| struct incomplete_array
1083| {
1084|   int datasize;
1085|   double data[];
1086| };
1087|
1088| struct named_init {
1089|   int number;
1090|   const wchar_t *name;
1091|   double average;
1092| };
1093|
1094| typedef const char *ccp;
1095|
1096| static inline int
1097| test_restrict (ccp restrict text)
1098| {
1099|   // See if C++-style comments work.
1100|   // Iterate through items via the restricted pointer.
1101|   // Also check for declarations in for loops.
1102|   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
1103|     continue;
1104|   return 0;
1105| }
1106|
1107| // Check varargs and va_copy.
1108| static bool
1109| test_varargs (const char *format, ...)
1110| {
1111|   va_list args;
1112|   va_start (args, format);
1113|   va_list args_copy;
1114|   va_copy (args_copy, args);
1115|
1116|   const char *str = "";
1117|   int number = 0;
1118|   float fnumber = 0;
1119|
1120|   while (*format)
1121|     {
1122|       switch (*format++)
1123|       {
1124|       case 's': // string
1125|         str = va_arg (args_copy, const char *);
1126|         break;
1127|       case 'd': // int
1128|         number = va_arg (args_copy, int);
1129|         break;
1130|       case 'f': // float
1131|         fnumber = va_arg (args_copy, double);
1132|         break;
1133|       default:
1134|         break;
1135|       }
1136|     }
1137|   va_end (args_copy);
1138|   va_end (args);
1139|
1140|   return *str && number && fnumber;
1141| }
1142|
1143|
1144| int
1145| main (int argc, char **argv)
1146| {
1147|   int ok = 0;
1148|   
1149| ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
1150|
1151|   
1152|   // Check bool.
1153|   _Bool success = false;
1154|   success |= (argc != 0);
1155|
1156|   // Check restrict.
1157|   if (test_restrict ("String literal") == 0)
1158|     success = true;
1159|   char *restrict newvar = "Another string";
1160|
1161|   // Check varargs.
1162|   success &= test_varargs ("s, d' f .", "string", 65, 34.234);
1163|   test_varargs_macros ();
1164|
1165|   // Check flexible array members.
1166|   struct incomplete_array *ia =
1167|     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
1168|   ia->datasize = 10;
1169|   for (int i = 0; i < ia->datasize; ++i)
1170|     ia->data[i] = i * 1.234;
1171|
1172|   // Check named initializers.
1173|   struct named_init ni = {
1174|     .number = 34,
1175|     .name = L"Test wide string",
1176|     .average = 543.34343,
1177|   };
1178|
1179|   ni.number = 58;
1180|
1181|   int dynamic_array[ni.number];
1182|   dynamic_array[0] = argv[0][0];
1183|   dynamic_array[ni.number - 1] = 543;
1184|
1185|   // work around unused variable warnings
1186|   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
1187|        || dynamic_array[ni.number - 1] != 543);
1188|
1189|   return ok;
1190| }
1191|
1192configure:5193: /usr/bin/gcc-4.2 -std=c99 -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include conftest.c >&5
1193conftest.c:64:3: error: #error "Compiler does not advertise C99 conformance"
1194conftest.c:119: error: expected ';', ',' or ')' before 'text'
1195conftest.c: In function 'main':
1196conftest.c:181: error: nested functions are disabled, use -fnested-functions to re-enable
1197conftest.c:181: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'newvar'
1198conftest.c:181: error: 'newvar' undeclared (first use in this function)
1199conftest.c:181: error: (Each undeclared identifier is reported only once
1200conftest.c:181: error: for each function it appears in.)
1201conftest.c:191: error: 'for' loop initial declaration used outside C99 mode
1202configure:5193: $? = 1
1203configure: failed program was:
1204| /* confdefs.h */
1205| #define PACKAGE_NAME "flac"
1206| #define PACKAGE_TARNAME "flac"
1207| #define PACKAGE_VERSION "1.3.4"
1208| #define PACKAGE_STRING "flac 1.3.4"
1209| #define PACKAGE_BUGREPORT "flac-dev@xiph.org"
1210| #define PACKAGE_URL "https://www.xiph.org/flac/"
1211| #define PACKAGE "flac"
1212| #define VERSION "1.3.4"
1213| #define NDEBUG /**/
1214| /* end confdefs.h.  */
1215|
1216| /* Does the compiler advertise C89 conformance?
1217|    Do not test the value of __STDC__, because some compilers set it to 0
1218|    while being otherwise adequately conformant. */
1219| #if !defined __STDC__
1220| # error "Compiler does not advertise C89 conformance"
1221| #endif
1222|
1223| #include <stddef.h>
1224| #include <stdarg.h>
1225| struct stat;
1226| /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
1227| struct buf { int x; };
1228| struct buf * (*rcsopen) (struct buf *, struct stat *, int);
1229| static char *e (p, i)
1230|      char **p;
1231|      int i;
1232| {
1233|   return p[i];
1234| }
1235| static char *f (char * (*g) (char **, int), char **p, ...)
1236| {
1237|   char *s;
1238|   va_list v;
1239|   va_start (v,p);
1240|   s = g (p, va_arg (v,int));
1241|   va_end (v);
1242|   return s;
1243| }
1244|
1245| /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
1246|    function prototypes and stuff, but not \xHH hex character constants.
1247|    These do not provoke an error unfortunately, instead are silently treated
1248|    as an "x".  The following induces an error, until -std is added to get
1249|    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
1250|    array size at least.  It is necessary to write \x00 == 0 to get something
1251|    that is true only with -std.  */
1252| int osf4_cc_array ['\x00' == 0 ? 1 : -1];
1253|
1254| /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
1255|    inside strings and character constants.  */
1256| #define FOO(x) 'x'
1257| int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
1258|
1259| int test (int i, double x);
1260| struct s1 {int (*f) (int a);};
1261| struct s2 {int (*f) (double a);};
1262| int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
1263|                int, int);
1264|
1265| // Does the compiler advertise C99 conformance?
1266| #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
1267| # error "Compiler does not advertise C99 conformance"
1268| #endif
1269|
1270| #include <stdbool.h>
1271| extern int puts (const char *);
1272| extern int printf (const char *, ...);
1273| extern int dprintf (int, const char *, ...);
1274| extern void *malloc (size_t);
1275|
1276| // Check varargs macros.  These examples are taken from C99 6.10.3.5.
1277| // dprintf is used instead of fprintf to avoid needing to declare
1278| // FILE and stderr.
1279| #define debug(...) dprintf (2, __VA_ARGS__)
1280| #define showlist(...) puts (#__VA_ARGS__)
1281| #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
1282| static void
1283| test_varargs_macros (void)
1284| {
1285|   int x = 1234;
1286|   int y = 5678;
1287|   debug ("Flag");
1288|   debug ("X = %d\n", x);
1289|   showlist (The first, second, and third items.);
1290|   report (x>y, "x is %d but y is %d", x, y);
1291| }
1292|
1293| // Check long long types.
1294| #define BIG64 18446744073709551615ull
1295| #define BIG32 4294967295ul
1296| #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
1297| #if !BIG_OK
1298|   #error "your preprocessor is broken"
1299| #endif
1300| #if BIG_OK
1301| #else
1302|   #error "your preprocessor is broken"
1303| #endif
1304| static long long int bignum = -9223372036854775807LL;
1305| static unsigned long long int ubignum = BIG64;
1306|
1307| struct incomplete_array
1308| {
1309|   int datasize;
1310|   double data[];
1311| };
1312|
1313| struct named_init {
1314|   int number;
1315|   const wchar_t *name;
1316|   double average;
1317| };
1318|
1319| typedef const char *ccp;
1320|
1321| static inline int
1322| test_restrict (ccp restrict text)
1323| {
1324|   // See if C++-style comments work.
1325|   // Iterate through items via the restricted pointer.
1326|   // Also check for declarations in for loops.
1327|   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
1328|     continue;
1329|   return 0;
1330| }
1331|
1332| // Check varargs and va_copy.
1333| static bool
1334| test_varargs (const char *format, ...)
1335| {
1336|   va_list args;
1337|   va_start (args, format);
1338|   va_list args_copy;
1339|   va_copy (args_copy, args);
1340|
1341|   const char *str = "";
1342|   int number = 0;
1343|   float fnumber = 0;
1344|
1345|   while (*format)
1346|     {
1347|       switch (*format++)
1348|       {
1349|       case 's': // string
1350|         str = va_arg (args_copy, const char *);
1351|         break;
1352|       case 'd': // int
1353|         number = va_arg (args_copy, int);
1354|         break;
1355|       case 'f': // float
1356|         fnumber = va_arg (args_copy, double);
1357|         break;
1358|       default:
1359|         break;
1360|       }
1361|     }
1362|   va_end (args_copy);
1363|   va_end (args);
1364|
1365|   return *str && number && fnumber;
1366| }
1367|
1368|
1369| int
1370| main (int argc, char **argv)
1371| {
1372|   int ok = 0;
1373|   
1374| ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
1375|
1376|   
1377|   // Check bool.
1378|   _Bool success = false;
1379|   success |= (argc != 0);
1380|
1381|   // Check restrict.
1382|   if (test_restrict ("String literal") == 0)
1383|     success = true;
1384|   char *restrict newvar = "Another string";
1385|
1386|   // Check varargs.
1387|   success &= test_varargs ("s, d' f .", "string", 65, 34.234);
1388|   test_varargs_macros ();
1389|
1390|   // Check flexible array members.
1391|   struct incomplete_array *ia =
1392|     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
1393|   ia->datasize = 10;
1394|   for (int i = 0; i < ia->datasize; ++i)
1395|     ia->data[i] = i * 1.234;
1396|
1397|   // Check named initializers.
1398|   struct named_init ni = {
1399|     .number = 34,
1400|     .name = L"Test wide string",
1401|     .average = 543.34343,
1402|   };
1403|
1404|   ni.number = 58;
1405|
1406|   int dynamic_array[ni.number];
1407|   dynamic_array[0] = argv[0][0];
1408|   dynamic_array[ni.number - 1] = 543;
1409|
1410|   // work around unused variable warnings
1411|   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
1412|        || dynamic_array[ni.number - 1] != 543);
1413|
1414|   return ok;
1415| }
1416|
1417configure:5193: /usr/bin/gcc-4.2 -c99 -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include conftest.c >&5
1418conftest.c:64:3: error: #error "Compiler does not advertise C99 conformance"
1419conftest.c:119: error: expected ';', ',' or ')' before 'text'
1420conftest.c: In function 'main':
1421conftest.c:181: error: nested functions are disabled, use -fnested-functions to re-enable
1422conftest.c:181: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'newvar'
1423conftest.c:181: error: 'newvar' undeclared (first use in this function)
1424conftest.c:181: error: (Each undeclared identifier is reported only once
1425conftest.c:181: error: for each function it appears in.)
1426conftest.c:191: error: 'for' loop initial declaration used outside C99 mode
1427configure:5193: $? = 1
1428configure: failed program was:
1429| /* confdefs.h */
1430| #define PACKAGE_NAME "flac"
1431| #define PACKAGE_TARNAME "flac"
1432| #define PACKAGE_VERSION "1.3.4"
1433| #define PACKAGE_STRING "flac 1.3.4"
1434| #define PACKAGE_BUGREPORT "flac-dev@xiph.org"
1435| #define PACKAGE_URL "https://www.xiph.org/flac/"
1436| #define PACKAGE "flac"
1437| #define VERSION "1.3.4"
1438| #define NDEBUG /**/
1439| /* end confdefs.h.  */
1440|
1441| /* Does the compiler advertise C89 conformance?
1442|    Do not test the value of __STDC__, because some compilers set it to 0
1443|    while being otherwise adequately conformant. */
1444| #if !defined __STDC__
1445| # error "Compiler does not advertise C89 conformance"
1446| #endif
1447|
1448| #include <stddef.h>
1449| #include <stdarg.h>
1450| struct stat;
1451| /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
1452| struct buf { int x; };
1453| struct buf * (*rcsopen) (struct buf *, struct stat *, int);
1454| static char *e (p, i)
1455|      char **p;
1456|      int i;
1457| {
1458|   return p[i];
1459| }
1460| static char *f (char * (*g) (char **, int), char **p, ...)
1461| {
1462|   char *s;
1463|   va_list v;
1464|   va_start (v,p);
1465|   s = g (p, va_arg (v,int));
1466|   va_end (v);
1467|   return s;
1468| }
1469|
1470| /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
1471|    function prototypes and stuff, but not \xHH hex character constants.
1472|    These do not provoke an error unfortunately, instead are silently treated
1473|    as an "x".  The following induces an error, until -std is added to get
1474|    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
1475|    array size at least.  It is necessary to write \x00 == 0 to get something
1476|    that is true only with -std.  */
1477| int osf4_cc_array ['\x00' == 0 ? 1 : -1];
1478|
1479| /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
1480|    inside strings and character constants.  */
1481| #define FOO(x) 'x'
1482| int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
1483|
1484| int test (int i, double x);
1485| struct s1 {int (*f) (int a);};
1486| struct s2 {int (*f) (double a);};
1487| int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
1488|                int, int);
1489|
1490| // Does the compiler advertise C99 conformance?
1491| #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
1492| # error "Compiler does not advertise C99 conformance"
1493| #endif
1494|
1495| #include <stdbool.h>
1496| extern int puts (const char *);
1497| extern int printf (const char *, ...);
1498| extern int dprintf (int, const char *, ...);
1499| extern void *malloc (size_t);
1500|
1501| // Check varargs macros.  These examples are taken from C99 6.10.3.5.
1502| // dprintf is used instead of fprintf to avoid needing to declare
1503| // FILE and stderr.
1504| #define debug(...) dprintf (2, __VA_ARGS__)
1505| #define showlist(...) puts (#__VA_ARGS__)
1506| #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
1507| static void
1508| test_varargs_macros (void)
1509| {
1510|   int x = 1234;
1511|   int y = 5678;
1512|   debug ("Flag");
1513|   debug ("X = %d\n", x);
1514|   showlist (The first, second, and third items.);
1515|   report (x>y, "x is %d but y is %d", x, y);
1516| }
1517|
1518| // Check long long types.
1519| #define BIG64 18446744073709551615ull
1520| #define BIG32 4294967295ul
1521| #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
1522| #if !BIG_OK
1523|   #error "your preprocessor is broken"
1524| #endif
1525| #if BIG_OK
1526| #else
1527|   #error "your preprocessor is broken"
1528| #endif
1529| static long long int bignum = -9223372036854775807LL;
1530| static unsigned long long int ubignum = BIG64;
1531|
1532| struct incomplete_array
1533| {
1534|   int datasize;
1535|   double data[];
1536| };
1537|
1538| struct named_init {
1539|   int number;
1540|   const wchar_t *name;
1541|   double average;
1542| };
1543|
1544| typedef const char *ccp;
1545|
1546| static inline int
1547| test_restrict (ccp restrict text)
1548| {
1549|   // See if C++-style comments work.
1550|   // Iterate through items via the restricted pointer.
1551|   // Also check for declarations in for loops.
1552|   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
1553|     continue;
1554|   return 0;
1555| }
1556|
1557| // Check varargs and va_copy.
1558| static bool
1559| test_varargs (const char *format, ...)
1560| {
1561|   va_list args;
1562|   va_start (args, format);
1563|   va_list args_copy;
1564|   va_copy (args_copy, args);
1565|
1566|   const char *str = "";
1567|   int number = 0;
1568|   float fnumber = 0;
1569|
1570|   while (*format)
1571|     {
1572|       switch (*format++)
1573|       {
1574|       case 's': // string
1575|         str = va_arg (args_copy, const char *);
1576|         break;
1577|       case 'd': // int
1578|         number = va_arg (args_copy, int);
1579|         break;
1580|       case 'f': // float
1581|         fnumber = va_arg (args_copy, double);
1582|         break;
1583|       default:
1584|         break;
1585|       }
1586|     }
1587|   va_end (args_copy);
1588|   va_end (args);
1589|
1590|   return *str && number && fnumber;
1591| }
1592|
1593|
1594| int
1595| main (int argc, char **argv)
1596| {
1597|   int ok = 0;
1598|   
1599| ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
1600|
1601|   
1602|   // Check bool.
1603|   _Bool success = false;
1604|   success |= (argc != 0);
1605|
1606|   // Check restrict.
1607|   if (test_restrict ("String literal") == 0)
1608|     success = true;
1609|   char *restrict newvar = "Another string";
1610|
1611|   // Check varargs.
1612|   success &= test_varargs ("s, d' f .", "string", 65, 34.234);
1613|   test_varargs_macros ();
1614|
1615|   // Check flexible array members.
1616|   struct incomplete_array *ia =
1617|     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
1618|   ia->datasize = 10;
1619|   for (int i = 0; i < ia->datasize; ++i)
1620|     ia->data[i] = i * 1.234;
1621|
1622|   // Check named initializers.
1623|   struct named_init ni = {
1624|     .number = 34,
1625|     .name = L"Test wide string",
1626|     .average = 543.34343,
1627|   };
1628|
1629|   ni.number = 58;
1630|
1631|   int dynamic_array[ni.number];
1632|   dynamic_array[0] = argv[0][0];
1633|   dynamic_array[ni.number - 1] = 543;
1634|
1635|   // work around unused variable warnings
1636|   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
1637|        || dynamic_array[ni.number - 1] != 543);
1638|
1639|   return ok;
1640| }
1641|
1642configure:5193: /usr/bin/gcc-4.2 -qlanglvl=extc1x -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include conftest.c >&5
1643conftest.c:64:3: error: #error "Compiler does not advertise C99 conformance"
1644conftest.c:119: error: expected ';', ',' or ')' before 'text'
1645conftest.c: In function 'main':
1646conftest.c:181: error: nested functions are disabled, use -fnested-functions to re-enable
1647conftest.c:181: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'newvar'
1648conftest.c:181: error: 'newvar' undeclared (first use in this function)
1649conftest.c:181: error: (Each undeclared identifier is reported only once
1650conftest.c:181: error: for each function it appears in.)
1651conftest.c:191: error: 'for' loop initial declaration used outside C99 mode
1652configure:5193: $? = 1
1653configure: failed program was:
1654| /* confdefs.h */
1655| #define PACKAGE_NAME "flac"
1656| #define PACKAGE_TARNAME "flac"
1657| #define PACKAGE_VERSION "1.3.4"
1658| #define PACKAGE_STRING "flac 1.3.4"
1659| #define PACKAGE_BUGREPORT "flac-dev@xiph.org"
1660| #define PACKAGE_URL "https://www.xiph.org/flac/"
1661| #define PACKAGE "flac"
1662| #define VERSION "1.3.4"
1663| #define NDEBUG /**/
1664| /* end confdefs.h.  */
1665|
1666| /* Does the compiler advertise C89 conformance?
1667|    Do not test the value of __STDC__, because some compilers set it to 0
1668|    while being otherwise adequately conformant. */
1669| #if !defined __STDC__
1670| # error "Compiler does not advertise C89 conformance"
1671| #endif
1672|
1673| #include <stddef.h>
1674| #include <stdarg.h>
1675| struct stat;
1676| /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
1677| struct buf { int x; };
1678| struct buf * (*rcsopen) (struct buf *, struct stat *, int);
1679| static char *e (p, i)
1680|      char **p;
1681|      int i;
1682| {
1683|   return p[i];
1684| }
1685| static char *f (char * (*g) (char **, int), char **p, ...)
1686| {
1687|   char *s;
1688|   va_list v;
1689|   va_start (v,p);
1690|   s = g (p, va_arg (v,int));
1691|   va_end (v);
1692|   return s;
1693| }
1694|
1695| /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
1696|    function prototypes and stuff, but not \xHH hex character constants.
1697|    These do not provoke an error unfortunately, instead are silently treated
1698|    as an "x".  The following induces an error, until -std is added to get
1699|    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
1700|    array size at least.  It is necessary to write \x00 == 0 to get something
1701|    that is true only with -std.  */
1702| int osf4_cc_array ['\x00' == 0 ? 1 : -1];
1703|
1704| /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
1705|    inside strings and character constants.  */
1706| #define FOO(x) 'x'
1707| int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
1708|
1709| int test (int i, double x);
1710| struct s1 {int (*f) (int a);};
1711| struct s2 {int (*f) (double a);};
1712| int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
1713|                int, int);
1714|
1715| // Does the compiler advertise C99 conformance?
1716| #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
1717| # error "Compiler does not advertise C99 conformance"
1718| #endif
1719|
1720| #include <stdbool.h>
1721| extern int puts (const char *);
1722| extern int printf (const char *, ...);
1723| extern int dprintf (int, const char *, ...);
1724| extern void *malloc (size_t);
1725|
1726| // Check varargs macros.  These examples are taken from C99 6.10.3.5.
1727| // dprintf is used instead of fprintf to avoid needing to declare
1728| // FILE and stderr.
1729| #define debug(...) dprintf (2, __VA_ARGS__)
1730| #define showlist(...) puts (#__VA_ARGS__)
1731| #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
1732| static void
1733| test_varargs_macros (void)
1734| {
1735|   int x = 1234;
1736|   int y = 5678;
1737|   debug ("Flag");
1738|   debug ("X = %d\n", x);
1739|   showlist (The first, second, and third items.);
1740|   report (x>y, "x is %d but y is %d", x, y);
1741| }
1742|
1743| // Check long long types.
1744| #define BIG64 18446744073709551615ull
1745| #define BIG32 4294967295ul
1746| #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
1747| #if !BIG_OK
1748|   #error "your preprocessor is broken"
1749| #endif
1750| #if BIG_OK
1751| #else
1752|   #error "your preprocessor is broken"
1753| #endif
1754| static long long int bignum = -9223372036854775807LL;
1755| static unsigned long long int ubignum = BIG64;
1756|
1757| struct incomplete_array
1758| {
1759|   int datasize;
1760|   double data[];
1761| };
1762|
1763| struct named_init {
1764|   int number;
1765|   const wchar_t *name;
1766|   double average;
1767| };
1768|
1769| typedef const char *ccp;
1770|
1771| static inline int
1772| test_restrict (ccp restrict text)
1773| {
1774|   // See if C++-style comments work.
1775|   // Iterate through items via the restricted pointer.
1776|   // Also check for declarations in for loops.
1777|   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
1778|     continue;
1779|   return 0;
1780| }
1781|
1782| // Check varargs and va_copy.
1783| static bool
1784| test_varargs (const char *format, ...)
1785| {
1786|   va_list args;
1787|   va_start (args, format);
1788|   va_list args_copy;
1789|   va_copy (args_copy, args);
1790|
1791|   const char *str = "";
1792|   int number = 0;
1793|   float fnumber = 0;
1794|
1795|   while (*format)
1796|     {
1797|       switch (*format++)
1798|       {
1799|       case 's': // string
1800|         str = va_arg (args_copy, const char *);
1801|         break;
1802|       case 'd': // int
1803|         number = va_arg (args_copy, int);
1804|         break;
1805|       case 'f': // float
1806|         fnumber = va_arg (args_copy, double);
1807|         break;
1808|       default:
1809|         break;
1810|       }
1811|     }
1812|   va_end (args_copy);
1813|   va_end (args);
1814|
1815|   return *str && number && fnumber;
1816| }
1817|
1818|
1819| int
1820| main (int argc, char **argv)
1821| {
1822|   int ok = 0;
1823|   
1824| ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
1825|
1826|   
1827|   // Check bool.
1828|   _Bool success = false;
1829|   success |= (argc != 0);
1830|
1831|   // Check restrict.
1832|   if (test_restrict ("String literal") == 0)
1833|     success = true;
1834|   char *restrict newvar = "Another string";
1835|
1836|   // Check varargs.
1837|   success &= test_varargs ("s, d' f .", "string", 65, 34.234);
1838|   test_varargs_macros ();
1839|
1840|   // Check flexible array members.
1841|   struct incomplete_array *ia =
1842|     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
1843|   ia->datasize = 10;
1844|   for (int i = 0; i < ia->datasize; ++i)
1845|     ia->data[i] = i * 1.234;
1846|
1847|   // Check named initializers.
1848|   struct named_init ni = {
1849|     .number = 34,
1850|     .name = L"Test wide string",
1851|     .average = 543.34343,
1852|   };
1853|
1854|   ni.number = 58;
1855|
1856|   int dynamic_array[ni.number];
1857|   dynamic_array[0] = argv[0][0];
1858|   dynamic_array[ni.number - 1] = 543;
1859|
1860|   // work around unused variable warnings
1861|   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
1862|        || dynamic_array[ni.number - 1] != 543);
1863|
1864|   return ok;
1865| }
1866|
1867configure:5193: /usr/bin/gcc-4.2 -qlanglvl=extc99 -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include conftest.c >&5
1868conftest.c:64:3: error: #error "Compiler does not advertise C99 conformance"
1869conftest.c:119: error: expected ';', ',' or ')' before 'text'
1870conftest.c: In function 'main':
1871conftest.c:181: error: nested functions are disabled, use -fnested-functions to re-enable
1872conftest.c:181: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'newvar'
1873conftest.c:181: error: 'newvar' undeclared (first use in this function)
1874conftest.c:181: error: (Each undeclared identifier is reported only once
1875conftest.c:181: error: for each function it appears in.)
1876conftest.c:191: error: 'for' loop initial declaration used outside C99 mode
1877configure:5193: $? = 1
1878configure: failed program was:
1879| /* confdefs.h */
1880| #define PACKAGE_NAME "flac"
1881| #define PACKAGE_TARNAME "flac"
1882| #define PACKAGE_VERSION "1.3.4"
1883| #define PACKAGE_STRING "flac 1.3.4"
1884| #define PACKAGE_BUGREPORT "flac-dev@xiph.org"
1885| #define PACKAGE_URL "https://www.xiph.org/flac/"
1886| #define PACKAGE "flac"
1887| #define VERSION "1.3.4"
1888| #define NDEBUG /**/
1889| /* end confdefs.h.  */
1890|
1891| /* Does the compiler advertise C89 conformance?
1892|    Do not test the value of __STDC__, because some compilers set it to 0
1893|    while being otherwise adequately conformant. */
1894| #if !defined __STDC__
1895| # error "Compiler does not advertise C89 conformance"
1896| #endif
1897|
1898| #include <stddef.h>
1899| #include <stdarg.h>
1900| struct stat;
1901| /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
1902| struct buf { int x; };
1903| struct buf * (*rcsopen) (struct buf *, struct stat *, int);
1904| static char *e (p, i)
1905|      char **p;
1906|      int i;
1907| {
1908|   return p[i];
1909| }
1910| static char *f (char * (*g) (char **, int), char **p, ...)
1911| {
1912|   char *s;
1913|   va_list v;
1914|   va_start (v,p);
1915|   s = g (p, va_arg (v,int));
1916|   va_end (v);
1917|   return s;
1918| }
1919|
1920| /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
1921|    function prototypes and stuff, but not \xHH hex character constants.
1922|    These do not provoke an error unfortunately, instead are silently treated
1923|    as an "x".  The following induces an error, until -std is added to get
1924|    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
1925|    array size at least.  It is necessary to write \x00 == 0 to get something
1926|    that is true only with -std.  */
1927| int osf4_cc_array ['\x00' == 0 ? 1 : -1];
1928|
1929| /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
1930|    inside strings and character constants.  */
1931| #define FOO(x) 'x'
1932| int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
1933|
1934| int test (int i, double x);
1935| struct s1 {int (*f) (int a);};
1936| struct s2 {int (*f) (double a);};
1937| int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
1938|                int, int);
1939|
1940| // Does the compiler advertise C99 conformance?
1941| #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
1942| # error "Compiler does not advertise C99 conformance"
1943| #endif
1944|
1945| #include <stdbool.h>
1946| extern int puts (const char *);
1947| extern int printf (const char *, ...);
1948| extern int dprintf (int, const char *, ...);
1949| extern void *malloc (size_t);
1950|
1951| // Check varargs macros.  These examples are taken from C99 6.10.3.5.
1952| // dprintf is used instead of fprintf to avoid needing to declare
1953| // FILE and stderr.
1954| #define debug(...) dprintf (2, __VA_ARGS__)
1955| #define showlist(...) puts (#__VA_ARGS__)
1956| #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
1957| static void
1958| test_varargs_macros (void)
1959| {
1960|   int x = 1234;
1961|   int y = 5678;
1962|   debug ("Flag");
1963|   debug ("X = %d\n", x);
1964|   showlist (The first, second, and third items.);
1965|   report (x>y, "x is %d but y is %d", x, y);
1966| }
1967|
1968| // Check long long types.
1969| #define BIG64 18446744073709551615ull
1970| #define BIG32 4294967295ul
1971| #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
1972| #if !BIG_OK
1973|   #error "your preprocessor is broken"
1974| #endif
1975| #if BIG_OK
1976| #else
1977|   #error "your preprocessor is broken"
1978| #endif
1979| static long long int bignum = -9223372036854775807LL;
1980| static unsigned long long int ubignum = BIG64;
1981|
1982| struct incomplete_array
1983| {
1984|   int datasize;
1985|   double data[];
1986| };
1987|
1988| struct named_init {
1989|   int number;
1990|   const wchar_t *name;
1991|   double average;
1992| };
1993|
1994| typedef const char *ccp;
1995|
1996| static inline int
1997| test_restrict (ccp restrict text)
1998| {
1999|   // See if C++-style comments work.
2000|   // Iterate through items via the restricted pointer.
2001|   // Also check for declarations in for loops.
2002|   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
2003|     continue;
2004|   return 0;
2005| }
2006|
2007| // Check varargs and va_copy.
2008| static bool
2009| test_varargs (const char *format, ...)
2010| {
2011|   va_list args;
2012|   va_start (args, format);
2013|   va_list args_copy;
2014|   va_copy (args_copy, args);
2015|
2016|   const char *str = "";
2017|   int number = 0;
2018|   float fnumber = 0;
2019|
2020|   while (*format)
2021|     {
2022|       switch (*format++)
2023|       {
2024|       case 's': // string
2025|         str = va_arg (args_copy, const char *);
2026|         break;
2027|       case 'd': // int
2028|         number = va_arg (args_copy, int);
2029|         break;
2030|       case 'f': // float
2031|         fnumber = va_arg (args_copy, double);
2032|         break;
2033|       default:
2034|         break;
2035|       }
2036|     }
2037|   va_end (args_copy);
2038|   va_end (args);
2039|
2040|   return *str && number && fnumber;
2041| }
2042|
2043|
2044| int
2045| main (int argc, char **argv)
2046| {
2047|   int ok = 0;
2048|   
2049| ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
2050|
2051|   
2052|   // Check bool.
2053|   _Bool success = false;
2054|   success |= (argc != 0);
2055|
2056|   // Check restrict.
2057|   if (test_restrict ("String literal") == 0)
2058|     success = true;
2059|   char *restrict newvar = "Another string";
2060|
2061|   // Check varargs.
2062|   success &= test_varargs ("s, d' f .", "string", 65, 34.234);
2063|   test_varargs_macros ();
2064|
2065|   // Check flexible array members.
2066|   struct incomplete_array *ia =
2067|     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
2068|   ia->datasize = 10;
2069|   for (int i = 0; i < ia->datasize; ++i)
2070|     ia->data[i] = i * 1.234;
2071|
2072|   // Check named initializers.
2073|   struct named_init ni = {
2074|     .number = 34,
2075|     .name = L"Test wide string",
2076|     .average = 543.34343,
2077|   };
2078|
2079|   ni.number = 58;
2080|
2081|   int dynamic_array[ni.number];
2082|   dynamic_array[0] = argv[0][0];
2083|   dynamic_array[ni.number - 1] = 543;
2084|
2085|   // work around unused variable warnings
2086|   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
2087|        || dynamic_array[ni.number - 1] != 543);
2088|
2089|   return ok;
2090| }
2091|
2092configure:5193: /usr/bin/gcc-4.2 -AC99 -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include conftest.c >&5
2093<command-line>: error: missing '(' after predicate
2094conftest.c:64:3: error: #error "Compiler does not advertise C99 conformance"
2095conftest.c:119: error: expected ';', ',' or ')' before 'text'
2096conftest.c: In function 'main':
2097conftest.c:181: error: nested functions are disabled, use -fnested-functions to re-enable
2098conftest.c:181: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'newvar'
2099conftest.c:181: error: 'newvar' undeclared (first use in this function)
2100conftest.c:181: error: (Each undeclared identifier is reported only once
2101conftest.c:181: error: for each function it appears in.)
2102conftest.c:191: error: 'for' loop initial declaration used outside C99 mode
2103configure:5193: $? = 1
2104configure: failed program was:
2105| /* confdefs.h */
2106| #define PACKAGE_NAME "flac"
2107| #define PACKAGE_TARNAME "flac"
2108| #define PACKAGE_VERSION "1.3.4"
2109| #define PACKAGE_STRING "flac 1.3.4"
2110| #define PACKAGE_BUGREPORT "flac-dev@xiph.org"
2111| #define PACKAGE_URL "https://www.xiph.org/flac/"
2112| #define PACKAGE "flac"
2113| #define VERSION "1.3.4"
2114| #define NDEBUG /**/
2115| /* end confdefs.h.  */
2116|
2117| /* Does the compiler advertise C89 conformance?
2118|    Do not test the value of __STDC__, because some compilers set it to 0
2119|    while being otherwise adequately conformant. */
2120| #if !defined __STDC__
2121| # error "Compiler does not advertise C89 conformance"
2122| #endif
2123|
2124| #include <stddef.h>
2125| #include <stdarg.h>
2126| struct stat;
2127| /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
2128| struct buf { int x; };
2129| struct buf * (*rcsopen) (struct buf *, struct stat *, int);
2130| static char *e (p, i)
2131|      char **p;
2132|      int i;
2133| {
2134|   return p[i];
2135| }
2136| static char *f (char * (*g) (char **, int), char **p, ...)
2137| {
2138|   char *s;
2139|   va_list v;
2140|   va_start (v,p);
2141|   s = g (p, va_arg (v,int));
2142|   va_end (v);
2143|   return s;
2144| }
2145|
2146| /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2147|    function prototypes and stuff, but not \xHH hex character constants.
2148|    These do not provoke an error unfortunately, instead are silently treated
2149|    as an "x".  The following induces an error, until -std is added to get
2150|    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
2151|    array size at least.  It is necessary to write \x00 == 0 to get something
2152|    that is true only with -std.  */
2153| int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2154|
2155| /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2156|    inside strings and character constants.  */
2157| #define FOO(x) 'x'
2158| int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2159|
2160| int test (int i, double x);
2161| struct s1 {int (*f) (int a);};
2162| struct s2 {int (*f) (double a);};
2163| int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
2164|                int, int);
2165|
2166| // Does the compiler advertise C99 conformance?
2167| #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
2168| # error "Compiler does not advertise C99 conformance"
2169| #endif
2170|
2171| #include <stdbool.h>
2172| extern int puts (const char *);
2173| extern int printf (const char *, ...);
2174| extern int dprintf (int, const char *, ...);
2175| extern void *malloc (size_t);
2176|
2177| // Check varargs macros.  These examples are taken from C99 6.10.3.5.
2178| // dprintf is used instead of fprintf to avoid needing to declare
2179| // FILE and stderr.
2180| #define debug(...) dprintf (2, __VA_ARGS__)
2181| #define showlist(...) puts (#__VA_ARGS__)
2182| #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
2183| static void
2184| test_varargs_macros (void)
2185| {
2186|   int x = 1234;
2187|   int y = 5678;
2188|   debug ("Flag");
2189|   debug ("X = %d\n", x);
2190|   showlist (The first, second, and third items.);
2191|   report (x>y, "x is %d but y is %d", x, y);
2192| }
2193|
2194| // Check long long types.
2195| #define BIG64 18446744073709551615ull
2196| #define BIG32 4294967295ul
2197| #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
2198| #if !BIG_OK
2199|   #error "your preprocessor is broken"
2200| #endif
2201| #if BIG_OK
2202| #else
2203|   #error "your preprocessor is broken"
2204| #endif
2205| static long long int bignum = -9223372036854775807LL;
2206| static unsigned long long int ubignum = BIG64;
2207|
2208| struct incomplete_array
2209| {
2210|   int datasize;
2211|   double data[];
2212| };
2213|
2214| struct named_init {
2215|   int number;
2216|   const wchar_t *name;
2217|   double average;
2218| };
2219|
2220| typedef const char *ccp;
2221|
2222| static inline int
2223| test_restrict (ccp restrict text)
2224| {
2225|   // See if C++-style comments work.
2226|   // Iterate through items via the restricted pointer.
2227|   // Also check for declarations in for loops.
2228|   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
2229|     continue;
2230|   return 0;
2231| }
2232|
2233| // Check varargs and va_copy.
2234| static bool
2235| test_varargs (const char *format, ...)
2236| {
2237|   va_list args;
2238|   va_start (args, format);
2239|   va_list args_copy;
2240|   va_copy (args_copy, args);
2241|
2242|   const char *str = "";
2243|   int number = 0;
2244|   float fnumber = 0;
2245|
2246|   while (*format)
2247|     {
2248|       switch (*format++)
2249|       {
2250|       case 's': // string
2251|         str = va_arg (args_copy, const char *);
2252|         break;
2253|       case 'd': // int
2254|         number = va_arg (args_copy, int);
2255|         break;
2256|       case 'f': // float
2257|         fnumber = va_arg (args_copy, double);
2258|         break;
2259|       default:
2260|         break;
2261|       }
2262|     }
2263|   va_end (args_copy);
2264|   va_end (args);
2265|
2266|   return *str && number && fnumber;
2267| }
2268|
2269|
2270| int
2271| main (int argc, char **argv)
2272| {
2273|   int ok = 0;
2274|   
2275| ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
2276|
2277|   
2278|   // Check bool.
2279|   _Bool success = false;
2280|   success |= (argc != 0);
2281|
2282|   // Check restrict.
2283|   if (test_restrict ("String literal") == 0)
2284|     success = true;
2285|   char *restrict newvar = "Another string";
2286|
2287|   // Check varargs.
2288|   success &= test_varargs ("s, d' f .", "string", 65, 34.234);
2289|   test_varargs_macros ();
2290|
2291|   // Check flexible array members.
2292|   struct incomplete_array *ia =
2293|     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
2294|   ia->datasize = 10;
2295|   for (int i = 0; i < ia->datasize; ++i)
2296|     ia->data[i] = i * 1.234;
2297|
2298|   // Check named initializers.
2299|   struct named_init ni = {
2300|     .number = 34,
2301|     .name = L"Test wide string",
2302|     .average = 543.34343,
2303|   };
2304|
2305|   ni.number = 58;
2306|
2307|   int dynamic_array[ni.number];
2308|   dynamic_array[0] = argv[0][0];
2309|   dynamic_array[ni.number - 1] = 543;
2310|
2311|   // work around unused variable warnings
2312|   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
2313|        || dynamic_array[ni.number - 1] != 543);
2314|
2315|   return ok;
2316| }
2317|
2318configure:5193: /usr/bin/gcc-4.2 -D_STDC_C99= -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include conftest.c >&5
2319conftest.c:64:3: error: #error "Compiler does not advertise C99 conformance"
2320conftest.c:119: error: expected ';', ',' or ')' before 'text'
2321conftest.c: In function 'main':
2322conftest.c:181: error: nested functions are disabled, use -fnested-functions to re-enable
2323conftest.c:181: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'newvar'
2324conftest.c:181: error: 'newvar' undeclared (first use in this function)
2325conftest.c:181: error: (Each undeclared identifier is reported only once
2326conftest.c:181: error: for each function it appears in.)
2327conftest.c:191: error: 'for' loop initial declaration used outside C99 mode
2328configure:5193: $? = 1
2329configure: failed program was:
2330| /* confdefs.h */
2331| #define PACKAGE_NAME "flac"
2332| #define PACKAGE_TARNAME "flac"
2333| #define PACKAGE_VERSION "1.3.4"
2334| #define PACKAGE_STRING "flac 1.3.4"
2335| #define PACKAGE_BUGREPORT "flac-dev@xiph.org"
2336| #define PACKAGE_URL "https://www.xiph.org/flac/"
2337| #define PACKAGE "flac"
2338| #define VERSION "1.3.4"
2339| #define NDEBUG /**/
2340| /* end confdefs.h.  */
2341|
2342| /* Does the compiler advertise C89 conformance?
2343|    Do not test the value of __STDC__, because some compilers set it to 0
2344|    while being otherwise adequately conformant. */
2345| #if !defined __STDC__
2346| # error "Compiler does not advertise C89 conformance"
2347| #endif
2348|
2349| #include <stddef.h>
2350| #include <stdarg.h>
2351| struct stat;
2352| /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
2353| struct buf { int x; };
2354| struct buf * (*rcsopen) (struct buf *, struct stat *, int);
2355| static char *e (p, i)
2356|      char **p;
2357|      int i;
2358| {
2359|   return p[i];
2360| }
2361| static char *f (char * (*g) (char **, int), char **p, ...)
2362| {
2363|   char *s;
2364|   va_list v;
2365|   va_start (v,p);
2366|   s = g (p, va_arg (v,int));
2367|   va_end (v);
2368|   return s;
2369| }
2370|
2371| /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2372|    function prototypes and stuff, but not \xHH hex character constants.
2373|    These do not provoke an error unfortunately, instead are silently treated
2374|    as an "x".  The following induces an error, until -std is added to get
2375|    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
2376|    array size at least.  It is necessary to write \x00 == 0 to get something
2377|    that is true only with -std.  */
2378| int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2379|
2380| /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2381|    inside strings and character constants.  */
2382| #define FOO(x) 'x'
2383| int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2384|
2385| int test (int i, double x);
2386| struct s1 {int (*f) (int a);};
2387| struct s2 {int (*f) (double a);};
2388| int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
2389|                int, int);
2390|
2391| // Does the compiler advertise C99 conformance?
2392| #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
2393| # error "Compiler does not advertise C99 conformance"
2394| #endif
2395|
2396| #include <stdbool.h>
2397| extern int puts (const char *);
2398| extern int printf (const char *, ...);
2399| extern int dprintf (int, const char *, ...);
2400| extern void *malloc (size_t);
2401|
2402| // Check varargs macros.  These examples are taken from C99 6.10.3.5.
2403| // dprintf is used instead of fprintf to avoid needing to declare
2404| // FILE and stderr.
2405| #define debug(...) dprintf (2, __VA_ARGS__)
2406| #define showlist(...) puts (#__VA_ARGS__)
2407| #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
2408| static void
2409| test_varargs_macros (void)
2410| {
2411|   int x = 1234;
2412|   int y = 5678;
2413|   debug ("Flag");
2414|   debug ("X = %d\n", x);
2415|   showlist (The first, second, and third items.);
2416|   report (x>y, "x is %d but y is %d", x, y);
2417| }
2418|
2419| // Check long long types.
2420| #define BIG64 18446744073709551615ull
2421| #define BIG32 4294967295ul
2422| #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
2423| #if !BIG_OK
2424|   #error "your preprocessor is broken"
2425| #endif
2426| #if BIG_OK
2427| #else
2428|   #error "your preprocessor is broken"
2429| #endif
2430| static long long int bignum = -9223372036854775807LL;
2431| static unsigned long long int ubignum = BIG64;
2432|
2433| struct incomplete_array
2434| {
2435|   int datasize;
2436|   double data[];
2437| };
2438|
2439| struct named_init {
2440|   int number;
2441|   const wchar_t *name;
2442|   double average;
2443| };
2444|
2445| typedef const char *ccp;
2446|
2447| static inline int
2448| test_restrict (ccp restrict text)
2449| {
2450|   // See if C++-style comments work.
2451|   // Iterate through items via the restricted pointer.
2452|   // Also check for declarations in for loops.
2453|   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
2454|     continue;
2455|   return 0;
2456| }
2457|
2458| // Check varargs and va_copy.
2459| static bool
2460| test_varargs (const char *format, ...)
2461| {
2462|   va_list args;
2463|   va_start (args, format);
2464|   va_list args_copy;
2465|   va_copy (args_copy, args);
2466|
2467|   const char *str = "";
2468|   int number = 0;
2469|   float fnumber = 0;
2470|
2471|   while (*format)
2472|     {
2473|       switch (*format++)
2474|       {
2475|       case 's': // string
2476|         str = va_arg (args_copy, const char *);
2477|         break;
2478|       case 'd': // int
2479|         number = va_arg (args_copy, int);
2480|         break;
2481|       case 'f': // float
2482|         fnumber = va_arg (args_copy, double);
2483|         break;
2484|       default:
2485|         break;
2486|       }
2487|     }
2488|   va_end (args_copy);
2489|   va_end (args);
2490|
2491|   return *str && number && fnumber;
2492| }
2493|
2494|
2495| int
2496| main (int argc, char **argv)
2497| {
2498|   int ok = 0;
2499|   
2500| ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
2501|
2502|   
2503|   // Check bool.
2504|   _Bool success = false;
2505|   success |= (argc != 0);
2506|
2507|   // Check restrict.
2508|   if (test_restrict ("String literal") == 0)
2509|     success = true;
2510|   char *restrict newvar = "Another string";
2511|
2512|   // Check varargs.
2513|   success &= test_varargs ("s, d' f .", "string", 65, 34.234);
2514|   test_varargs_macros ();
2515|
2516|   // Check flexible array members.
2517|   struct incomplete_array *ia =
2518|     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
2519|   ia->datasize = 10;
2520|   for (int i = 0; i < ia->datasize; ++i)
2521|     ia->data[i] = i * 1.234;
2522|
2523|   // Check named initializers.
2524|   struct named_init ni = {
2525|     .number = 34,
2526|     .name = L"Test wide string",
2527|     .average = 543.34343,
2528|   };
2529|
2530|   ni.number = 58;
2531|
2532|   int dynamic_array[ni.number];
2533|   dynamic_array[0] = argv[0][0];
2534|   dynamic_array[ni.number - 1] = 543;
2535|
2536|   // work around unused variable warnings
2537|   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
2538|        || dynamic_array[ni.number - 1] != 543);
2539|
2540|   return ok;
2541| }
2542|
2543configure:5206: result: unsupported
2544configure:5224: checking for /usr/bin/gcc-4.2 option to enable C89 features
2545configure:5239: /usr/bin/gcc-4.2  -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include conftest.c >&5
2546configure:5239: $? = 0
2547configure:5257: result: none needed
2548configure:5281: checking whether /usr/bin/gcc-4.2 understands -c and -o together
2549configure:5304: /usr/bin/gcc-4.2 -c conftest.c -o conftest2.o
2550configure:5307: $? = 0
2551configure:5304: /usr/bin/gcc-4.2 -c conftest.c -o conftest2.o
2552configure:5307: $? = 0
2553configure:5319: result: yes
2554configure:5338: checking dependency style of /usr/bin/gcc-4.2
2555configure:5450: result: gcc3
2556configure:5471: checking for stdio.h
2557configure:5471: /usr/bin/gcc-4.2 -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include conftest.c >&5
2558configure:5471: $? = 0
2559configure:5471: result: yes
2560configure:5471: checking for stdlib.h
2561configure:5471: /usr/bin/gcc-4.2 -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include conftest.c >&5
2562configure:5471: $? = 0
2563configure:5471: result: yes
2564configure:5471: checking for string.h
2565configure:5471: /usr/bin/gcc-4.2 -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include conftest.c >&5
2566configure:5471: $? = 0
2567configure:5471: result: yes
2568configure:5471: checking for inttypes.h
2569configure:5471: /usr/bin/gcc-4.2 -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include conftest.c >&5
2570configure:5471: $? = 0
2571configure:5471: result: yes
2572configure:5471: checking for stdint.h
2573configure:5471: /usr/bin/gcc-4.2 -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include conftest.c >&5
2574configure:5471: $? = 0
2575configure:5471: result: yes
2576configure:5471: checking for strings.h
2577configure:5471: /usr/bin/gcc-4.2 -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include conftest.c >&5
2578configure:5471: $? = 0
2579configure:5471: result: yes
2580configure:5471: checking for sys/stat.h
2581configure:5471: /usr/bin/gcc-4.2 -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include conftest.c >&5
2582configure:5471: $? = 0
2583configure:5471: result: yes
2584configure:5471: checking for sys/types.h
2585configure:5471: /usr/bin/gcc-4.2 -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include conftest.c >&5
2586configure:5471: $? = 0
2587configure:5471: result: yes
2588configure:5471: checking for unistd.h
2589configure:5471: /usr/bin/gcc-4.2 -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include conftest.c >&5
2590configure:5471: $? = 0
2591configure:5471: result: yes
2592configure:5471: checking for wchar.h
2593configure:5471: /usr/bin/gcc-4.2 -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include conftest.c >&5
2594configure:5471: $? = 0
2595configure:5471: result: yes
2596configure:5471: checking for minix/config.h
2597configure:5471: /usr/bin/gcc-4.2 -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include conftest.c >&5
2598conftest.c:50:26: error: minix/config.h: No such file or directory
2599configure:5471: $? = 1
2600configure: failed program was:
2601| /* confdefs.h */
2602| #define PACKAGE_NAME "flac"
2603| #define PACKAGE_TARNAME "flac"
2604| #define PACKAGE_VERSION "1.3.4"
2605| #define PACKAGE_STRING "flac 1.3.4"
2606| #define PACKAGE_BUGREPORT "flac-dev@xiph.org"
2607| #define PACKAGE_URL "https://www.xiph.org/flac/"
2608| #define PACKAGE "flac"
2609| #define VERSION "1.3.4"
2610| #define NDEBUG /**/
2611| #define HAVE_STDIO_H 1
2612| #define HAVE_STDLIB_H 1
2613| #define HAVE_STRING_H 1
2614| #define HAVE_INTTYPES_H 1
2615| #define HAVE_STDINT_H 1
2616| #define HAVE_STRINGS_H 1
2617| #define HAVE_SYS_STAT_H 1
2618| #define HAVE_SYS_TYPES_H 1
2619| #define HAVE_UNISTD_H 1
2620| #define HAVE_WCHAR_H 1
2621| /* end confdefs.h.  */
2622| #include <stddef.h>
2623| #ifdef HAVE_STDIO_H
2624| # include <stdio.h>
2625| #endif
2626| #ifdef HAVE_STDLIB_H
2627| # include <stdlib.h>
2628| #endif
2629| #ifdef HAVE_STRING_H
2630| # include <string.h>
2631| #endif
2632| #ifdef HAVE_INTTYPES_H
2633| # include <inttypes.h>
2634| #endif
2635| #ifdef HAVE_STDINT_H
2636| # include <stdint.h>
2637| #endif
2638| #ifdef HAVE_STRINGS_H
2639| # include <strings.h>
2640| #endif
2641| #ifdef HAVE_SYS_TYPES_H
2642| # include <sys/types.h>
2643| #endif
2644| #ifdef HAVE_SYS_STAT_H
2645| # include <sys/stat.h>
2646| #endif
2647| #ifdef HAVE_UNISTD_H
2648| # include <unistd.h>
2649| #endif
2650| #include <minix/config.h>
2651configure:5471: result: no
2652configure:5502: checking whether it is safe to define __EXTENSIONS__
2653configure:5521: /usr/bin/gcc-4.2 -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include conftest.c >&5
2654configure:5521: $? = 0
2655configure:5529: result: yes
2656configure:5532: checking whether _XOPEN_SOURCE should be defined
2657configure:5554: /usr/bin/gcc-4.2 -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include conftest.c >&5
2658configure:5554: $? = 0
2659configure:5581: result: no
2660configure:5692: checking for ar
2661configure:5713: found /opt/local/bin/ar
2662configure:5724: result: ar
2663configure:5750: checking the archiver (ar) interface
2664configure:5767: /usr/bin/gcc-4.2 -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include conftest.c >&5
2665configure:5767: $? = 0
2666configure:5770: ar cru libconftest.a conftest.o >&5
2667configure:5773: $? = 0
2668configure:5801: result: ar
2669configure:5853: checking build system type
2670configure:5868: result: powerpc-apple-darwin9.8.0
2671configure:5888: checking host system type
2672configure:5902: result: powerpc-apple-darwin9.8.0
2673configure:5943: checking how to print strings
2674configure:5970: result: printf
2675configure:5991: checking for a sed that does not truncate output
2676configure:6061: result: /opt/local/bin/gsed
2677configure:6079: checking for grep that handles long lines and -e
2678configure:6143: result: /opt/local/bin/ggrep
2679configure:6148: checking for egrep
2680configure:6216: result: /opt/local/bin/ggrep -E
2681configure:6221: checking for fgrep
2682configure:6289: result: /opt/local/bin/ggrep -F
2683configure:6325: checking for ld used by /usr/bin/gcc-4.2
2684configure:6393: result: /usr/libexec/gcc/powerpc-apple-darwin9/4.2.1/ld
2685configure:6400: checking if the linker (/usr/libexec/gcc/powerpc-apple-darwin9/4.2.1/ld) is GNU ld
2686configure:6416: result: no
2687configure:6428: checking for BSD- or MS-compatible name lister (nm)
2688configure:6483: result: /usr/bin/nm -p
2689configure:6623: checking the name lister (/usr/bin/nm -p) interface
2690configure:6631: /usr/bin/gcc-4.2 -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include conftest.c >&5
2691configure:6634: /usr/bin/nm -p "conftest.o"
2692configure:6637: output
269300000000 D _some_variable
2694configure:6644: result: BSD nm
2695configure:6647: checking whether ln -s works
2696configure:6651: result: yes
2697configure:6659: checking the maximum length of command line arguments
2698configure:6791: result: 196608
2699configure:6839: checking how to convert powerpc-apple-darwin9.8.0 file names to powerpc-apple-darwin9.8.0 format
2700configure:6880: result: func_convert_file_noop
2701configure:6887: checking how to convert powerpc-apple-darwin9.8.0 file names to toolchain format
2702configure:6908: result: func_convert_file_noop
2703configure:6915: checking for /usr/libexec/gcc/powerpc-apple-darwin9/4.2.1/ld option to reload object files
2704configure:6923: result: -r
2705configure:7002: checking for objdump
2706configure:7037: result: no
2707configure:7063: checking how to recognize dependent libraries
2708configure:7264: result: pass_all
2709configure:7354: checking for dlltool
2710configure:7389: result: no
2711configure:7416: checking how to associate runtime and link libraries
2712configure:7444: result: printf %s\n
2713configure:7578: checking for archiver @FILE support
2714configure:7596: /usr/bin/gcc-4.2 -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include conftest.c >&5
2715configure:7596: $? = 0
2716configure:7600: ar cru libconftest.a @conftest.lst >&5
2717ar: @conftest.lst: No such file or directory
2718configure:7603: $? = 1
2719configure:7623: result: no
2720configure:7686: checking for strip
2721configure:7707: found /opt/local/bin/strip
2722configure:7718: result: strip
2723configure:7795: checking for ranlib
2724configure:7816: found /opt/local/bin/ranlib
2725configure:7827: result: ranlib
2726configure:7929: checking command to parse /usr/bin/nm -p output from /usr/bin/gcc-4.2 object
2727configure:8083: /usr/bin/gcc-4.2 -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include conftest.c >&5
2728configure:8086: $? = 0
2729configure:8090: /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
2730configure:8093: $? = 0
2731cannot find nm_test_var in conftest.nm
2732configure:8083: /usr/bin/gcc-4.2 -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include conftest.c >&5
2733configure:8086: $? = 0
2734configure:8090: /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
2735configure:8093: $? = 0
2736configure:8159: /usr/bin/gcc-4.2 -o conftest -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc conftest.c conftstm.o >&5
2737configure:8162: $? = 0
2738configure:8200: result: ok
2739configure:8247: checking for sysroot
2740configure:8278: result: no
2741configure:8285: checking for a working dd
2742configure:8329: result: /bin/dd
2743configure:8333: checking how to truncate binary pipes
2744configure:8349: result: /bin/dd bs=4096 count=1
2745configure:8686: checking for mt
2746configure:8721: result: no
2747configure:8741: checking if : is a manifest tool
2748configure:8748: : '-?'
2749configure:8756: result: no
2750configure:8817: checking for dsymutil
2751configure:8838: found /usr/bin/dsymutil
2752configure:8849: result: dsymutil
2753configure:8919: checking for nmedit
2754configure:8940: found /opt/local/bin/nmedit
2755configure:8951: result: nmedit
2756configure:9021: checking for lipo
2757configure:9042: found /opt/local/bin/lipo
2758configure:9053: result: lipo
2759configure:9123: checking for otool
2760configure:9144: found /opt/local/bin/otool
2761configure:9155: result: otool
2762configure:9225: checking for otool64
2763configure:9260: result: no
2764configure:9305: checking for -single_module linker flag
2765/usr/bin/gcc-4.2 -pipe -Os -std=gnu89 -arch ppc -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc -o libconftest.dylib -dynamiclib -Wl,-single_module conftest.c
2766configure:9339: result: yes
2767configure:9342: checking for -exported_symbols_list linker flag
2768configure:9363: /usr/bin/gcc-4.2 -o conftest -pipe -Os -std=gnu89 -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
2769configure:9363: $? = 0
2770configure:9374: result: yes
2771configure:9377: checking for -force_load linker flag
2772/usr/bin/gcc-4.2 -pipe -Os -std=gnu89 -arch ppc -c -o conftest.o conftest.c
2773ar cru libconftest.a conftest.o
2774ranlib libconftest.a
2775/usr/bin/gcc-4.2 -pipe -Os -std=gnu89 -arch ppc -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc -o conftest conftest.c -Wl,-force_load,./libconftest.a
2776ld: unknown option: -force_load
2777collect2: ld returned 1 exit status
2778configure:9410: result: no
2779configure:9477: checking for dlfcn.h
2780configure:9477: /usr/bin/gcc-4.2 -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include conftest.c >&5
2781configure:9477: $? = 0
2782configure:9477: result: yes
2783configure:10062: checking for objdir
2784configure:10078: result: .libs
2785configure:10342: checking if /usr/bin/gcc-4.2 supports -fno-rtti -fno-exceptions
2786configure:10361: /usr/bin/gcc-4.2 -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include -fno-rtti -fno-exceptions conftest.c >&5
2787cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C
2788configure:10365: $? = 0
2789configure:10378: result: no
2790configure:10736: checking for /usr/bin/gcc-4.2 option to produce PIC
2791configure:10744: result: -fno-common -DPIC
2792configure:10752: checking if /usr/bin/gcc-4.2 PIC flag -fno-common -DPIC works
2793configure:10771: /usr/bin/gcc-4.2 -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include -fno-common -DPIC -DPIC conftest.c >&5
2794configure:10775: $? = 0
2795configure:10788: result: yes
2796configure:10817: checking if /usr/bin/gcc-4.2 static flag -static works
2797configure:10846: result: no
2798configure:10861: checking if /usr/bin/gcc-4.2 supports -c -o file.o
2799configure:10883: /usr/bin/gcc-4.2 -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include -o out/conftest2.o conftest.c >&5
2800configure:10887: $? = 0
2801configure:10909: result: yes
2802configure:10917: checking if /usr/bin/gcc-4.2 supports -c -o file.o
2803configure:10965: result: yes
2804configure:10998: checking whether the /usr/bin/gcc-4.2 linker (/usr/libexec/gcc/powerpc-apple-darwin9/4.2.1/ld) supports shared libraries
2805configure:12264: result: yes
2806configure:12505: checking dynamic linker characteristics
2807configure:13326: result: darwin9.8.0 dyld
2808configure:13448: checking how to hardcode library paths into programs
2809configure:13473: result: immediate
2810configure:14025: checking whether stripping libraries is possible
2811configure:14039: result: yes
2812configure:14065: checking if libtool supports shared libraries
2813configure:14067: result: yes
2814configure:14070: checking whether to build shared libraries
2815configure:14095: result: yes
2816configure:14098: checking whether to build static libraries
2817configure:14102: result: no
2818configure:14148: checking dependency style of /usr/bin/gcc-4.2
2819configure:14258: result: gcc3
2820configure:14401: checking for C++ compiler version
2821configure:14410: /usr/bin/g++-4.2 --version >&5
2822powerpc-apple-darwin9-g++-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5577)
2823Copyright (C) 2007 Free Software Foundation, Inc.
2824This is free software; see the source for copying conditions.  There is NO
2825warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
2826
2827configure:14421: $? = 0
2828configure:14410: /usr/bin/g++-4.2 -v >&5
2829Using built-in specs.
2830Target: powerpc-apple-darwin9
2831Configured 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
2832Thread model: posix
2833gcc version 4.2.1 (Apple Inc. build 5577)
2834configure:14421: $? = 0
2835configure:14410: /usr/bin/g++-4.2 -V >&5
2836g++-4.2: argument to `-V' is missing
2837configure:14421: $? = 1
2838configure:14410: /usr/bin/g++-4.2 -qversion >&5
2839powerpc-apple-darwin9-g++-4.2.1: no input files
2840configure:14421: $? = 1
2841configure:14425: checking whether the compiler supports GNU C++
2842configure:14445: /usr/bin/g++-4.2 -c -pipe -Os -arch ppc -I/opt/local/include conftest.cpp >&5
2843configure:14445: $? = 0
2844configure:14455: result: yes
2845configure:14466: checking whether /usr/bin/g++-4.2 accepts -g
2846configure:14487: /usr/bin/g++-4.2 -c -g -I/opt/local/include conftest.cpp >&5
2847configure:14487: $? = 0
2848configure:14531: result: yes
2849configure:14551: checking for /usr/bin/g++-4.2 option to enable C++11 features
2850configure:14566: /usr/bin/g++-4.2  -c -pipe -Os -arch ppc -I/opt/local/include conftest.cpp >&5
2851conftest.cpp:44:3: error: #error "Compiler does not advertise C++98 conformance"
2852conftest.cpp:87:3: error: #error "Compiler does not advertise C++11 conformance"
2853conftest.cpp:92: error: expected constructor, destructor, or type conversion before 'int'
2854conftest.cpp: In constructor 'cxx11test::delegate::delegate()':
2855conftest.cpp:104: error: type 'cxx11test::delegate' is not a direct base of 'cxx11test::delegate'
2856conftest.cpp: At global scope:
2857conftest.cpp:115: error: expected ';' before 'override'
2858conftest.cpp:116: error: expected `;' before '}' token
2859conftest.cpp:122: error: invalid pure specifier (only `= 0' is allowed) before ';' token
2860conftest.cpp:123: error: invalid pure specifier (only `= 0' is allowed) before ';' token
2861conftest.cpp:124: error: invalid pure specifier (only `= 0' is allowed) before ';' token
2862conftest.cpp:122: error: initializer specified for non-virtual method 'cxx11test::nocopy::nocopy()'
2863conftest.cpp:123: error: initializer specified for non-virtual method 'cxx11test::nocopy::nocopy(const cxx11test::nocopy&)'
2864conftest.cpp:124: error: initializer specified for non-virtual method 'cxx11test::nocopy& cxx11test::nocopy::operator=(const cxx11test::nocopy&)'
2865conftest.cpp:136: error: expected initializer before '->' token
2866conftest.cpp:140: error: expected nested-name-specifier before '...' token
2867conftest.cpp:140: error: expected '>' before '...' token
2868conftest.cpp:140: error: 'Args' has not been declared
2869conftest.cpp:140: error: expected `)' before 'rest'
2870conftest.cpp:140: error: expected initializer before 'rest'
2871conftest.cpp: In function 'int main(int, char**)':
2872conftest.cpp:164: error: ISO C++ forbids declaration of 'a1' with no type
2873conftest.cpp:165: error: ISO C++ forbids declaration of 'a2' with no type
2874conftest.cpp:166: error: ISO C++ forbids declaration of 'a3' with no type
2875conftest.cpp:166: error: invalid conversion from 'const char*' to 'int'
2876conftest.cpp:169: error: ISO C++ forbids declaration of 'i' with no type
2877conftest.cpp:169: error: invalid type argument of 'unary *'
2878conftest.cpp:169: error: invalid type argument of 'unary *'
2879conftest.cpp:171: error: 'decltype' was not declared in this scope
2880conftest.cpp:171: error: expected `;' before 'a4'
2881conftest.cpp:175: error: 'get_val' is not a member of 'cxx11test'
2882conftest.cpp:185: error: a function-definition is not allowed here before ':' token
2883conftest.cpp:186: error: expected primary-expression before '}' token
2884conftest.cpp:186: error: expected `;' before '}' token
2885conftest.cpp:186: error: expected primary-expression before '}' token
2886conftest.cpp:186: error: expected `)' before '}' token
2887conftest.cpp:186: error: expected primary-expression before '}' token
2888conftest.cpp:186: error: expected `;' before '}' token
2889conftest.cpp:190: error: expected primary-expression before '[' token
2890conftest.cpp:190: error: expected primary-expression before ']' token
2891conftest.cpp:190: error: expected primary-expression before 'int'
2892conftest.cpp:192: error: expected primary-expression before '[' token
2893conftest.cpp:192: error: expected primary-expression before ']' token
2894conftest.cpp:192: error: expected primary-expression before 'double'
2895conftest.cpp:194: error: expected primary-expression before '[' token
2896conftest.cpp:194: error: expected primary-expression before '=' token
2897conftest.cpp:194: error: expected primary-expression before ']' token
2898conftest.cpp:194: error: expected primary-expression before 'double'
2899conftest.cpp:199: error: 'cxx11test::sum' has not been declared
2900conftest.cpp:200: error: ISO C++ forbids declaration of 'a' with no type
2901conftest.cpp:200: error: 'sum' was not declared in this scope
2902conftest.cpp:201: error: ISO C++ forbids declaration of 'b' with no type
2903conftest.cpp:202: error: ISO C++ forbids declaration of 'c' with no type
2904conftest.cpp:216: error: 'nullptr' was not declared in this scope
2905conftest.cpp:220: error: '>>' should be '> >' within a nested template argument list
2906conftest.cpp:220: error: '<::' cannot begin a template-argument list
2907conftest.cpp:220: note: '<:' is an alternate spelling for '['. Insert whitespace between '<' and '::'
2908conftest.cpp:220: note: (if you use -fpermissive G++ will accept your code)
2909conftest.cpp:224: error: 'u8' was not declared in this scope
2910conftest.cpp:224: error: expected ',' or ';' before string constant
2911conftest.cpp:225: error: 'char16_t' was not declared in this scope
2912conftest.cpp:225: error: expected `;' before 'const'
2913conftest.cpp:226: error: 'char32_t' was not declared in this scope
2914conftest.cpp:226: error: expected `;' before 'const'
2915configure:14566: $? = 1
2916configure: failed program was:
2917| /* confdefs.h */
2918| #define PACKAGE_NAME "flac"
2919| #define PACKAGE_TARNAME "flac"
2920| #define PACKAGE_VERSION "1.3.4"
2921| #define PACKAGE_STRING "flac 1.3.4"
2922| #define PACKAGE_BUGREPORT "flac-dev@xiph.org"
2923| #define PACKAGE_URL "https://www.xiph.org/flac/"
2924| #define PACKAGE "flac"
2925| #define VERSION "1.3.4"
2926| #define NDEBUG /**/
2927| #define HAVE_STDIO_H 1
2928| #define HAVE_STDLIB_H 1
2929| #define HAVE_STRING_H 1
2930| #define HAVE_INTTYPES_H 1
2931| #define HAVE_STDINT_H 1
2932| #define HAVE_STRINGS_H 1
2933| #define HAVE_SYS_STAT_H 1
2934| #define HAVE_SYS_TYPES_H 1
2935| #define HAVE_UNISTD_H 1
2936| #define HAVE_WCHAR_H 1
2937| #define STDC_HEADERS 1
2938| #define _ALL_SOURCE 1
2939| #define _DARWIN_C_SOURCE 1
2940| #define _GNU_SOURCE 1
2941| #define _HPUX_ALT_XOPEN_SOCKET_API 1
2942| #define _NETBSD_SOURCE 1
2943| #define _OPENBSD_SOURCE 1
2944| #define _POSIX_PTHREAD_SEMANTICS 1
2945| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
2946| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
2947| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
2948| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
2949| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
2950| #define __STDC_WANT_LIB_EXT2__ 1
2951| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
2952| #define _TANDEM_SOURCE 1
2953| #define __EXTENSIONS__ 1
2954| #define HAVE_DLFCN_H 1
2955| #define LT_OBJDIR ".libs/"
2956| /* end confdefs.h.  */
2957|
2958| // Does the compiler advertise C++98 conformance?
2959| #if !defined __cplusplus || __cplusplus < 199711L
2960| # error "Compiler does not advertise C++98 conformance"
2961| #endif
2962|
2963| // These inclusions are to reject old compilers that
2964| // lack the unsuffixed header files.
2965| #include <cstdlib>
2966| #include <exception>
2967|
2968| // <cassert> and <cstring> are *not* freestanding headers in C++98.
2969| extern void assert (int);
2970| namespace std {
2971|   extern int strcmp (const char *, const char *);
2972| }
2973|
2974| // Namespaces, exceptions, and templates were all added after "C++ 2.0".
2975| using std::exception;
2976| using std::strcmp;
2977|
2978| namespace {
2979|
2980| void test_exception_syntax()
2981| {
2982|   try {
2983|     throw "test";
2984|   } catch (const char *s) {
2985|     // Extra parentheses suppress a warning when building autoconf itself,
2986|     // due to lint rules shared with more typical C programs.
2987|     assert (!(strcmp) (s, "test"));
2988|   }
2989| }
2990|
2991| template <typename T> struct test_template
2992| {
2993|   T const val;
2994|   explicit test_template(T t) : val(t) {}
2995|   template <typename U> T add(U u) { return static_cast<T>(u) + val; }
2996| };
2997|
2998| } // anonymous namespace
2999|
3000|
3001| // Does the compiler advertise C++ 2011 conformance?
3002| #if !defined __cplusplus || __cplusplus < 201103L
3003| # error "Compiler does not advertise C++11 conformance"
3004| #endif
3005|
3006| namespace cxx11test
3007| {
3008|   constexpr int get_val() { return 20; }
3009|
3010|   struct testinit
3011|   {
3012|     int i;
3013|     double d;
3014|   };
3015|
3016|   class delegate
3017|   {
3018|   public:
3019|     delegate(int n) : n(n) {}
3020|     delegate(): delegate(2354) {}
3021|
3022|     virtual int getval() { return this->n; };
3023|   protected:
3024|     int n;
3025|   };
3026|
3027|   class overridden : public delegate
3028|   {
3029|   public:
3030|     overridden(int n): delegate(n) {}
3031|     virtual int getval() override final { return this->n * 2; }
3032|   };
3033|
3034|   class nocopy
3035|   {
3036|   public:
3037|     nocopy(int i): i(i) {}
3038|     nocopy() = default;
3039|     nocopy(const nocopy&) = delete;
3040|     nocopy & operator=(const nocopy&) = delete;
3041|   private:
3042|     int i;
3043|   };
3044|
3045|   // for testing lambda expressions
3046|   template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
3047|   {
3048|     return f(v);
3049|   }
3050|
3051|   // for testing variadic templates and trailing return types
3052|   template <typename V> auto sum(V first) -> V
3053|   {
3054|     return first;
3055|   }
3056|   template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
3057|   {
3058|     return first + sum(rest...);
3059|   }
3060| }
3061|
3062|
3063| int
3064| main (int argc, char **argv)
3065| {
3066|   int ok = 0;
3067|   
3068|   assert (argc);
3069|   assert (! argv[0]);
3070| {
3071|   test_exception_syntax ();
3072|   test_template<double> tt (2.0);
3073|   assert (tt.add (4) == 6.0);
3074|   assert (true && !false);
3075| }
3076|
3077|   
3078| {
3079|   // Test auto and decltype
3080|   auto a1 = 6538;
3081|   auto a2 = 48573953.4;
3082|   auto a3 = "String literal";
3083|
3084|   int total = 0;
3085|   for (auto i = a3; *i; ++i) { total += *i; }
3086|
3087|   decltype(a2) a4 = 34895.034;
3088| }
3089| {
3090|   // Test constexpr
3091|   short sa[cxx11test::get_val()] = { 0 };
3092| }
3093| {
3094|   // Test initializer lists
3095|   cxx11test::testinit il = { 4323, 435234.23544 };
3096| }
3097| {
3098|   // Test range-based for
3099|   int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3100|                  14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3101|   for (auto &x : array) { x += 23; }
3102| }
3103| {
3104|   // Test lambda expressions
3105|   using cxx11test::eval;
3106|   assert (eval ([](int x) { return x*2; }, 21) == 42);
3107|   double d = 2.0;
3108|   assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
3109|   assert (d == 5.0);
3110|   assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
3111|   assert (d == 5.0);
3112| }
3113| {
3114|   // Test use of variadic templates
3115|   using cxx11test::sum;
3116|   auto a = sum(1);
3117|   auto b = sum(1, 2);
3118|   auto c = sum(1.0, 2.0, 3.0);
3119| }
3120| {
3121|   // Test constructor delegation
3122|   cxx11test::delegate d1;
3123|   cxx11test::delegate d2();
3124|   cxx11test::delegate d3(45);
3125| }
3126| {
3127|   // Test override and final
3128|   cxx11test::overridden o1(55464);
3129| }
3130| {
3131|   // Test nullptr
3132|   char *c = nullptr;
3133| }
3134| {
3135|   // Test template brackets
3136|   test_template<::test_template<int>> v(test_template<int>(12));
3137| }
3138| {
3139|   // Unicode literals
3140|   char const *utf8 = u8"UTF-8 string \u2500";
3141|   char16_t const *utf16 = u"UTF-8 string \u2500";
3142|   char32_t const *utf32 = U"UTF-32 string \u2500";
3143| }
3144|
3145|   return ok;
3146| }
3147|
3148configure:14584: result: none needed
3149configure:14650: checking dependency style of /usr/bin/g++-4.2
3150configure:14762: result: gcc3
3151configure:14795: checking how to run the C++ preprocessor
3152configure:14817: /usr/bin/g++-4.2 -E -I/opt/local/include conftest.cpp
3153configure:14817: $? = 0
3154configure:14832: /usr/bin/g++-4.2 -E -I/opt/local/include conftest.cpp
3155conftest.cpp:41:28: error: ac_nonexistent.h: No such file or directory
3156configure:14832: $? = 1
3157configure: failed program was:
3158| /* confdefs.h */
3159| #define PACKAGE_NAME "flac"
3160| #define PACKAGE_TARNAME "flac"
3161| #define PACKAGE_VERSION "1.3.4"
3162| #define PACKAGE_STRING "flac 1.3.4"
3163| #define PACKAGE_BUGREPORT "flac-dev@xiph.org"
3164| #define PACKAGE_URL "https://www.xiph.org/flac/"
3165| #define PACKAGE "flac"
3166| #define VERSION "1.3.4"
3167| #define NDEBUG /**/
3168| #define HAVE_STDIO_H 1
3169| #define HAVE_STDLIB_H 1
3170| #define HAVE_STRING_H 1
3171| #define HAVE_INTTYPES_H 1
3172| #define HAVE_STDINT_H 1
3173| #define HAVE_STRINGS_H 1
3174| #define HAVE_SYS_STAT_H 1
3175| #define HAVE_SYS_TYPES_H 1
3176| #define HAVE_UNISTD_H 1
3177| #define HAVE_WCHAR_H 1
3178| #define STDC_HEADERS 1
3179| #define _ALL_SOURCE 1
3180| #define _DARWIN_C_SOURCE 1
3181| #define _GNU_SOURCE 1
3182| #define _HPUX_ALT_XOPEN_SOCKET_API 1
3183| #define _NETBSD_SOURCE 1
3184| #define _OPENBSD_SOURCE 1
3185| #define _POSIX_PTHREAD_SEMANTICS 1
3186| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
3187| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
3188| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
3189| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
3190| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
3191| #define __STDC_WANT_LIB_EXT2__ 1
3192| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
3193| #define _TANDEM_SOURCE 1
3194| #define __EXTENSIONS__ 1
3195| #define HAVE_DLFCN_H 1
3196| #define LT_OBJDIR ".libs/"
3197| /* end confdefs.h.  */
3198| #include <ac_nonexistent.h>
3199configure:14859: result: /usr/bin/g++-4.2 -E
3200configure:14873: /usr/bin/g++-4.2 -E -I/opt/local/include conftest.cpp
3201configure:14873: $? = 0
3202configure:14888: /usr/bin/g++-4.2 -E -I/opt/local/include conftest.cpp
3203conftest.cpp:41:28: error: ac_nonexistent.h: No such file or directory
3204configure:14888: $? = 1
3205configure: failed program was:
3206| /* confdefs.h */
3207| #define PACKAGE_NAME "flac"
3208| #define PACKAGE_TARNAME "flac"
3209| #define PACKAGE_VERSION "1.3.4"
3210| #define PACKAGE_STRING "flac 1.3.4"
3211| #define PACKAGE_BUGREPORT "flac-dev@xiph.org"
3212| #define PACKAGE_URL "https://www.xiph.org/flac/"
3213| #define PACKAGE "flac"
3214| #define VERSION "1.3.4"
3215| #define NDEBUG /**/
3216| #define HAVE_STDIO_H 1
3217| #define HAVE_STDLIB_H 1
3218| #define HAVE_STRING_H 1
3219| #define HAVE_INTTYPES_H 1
3220| #define HAVE_STDINT_H 1
3221| #define HAVE_STRINGS_H 1
3222| #define HAVE_SYS_STAT_H 1
3223| #define HAVE_SYS_TYPES_H 1
3224| #define HAVE_UNISTD_H 1
3225| #define HAVE_WCHAR_H 1
3226| #define STDC_HEADERS 1
3227| #define _ALL_SOURCE 1
3228| #define _DARWIN_C_SOURCE 1
3229| #define _GNU_SOURCE 1
3230| #define _HPUX_ALT_XOPEN_SOCKET_API 1
3231| #define _NETBSD_SOURCE 1
3232| #define _OPENBSD_SOURCE 1
3233| #define _POSIX_PTHREAD_SEMANTICS 1
3234| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
3235| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
3236| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
3237| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
3238| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
3239| #define __STDC_WANT_LIB_EXT2__ 1
3240| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
3241| #define _TANDEM_SOURCE 1
3242| #define __EXTENSIONS__ 1
3243| #define HAVE_DLFCN_H 1
3244| #define LT_OBJDIR ".libs/"
3245| /* end confdefs.h.  */
3246| #include <ac_nonexistent.h>
3247configure:15053: checking for ld used by /usr/bin/g++-4.2
3248configure:15121: result: /usr/libexec/gcc/powerpc-apple-darwin9/4.2.1/ld
3249configure:15128: checking if the linker (/usr/libexec/gcc/powerpc-apple-darwin9/4.2.1/ld) is GNU ld
3250configure:15144: result: no
3251configure:15199: checking whether the /usr/bin/g++-4.2 linker (/usr/libexec/gcc/powerpc-apple-darwin9/4.2.1/ld) supports shared libraries
3252configure:16276: result: yes
3253configure:16312: /usr/bin/g++-4.2 -c -pipe -Os -arch ppc -I/opt/local/include conftest.cpp >&5
3254configure:16315: $? = 0
3255configure:16796: checking for /usr/bin/g++-4.2 option to produce PIC
3256configure:16804: result: -fno-common -DPIC
3257configure:16812: checking if /usr/bin/g++-4.2 PIC flag -fno-common -DPIC works
3258configure:16831: /usr/bin/g++-4.2 -c -pipe -Os -arch ppc -I/opt/local/include -fno-common -DPIC -DPIC conftest.cpp >&5
3259configure:16835: $? = 0
3260configure:16848: result: yes
3261configure:16871: checking if /usr/bin/g++-4.2 static flag -static works
3262configure:16900: result: no
3263configure:16912: checking if /usr/bin/g++-4.2 supports -c -o file.o
3264configure:16934: /usr/bin/g++-4.2 -c -pipe -Os -arch ppc -I/opt/local/include -o out/conftest2.o conftest.cpp >&5
3265configure:16938: $? = 0
3266configure:16960: result: yes
3267configure:16965: checking if /usr/bin/g++-4.2 supports -c -o file.o
3268configure:17013: result: yes
3269configure:17043: checking whether the /usr/bin/g++-4.2 linker (/usr/libexec/gcc/powerpc-apple-darwin9/4.2.1/ld) supports shared libraries
3270configure:17083: result: yes
3271configure:17225: checking dynamic linker characteristics
3272configure:17973: result: darwin9.8.0 dyld
3273configure:18038: checking how to hardcode library paths into programs
3274configure:18063: result: immediate
3275configure:18103: checking whether we are using the CLANG C compiler
3276configure:18127: /usr/bin/gcc-4.2 -o conftest -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc conftest.c  >&5
3277conftest.c: In function 'main':
3278conftest.c:49: error: 'This' undeclared (first use in this function)
3279conftest.c:49: error: (Each undeclared identifier is reported only once
3280conftest.c:49: error: for each function it appears in.)
3281conftest.c:49: error: expected ';' before 'is'
3282configure:18127: $? = 1
3283configure: failed program was:
3284| /* confdefs.h */
3285| #define PACKAGE_NAME "flac"
3286| #define PACKAGE_TARNAME "flac"
3287| #define PACKAGE_VERSION "1.3.4"
3288| #define PACKAGE_STRING "flac 1.3.4"
3289| #define PACKAGE_BUGREPORT "flac-dev@xiph.org"
3290| #define PACKAGE_URL "https://www.xiph.org/flac/"
3291| #define PACKAGE "flac"
3292| #define VERSION "1.3.4"
3293| #define NDEBUG /**/
3294| #define HAVE_STDIO_H 1
3295| #define HAVE_STDLIB_H 1
3296| #define HAVE_STRING_H 1
3297| #define HAVE_INTTYPES_H 1
3298| #define HAVE_STDINT_H 1
3299| #define HAVE_STRINGS_H 1
3300| #define HAVE_SYS_STAT_H 1
3301| #define HAVE_SYS_TYPES_H 1
3302| #define HAVE_UNISTD_H 1
3303| #define HAVE_WCHAR_H 1
3304| #define STDC_HEADERS 1
3305| #define _ALL_SOURCE 1
3306| #define _DARWIN_C_SOURCE 1
3307| #define _GNU_SOURCE 1
3308| #define _HPUX_ALT_XOPEN_SOCKET_API 1
3309| #define _NETBSD_SOURCE 1
3310| #define _OPENBSD_SOURCE 1
3311| #define _POSIX_PTHREAD_SEMANTICS 1
3312| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
3313| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
3314| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
3315| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
3316| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
3317| #define __STDC_WANT_LIB_EXT2__ 1
3318| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
3319| #define _TANDEM_SOURCE 1
3320| #define __EXTENSIONS__ 1
3321| #define HAVE_DLFCN_H 1
3322| #define LT_OBJDIR ".libs/"
3323| /* end confdefs.h.  */
3324|
3325|                       #include <stdio.h>
3326|
3327| int
3328| main (void)
3329| {
3330|
3331|                       #ifndef __clang__
3332|                               This is not clang!
3333|                       #endif
3334|
3335|   ;
3336|   return 0;
3337| }
3338configure:18134: result: no
3339configure:18160: /usr/bin/gcc-4.2 -o conftest -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc conftest.c  >&5
3340configure:18160: $? = 0
3341configure:18171: checking whether make sets $(MAKE)
3342configure:18194: result: yes
3343configure:18213: checking for special C compiler options needed for large files
3344configure:18261: result: no
3345configure:18267: checking for _FILE_OFFSET_BITS value needed for large files
3346configure:18293: /usr/bin/gcc-4.2 -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include conftest.c >&5
3347configure:18293: $? = 0
3348configure:18327: result: no
3349configure:18409: checking for _LARGEFILE_SOURCE value needed for large files
3350configure:18429: /usr/bin/gcc-4.2 -o conftest -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc conftest.c  >&5
3351configure:18429: $? = 0
3352configure:18459: result: no
3353configure:18483: checking size of off_t
3354configure:18489: /usr/bin/gcc-4.2 -o conftest -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc conftest.c  >&5
3355configure:18489: $? = 0
3356configure:18489: ./conftest
3357configure:18489: $? = 0
3358configure:18504: result: 8
3359configure:18516: checking size of void*
3360configure:18522: /usr/bin/gcc-4.2 -o conftest -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc conftest.c  >&5
3361configure:18522: $? = 0
3362configure:18522: ./conftest
3363configure:18522: $? = 0
3364configure:18537: result: 4
3365configure:18545: checking for library containing lround
3366configure:18575: /usr/bin/gcc-4.2 -o conftest -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc conftest.c  >&5
3367conftest.c:48: warning: conflicting types for built-in function 'lround'
3368configure:18575: $? = 0
3369configure:18595: result: none required
3370configure:18616: checking for variable-length arrays
3371configure:18674: /usr/bin/g++-4.2 -c -pipe -Os -arch ppc -I/opt/local/include conftest.cpp >&5
3372conftest.cpp:55: error: 'm' was not declared in this scope
3373conftest.cpp:55: error: 'm' was not declared in this scope
3374conftest.cpp:58: error: expected primary-expression before 'static'
3375conftest.cpp:58: error: expected `]' before 'static'
3376conftest.cpp:58: error: expected ',' or '...' before 'static'
3377conftest.cpp: In function 'int simple(int)':
3378conftest.cpp:60: error: 'all' was not declared in this scope
3379conftest.cpp: At global scope:
3380conftest.cpp:64: error: 'm' was not declared in this scope
3381conftest.cpp:64: error: 'm' was not declared in this scope
3382conftest.cpp: In function 'int fvla(int)':
3383conftest.cpp:69: error: cannot convert 'int (*)[100]' to 'int (*)[(((long unsigned int)(((int)m) - 1)) + 1u)]' in initialization
3384conftest.cpp:70: error: cannot convert 'int (*)[(((long unsigned int)(((int)m) - 1)) + 1u)]' to 'int (*)[(((long unsigned int)(((int)n) - 1)) + 1u)]' in initialization
3385conftest.cpp:71: error: 'C' was not declared in this scope
3386configure:18674: $? = 1
3387configure: failed program was:
3388| /* confdefs.h */
3389| #define PACKAGE_NAME "flac"
3390| #define PACKAGE_TARNAME "flac"
3391| #define PACKAGE_VERSION "1.3.4"
3392| #define PACKAGE_STRING "flac 1.3.4"
3393| #define PACKAGE_BUGREPORT "flac-dev@xiph.org"
3394| #define PACKAGE_URL "https://www.xiph.org/flac/"
3395| #define PACKAGE "flac"
3396| #define VERSION "1.3.4"
3397| #define NDEBUG /**/
3398| #define HAVE_STDIO_H 1
3399| #define HAVE_STDLIB_H 1
3400| #define HAVE_STRING_H 1
3401| #define HAVE_INTTYPES_H 1
3402| #define HAVE_STDINT_H 1
3403| #define HAVE_STRINGS_H 1
3404| #define HAVE_SYS_STAT_H 1
3405| #define HAVE_SYS_TYPES_H 1
3406| #define HAVE_UNISTD_H 1
3407| #define HAVE_WCHAR_H 1
3408| #define STDC_HEADERS 1
3409| #define _ALL_SOURCE 1
3410| #define _DARWIN_C_SOURCE 1
3411| #define _GNU_SOURCE 1
3412| #define _HPUX_ALT_XOPEN_SOCKET_API 1
3413| #define _NETBSD_SOURCE 1
3414| #define _OPENBSD_SOURCE 1
3415| #define _POSIX_PTHREAD_SEMANTICS 1
3416| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
3417| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
3418| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
3419| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
3420| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
3421| #define __STDC_WANT_LIB_EXT2__ 1
3422| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
3423| #define _TANDEM_SOURCE 1
3424| #define __EXTENSIONS__ 1
3425| #define HAVE_DLFCN_H 1
3426| #define LT_OBJDIR ".libs/"
3427| #define HAVE_FSEEKO 1
3428| #define SIZEOF_OFF_T 8
3429| #define SIZEOF_VOIDP 4
3430| #define HAVE_LROUND 1
3431| /* end confdefs.h.  */
3432| /* Test for VLA support.  This test is partly inspired
3433|                 from examples in the C standard.  Use at least two VLA
3434|                 functions to detect the GCC 3.4.3 bug described in:
3435|                 https://lists.gnu.org/archive/html/bug-gnulib/2014-08/msg00014.html
3436|                 */
3437|              #ifdef __STDC_NO_VLA__
3438|               syntax error;
3439|              #else
3440|                extern int n;
3441|                int B[100];
3442|                int fvla (int m, int C[m][m]);
3443|
3444|                int
3445|                simple (int count, int all[static count])
3446|                {
3447|                  return all[count - 1];
3448|                }
3449|
3450|                int
3451|                fvla (int m, int C[m][m])
3452|                {
3453|                  typedef int VLA[m][m];
3454|                  VLA x;
3455|                  int D[m];
3456|                  static int (*q)[m] = &B;
3457|                  int (*s)[n] = q;
3458|                  return C && &x[0][0] == &D[0] && &D[0] == s[0];
3459|                }
3460|              #endif
3461|
3462| int
3463| main (void)
3464| {
3465|
3466|   ;
3467|   return 0;
3468| }
3469configure:18685: result: no
3470configure:18713: checking for egrep
3471configure:18781: result: /opt/local/bin/ggrep -E
3472configure:18788: checking for inline
3473configure:18805: /usr/bin/gcc-4.2 -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include conftest.c >&5
3474configure:18805: $? = 0
3475configure:18814: result: inline
3476configure:18837: checking how to run the C preprocessor
3477configure:18863: /usr/bin/gcc-4.2 -E -I/opt/local/include conftest.c
3478configure:18863: $? = 0
3479configure:18878: /usr/bin/gcc-4.2 -E -I/opt/local/include conftest.c
3480conftest.c:46:28: error: ac_nonexistent.h: No such file or directory
3481configure:18878: $? = 1
3482configure: failed program was:
3483| /* confdefs.h */
3484| #define PACKAGE_NAME "flac"
3485| #define PACKAGE_TARNAME "flac"
3486| #define PACKAGE_VERSION "1.3.4"
3487| #define PACKAGE_STRING "flac 1.3.4"
3488| #define PACKAGE_BUGREPORT "flac-dev@xiph.org"
3489| #define PACKAGE_URL "https://www.xiph.org/flac/"
3490| #define PACKAGE "flac"
3491| #define VERSION "1.3.4"
3492| #define NDEBUG /**/
3493| #define HAVE_STDIO_H 1
3494| #define HAVE_STDLIB_H 1
3495| #define HAVE_STRING_H 1
3496| #define HAVE_INTTYPES_H 1
3497| #define HAVE_STDINT_H 1
3498| #define HAVE_STRINGS_H 1
3499| #define HAVE_SYS_STAT_H 1
3500| #define HAVE_SYS_TYPES_H 1
3501| #define HAVE_UNISTD_H 1
3502| #define HAVE_WCHAR_H 1
3503| #define STDC_HEADERS 1
3504| #define _ALL_SOURCE 1
3505| #define _DARWIN_C_SOURCE 1
3506| #define _GNU_SOURCE 1
3507| #define _HPUX_ALT_XOPEN_SOCKET_API 1
3508| #define _NETBSD_SOURCE 1
3509| #define _OPENBSD_SOURCE 1
3510| #define _POSIX_PTHREAD_SEMANTICS 1
3511| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
3512| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
3513| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
3514| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
3515| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
3516| #define __STDC_WANT_LIB_EXT2__ 1
3517| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
3518| #define _TANDEM_SOURCE 1
3519| #define __EXTENSIONS__ 1
3520| #define HAVE_DLFCN_H 1
3521| #define LT_OBJDIR ".libs/"
3522| #define HAVE_FSEEKO 1
3523| #define SIZEOF_OFF_T 8
3524| #define SIZEOF_VOIDP 4
3525| #define HAVE_LROUND 1
3526| #define __STDC_NO_VLA__ 1
3527| /* end confdefs.h.  */
3528| #include <ac_nonexistent.h>
3529configure:18905: result: /usr/bin/gcc-4.2 -E
3530configure:18919: /usr/bin/gcc-4.2 -E -I/opt/local/include conftest.c
3531configure:18919: $? = 0
3532configure:18934: /usr/bin/gcc-4.2 -E -I/opt/local/include conftest.c
3533conftest.c:46:28: error: ac_nonexistent.h: No such file or directory
3534configure:18934: $? = 1
3535configure: failed program was:
3536| /* confdefs.h */
3537| #define PACKAGE_NAME "flac"
3538| #define PACKAGE_TARNAME "flac"
3539| #define PACKAGE_VERSION "1.3.4"
3540| #define PACKAGE_STRING "flac 1.3.4"
3541| #define PACKAGE_BUGREPORT "flac-dev@xiph.org"
3542| #define PACKAGE_URL "https://www.xiph.org/flac/"
3543| #define PACKAGE "flac"
3544| #define VERSION "1.3.4"
3545| #define NDEBUG /**/
3546| #define HAVE_STDIO_H 1
3547| #define HAVE_STDLIB_H 1
3548| #define HAVE_STRING_H 1
3549| #define HAVE_INTTYPES_H 1
3550| #define HAVE_STDINT_H 1
3551| #define HAVE_STRINGS_H 1
3552| #define HAVE_SYS_STAT_H 1
3553| #define HAVE_SYS_TYPES_H 1
3554| #define HAVE_UNISTD_H 1
3555| #define HAVE_WCHAR_H 1
3556| #define STDC_HEADERS 1
3557| #define _ALL_SOURCE 1
3558| #define _DARWIN_C_SOURCE 1
3559| #define _GNU_SOURCE 1
3560| #define _HPUX_ALT_XOPEN_SOCKET_API 1
3561| #define _NETBSD_SOURCE 1
3562| #define _OPENBSD_SOURCE 1
3563| #define _POSIX_PTHREAD_SEMANTICS 1
3564| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
3565| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
3566| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
3567| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
3568| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
3569| #define __STDC_WANT_LIB_EXT2__ 1
3570| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
3571| #define _TANDEM_SOURCE 1
3572| #define __EXTENSIONS__ 1
3573| #define HAVE_DLFCN_H 1
3574| #define LT_OBJDIR ".libs/"
3575| #define HAVE_FSEEKO 1
3576| #define SIZEOF_OFF_T 8
3577| #define SIZEOF_VOIDP 4
3578| #define HAVE_LROUND 1
3579| #define __STDC_NO_VLA__ 1
3580| /* end confdefs.h.  */
3581| #include <ac_nonexistent.h>
3582configure:18966: checking for variable-length arrays
3583configure:19035: result: no
3584configure:19048: checking for typeof syntax and keyword spelling
3585configure:19080: /usr/bin/gcc-4.2 -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include conftest.c >&5
3586conftest.c:45:1: warning: "__STDC_NO_VLA__" redefined
3587conftest.c:44:1: warning: this is the location of the previous definition
3588configure:19080: $? = 0
3589configure:19088: result: typeof
3590configure:19102: checking for stdint.h
3591configure:19102: result: yes
3592configure:19108: checking for inttypes.h
3593configure:19108: result: yes
3594configure:19114: checking for byteswap.h
3595configure:19114: /usr/bin/gcc-4.2 -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include conftest.c >&5
3596conftest.c:45:1: warning: "__STDC_NO_VLA__" redefined
3597conftest.c:44:1: warning: this is the location of the previous definition
3598conftest.c:78:22: error: byteswap.h: No such file or directory
3599configure:19114: $? = 1
3600configure: failed program was:
3601| /* confdefs.h */
3602| #define PACKAGE_NAME "flac"
3603| #define PACKAGE_TARNAME "flac"
3604| #define PACKAGE_VERSION "1.3.4"
3605| #define PACKAGE_STRING "flac 1.3.4"
3606| #define PACKAGE_BUGREPORT "flac-dev@xiph.org"
3607| #define PACKAGE_URL "https://www.xiph.org/flac/"
3608| #define PACKAGE "flac"
3609| #define VERSION "1.3.4"
3610| #define NDEBUG /**/
3611| #define HAVE_STDIO_H 1
3612| #define HAVE_STDLIB_H 1
3613| #define HAVE_STRING_H 1
3614| #define HAVE_INTTYPES_H 1
3615| #define HAVE_STDINT_H 1
3616| #define HAVE_STRINGS_H 1
3617| #define HAVE_SYS_STAT_H 1
3618| #define HAVE_SYS_TYPES_H 1
3619| #define HAVE_UNISTD_H 1
3620| #define HAVE_WCHAR_H 1
3621| #define STDC_HEADERS 1
3622| #define _ALL_SOURCE 1
3623| #define _DARWIN_C_SOURCE 1
3624| #define _GNU_SOURCE 1
3625| #define _HPUX_ALT_XOPEN_SOCKET_API 1
3626| #define _NETBSD_SOURCE 1
3627| #define _OPENBSD_SOURCE 1
3628| #define _POSIX_PTHREAD_SEMANTICS 1
3629| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
3630| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
3631| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
3632| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
3633| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
3634| #define __STDC_WANT_LIB_EXT2__ 1
3635| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
3636| #define _TANDEM_SOURCE 1
3637| #define __EXTENSIONS__ 1
3638| #define HAVE_DLFCN_H 1
3639| #define LT_OBJDIR ".libs/"
3640| #define HAVE_FSEEKO 1
3641| #define SIZEOF_OFF_T 8
3642| #define SIZEOF_VOIDP 4
3643| #define HAVE_LROUND 1
3644| #define __STDC_NO_VLA__ 1
3645| #define __STDC_NO_VLA__ 1
3646| #define HAVE_TYPEOF 1
3647| #define HAVE_STDINT_H 1
3648| #define HAVE_INTTYPES_H 1
3649| /* end confdefs.h.  */
3650| #include <stddef.h>
3651| #ifdef HAVE_STDIO_H
3652| # include <stdio.h>
3653| #endif
3654| #ifdef HAVE_STDLIB_H
3655| # include <stdlib.h>
3656| #endif
3657| #ifdef HAVE_STRING_H
3658| # include <string.h>
3659| #endif
3660| #ifdef HAVE_INTTYPES_H
3661| # include <inttypes.h>
3662| #endif
3663| #ifdef HAVE_STDINT_H
3664| # include <stdint.h>
3665| #endif
3666| #ifdef HAVE_STRINGS_H
3667| # include <strings.h>
3668| #endif
3669| #ifdef HAVE_SYS_TYPES_H
3670| # include <sys/types.h>
3671| #endif
3672| #ifdef HAVE_SYS_STAT_H
3673| # include <sys/stat.h>
3674| #endif
3675| #ifdef HAVE_UNISTD_H
3676| # include <unistd.h>
3677| #endif
3678| #include <byteswap.h>
3679configure:19114: result: no
3680configure:19120: checking for sys/param.h
3681configure:19120: /usr/bin/gcc-4.2 -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include conftest.c >&5
3682conftest.c:45:1: warning: "__STDC_NO_VLA__" redefined
3683conftest.c:44:1: warning: this is the location of the previous definition
3684configure:19120: $? = 0
3685configure:19120: result: yes
3686configure:19126: checking for sys/ioctl.h
3687configure:19126: /usr/bin/gcc-4.2 -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include conftest.c >&5
3688conftest.c:45:1: warning: "__STDC_NO_VLA__" redefined
3689conftest.c:44:1: warning: this is the location of the previous definition
3690configure:19126: $? = 0
3691configure:19126: result: yes
3692configure:19132: checking for termios.h
3693configure:19132: /usr/bin/gcc-4.2 -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include conftest.c >&5
3694conftest.c:45:1: warning: "__STDC_NO_VLA__" redefined
3695conftest.c:44:1: warning: this is the location of the previous definition
3696configure:19132: $? = 0
3697configure:19132: result: yes
3698configure:19138: checking for x86intrin.h
3699configure:19138: /usr/bin/gcc-4.2 -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include conftest.c >&5
3700conftest.c:45:1: warning: "__STDC_NO_VLA__" redefined
3701conftest.c:44:1: warning: this is the location of the previous definition
3702conftest.c:81:23: error: x86intrin.h: No such file or directory
3703configure:19138: $? = 1
3704configure: failed program was:
3705| /* confdefs.h */
3706| #define PACKAGE_NAME "flac"
3707| #define PACKAGE_TARNAME "flac"
3708| #define PACKAGE_VERSION "1.3.4"
3709| #define PACKAGE_STRING "flac 1.3.4"
3710| #define PACKAGE_BUGREPORT "flac-dev@xiph.org"
3711| #define PACKAGE_URL "https://www.xiph.org/flac/"
3712| #define PACKAGE "flac"
3713| #define VERSION "1.3.4"
3714| #define NDEBUG /**/
3715| #define HAVE_STDIO_H 1
3716| #define HAVE_STDLIB_H 1
3717| #define HAVE_STRING_H 1
3718| #define HAVE_INTTYPES_H 1
3719| #define HAVE_STDINT_H 1
3720| #define HAVE_STRINGS_H 1
3721| #define HAVE_SYS_STAT_H 1
3722| #define HAVE_SYS_TYPES_H 1
3723| #define HAVE_UNISTD_H 1
3724| #define HAVE_WCHAR_H 1
3725| #define STDC_HEADERS 1
3726| #define _ALL_SOURCE 1
3727| #define _DARWIN_C_SOURCE 1
3728| #define _GNU_SOURCE 1
3729| #define _HPUX_ALT_XOPEN_SOCKET_API 1
3730| #define _NETBSD_SOURCE 1
3731| #define _OPENBSD_SOURCE 1
3732| #define _POSIX_PTHREAD_SEMANTICS 1
3733| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
3734| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
3735| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
3736| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
3737| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
3738| #define __STDC_WANT_LIB_EXT2__ 1
3739| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
3740| #define _TANDEM_SOURCE 1
3741| #define __EXTENSIONS__ 1
3742| #define HAVE_DLFCN_H 1
3743| #define LT_OBJDIR ".libs/"
3744| #define HAVE_FSEEKO 1
3745| #define SIZEOF_OFF_T 8
3746| #define SIZEOF_VOIDP 4
3747| #define HAVE_LROUND 1
3748| #define __STDC_NO_VLA__ 1
3749| #define __STDC_NO_VLA__ 1
3750| #define HAVE_TYPEOF 1
3751| #define HAVE_STDINT_H 1
3752| #define HAVE_INTTYPES_H 1
3753| #define HAVE_SYS_PARAM_H 1
3754| #define HAVE_SYS_IOCTL_H 1
3755| #define HAVE_TERMIOS_H 1
3756| /* end confdefs.h.  */
3757| #include <stddef.h>
3758| #ifdef HAVE_STDIO_H
3759| # include <stdio.h>
3760| #endif
3761| #ifdef HAVE_STDLIB_H
3762| # include <stdlib.h>
3763| #endif
3764| #ifdef HAVE_STRING_H
3765| # include <string.h>
3766| #endif
3767| #ifdef HAVE_INTTYPES_H
3768| # include <inttypes.h>
3769| #endif
3770| #ifdef HAVE_STDINT_H
3771| # include <stdint.h>
3772| #endif
3773| #ifdef HAVE_STRINGS_H
3774| # include <strings.h>
3775| #endif
3776| #ifdef HAVE_SYS_TYPES_H
3777| # include <sys/types.h>
3778| #endif
3779| #ifdef HAVE_SYS_STAT_H
3780| # include <sys/stat.h>
3781| #endif
3782| #ifdef HAVE_UNISTD_H
3783| # include <unistd.h>
3784| #endif
3785| #include <x86intrin.h>
3786configure:19138: result: no
3787configure:19144: checking for cpuid.h
3788configure:19144: /usr/bin/gcc-4.2 -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include conftest.c >&5
3789conftest.c:45:1: warning: "__STDC_NO_VLA__" redefined
3790conftest.c:44:1: warning: this is the location of the previous definition
3791conftest.c:81:19: error: cpuid.h: No such file or directory
3792configure:19144: $? = 1
3793configure: failed program was:
3794| /* confdefs.h */
3795| #define PACKAGE_NAME "flac"
3796| #define PACKAGE_TARNAME "flac"
3797| #define PACKAGE_VERSION "1.3.4"
3798| #define PACKAGE_STRING "flac 1.3.4"
3799| #define PACKAGE_BUGREPORT "flac-dev@xiph.org"
3800| #define PACKAGE_URL "https://www.xiph.org/flac/"
3801| #define PACKAGE "flac"
3802| #define VERSION "1.3.4"
3803| #define NDEBUG /**/
3804| #define HAVE_STDIO_H 1
3805| #define HAVE_STDLIB_H 1
3806| #define HAVE_STRING_H 1
3807| #define HAVE_INTTYPES_H 1
3808| #define HAVE_STDINT_H 1
3809| #define HAVE_STRINGS_H 1
3810| #define HAVE_SYS_STAT_H 1
3811| #define HAVE_SYS_TYPES_H 1
3812| #define HAVE_UNISTD_H 1
3813| #define HAVE_WCHAR_H 1
3814| #define STDC_HEADERS 1
3815| #define _ALL_SOURCE 1
3816| #define _DARWIN_C_SOURCE 1
3817| #define _GNU_SOURCE 1
3818| #define _HPUX_ALT_XOPEN_SOCKET_API 1
3819| #define _NETBSD_SOURCE 1
3820| #define _OPENBSD_SOURCE 1
3821| #define _POSIX_PTHREAD_SEMANTICS 1
3822| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
3823| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
3824| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
3825| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
3826| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
3827| #define __STDC_WANT_LIB_EXT2__ 1
3828| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
3829| #define _TANDEM_SOURCE 1
3830| #define __EXTENSIONS__ 1
3831| #define HAVE_DLFCN_H 1
3832| #define LT_OBJDIR ".libs/"
3833| #define HAVE_FSEEKO 1
3834| #define SIZEOF_OFF_T 8
3835| #define SIZEOF_VOIDP 4
3836| #define HAVE_LROUND 1
3837| #define __STDC_NO_VLA__ 1
3838| #define __STDC_NO_VLA__ 1
3839| #define HAVE_TYPEOF 1
3840| #define HAVE_STDINT_H 1
3841| #define HAVE_INTTYPES_H 1
3842| #define HAVE_SYS_PARAM_H 1
3843| #define HAVE_SYS_IOCTL_H 1
3844| #define HAVE_TERMIOS_H 1
3845| /* end confdefs.h.  */
3846| #include <stddef.h>
3847| #ifdef HAVE_STDIO_H
3848| # include <stdio.h>
3849| #endif
3850| #ifdef HAVE_STDLIB_H
3851| # include <stdlib.h>
3852| #endif
3853| #ifdef HAVE_STRING_H
3854| # include <string.h>
3855| #endif
3856| #ifdef HAVE_INTTYPES_H
3857| # include <inttypes.h>
3858| #endif
3859| #ifdef HAVE_STDINT_H
3860| # include <stdint.h>
3861| #endif
3862| #ifdef HAVE_STRINGS_H
3863| # include <strings.h>
3864| #endif
3865| #ifdef HAVE_SYS_TYPES_H
3866| # include <sys/types.h>
3867| #endif
3868| #ifdef HAVE_SYS_STAT_H
3869| # include <sys/stat.h>
3870| #endif
3871| #ifdef HAVE_UNISTD_H
3872| # include <unistd.h>
3873| #endif
3874| #include <cpuid.h>
3875configure:19144: result: no
3876configure:19152: checking for bswap32 intrinsic
3877configure:19173: /usr/bin/gcc-4.2 -o conftest -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc conftest.c  >&5
3878conftest.c:45:1: warning: "__STDC_NO_VLA__" redefined
3879conftest.c:44:1: warning: this is the location of the previous definition
3880configure:19173: $? = 0
3881configure:19187: result: yes
3882configure:19190: checking for bswap16 intrinsic
3883configure:19211: /usr/bin/gcc-4.2 -o conftest -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc conftest.c  >&5
3884conftest.c:45:1: warning: "__STDC_NO_VLA__" redefined
3885conftest.c:44:1: warning: this is the location of the previous definition
3886Undefined symbols:
3887  "___builtin_bswap16", referenced from:
3888      _main in ccn7NUBG.o
3889ld: symbol(s) not found
3890collect2: ld returned 1 exit status
3891configure:19211: $? = 1
3892configure: failed program was:
3893| /* confdefs.h */
3894| #define PACKAGE_NAME "flac"
3895| #define PACKAGE_TARNAME "flac"
3896| #define PACKAGE_VERSION "1.3.4"
3897| #define PACKAGE_STRING "flac 1.3.4"
3898| #define PACKAGE_BUGREPORT "flac-dev@xiph.org"
3899| #define PACKAGE_URL "https://www.xiph.org/flac/"
3900| #define PACKAGE "flac"
3901| #define VERSION "1.3.4"
3902| #define NDEBUG /**/
3903| #define HAVE_STDIO_H 1
3904| #define HAVE_STDLIB_H 1
3905| #define HAVE_STRING_H 1
3906| #define HAVE_INTTYPES_H 1
3907| #define HAVE_STDINT_H 1
3908| #define HAVE_STRINGS_H 1
3909| #define HAVE_SYS_STAT_H 1
3910| #define HAVE_SYS_TYPES_H 1
3911| #define HAVE_UNISTD_H 1
3912| #define HAVE_WCHAR_H 1
3913| #define STDC_HEADERS 1
3914| #define _ALL_SOURCE 1
3915| #define _DARWIN_C_SOURCE 1
3916| #define _GNU_SOURCE 1
3917| #define _HPUX_ALT_XOPEN_SOCKET_API 1
3918| #define _NETBSD_SOURCE 1
3919| #define _OPENBSD_SOURCE 1
3920| #define _POSIX_PTHREAD_SEMANTICS 1
3921| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
3922| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
3923| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
3924| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
3925| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
3926| #define __STDC_WANT_LIB_EXT2__ 1
3927| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
3928| #define _TANDEM_SOURCE 1
3929| #define __EXTENSIONS__ 1
3930| #define HAVE_DLFCN_H 1
3931| #define LT_OBJDIR ".libs/"
3932| #define HAVE_FSEEKO 1
3933| #define SIZEOF_OFF_T 8
3934| #define SIZEOF_VOIDP 4
3935| #define HAVE_LROUND 1
3936| #define __STDC_NO_VLA__ 1
3937| #define __STDC_NO_VLA__ 1
3938| #define HAVE_TYPEOF 1
3939| #define HAVE_STDINT_H 1
3940| #define HAVE_INTTYPES_H 1
3941| #define HAVE_SYS_PARAM_H 1
3942| #define HAVE_SYS_IOCTL_H 1
3943| #define HAVE_TERMIOS_H 1
3944| #define HAVE_BSWAP32 1
3945| /* end confdefs.h.  */
3946|
3947| int
3948| main (void)
3949| {
3950| return __builtin_bswap16 (0) ;
3951|   ;
3952|   return 0;
3953| }
3954configure:19225: result: no
3955configure:19231: checking whether byte ordering is bigendian
3956configure:19247: /usr/bin/gcc-4.2 -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include conftest.c >&5
3957conftest.c:45:1: warning: "__STDC_NO_VLA__" redefined
3958conftest.c:44:1: warning: this is the location of the previous definition
3959configure:19247: $? = 0
3960configure:19293: /usr/bin/gcc-4.2 -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include conftest.c >&5
3961conftest.c:45:1: warning: "__STDC_NO_VLA__" redefined
3962conftest.c:44:1: warning: this is the location of the previous definition
3963configure:19293: $? = 0
3964configure:19312: /usr/bin/gcc-4.2 -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include conftest.c >&5
3965conftest.c:45:1: warning: "__STDC_NO_VLA__" redefined
3966conftest.c:44:1: warning: this is the location of the previous definition
3967configure:19312: $? = 0
3968configure:19446: result: yes
3969configure:19506: checking for socklen_t
3970configure:19506: /usr/bin/gcc-4.2 -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include conftest.c >&5
3971conftest.c:45:1: warning: "__STDC_NO_VLA__" redefined
3972conftest.c:44:1: warning: this is the location of the previous definition
3973conftest.c: In function 'main':
3974conftest.c:89: error: 'socklen_t' undeclared (first use in this function)
3975conftest.c:89: error: (Each undeclared identifier is reported only once
3976conftest.c:89: error: for each function it appears in.)
3977configure:19506: $? = 1
3978configure: failed program was:
3979| /* confdefs.h */
3980| #define PACKAGE_NAME "flac"
3981| #define PACKAGE_TARNAME "flac"
3982| #define PACKAGE_VERSION "1.3.4"
3983| #define PACKAGE_STRING "flac 1.3.4"
3984| #define PACKAGE_BUGREPORT "flac-dev@xiph.org"
3985| #define PACKAGE_URL "https://www.xiph.org/flac/"
3986| #define PACKAGE "flac"
3987| #define VERSION "1.3.4"
3988| #define NDEBUG /**/
3989| #define HAVE_STDIO_H 1
3990| #define HAVE_STDLIB_H 1
3991| #define HAVE_STRING_H 1
3992| #define HAVE_INTTYPES_H 1
3993| #define HAVE_STDINT_H 1
3994| #define HAVE_STRINGS_H 1
3995| #define HAVE_SYS_STAT_H 1
3996| #define HAVE_SYS_TYPES_H 1
3997| #define HAVE_UNISTD_H 1
3998| #define HAVE_WCHAR_H 1
3999| #define STDC_HEADERS 1
4000| #define _ALL_SOURCE 1
4001| #define _DARWIN_C_SOURCE 1
4002| #define _GNU_SOURCE 1
4003| #define _HPUX_ALT_XOPEN_SOCKET_API 1
4004| #define _NETBSD_SOURCE 1
4005| #define _OPENBSD_SOURCE 1
4006| #define _POSIX_PTHREAD_SEMANTICS 1
4007| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
4008| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
4009| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
4010| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
4011| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
4012| #define __STDC_WANT_LIB_EXT2__ 1
4013| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
4014| #define _TANDEM_SOURCE 1
4015| #define __EXTENSIONS__ 1
4016| #define HAVE_DLFCN_H 1
4017| #define LT_OBJDIR ".libs/"
4018| #define HAVE_FSEEKO 1
4019| #define SIZEOF_OFF_T 8
4020| #define SIZEOF_VOIDP 4
4021| #define HAVE_LROUND 1
4022| #define __STDC_NO_VLA__ 1
4023| #define __STDC_NO_VLA__ 1
4024| #define HAVE_TYPEOF 1
4025| #define HAVE_STDINT_H 1
4026| #define HAVE_INTTYPES_H 1
4027| #define HAVE_SYS_PARAM_H 1
4028| #define HAVE_SYS_IOCTL_H 1
4029| #define HAVE_TERMIOS_H 1
4030| #define HAVE_BSWAP32 1
4031| #define HAVE_BSWAP16 0
4032| #define CPU_IS_BIG_ENDIAN 1
4033| #define CPU_IS_LITTLE_ENDIAN 0
4034| #define WORDS_BIGENDIAN 1
4035| /* end confdefs.h.  */
4036| #include <stddef.h>
4037| #ifdef HAVE_STDIO_H
4038| # include <stdio.h>
4039| #endif
4040| #ifdef HAVE_STDLIB_H
4041| # include <stdlib.h>
4042| #endif
4043| #ifdef HAVE_STRING_H
4044| # include <string.h>
4045| #endif
4046| #ifdef HAVE_INTTYPES_H
4047| # include <inttypes.h>
4048| #endif
4049| #ifdef HAVE_STDINT_H
4050| # include <stdint.h>
4051| #endif
4052| #ifdef HAVE_STRINGS_H
4053| # include <strings.h>
4054| #endif
4055| #ifdef HAVE_SYS_TYPES_H
4056| # include <sys/types.h>
4057| #endif
4058| #ifdef HAVE_SYS_STAT_H
4059| # include <sys/stat.h>
4060| #endif
4061| #ifdef HAVE_UNISTD_H
4062| # include <unistd.h>
4063| #endif
4064| int
4065| main (void)
4066| {
4067| if (sizeof (socklen_t))
4068|        return 0;
4069|   ;
4070|   return 0;
4071| }
4072configure:19506: result: no
4073configure:19516: checking for getopt_long
4074configure:19516: /usr/bin/gcc-4.2 -o conftest -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc conftest.c  >&5
4075conftest.c:45:1: warning: "__STDC_NO_VLA__" redefined
4076conftest.c:44:1: warning: this is the location of the previous definition
4077configure:19516: $? = 0
4078configure:19516: result: yes
4079configure:19528: checking size of void*
4080configure:19549: result: 4
4081configure:20027: checking for doxygen
4082configure:20062: result: no
4083configure:20519: checking for Ogg
4084configure:20555: /usr/bin/gcc-4.2 -o conftest -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc conftest.c  -L/opt/local/lib -logg >&5
4085conftest.c:45:1: warning: "__STDC_NO_VLA__" redefined
4086conftest.c:44:1: warning: this is the location of the previous definition
4087configure:20555: $? = 0
4088configure:20555: ./conftest
4089configure:20555: $? = 0
4090configure:20575: result: yes
4091configure:20711: checking for ld used by /usr/bin/gcc-4.2
4092configure:20779: result: /usr/libexec/gcc/powerpc-apple-darwin9/4.2.1/ld
4093configure:20786: checking if the linker (/usr/libexec/gcc/powerpc-apple-darwin9/4.2.1/ld) is GNU ld
4094configure:20802: result: no
4095configure:20810: checking for shared library run path origin
4096configure:20824: result: done
4097configure:21406: checking for iconv
4098configure:21431: /usr/bin/gcc-4.2 -o conftest -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc conftest.c  >&5
4099conftest.c:45:1: warning: "__STDC_NO_VLA__" redefined
4100conftest.c:44:1: warning: this is the location of the previous definition
4101Undefined symbols:
4102  "_libiconv_open", referenced from:
4103      _main in cc8hB2c8.o
4104  "_libiconv_close", referenced from:
4105      _main in cc8hB2c8.o
4106  "_libiconv", referenced from:
4107      _main in cc8hB2c8.o
4108ld: symbol(s) not found
4109collect2: ld returned 1 exit status
4110configure:21431: $? = 1
4111configure: failed program was:
4112| /* confdefs.h */
4113| #define PACKAGE_NAME "flac"
4114| #define PACKAGE_TARNAME "flac"
4115| #define PACKAGE_VERSION "1.3.4"
4116| #define PACKAGE_STRING "flac 1.3.4"
4117| #define PACKAGE_BUGREPORT "flac-dev@xiph.org"
4118| #define PACKAGE_URL "https://www.xiph.org/flac/"
4119| #define PACKAGE "flac"
4120| #define VERSION "1.3.4"
4121| #define NDEBUG /**/
4122| #define HAVE_STDIO_H 1
4123| #define HAVE_STDLIB_H 1
4124| #define HAVE_STRING_H 1
4125| #define HAVE_INTTYPES_H 1
4126| #define HAVE_STDINT_H 1
4127| #define HAVE_STRINGS_H 1
4128| #define HAVE_SYS_STAT_H 1
4129| #define HAVE_SYS_TYPES_H 1
4130| #define HAVE_UNISTD_H 1
4131| #define HAVE_WCHAR_H 1
4132| #define STDC_HEADERS 1
4133| #define _ALL_SOURCE 1
4134| #define _DARWIN_C_SOURCE 1
4135| #define _GNU_SOURCE 1
4136| #define _HPUX_ALT_XOPEN_SOCKET_API 1
4137| #define _NETBSD_SOURCE 1
4138| #define _OPENBSD_SOURCE 1
4139| #define _POSIX_PTHREAD_SEMANTICS 1
4140| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
4141| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
4142| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
4143| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
4144| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
4145| #define __STDC_WANT_LIB_EXT2__ 1
4146| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
4147| #define _TANDEM_SOURCE 1
4148| #define __EXTENSIONS__ 1
4149| #define HAVE_DLFCN_H 1
4150| #define LT_OBJDIR ".libs/"
4151| #define HAVE_FSEEKO 1
4152| #define SIZEOF_OFF_T 8
4153| #define SIZEOF_VOIDP 4
4154| #define HAVE_LROUND 1
4155| #define __STDC_NO_VLA__ 1
4156| #define __STDC_NO_VLA__ 1
4157| #define HAVE_TYPEOF 1
4158| #define HAVE_STDINT_H 1
4159| #define HAVE_INTTYPES_H 1
4160| #define HAVE_SYS_PARAM_H 1
4161| #define HAVE_SYS_IOCTL_H 1
4162| #define HAVE_TERMIOS_H 1
4163| #define HAVE_BSWAP32 1
4164| #define HAVE_BSWAP16 0
4165| #define CPU_IS_BIG_ENDIAN 1
4166| #define CPU_IS_LITTLE_ENDIAN 0
4167| #define WORDS_BIGENDIAN 1
4168| #define HAVE_GETOPT_LONG 1
4169| #define SIZEOF_VOIDP 4
4170| #define FLAC__CPU_PPC 1
4171| #define FLAC__HAS_X86INTRIN 0
4172| #define FLAC__SYS_DARWIN 1
4173| #define FLAC__USE_ALTIVEC 1
4174| #define FLAC__USE_VSX 1
4175| #define FLAC__USE_AVX 1
4176| #define ENABLE_64_BIT_WORDS 0
4177| #define FLAC__HAS_OGG 1
4178| /* end confdefs.h.  */
4179|
4180| #include <stdlib.h>
4181| #include <iconv.h>
4182|
4183| int
4184| main (void)
4185| {
4186| iconv_t cd = iconv_open("","");
4187|            iconv(cd,NULL,NULL,NULL,NULL);
4188|            iconv_close(cd);
4189|   ;
4190|   return 0;
4191| }
4192configure:21456: /usr/bin/gcc-4.2 -o conftest -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc conftest.c  -liconv >&5
4193conftest.c:45:1: warning: "__STDC_NO_VLA__" redefined
4194conftest.c:44:1: warning: this is the location of the previous definition
4195configure:21456: $? = 0
4196configure:21467: result: yes
4197configure:21470: checking for working iconv
4198configure:21592: /usr/bin/gcc-4.2 -o conftest -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc conftest.c  -liconv >&5
4199conftest.c:45:1: warning: "__STDC_NO_VLA__" redefined
4200conftest.c:44:1: warning: this is the location of the previous definition
4201configure:21592: $? = 0
4202configure:21592: ./conftest
4203configure:21592: $? = 0
4204configure:21605: result: yes
4205configure:21620: checking how to link with libiconv
4206configure:21622: result: -liconv
4207configure:21633: checking for iconv declaration
4208configure:21663: /usr/bin/gcc-4.2 -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include conftest.c >&5
4209conftest.c:45:1: warning: "__STDC_NO_VLA__" redefined
4210conftest.c:44:1: warning: this is the location of the previous definition
4211configure:21663: $? = 0
4212configure:21674: result:
4213         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
4214configure:21685: checking for nl_langinfo and CODESET
4215configure:21702: /usr/bin/gcc-4.2 -o conftest -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc conftest.c  >&5
4216conftest.c:45:1: warning: "__STDC_NO_VLA__" redefined
4217conftest.c:44:1: warning: this is the location of the previous definition
4218configure:21702: $? = 0
4219configure:21712: result: yes
4220configure:21725: checking for docbook-to-man
4221configure:21760: result: no
4222configure:21725: checking for docbook2man
4223configure:21760: result: no
4224configure:21782: checking for clock_gettime in -lrt
4225configure:21805: /usr/bin/gcc-4.2 -o conftest -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc conftest.c -lrt   >&5
4226conftest.c:45:1: warning: "__STDC_NO_VLA__" redefined
4227conftest.c:44:1: warning: this is the location of the previous definition
4228ld: library not found for -lrt
4229collect2: ld returned 1 exit status
4230configure:21805: $? = 1
4231configure: failed program was:
4232| /* confdefs.h */
4233| #define PACKAGE_NAME "flac"
4234| #define PACKAGE_TARNAME "flac"
4235| #define PACKAGE_VERSION "1.3.4"
4236| #define PACKAGE_STRING "flac 1.3.4"
4237| #define PACKAGE_BUGREPORT "flac-dev@xiph.org"
4238| #define PACKAGE_URL "https://www.xiph.org/flac/"
4239| #define PACKAGE "flac"
4240| #define VERSION "1.3.4"
4241| #define NDEBUG /**/
4242| #define HAVE_STDIO_H 1
4243| #define HAVE_STDLIB_H 1
4244| #define HAVE_STRING_H 1
4245| #define HAVE_INTTYPES_H 1
4246| #define HAVE_STDINT_H 1
4247| #define HAVE_STRINGS_H 1
4248| #define HAVE_SYS_STAT_H 1
4249| #define HAVE_SYS_TYPES_H 1
4250| #define HAVE_UNISTD_H 1
4251| #define HAVE_WCHAR_H 1
4252| #define STDC_HEADERS 1
4253| #define _ALL_SOURCE 1
4254| #define _DARWIN_C_SOURCE 1
4255| #define _GNU_SOURCE 1
4256| #define _HPUX_ALT_XOPEN_SOCKET_API 1
4257| #define _NETBSD_SOURCE 1
4258| #define _OPENBSD_SOURCE 1
4259| #define _POSIX_PTHREAD_SEMANTICS 1
4260| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
4261| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
4262| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
4263| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
4264| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
4265| #define __STDC_WANT_LIB_EXT2__ 1
4266| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
4267| #define _TANDEM_SOURCE 1
4268| #define __EXTENSIONS__ 1
4269| #define HAVE_DLFCN_H 1
4270| #define LT_OBJDIR ".libs/"
4271| #define HAVE_FSEEKO 1
4272| #define SIZEOF_OFF_T 8
4273| #define SIZEOF_VOIDP 4
4274| #define HAVE_LROUND 1
4275| #define __STDC_NO_VLA__ 1
4276| #define __STDC_NO_VLA__ 1
4277| #define HAVE_TYPEOF 1
4278| #define HAVE_STDINT_H 1
4279| #define HAVE_INTTYPES_H 1
4280| #define HAVE_SYS_PARAM_H 1
4281| #define HAVE_SYS_IOCTL_H 1
4282| #define HAVE_TERMIOS_H 1
4283| #define HAVE_BSWAP32 1
4284| #define HAVE_BSWAP16 0
4285| #define CPU_IS_BIG_ENDIAN 1
4286| #define CPU_IS_LITTLE_ENDIAN 0
4287| #define WORDS_BIGENDIAN 1
4288| #define HAVE_GETOPT_LONG 1
4289| #define SIZEOF_VOIDP 4
4290| #define FLAC__CPU_PPC 1
4291| #define FLAC__HAS_X86INTRIN 0
4292| #define FLAC__SYS_DARWIN 1
4293| #define FLAC__USE_ALTIVEC 1
4294| #define FLAC__USE_VSX 1
4295| #define FLAC__USE_AVX 1
4296| #define ENABLE_64_BIT_WORDS 0
4297| #define FLAC__HAS_OGG 1
4298| #define HAVE_ICONV 1
4299| #define ICONV_CONST
4300| #define HAVE_LANGINFO_CODESET 1
4301| /* end confdefs.h.  */
4302|
4303| /* Override any GCC internal prototype to avoid an error.
4304|    Use char because int might match the return type of a GCC
4305|    builtin and then its argument prototype would still apply.  */
4306| char clock_gettime ();
4307| int
4308| main (void)
4309| {
4310| return clock_gettime ();
4311|   ;
4312|   return 0;
4313| }
4314configure:21815: result: no
4315configure:21832: checking for nasm
4316configure:21853: found /opt/local/bin/nasm
4317configure:21864: result: nasm
4318configure:21900: checking for version of /usr/bin/gcc-4.2
4319configure:21903: result: 4.2.1
4320configure:21922: checking if /usr/bin/gcc-4.2 accepts -Wdeclaration-after-statement
4321configure:21939: /usr/bin/gcc-4.2 -o conftest -Wdeclaration-after-statement -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc conftest.c  >&5
4322conftest.c:45:1: warning: "__STDC_NO_VLA__" redefined
4323conftest.c:44:1: warning: this is the location of the previous definition
4324configure:21939: $? = 0
4325configure:21941: result: yes
4326configure:21955: checking whether to add -D_FORTIFY_SOURCE=2 to CPPFLAGS
4327configure:21971: /usr/bin/gcc-4.2 -o conftest -pipe -Os -std=gnu89 -arch ppc -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -Waggregate-return -Wcast-align -Wnested-externs -Wshadow -Wundef -Wmissing-declarations -Winline  -Wdeclaration-after-statement -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc conftest.c  >&5
4328conftest.c:45:1: warning: "__STDC_NO_VLA__" redefined
4329conftest.c:44:1: warning: this is the location of the previous definition
4330conftest.c:74: warning: function declaration isn't a prototype
4331configure:21971: $? = 0
4332configure:21974: result: yes
4333configure:21994: checking if /usr/bin/g++-4.2 accepts -Weffc++
4334configure:22012: /usr/bin/g++-4.2 -o conftest -Weffc++ -I/opt/local/include -D_FORTIFY_SOURCE=2 -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc conftest.cpp  >&5
4335conftest.cpp:45:1: warning: "__STDC_NO_VLA__" redefined
4336conftest.cpp:44:1: warning: this is the location of the previous definition
4337configure:22012: $? = 0
4338configure:22014: result: yes
4339configure:22055: checking if /usr/bin/gcc-4.2 accepts -fgnu89-inline
4340configure:22072: /usr/bin/gcc-4.2 -o conftest -fgnu89-inline -I/opt/local/include -D_FORTIFY_SOURCE=2 -DFLAC__USE_VISIBILITY_ATTR -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc conftest.c  >&5
4341conftest.c:45:1: warning: "__STDC_NO_VLA__" redefined
4342conftest.c:44:1: warning: this is the location of the previous definition
4343configure:22072: $? = 0
4344configure:22074: result: yes
4345configure:22123: checking if /usr/bin/gcc-4.2 accepts -msse2
4346configure:22140: /usr/bin/gcc-4.2 -o conftest -msse2 -I/opt/local/include -D_FORTIFY_SOURCE=2 -DFLAC__USE_VISIBILITY_ATTR -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc conftest.c  >&5
4347conftest.c:45:1: warning: "__STDC_NO_VLA__" redefined
4348conftest.c:44:1: warning: this is the location of the previous definition
4349configure:22140: $? = 0
4350configure:22142: result: yes
4351configure:22275: checking if /usr/bin/gcc-4.2 supports stack smash protection
4352configure:22293: /usr/bin/gcc-4.2 -o conftest -fstack-protector-strong -I/opt/local/include -D_FORTIFY_SOURCE=2 -DFLAC__USE_VISIBILITY_ATTR -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc conftest.c  >&5
4353cc1: error: unrecognized command line option "-fstack-protector-strong"
4354configure:22293: $? = 1
4355configure: failed program was:
4356| /* confdefs.h */
4357| #define PACKAGE_NAME "flac"
4358| #define PACKAGE_TARNAME "flac"
4359| #define PACKAGE_VERSION "1.3.4"
4360| #define PACKAGE_STRING "flac 1.3.4"
4361| #define PACKAGE_BUGREPORT "flac-dev@xiph.org"
4362| #define PACKAGE_URL "https://www.xiph.org/flac/"
4363| #define PACKAGE "flac"
4364| #define VERSION "1.3.4"
4365| #define NDEBUG /**/
4366| #define HAVE_STDIO_H 1
4367| #define HAVE_STDLIB_H 1
4368| #define HAVE_STRING_H 1
4369| #define HAVE_INTTYPES_H 1
4370| #define HAVE_STDINT_H 1
4371| #define HAVE_STRINGS_H 1
4372| #define HAVE_SYS_STAT_H 1
4373| #define HAVE_SYS_TYPES_H 1
4374| #define HAVE_UNISTD_H 1
4375| #define HAVE_WCHAR_H 1
4376| #define STDC_HEADERS 1
4377| #define _ALL_SOURCE 1
4378| #define _DARWIN_C_SOURCE 1
4379| #define _GNU_SOURCE 1
4380| #define _HPUX_ALT_XOPEN_SOCKET_API 1
4381| #define _NETBSD_SOURCE 1
4382| #define _OPENBSD_SOURCE 1
4383| #define _POSIX_PTHREAD_SEMANTICS 1
4384| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
4385| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
4386| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
4387| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
4388| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
4389| #define __STDC_WANT_LIB_EXT2__ 1
4390| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
4391| #define _TANDEM_SOURCE 1
4392| #define __EXTENSIONS__ 1
4393| #define HAVE_DLFCN_H 1
4394| #define LT_OBJDIR ".libs/"
4395| #define HAVE_FSEEKO 1
4396| #define SIZEOF_OFF_T 8
4397| #define SIZEOF_VOIDP 4
4398| #define HAVE_LROUND 1
4399| #define __STDC_NO_VLA__ 1
4400| #define __STDC_NO_VLA__ 1
4401| #define HAVE_TYPEOF 1
4402| #define HAVE_STDINT_H 1
4403| #define HAVE_INTTYPES_H 1
4404| #define HAVE_SYS_PARAM_H 1
4405| #define HAVE_SYS_IOCTL_H 1
4406| #define HAVE_TERMIOS_H 1
4407| #define HAVE_BSWAP32 1
4408| #define HAVE_BSWAP16 0
4409| #define CPU_IS_BIG_ENDIAN 1
4410| #define CPU_IS_LITTLE_ENDIAN 0
4411| #define WORDS_BIGENDIAN 1
4412| #define HAVE_GETOPT_LONG 1
4413| #define SIZEOF_VOIDP 4
4414| #define FLAC__CPU_PPC 1
4415| #define FLAC__HAS_X86INTRIN 0
4416| #define FLAC__SYS_DARWIN 1
4417| #define FLAC__USE_ALTIVEC 1
4418| #define FLAC__USE_VSX 1
4419| #define FLAC__USE_AVX 1
4420| #define ENABLE_64_BIT_WORDS 0
4421| #define FLAC__HAS_OGG 1
4422| #define HAVE_ICONV 1
4423| #define ICONV_CONST
4424| #define HAVE_LANGINFO_CODESET 1
4425| #define FLAC__HAS_NASM 1
4426| /* end confdefs.h.  */
4427|
4428|                       #include <stdio.h>
4429|
4430| int
4431| main (void)
4432| {
4433| puts("Hello, World!"); return 0;
4434|   ;
4435|   return 0;
4436| }
4437configure:22299: result: no
4438configure:22313: checking if /usr/bin/g++-4.2 supports stack smash protection
4439configure:22331: /usr/bin/g++-4.2 -o conftest -pipe -Os -arch ppc -Wall -Wextra -Wcast-align -Wshadow -Wwrite-strings -Wctor-dtor-privacy -Wnon-virtual-dtor -Wreorder -Wsign-promo -Wundef  -Weffc++ -fvisibility=hidden -I/opt/local/include -D_FORTIFY_SOURCE=2 -DFLAC__USE_VISIBILITY_ATTR -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc conftest.cpp  >&5
4440conftest.cpp:45:1: warning: "__STDC_NO_VLA__" redefined
4441conftest.cpp:44:1: warning: this is the location of the previous definition
4442configure:22331: $? = 0
4443configure:22333: result: yes
4444configure:22470: checking that generated files are newer than configure
4445configure:22476: result: done
4446configure:22612: creating ./config.status
4447
4448## ---------------------- ##
4449## Running config.status. ##
4450## ---------------------- ##
4451
4452This file was extended by flac config.status 1.3.4, which was
4453generated by GNU Autoconf 2.71.  Invocation command line was
4454
4455  CONFIG_FILES    =
4456  CONFIG_HEADERS  =
4457  CONFIG_LINKS    =
4458  CONFIG_COMMANDS =
4459  $ ./config.status
4460
4461on 36-72.wireless-city.scu.edu.tw
4462
4463config.status:1339: creating Makefile
4464config.status:1339: creating src/Makefile
4465config.status:1339: creating src/libFLAC/Makefile
4466config.status:1339: creating src/libFLAC/flac.pc
4467config.status:1339: creating src/libFLAC/ia32/Makefile
4468config.status:1339: creating src/libFLAC/include/Makefile
4469config.status:1339: creating src/libFLAC/include/private/Makefile
4470config.status:1339: creating src/libFLAC/include/protected/Makefile
4471config.status:1339: creating src/libFLAC++/Makefile
4472config.status:1339: creating src/libFLAC++/flac++.pc
4473config.status:1339: creating src/flac/Makefile
4474config.status:1339: creating src/metaflac/Makefile
4475config.status:1339: creating src/plugin_common/Makefile
4476config.status:1339: creating src/plugin_xmms/Makefile
4477config.status:1339: creating src/share/Makefile
4478config.status:1339: creating src/test_grabbag/Makefile
4479config.status:1339: creating src/test_grabbag/cuesheet/Makefile
4480config.status:1339: creating src/test_grabbag/picture/Makefile
4481config.status:1339: creating src/test_libs_common/Makefile
4482config.status:1339: creating src/test_libFLAC/Makefile
4483config.status:1339: creating src/test_libFLAC++/Makefile
4484config.status:1339: creating src/test_seeking/Makefile
4485config.status:1339: creating src/test_streams/Makefile
4486config.status:1339: creating src/utils/Makefile
4487config.status:1339: creating src/utils/flacdiff/Makefile
4488config.status:1339: creating src/utils/flactimer/Makefile
4489config.status:1339: creating examples/Makefile
4490config.status:1339: creating examples/c/Makefile
4491config.status:1339: creating examples/c/decode/Makefile
4492config.status:1339: creating examples/c/decode/file/Makefile
4493config.status:1339: creating examples/c/encode/Makefile
4494config.status:1339: creating examples/c/encode/file/Makefile
4495config.status:1339: creating examples/cpp/Makefile
4496config.status:1339: creating examples/cpp/decode/Makefile
4497config.status:1339: creating examples/cpp/decode/file/Makefile
4498config.status:1339: creating examples/cpp/encode/Makefile
4499config.status:1339: creating examples/cpp/encode/file/Makefile
4500config.status:1339: creating include/Makefile
4501config.status:1339: creating include/FLAC/Makefile
4502config.status:1339: creating include/FLAC++/Makefile
4503config.status:1339: creating include/share/Makefile
4504config.status:1339: creating include/share/grabbag/Makefile
4505config.status:1339: creating include/test_libs_common/Makefile
4506config.status:1339: creating doc/Doxyfile
4507config.status:1339: creating doc/Makefile
4508config.status:1339: creating doc/html/Makefile
4509config.status:1339: creating doc/html/images/Makefile
4510config.status:1339: creating m4/Makefile
4511config.status:1339: creating man/Makefile
4512config.status:1339: creating test/common.sh
4513config.status:1339: creating test/Makefile
4514config.status:1339: creating test/cuesheets/Makefile
4515config.status:1339: creating test/flac-to-flac-metadata-test-files/Makefile
4516config.status:1339: creating test/metaflac-test-files/Makefile
4517config.status:1339: creating test/pictures/Makefile
4518config.status:1339: creating build/Makefile
4519config.status:1339: creating microbench/Makefile
4520config.status:1339: creating oss-fuzz/Makefile
4521config.status:1339: creating config.h
4522config.status:1568: executing depfiles commands
4523config.status:1645: cd src/libFLAC       && sed -e '/# am--include-marker/d' Makefile         | make -f - am--depfiles
4524config.status:1650: $? = 0
4525config.status:1645: cd src/libFLAC++       && sed -e '/# am--include-marker/d' Makefile         | make -f - am--depfiles
4526config.status:1650: $? = 0
4527config.status:1645: cd src/flac       && sed -e '/# am--include-marker/d' Makefile         | make -f - am--depfiles
4528config.status:1650: $? = 0
4529config.status:1645: cd src/metaflac       && sed -e '/# am--include-marker/d' Makefile         | make -f - am--depfiles
4530config.status:1650: $? = 0
4531config.status:1645: cd src/plugin_common       && sed -e '/# am--include-marker/d' Makefile         | make -f - am--depfiles
4532config.status:1650: $? = 0
4533config.status:1645: cd src/plugin_xmms       && sed -e '/# am--include-marker/d' Makefile         | make -f - am--depfiles
4534config.status:1650: $? = 0
4535config.status:1645: cd src/share       && sed -e '/# am--include-marker/d' Makefile         | make -f - am--depfiles
4536config.status:1650: $? = 0
4537config.status:1645: cd src/test_grabbag/cuesheet       && sed -e '/# am--include-marker/d' Makefile         | make -f - am--depfiles
4538config.status:1650: $? = 0
4539config.status:1645: cd src/test_grabbag/picture       && sed -e '/# am--include-marker/d' Makefile         | make -f - am--depfiles
4540config.status:1650: $? = 0
4541config.status:1645: cd src/test_libs_common       && sed -e '/# am--include-marker/d' Makefile         | make -f - am--depfiles
4542config.status:1650: $? = 0
4543config.status:1645: cd src/test_libFLAC       && sed -e '/# am--include-marker/d' Makefile         | make -f - am--depfiles
4544config.status:1650: $? = 0
4545config.status:1645: cd src/test_libFLAC++       && sed -e '/# am--include-marker/d' Makefile         | make -f - am--depfiles
4546config.status:1650: $? = 0
4547config.status:1645: cd src/test_seeking       && sed -e '/# am--include-marker/d' Makefile         | make -f - am--depfiles
4548config.status:1650: $? = 0
4549config.status:1645: cd src/test_streams       && sed -e '/# am--include-marker/d' Makefile         | make -f - am--depfiles
4550config.status:1650: $? = 0
4551config.status:1645: cd examples/c/decode/file       && sed -e '/# am--include-marker/d' Makefile         | make -f - am--depfiles
4552config.status:1650: $? = 0
4553config.status:1645: cd examples/c/encode/file       && sed -e '/# am--include-marker/d' Makefile         | make -f - am--depfiles
4554config.status:1650: $? = 0
4555config.status:1645: cd examples/cpp/decode/file       && sed -e '/# am--include-marker/d' Makefile         | make -f - am--depfiles
4556config.status:1650: $? = 0
4557config.status:1645: cd examples/cpp/encode/file       && sed -e '/# am--include-marker/d' Makefile         | make -f - am--depfiles
4558config.status:1650: $? = 0
4559config.status:1645: cd microbench       && sed -e '/# am--include-marker/d' Makefile         | make -f - am--depfiles
4560config.status:1650: $? = 0
4561config.status:1645: cd oss-fuzz       && sed -e '/# am--include-marker/d' Makefile         | make -f - am--depfiles
4562config.status:1650: $? = 0
4563config.status:1568: executing libtool commands
4564configure:25083: result:
4565-=-=-=-=-=-=-=-=-=-= Configuration Complete =-=-=-=-=-=-=-=-=-=-
4566
4567  Configuration summary :
4568
4569    FLAC version : ............................ 1.3.4
4570
4571    Host CPU : ................................ powerpc
4572    Host Vendor : ............................. apple
4573    Host OS : ................................. darwin9.8.0
4574
4575
4576## ---------------- ##
4577## Cache variables. ##
4578## ---------------- ##
4579
4580ac_cv_build=powerpc-apple-darwin9.8.0
4581ac_cv_c_big_endian=1
4582ac_cv_c_bigendian=yes
4583ac_cv_c_bswap16=no
4584ac_cv_c_bswap32=yes
4585ac_cv_c_compiler_gnu=yes
4586ac_cv_c_inline=inline
4587ac_cv_c_little_endian=0
4588ac_cv_c_typeof=typeof
4589ac_cv_c_vararrays=no
4590ac_cv_cxx_compiler_gnu=yes
4591ac_cv_env_CCASFLAGS_set=
4592ac_cv_env_CCASFLAGS_value=
4593ac_cv_env_CCAS_set=
4594ac_cv_env_CCAS_value=
4595ac_cv_env_CCC_set=
4596ac_cv_env_CCC_value=
4597ac_cv_env_CC_set=set
4598ac_cv_env_CC_value=/usr/bin/gcc-4.2
4599ac_cv_env_CFLAGS_set=set
4600ac_cv_env_CFLAGS_value='-pipe -Os -std=gnu89 -arch ppc'
4601ac_cv_env_CPPFLAGS_set=set
4602ac_cv_env_CPPFLAGS_value=-I/opt/local/include
4603ac_cv_env_CPP_set=
4604ac_cv_env_CPP_value=
4605ac_cv_env_CXXCPP_set=
4606ac_cv_env_CXXCPP_value=
4607ac_cv_env_CXXFLAGS_set=set
4608ac_cv_env_CXXFLAGS_value='-pipe -Os -arch ppc'
4609ac_cv_env_CXX_set=set
4610ac_cv_env_CXX_value=/usr/bin/g++-4.2
4611ac_cv_env_LDFLAGS_set=set
4612ac_cv_env_LDFLAGS_value='-L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc'
4613ac_cv_env_LIBS_set=
4614ac_cv_env_LIBS_value=
4615ac_cv_env_LT_SYS_LIBRARY_PATH_set=
4616ac_cv_env_LT_SYS_LIBRARY_PATH_value=
4617ac_cv_env_build_alias_set=
4618ac_cv_env_build_alias_value=
4619ac_cv_env_host_alias_set=
4620ac_cv_env_host_alias_value=
4621ac_cv_env_target_alias_set=
4622ac_cv_env_target_alias_value=
4623ac_cv_func_getopt_long=yes
4624ac_cv_header_byteswap_h=no
4625ac_cv_header_cpuid_h=no
4626ac_cv_header_dlfcn_h=yes
4627ac_cv_header_inttypes_h=yes
4628ac_cv_header_minix_config_h=no
4629ac_cv_header_stdint_h=yes
4630ac_cv_header_stdio_h=yes
4631ac_cv_header_stdlib_h=yes
4632ac_cv_header_string_h=yes
4633ac_cv_header_strings_h=yes
4634ac_cv_header_sys_ioctl_h=yes
4635ac_cv_header_sys_param_h=yes
4636ac_cv_header_sys_stat_h=yes
4637ac_cv_header_sys_types_h=yes
4638ac_cv_header_termios_h=yes
4639ac_cv_header_unistd_h=yes
4640ac_cv_header_wchar_h=yes
4641ac_cv_header_x86intrin_h=no
4642ac_cv_host=powerpc-apple-darwin9.8.0
4643ac_cv_lib_rt_clock_gettime=no
4644ac_cv_objext=o
4645ac_cv_path_EGREP='/opt/local/bin/ggrep -E'
4646ac_cv_path_FGREP='/opt/local/bin/ggrep -F'
4647ac_cv_path_GREP=/opt/local/bin/ggrep
4648ac_cv_path_SED=/opt/local/bin/gsed
4649ac_cv_path_lt_DD=/bin/dd
4650ac_cv_path_mkdir=/opt/local/bin/gmkdir
4651ac_cv_prog_AWK=gawk
4652ac_cv_prog_CPP='/usr/bin/gcc-4.2 -E'
4653ac_cv_prog_CXXCPP='/usr/bin/g++-4.2 -E'
4654ac_cv_prog_NASM=nasm
4655ac_cv_prog_ac_ct_AR=ar
4656ac_cv_prog_ac_ct_CC=/usr/bin/gcc-4.2
4657ac_cv_prog_ac_ct_DSYMUTIL=dsymutil
4658ac_cv_prog_ac_ct_LIPO=lipo
4659ac_cv_prog_ac_ct_NMEDIT=nmedit
4660ac_cv_prog_ac_ct_OTOOL=otool
4661ac_cv_prog_ac_ct_RANLIB=ranlib
4662ac_cv_prog_ac_ct_STRIP=strip
4663ac_cv_prog_cc_c11=no
4664ac_cv_prog_cc_c89=
4665ac_cv_prog_cc_c99=no
4666ac_cv_prog_cc_g=yes
4667ac_cv_prog_cc_stdc=
4668ac_cv_prog_cxx_11=no
4669ac_cv_prog_cxx_g=yes
4670ac_cv_prog_cxx_stdcxx=
4671ac_cv_prog_make_make_set=yes
4672ac_cv_safe_to_define___extensions__=yes
4673ac_cv_search_lround='none required'
4674ac_cv_should_define__xopen_source=no
4675ac_cv_sizeof_off_t=8
4676ac_cv_sizeof_voidp=4
4677ac_cv_sys_file_offset_bits=no
4678ac_cv_sys_largefile_CC=no
4679ac_cv_sys_largefile_source=no
4680ac_cv_type_socklen_t=no
4681acl_cv_path_LD=/usr/libexec/gcc/powerpc-apple-darwin9/4.2.1/ld
4682acl_cv_prog_gnu_ld=no
4683acl_cv_rpath=done
4684am_cv_CCAS_dependencies_compiler_type=gcc3
4685am_cv_CC_dependencies_compiler_type=gcc3
4686am_cv_CXX_dependencies_compiler_type=gcc3
4687am_cv_ar_interface=ar
4688am_cv_func_iconv=yes
4689am_cv_func_iconv_works=yes
4690am_cv_langinfo_codeset=yes
4691am_cv_lib_iconv=yes
4692am_cv_make_support_nested_variables=yes
4693am_cv_prog_cc_c_o=yes
4694am_cv_prog_tar_pax=gnutar
4695am_cv_proto_iconv='extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);'
4696am_cv_proto_iconv_arg1=
4697lt_cv_apple_cc_single_mod=yes
4698lt_cv_ar_at_file=no
4699lt_cv_deplibs_check_method=pass_all
4700lt_cv_file_magic_cmd='$MAGIC_CMD'
4701lt_cv_file_magic_test_file=
4702lt_cv_ld_exported_symbols_list=yes
4703lt_cv_ld_force_load=no
4704lt_cv_ld_reload_flag=-r
4705lt_cv_nm_interface='BSD nm'
4706lt_cv_objdir=.libs
4707lt_cv_path_LD=/usr/libexec/gcc/powerpc-apple-darwin9/4.2.1/ld
4708lt_cv_path_LDCXX=/usr/libexec/gcc/powerpc-apple-darwin9/4.2.1/ld
4709lt_cv_path_NM='/usr/bin/nm -p'
4710lt_cv_path_mainfest_tool=no
4711lt_cv_prog_compiler_c_o=yes
4712lt_cv_prog_compiler_c_o_CXX=yes
4713lt_cv_prog_compiler_pic='-fno-common -DPIC'
4714lt_cv_prog_compiler_pic_CXX='-fno-common -DPIC'
4715lt_cv_prog_compiler_pic_works=yes
4716lt_cv_prog_compiler_pic_works_CXX=yes
4717lt_cv_prog_compiler_rtti_exceptions=no
4718lt_cv_prog_compiler_static_works=no
4719lt_cv_prog_compiler_static_works_CXX=no
4720lt_cv_prog_gnu_ld=no
4721lt_cv_prog_gnu_ldcxx=no
4722lt_cv_sharedlib_from_linklib_cmd='printf %s\n'
4723lt_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'\'''
4724lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \(.*\) .*$/  {"\1", (void *) 0},/p'\'' -e '\''s/^[BCDEGRST][BCDEGRST]* .* \(.*\)$/  {"\1", (void *) \&\1},/p'\'''
4725lt_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'\'''
4726lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[BCDEGRST][BCDEGRST]* .* \(.*\)$/extern char \1;/p'\'''
4727lt_cv_sys_global_symbol_to_import=
4728lt_cv_sys_max_cmd_len=196608
4729lt_cv_to_host_file_cmd=func_convert_file_noop
4730lt_cv_to_tool_file_cmd=func_convert_file_noop
4731lt_cv_truncate_bin='/bin/dd bs=4096 count=1'
4732xiph_cv_c_compiler_clang=no
4733
4734## ----------------- ##
4735## Output variables. ##
4736## ----------------- ##
4737
4738ACLOCAL='${SHELL} '\''/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_flac/flac/work/flac-1.3.4/missing'\'' aclocal-1.16'
4739AMDEPBACKSLASH='\'
4740AMDEP_FALSE='#'
4741AMDEP_TRUE=''
4742AMTAR='$${TAR-tar}'
4743AM_BACKSLASH='\'
4744AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
4745AM_DEFAULT_VERBOSITY='1'
4746AM_V='$(V)'
4747AR='ar'
4748AS='as'
4749AUTOCONF='${SHELL} '\''/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_flac/flac/work/flac-1.3.4/missing'\'' autoconf'
4750AUTOHEADER='${SHELL} '\''/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_flac/flac/work/flac-1.3.4/missing'\'' autoheader'
4751AUTOMAKE='${SHELL} '\''/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_flac/flac/work/flac-1.3.4/missing'\'' automake-1.16'
4752AWK='gawk'
4753CC='/usr/bin/gcc-4.2'
4754CCAS='/usr/bin/gcc-4.2'
4755CCASDEPMODE='depmode=gcc3'
4756CCASFLAGS='-pipe -Os -std=gnu89 -arch ppc'
4757CCDEPMODE='depmode=gcc3'
4758CFLAGS='-pipe -Os -std=gnu89 -arch ppc -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -Waggregate-return -Wcast-align -Wnested-externs -Wshadow -Wundef -Wmissing-declarations -Winline  -Wdeclaration-after-statement -fvisibility=hidden -fgnu89-inline -msse2 -fstack-protector-strong'
4759CPP='/usr/bin/gcc-4.2 -E'
4760CPPFLAGS='-I/opt/local/include -D_FORTIFY_SOURCE=2 -DFLAC__USE_VISIBILITY_ATTR'
4761CSCOPE='cscope'
4762CTAGS='ctags'
4763CXX='/usr/bin/g++-4.2'
4764CXXCPP='/usr/bin/g++-4.2 -E'
4765CXXDEPMODE='depmode=gcc3'
4766CXXFLAGS='-pipe -Os -arch ppc -Wall -Wextra -Wcast-align -Wshadow -Wwrite-strings -Wctor-dtor-privacy -Wnon-virtual-dtor -Wreorder -Wsign-promo -Wundef  -Weffc++ -fvisibility=hidden'
4767CYGPATH_W='echo'
4768DEBUG_FALSE=''
4769DEBUG_TRUE='#'
4770DEFS='-DHAVE_CONFIG_H'
4771DEPDIR='.deps'
4772DLLTOOL='false'
4773DOCBOOK_TO_MAN=''
4774DOXYGEN=''
4775DSYMUTIL='dsymutil'
4776DUMPBIN=''
4777ECHO_C='\c'
4778ECHO_N=''
4779ECHO_T=''
4780EGREP='/opt/local/bin/ggrep -E'
4781ENABLE_64_BIT_WORDS=''
4782ETAGS='etags'
4783EXAMPLES_FALSE='#'
4784EXAMPLES_TRUE=''
4785EXEEXT=''
4786FGREP='/opt/local/bin/ggrep -F'
4787FLAC__CPU_X86_64_FALSE=''
4788FLAC__CPU_X86_64_TRUE='#'
4789FLAC__HAS_OGG='1'
4790FLAC__TEST_LEVEL='1'
4791FLAC__TEST_WITH_VALGRIND='no'
4792FLaC__CPU_IA32_FALSE=''
4793FLaC__CPU_IA32_TRUE='#'
4794FLaC__CPU_PPC64_FALSE=''
4795FLaC__CPU_PPC64_TRUE='#'
4796FLaC__CPU_PPC_FALSE='#'
4797FLaC__CPU_PPC_TRUE=''
4798FLaC__CPU_SPARC_FALSE=''
4799FLaC__CPU_SPARC_TRUE='#'
4800FLaC__HAS_DOCBOOK_TO_MAN_FALSE=''
4801FLaC__HAS_DOCBOOK_TO_MAN_TRUE='#'
4802FLaC__HAS_DOXYGEN_FALSE=''
4803FLaC__HAS_DOXYGEN_TRUE='#'
4804FLaC__HAS_NASM_FALSE='#'
4805FLaC__HAS_NASM_TRUE=''
4806FLaC__HAS_OGG_FALSE='#'
4807FLaC__HAS_OGG_TRUE=''
4808FLaC__HAS_XMMS_FALSE=''
4809FLaC__HAS_XMMS_TRUE='#'
4810FLaC__INSTALL_XMMS_PLUGIN_LOCALLY_FALSE=''
4811FLaC__INSTALL_XMMS_PLUGIN_LOCALLY_TRUE='#'
4812FLaC__NO_ASM_FALSE=''
4813FLaC__NO_ASM_TRUE='#'
4814FLaC__SYS_DARWIN_FALSE='#'
4815FLaC__SYS_DARWIN_TRUE=''
4816FLaC__SYS_LINUX_FALSE=''
4817FLaC__SYS_LINUX_TRUE='#'
4818FLaC__USE_ALTIVEC_FALSE='#'
4819FLaC__USE_ALTIVEC_TRUE=''
4820FLaC__USE_AVX_FALSE='#'
4821FLaC__USE_AVX_TRUE=''
4822FLaC__USE_VSX_FALSE='#'
4823FLaC__USE_VSX_TRUE=''
4824FLaC__WITH_CPPLIBS_FALSE='#'
4825FLaC__WITH_CPPLIBS_TRUE=''
4826GCC_MAJOR_VERSION='4'
4827GCC_MINOR_VERSION='2'
4828GCC_VERSION='4.2.1'
4829GREP='/opt/local/bin/ggrep'
4830INSTALL_DATA='${INSTALL} -m 644'
4831INSTALL_PROGRAM='${INSTALL}'
4832INSTALL_SCRIPT='${INSTALL}'
4833INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
4834LD='/usr/libexec/gcc/powerpc-apple-darwin9/4.2.1/ld'
4835LDFLAGS='-L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc'
4836LIBICONV='-liconv'
4837LIBOBJS=''
4838LIBS=''
4839LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4840LIB_CLOCK_GETTIME=''
4841LIB_FUZZING_ENGINE=''
4842LIPO='lipo'
4843LN_S='ln -s'
4844LTLIBICONV='-liconv'
4845LTLIBOBJS=''
4846LT_SYS_LIBRARY_PATH=''
4847MAKEINFO='${SHELL} '\''/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_flac/flac/work/flac-1.3.4/missing'\'' makeinfo'
4848MANIFEST_TOOL=':'
4849MKDIR_P='/opt/local/bin/gmkdir -p'
4850NASM='nasm'
4851NM='/usr/bin/nm -p'
4852NMEDIT='nmedit'
4853OBJDUMP='false'
4854OBJEXT='o'
4855OBJ_FORMAT='macho'
4856OGG_CFLAGS='-I/opt/local/include'
4857OGG_LIBS='-L/opt/local/lib -logg'
4858OGG_PACKAGE='ogg'
4859OS_IS_WINDOWS_FALSE=''
4860OS_IS_WINDOWS_TRUE='#'
4861OTOOL64=':'
4862OTOOL='otool'
4863PACKAGE='flac'
4864PACKAGE_BUGREPORT='flac-dev@xiph.org'
4865PACKAGE_NAME='flac'
4866PACKAGE_STRING='flac 1.3.4'
4867PACKAGE_TARNAME='flac'
4868PACKAGE_URL='https://www.xiph.org/flac/'
4869PACKAGE_VERSION='1.3.4'
4870PATH_SEPARATOR=':'
4871RANLIB='ranlib'
4872SED='/opt/local/bin/gsed'
4873SET_MAKE=''
4874SHELL='/bin/sh'
4875STRIP='strip'
4876USE_OSSFUZZERS_FALSE=''
4877USE_OSSFUZZERS_TRUE='#'
4878USE_OSSFUZZ_FLAG_FALSE=''
4879USE_OSSFUZZ_FLAG_TRUE='#'
4880USE_OSSFUZZ_STATIC_FALSE=''
4881USE_OSSFUZZ_STATIC_TRUE='#'
4882VERSION='1.3.4'
4883XMMS_CFLAGS=''
4884XMMS_CONFIG=''
4885XMMS_DATA_DIR=''
4886XMMS_EFFECT_PLUGIN_DIR=''
4887XMMS_GENERAL_PLUGIN_DIR=''
4888XMMS_INPUT_PLUGIN_DIR=''
4889XMMS_LIBS=''
4890XMMS_OUTPUT_PLUGIN_DIR=''
4891XMMS_PLUGIN_DIR=''
4892XMMS_VERSION=''
4893XMMS_VISUALIZATION_PLUGIN_DIR=''
4894ac_ct_AR='ar'
4895ac_ct_CC='/usr/bin/gcc-4.2'
4896ac_ct_CXX=''
4897ac_ct_DUMPBIN=''
4898am__EXEEXT_FALSE=''
4899am__EXEEXT_TRUE='#'
4900am__fastdepCCAS_FALSE='#'
4901am__fastdepCCAS_TRUE=''
4902am__fastdepCC_FALSE='#'
4903am__fastdepCC_TRUE=''
4904am__fastdepCXX_FALSE='#'
4905am__fastdepCXX_TRUE=''
4906am__include='include'
4907am__isrc=''
4908am__leading_dot='.'
4909am__nodep='_no'
4910am__quote=''
4911am__tar='tar --format=posix -chf - "$$tardir"'
4912am__untar='tar -xf -'
4913bindir='${exec_prefix}/bin'
4914build='powerpc-apple-darwin9.8.0'
4915build_alias=''
4916build_cpu='powerpc'
4917build_os='darwin9.8.0'
4918build_vendor='apple'
4919datadir='${datarootdir}'
4920datarootdir='${prefix}/share'
4921docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
4922dvidir='${docdir}'
4923exec_prefix='${prefix}'
4924host='powerpc-apple-darwin9.8.0'
4925host_alias=''
4926host_cpu='powerpc'
4927host_os='darwin9.8.0'
4928host_vendor='apple'
4929htmldir='${docdir}'
4930includedir='${prefix}/include'
4931infodir='${datarootdir}/info'
4932install_sh='${SHELL} /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_flac/flac/work/flac-1.3.4/install-sh'
4933libdir='${exec_prefix}/lib'
4934libexecdir='${exec_prefix}/libexec'
4935localedir='${datarootdir}/locale'
4936localstatedir='${prefix}/var'
4937mandir='${datarootdir}/man'
4938mkdir_p='$(MKDIR_P)'
4939oldincludedir='/usr/include'
4940pdfdir='${docdir}'
4941prefix='/opt/local'
4942program_transform_name='s,x,x,'
4943psdir='${docdir}'
4944runstatedir='${localstatedir}/run'
4945sbindir='${exec_prefix}/sbin'
4946sharedstatedir='${prefix}/com'
4947sysconfdir='${prefix}/etc'
4948target_alias=''
4949
4950## ----------- ##
4951## confdefs.h. ##
4952## ----------- ##
4953
4954/* confdefs.h */
4955#define PACKAGE_NAME "flac"
4956#define PACKAGE_TARNAME "flac"
4957#define PACKAGE_VERSION "1.3.4"
4958#define PACKAGE_STRING "flac 1.3.4"
4959#define PACKAGE_BUGREPORT "flac-dev@xiph.org"
4960#define PACKAGE_URL "https://www.xiph.org/flac/"
4961#define PACKAGE "flac"
4962#define VERSION "1.3.4"
4963#define NDEBUG /**/
4964#define HAVE_STDIO_H 1
4965#define HAVE_STDLIB_H 1
4966#define HAVE_STRING_H 1
4967#define HAVE_INTTYPES_H 1
4968#define HAVE_STDINT_H 1
4969#define HAVE_STRINGS_H 1
4970#define HAVE_SYS_STAT_H 1
4971#define HAVE_SYS_TYPES_H 1
4972#define HAVE_UNISTD_H 1
4973#define HAVE_WCHAR_H 1
4974#define STDC_HEADERS 1
4975#define _ALL_SOURCE 1
4976#define _DARWIN_C_SOURCE 1
4977#define _GNU_SOURCE 1
4978#define _HPUX_ALT_XOPEN_SOCKET_API 1
4979#define _NETBSD_SOURCE 1
4980#define _OPENBSD_SOURCE 1
4981#define _POSIX_PTHREAD_SEMANTICS 1
4982#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
4983#define __STDC_WANT_IEC_60559_BFP_EXT__ 1
4984#define __STDC_WANT_IEC_60559_DFP_EXT__ 1
4985#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
4986#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
4987#define __STDC_WANT_LIB_EXT2__ 1
4988#define __STDC_WANT_MATH_SPEC_FUNCS__ 1
4989#define _TANDEM_SOURCE 1
4990#define __EXTENSIONS__ 1
4991#define HAVE_DLFCN_H 1
4992#define LT_OBJDIR ".libs/"
4993#define HAVE_FSEEKO 1
4994#define SIZEOF_OFF_T 8
4995#define SIZEOF_VOIDP 4
4996#define HAVE_LROUND 1
4997#define __STDC_NO_VLA__ 1
4998#define __STDC_NO_VLA__ 1
4999#define HAVE_TYPEOF 1
5000#define HAVE_STDINT_H 1
5001#define HAVE_INTTYPES_H 1
5002#define HAVE_SYS_PARAM_H 1
5003#define HAVE_SYS_IOCTL_H 1
5004#define HAVE_TERMIOS_H 1
5005#define HAVE_BSWAP32 1
5006#define HAVE_BSWAP16 0
5007#define CPU_IS_BIG_ENDIAN 1
5008#define CPU_IS_LITTLE_ENDIAN 0
5009#define WORDS_BIGENDIAN 1
5010#define HAVE_GETOPT_LONG 1
5011#define SIZEOF_VOIDP 4
5012#define FLAC__CPU_PPC 1
5013#define FLAC__HAS_X86INTRIN 0
5014#define FLAC__SYS_DARWIN 1
5015#define FLAC__USE_ALTIVEC 1
5016#define FLAC__USE_VSX 1
5017#define FLAC__USE_AVX 1
5018#define ENABLE_64_BIT_WORDS 0
5019#define FLAC__HAS_OGG 1
5020#define HAVE_ICONV 1
5021#define ICONV_CONST
5022#define HAVE_LANGINFO_CODESET 1
5023#define FLAC__HAS_NASM 1
5024
5025configure: exit 0