Ticket #64610: config.log

File config.log, 162.0 KB (added by barracuda156, 3 years ago)
Line 
1This file contains any messages produced by compilers while
2running configure, to aid debugging if configure makes a mistake.
3
4It was created by flac configure 1.3.3, 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 = Sergey-Fedorovs-Mac-mini.local
14uname -m = x86_64
15uname -r = 10.8.0
16uname -s = Darwin
17uname -v = Darwin Kernel Version 10.8.0: Thu Sep  6 11:44:53 AST 2012; root:xnu-1504.15.3/BUILD/obj//RELEASE_X86_64
18
19/usr/bin/uname -p = i386
20/bin/uname -X     = unknown
21
22/bin/arch              = unknown
23/usr/bin/arch -k       = unknown
24/usr/convex/getsysinfo = unknown
25/usr/bin/hostinfo      = Mach kernel version:
26         Darwin Kernel Version 10.8.0: Thu Sep  6 11:44:53 AST 2012; root:xnu-1504.15.3/BUILD/obj//RELEASE_X86_64
27Kernel configured for up to 8 processors.
284 processors are physically available.
298 processors are logically available.
30Processor type: i486 (Intel 80486)
31Processors active: 0 1 2 3 4 5 6 7
32Primary memory available: 16.00 gigabytes
33Default processor set: 53 tasks, 279 threads, 8 processors
34Load average: 1.00, Mach factor: 6.99
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:3188: looking for aux files: config.rpath config.guess config.sub ltmain.sh ar-lib compile missing install-sh
52configure:3201:  trying ./
53configure:3230:   ./config.rpath found
54configure:3230:   ./config.guess found
55configure:3230:   ./config.sub found
56configure:3230:   ./ltmain.sh found
57configure:3230:   ./ar-lib found
58configure:3230:   ./compile found
59configure:3230:   ./missing found
60configure:3212:   ./install-sh found
61configure:3363: checking for a BSD-compatible install
62configure:3436: result: /usr/bin/install -c
63configure:3447: checking whether build environment is sane
64configure:3502: result: yes
65configure:3661: checking for a race-free mkdir -p
66configure:3705: result: /opt/local/bin/gmkdir -p
67configure:3712: checking for gawk
68configure:3733: found /opt/local/bin/gawk
69configure:3744: result: gawk
70configure:3755: checking whether make sets $(MAKE)
71configure:3778: result: yes
72configure:3808: checking whether make supports nested variables
73configure:3826: result: yes
74configure:3901: checking how to create a pax tar archive
75configure:3912: tar --version
76bsdtar 2.6.2 - libarchive 2.6.2
77configure:3915: $? = 0
78configure:3955: tardir=conftest.dir && eval tar --format=posix -chf - "$tardir" >conftest.tar
79configure:3958: $? = 0
80configure:3962: tar -xf - <conftest.tar
81configure:3965: $? = 0
82configure:3967: cat conftest.dir/file
83GrepMe
84configure:3970: $? = 0
85configure:3984: result: gnutar
86configure:4060: checking whether make supports nested variables
87configure:4078: result: yes
88configure:4090: checking whether configure should try to set CFLAGS/CXXFLAGS/CPPFLAGS/LDFLAGS
89configure:4099: result: no
90configure:4103: checking whether to enable debugging
91configure:4168: result: no
92configure:4219: checking whether make supports the include directive
93configure:4234: make -f confmf.GNU && cat confinc.out
94this is the am__doit target
95configure:4237: $? = 0
96configure:4256: result: yes (GNU style)
97configure:4332: checking for gcc
98configure:4364: result: /usr/bin/gcc-4.2
99configure:4717: checking for C compiler version
100configure:4726: /usr/bin/gcc-4.2 --version >&5
101i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5646)
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:4737: $? = 0
107configure:4726: /usr/bin/gcc-4.2 -v >&5
108Using built-in specs.
109Target: i686-apple-darwin10
110Configured with: /var/tmp/gcc/gcc-5646~6/src/configure --disable-checking --enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin10 --with-gxx-include-dir=/include/c++/4.2.1 --program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10 --target=i686-apple-darwin10
111Thread model: posix
112gcc version 4.2.1 (Apple Inc. build 5646)
113configure:4737: $? = 0
114configure:4726: /usr/bin/gcc-4.2 -V >&5
115gcc-4.2: argument to `-V' is missing
116configure:4737: $? = 1
117configure:4726: /usr/bin/gcc-4.2 -qversion >&5
118i686-apple-darwin10-gcc-4.2.1: no input files
119configure:4737: $? = 1
120configure:4726: /usr/bin/gcc-4.2 -version >&5
121i686-apple-darwin10-gcc-4.2.1: no input files
122configure:4737: $? = 1
123configure:4757: checking whether the C compiler works
124configure:4779: /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:4783: $? = 0
126configure:4833: result: yes
127configure:4836: checking for C compiler default output file name
128configure:4838: result: a.out
129configure:4844: checking for suffix of executables
130configure:4851: /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:4855: $? = 0
132configure:4878: result:
133configure:4900: checking whether we are cross compiling
134configure:4908: /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:4912: $? = 0
136configure:4919: ./conftest
137configure:4923: $? = 0
138configure:4938: result: no
139configure:4943: checking for suffix of object files
140configure:4966: /usr/bin/gcc-4.2 -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include conftest.c >&5
141configure:4970: $? = 0
142configure:4992: result: o
143configure:4996: checking whether the compiler supports GNU C
144configure:5016: /usr/bin/gcc-4.2 -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include conftest.c >&5
145configure:5016: $? = 0
146configure:5026: result: yes
147configure:5037: checking whether /usr/bin/gcc-4.2 accepts -g
148configure:5058: /usr/bin/gcc-4.2 -c -g -I/opt/local/include conftest.c >&5
149configure:5058: $? = 0
150configure:5102: result: yes
151configure:5122: checking for /usr/bin/gcc-4.2 option to enable C11 features
152configure:5137: /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:5137: $? = 1
189configure: failed program was:
190| /* confdefs.h */
191| #define PACKAGE_NAME "flac"
192| #define PACKAGE_TARNAME "flac"
193| #define PACKAGE_VERSION "1.3.3"
194| #define PACKAGE_STRING "flac 1.3.3"
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.3"
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:5137: /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:5137: $? = 1
466configure: failed program was:
467| /* confdefs.h */
468| #define PACKAGE_NAME "flac"
469| #define PACKAGE_TARNAME "flac"
470| #define PACKAGE_VERSION "1.3.3"
471| #define PACKAGE_STRING "flac 1.3.3"
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.3"
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:5150: result: unsupported
741configure:5168: checking for /usr/bin/gcc-4.2 option to enable C99 features
742configure:5183: /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:5183: $? = 1
753configure: failed program was:
754| /* confdefs.h */
755| #define PACKAGE_NAME "flac"
756| #define PACKAGE_TARNAME "flac"
757| #define PACKAGE_VERSION "1.3.3"
758| #define PACKAGE_STRING "flac 1.3.3"
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.3"
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:5183: /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:5183: $? = 1
978configure: failed program was:
979| /* confdefs.h */
980| #define PACKAGE_NAME "flac"
981| #define PACKAGE_TARNAME "flac"
982| #define PACKAGE_VERSION "1.3.3"
983| #define PACKAGE_STRING "flac 1.3.3"
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.3"
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:5183: /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:5183: $? = 1
1203configure: failed program was:
1204| /* confdefs.h */
1205| #define PACKAGE_NAME "flac"
1206| #define PACKAGE_TARNAME "flac"
1207| #define PACKAGE_VERSION "1.3.3"
1208| #define PACKAGE_STRING "flac 1.3.3"
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.3"
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:5183: /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:5183: $? = 1
1428configure: failed program was:
1429| /* confdefs.h */
1430| #define PACKAGE_NAME "flac"
1431| #define PACKAGE_TARNAME "flac"
1432| #define PACKAGE_VERSION "1.3.3"
1433| #define PACKAGE_STRING "flac 1.3.3"
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.3"
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:5183: /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:5183: $? = 1
1653configure: failed program was:
1654| /* confdefs.h */
1655| #define PACKAGE_NAME "flac"
1656| #define PACKAGE_TARNAME "flac"
1657| #define PACKAGE_VERSION "1.3.3"
1658| #define PACKAGE_STRING "flac 1.3.3"
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.3"
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:5183: /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:5183: $? = 1
1878configure: failed program was:
1879| /* confdefs.h */
1880| #define PACKAGE_NAME "flac"
1881| #define PACKAGE_TARNAME "flac"
1882| #define PACKAGE_VERSION "1.3.3"
1883| #define PACKAGE_STRING "flac 1.3.3"
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.3"
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:5183: /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:5183: $? = 1
2104configure: failed program was:
2105| /* confdefs.h */
2106| #define PACKAGE_NAME "flac"
2107| #define PACKAGE_TARNAME "flac"
2108| #define PACKAGE_VERSION "1.3.3"
2109| #define PACKAGE_STRING "flac 1.3.3"
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.3"
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:5183: /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:5183: $? = 1
2329configure: failed program was:
2330| /* confdefs.h */
2331| #define PACKAGE_NAME "flac"
2332| #define PACKAGE_TARNAME "flac"
2333| #define PACKAGE_VERSION "1.3.3"
2334| #define PACKAGE_STRING "flac 1.3.3"
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.3"
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:5196: result: unsupported
2544configure:5214: checking for /usr/bin/gcc-4.2 option to enable C89 features
2545configure:5229: /usr/bin/gcc-4.2  -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include conftest.c >&5
2546configure:5229: $? = 0
2547configure:5247: result: none needed
2548configure:5271: checking whether /usr/bin/gcc-4.2 understands -c and -o together
2549configure:5294: /usr/bin/gcc-4.2 -c conftest.c -o conftest2.o
2550configure:5297: $? = 0
2551configure:5294: /usr/bin/gcc-4.2 -c conftest.c -o conftest2.o
2552configure:5297: $? = 0
2553configure:5309: result: yes
2554configure:5328: checking dependency style of /usr/bin/gcc-4.2
2555configure:5440: result: gcc3
2556configure:5461: checking for stdio.h
2557configure:5461: /usr/bin/gcc-4.2 -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include conftest.c >&5
2558configure:5461: $? = 0
2559configure:5461: result: yes
2560configure:5461: checking for stdlib.h
2561configure:5461: /usr/bin/gcc-4.2 -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include conftest.c >&5
2562configure:5461: $? = 0
2563configure:5461: result: yes
2564configure:5461: checking for string.h
2565configure:5461: /usr/bin/gcc-4.2 -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include conftest.c >&5
2566configure:5461: $? = 0
2567configure:5461: result: yes
2568configure:5461: checking for inttypes.h
2569configure:5461: /usr/bin/gcc-4.2 -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include conftest.c >&5
2570configure:5461: $? = 0
2571configure:5461: result: yes
2572configure:5461: checking for stdint.h
2573configure:5461: /usr/bin/gcc-4.2 -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include conftest.c >&5
2574configure:5461: $? = 0
2575configure:5461: result: yes
2576configure:5461: checking for strings.h
2577configure:5461: /usr/bin/gcc-4.2 -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include conftest.c >&5
2578configure:5461: $? = 0
2579configure:5461: result: yes
2580configure:5461: checking for sys/stat.h
2581configure:5461: /usr/bin/gcc-4.2 -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include conftest.c >&5
2582configure:5461: $? = 0
2583configure:5461: result: yes
2584configure:5461: checking for sys/types.h
2585configure:5461: /usr/bin/gcc-4.2 -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include conftest.c >&5
2586configure:5461: $? = 0
2587configure:5461: result: yes
2588configure:5461: checking for unistd.h
2589configure:5461: /usr/bin/gcc-4.2 -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include conftest.c >&5
2590configure:5461: $? = 0
2591configure:5461: result: yes
2592configure:5461: checking for wchar.h
2593configure:5461: /usr/bin/gcc-4.2 -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include conftest.c >&5
2594configure:5461: $? = 0
2595configure:5461: result: yes
2596configure:5461: checking for minix/config.h
2597configure:5461: /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:5461: $? = 1
2600configure: failed program was:
2601| /* confdefs.h */
2602| #define PACKAGE_NAME "flac"
2603| #define PACKAGE_TARNAME "flac"
2604| #define PACKAGE_VERSION "1.3.3"
2605| #define PACKAGE_STRING "flac 1.3.3"
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.3"
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:5461: result: no
2652configure:5492: checking whether it is safe to define __EXTENSIONS__
2653configure:5511: /usr/bin/gcc-4.2 -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include conftest.c >&5
2654configure:5511: $? = 0
2655configure:5519: result: yes
2656configure:5522: checking whether _XOPEN_SOURCE should be defined
2657configure:5544: /usr/bin/gcc-4.2 -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include conftest.c >&5
2658configure:5544: $? = 0
2659configure:5571: result: no
2660configure:5682: checking for ar
2661configure:5703: found /opt/local/bin/ar
2662configure:5714: result: ar
2663configure:5740: checking the archiver (ar) interface
2664configure:5757: /usr/bin/gcc-4.2 -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include conftest.c >&5
2665configure:5757: $? = 0
2666configure:5760: ar cru libconftest.a conftest.o >&5
2667configure:5763: $? = 0
2668configure:5791: result: ar
2669configure:5843: checking build system type
2670configure:5858: result: x86_64-apple-darwin10.8.0
2671configure:5878: checking host system type
2672configure:5892: result: x86_64-apple-darwin10.8.0
2673configure:5933: checking how to print strings
2674configure:5960: result: printf
2675configure:5981: checking for a sed that does not truncate output
2676configure:6051: result: /opt/local/bin/gsed
2677configure:6069: checking for grep that handles long lines and -e
2678configure:6133: result: /opt/local/bin/ggrep
2679configure:6138: checking for egrep
2680configure:6206: result: /opt/local/bin/ggrep -E
2681configure:6211: checking for fgrep
2682configure:6279: result: /opt/local/bin/ggrep -F
2683configure:6315: checking for ld used by /usr/bin/gcc-4.2
2684configure:6383: result: /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld
2685configure:6390: checking if the linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) is GNU ld
2686configure:6406: result: no
2687configure:6418: checking for BSD- or MS-compatible name lister (nm)
2688configure:6473: result: /opt/local/bin/nm
2689configure:6613: checking the name lister (/opt/local/bin/nm) interface
2690configure:6621: /usr/bin/gcc-4.2 -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include conftest.c >&5
2691configure:6624: /opt/local/bin/nm "conftest.o"
2692configure:6627: output
269300000000 D _some_variable
2694configure:6634: result: BSD nm
2695configure:6637: checking whether ln -s works
2696configure:6641: result: yes
2697configure:6649: checking the maximum length of command line arguments
2698configure:6781: result: 196608
2699configure:6829: checking how to convert x86_64-apple-darwin10.8.0 file names to x86_64-apple-darwin10.8.0 format
2700configure:6870: result: func_convert_file_noop
2701configure:6877: checking how to convert x86_64-apple-darwin10.8.0 file names to toolchain format
2702configure:6898: result: func_convert_file_noop
2703configure:6905: checking for /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld option to reload object files
2704configure:6913: result: -r
2705configure:6992: checking for objdump
2706configure:7027: result: no
2707configure:7053: checking how to recognize dependent libraries
2708configure:7254: result: pass_all
2709configure:7344: checking for dlltool
2710configure:7379: result: no
2711configure:7406: checking how to associate runtime and link libraries
2712configure:7434: result: printf %s\n
2713configure:7568: checking for archiver @FILE support
2714configure:7586: /usr/bin/gcc-4.2 -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include conftest.c >&5
2715configure:7586: $? = 0
2716configure:7590: ar cru libconftest.a @conftest.lst >&5
2717ar: @conftest.lst: No such file or directory
2718configure:7593: $? = 1
2719configure:7613: result: no
2720configure:7676: checking for strip
2721configure:7697: found /opt/local/bin/strip
2722configure:7708: result: strip
2723configure:7785: checking for ranlib
2724configure:7806: found /opt/local/bin/ranlib
2725configure:7817: result: ranlib
2726configure:7919: checking command to parse /opt/local/bin/nm output from /usr/bin/gcc-4.2 object
2727configure:8073: /usr/bin/gcc-4.2 -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include conftest.c >&5
2728configure:8076: $? = 0
2729configure:8080: /opt/local/bin/nm 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:8083: $? = 0
2731cannot find nm_test_var in conftest.nm
2732configure:8073: /usr/bin/gcc-4.2 -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include conftest.c >&5
2733configure:8076: $? = 0
2734configure:8080: /opt/local/bin/nm 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:8083: $? = 0
2736configure:8149: /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:8152: $? = 0
2738configure:8190: result: ok
2739configure:8237: checking for sysroot
2740configure:8268: result: no
2741configure:8275: checking for a working dd
2742configure:8319: result: /bin/dd
2743configure:8323: checking how to truncate binary pipes
2744configure:8339: result: /bin/dd bs=4096 count=1
2745configure:8676: checking for mt
2746configure:8711: result: no
2747configure:8731: checking if : is a manifest tool
2748configure:8738: : '-?'
2749configure:8746: result: no
2750configure:8807: checking for dsymutil
2751configure:8828: found /usr/bin/dsymutil
2752configure:8839: result: dsymutil
2753configure:8909: checking for nmedit
2754configure:8930: found /opt/local/bin/nmedit
2755configure:8941: result: nmedit
2756configure:9011: checking for lipo
2757configure:9032: found /opt/local/bin/lipo
2758configure:9043: result: lipo
2759configure:9113: checking for otool
2760configure:9134: found /opt/local/bin/otool
2761configure:9145: result: otool
2762configure:9215: checking for otool64
2763configure:9250: result: no
2764configure:9295: 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:9329: result: yes
2767configure:9332: checking for -exported_symbols_list linker flag
2768configure:9353: /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:9353: $? = 0
2770configure:9364: result: yes
2771configure:9367: 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
2776configure:9400: result: yes
2777configure:9467: checking for dlfcn.h
2778configure:9467: /usr/bin/gcc-4.2 -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include conftest.c >&5
2779configure:9467: $? = 0
2780configure:9467: result: yes
2781configure:10052: checking for objdir
2782configure:10068: result: .libs
2783configure:10332: checking if /usr/bin/gcc-4.2 supports -fno-rtti -fno-exceptions
2784configure:10351: /usr/bin/gcc-4.2 -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include -fno-rtti -fno-exceptions conftest.c >&5
2785cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C
2786configure:10355: $? = 0
2787configure:10368: result: no
2788configure:10726: checking for /usr/bin/gcc-4.2 option to produce PIC
2789configure:10734: result: -fno-common -DPIC
2790configure:10742: checking if /usr/bin/gcc-4.2 PIC flag -fno-common -DPIC works
2791configure:10761: /usr/bin/gcc-4.2 -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include -fno-common -DPIC -DPIC conftest.c >&5
2792configure:10765: $? = 0
2793configure:10778: result: yes
2794configure:10807: checking if /usr/bin/gcc-4.2 static flag -static works
2795configure:10836: result: no
2796configure:10851: checking if /usr/bin/gcc-4.2 supports -c -o file.o
2797configure:10873: /usr/bin/gcc-4.2 -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include -o out/conftest2.o conftest.c >&5
2798configure:10877: $? = 0
2799configure:10899: result: yes
2800configure:10907: checking if /usr/bin/gcc-4.2 supports -c -o file.o
2801configure:10955: result: yes
2802configure:10988: checking whether the /usr/bin/gcc-4.2 linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) supports shared libraries
2803configure:12254: result: yes
2804configure:12495: checking dynamic linker characteristics
2805configure:13316: result: darwin10.8.0 dyld
2806configure:13438: checking how to hardcode library paths into programs
2807configure:13463: result: immediate
2808configure:14015: checking whether stripping libraries is possible
2809configure:14029: result: yes
2810configure:14055: checking if libtool supports shared libraries
2811configure:14057: result: yes
2812configure:14060: checking whether to build shared libraries
2813configure:14085: result: yes
2814configure:14088: checking whether to build static libraries
2815configure:14092: result: no
2816configure:14138: checking dependency style of /usr/bin/gcc-4.2
2817configure:14248: result: gcc3
2818configure:14391: checking for C++ compiler version
2819configure:14400: /usr/bin/g++-4.2 --version >&5
2820i686-apple-darwin10-g++-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5646)
2821Copyright (C) 2007 Free Software Foundation, Inc.
2822This is free software; see the source for copying conditions.  There is NO
2823warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
2824
2825configure:14411: $? = 0
2826configure:14400: /usr/bin/g++-4.2 -v >&5
2827Using built-in specs.
2828Target: i686-apple-darwin10
2829Configured with: /var/tmp/gcc/gcc-5646~6/src/configure --disable-checking --enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin10 --with-gxx-include-dir=/include/c++/4.2.1 --program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10 --target=i686-apple-darwin10
2830Thread model: posix
2831gcc version 4.2.1 (Apple Inc. build 5646)
2832configure:14411: $? = 0
2833configure:14400: /usr/bin/g++-4.2 -V >&5
2834g++-4.2: argument to `-V' is missing
2835configure:14411: $? = 1
2836configure:14400: /usr/bin/g++-4.2 -qversion >&5
2837i686-apple-darwin10-g++-4.2.1: no input files
2838configure:14411: $? = 1
2839configure:14415: checking whether the compiler supports GNU C++
2840configure:14435: /usr/bin/g++-4.2 -c -pipe -Os -arch ppc -I/opt/local/include conftest.cpp >&5
2841configure:14435: $? = 0
2842configure:14445: result: yes
2843configure:14456: checking whether /usr/bin/g++-4.2 accepts -g
2844configure:14477: /usr/bin/g++-4.2 -c -g -I/opt/local/include conftest.cpp >&5
2845configure:14477: $? = 0
2846configure:14521: result: yes
2847configure:14541: checking for /usr/bin/g++-4.2 option to enable C++11 features
2848configure:14556: /usr/bin/g++-4.2  -c -pipe -Os -arch ppc -I/opt/local/include conftest.cpp >&5
2849conftest.cpp:44:3: error: #error "Compiler does not advertise C++98 conformance"
2850conftest.cpp:87:3: error: #error "Compiler does not advertise C++11 conformance"
2851conftest.cpp:92: error: expected constructor, destructor, or type conversion before 'int'
2852conftest.cpp: In constructor 'cxx11test::delegate::delegate()':
2853conftest.cpp:104: error: type 'cxx11test::delegate' is not a direct base of 'cxx11test::delegate'
2854conftest.cpp: At global scope:
2855conftest.cpp:115: error: expected ';' before 'override'
2856conftest.cpp:116: error: expected `;' before '}' token
2857conftest.cpp:122: error: invalid pure specifier (only `= 0' is allowed) before ';' token
2858conftest.cpp:123: error: invalid pure specifier (only `= 0' is allowed) before ';' token
2859conftest.cpp:124: error: invalid pure specifier (only `= 0' is allowed) before ';' token
2860conftest.cpp:122: error: initializer specified for non-virtual method 'cxx11test::nocopy::nocopy()'
2861conftest.cpp:123: error: initializer specified for non-virtual method 'cxx11test::nocopy::nocopy(const cxx11test::nocopy&)'
2862conftest.cpp:124: error: initializer specified for non-virtual method 'cxx11test::nocopy& cxx11test::nocopy::operator=(const cxx11test::nocopy&)'
2863conftest.cpp:136: error: expected initializer before '->' token
2864conftest.cpp:140: error: expected nested-name-specifier before '...' token
2865conftest.cpp:140: error: expected '>' before '...' token
2866conftest.cpp:140: error: 'Args' has not been declared
2867conftest.cpp:140: error: expected `)' before 'rest'
2868conftest.cpp:140: error: expected initializer before 'rest'
2869conftest.cpp: In function 'int main(int, char**)':
2870conftest.cpp:164: error: ISO C++ forbids declaration of 'a1' with no type
2871conftest.cpp:165: error: ISO C++ forbids declaration of 'a2' with no type
2872conftest.cpp:166: error: ISO C++ forbids declaration of 'a3' with no type
2873conftest.cpp:166: error: invalid conversion from 'const char*' to 'int'
2874conftest.cpp:169: error: ISO C++ forbids declaration of 'i' with no type
2875conftest.cpp:169: error: invalid type argument of 'unary *'
2876conftest.cpp:169: error: invalid type argument of 'unary *'
2877conftest.cpp:171: error: 'decltype' was not declared in this scope
2878conftest.cpp:171: error: expected `;' before 'a4'
2879conftest.cpp:175: error: 'get_val' is not a member of 'cxx11test'
2880conftest.cpp:185: error: a function-definition is not allowed here before ':' token
2881conftest.cpp:186: error: expected primary-expression before '}' token
2882conftest.cpp:186: error: expected `;' 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:190: error: expected primary-expression before '[' token
2888conftest.cpp:190: error: expected primary-expression before ']' token
2889conftest.cpp:190: error: expected primary-expression before 'int'
2890conftest.cpp:192: error: expected primary-expression before '[' token
2891conftest.cpp:192: error: expected primary-expression before ']' token
2892conftest.cpp:192: error: expected primary-expression before 'double'
2893conftest.cpp:194: error: expected primary-expression before '[' token
2894conftest.cpp:194: error: expected primary-expression before '=' token
2895conftest.cpp:194: error: expected primary-expression before ']' token
2896conftest.cpp:194: error: expected primary-expression before 'double'
2897conftest.cpp:199: error: 'cxx11test::sum' has not been declared
2898conftest.cpp:200: error: ISO C++ forbids declaration of 'a' with no type
2899conftest.cpp:200: error: 'sum' was not declared in this scope
2900conftest.cpp:201: error: ISO C++ forbids declaration of 'b' with no type
2901conftest.cpp:202: error: ISO C++ forbids declaration of 'c' with no type
2902conftest.cpp:216: error: 'nullptr' was not declared in this scope
2903conftest.cpp:220: error: '>>' should be '> >' within a nested template argument list
2904conftest.cpp:220: error: '<::' cannot begin a template-argument list
2905conftest.cpp:220: note: '<:' is an alternate spelling for '['. Insert whitespace between '<' and '::'
2906conftest.cpp:220: note: (if you use -fpermissive G++ will accept your code)
2907conftest.cpp:224: error: 'u8' was not declared in this scope
2908conftest.cpp:224: error: expected ',' or ';' before string constant
2909conftest.cpp:225: error: 'char16_t' was not declared in this scope
2910conftest.cpp:225: error: expected `;' before 'const'
2911conftest.cpp:226: error: 'char32_t' was not declared in this scope
2912conftest.cpp:226: error: expected `;' before 'const'
2913configure:14556: $? = 1
2914configure: failed program was:
2915| /* confdefs.h */
2916| #define PACKAGE_NAME "flac"
2917| #define PACKAGE_TARNAME "flac"
2918| #define PACKAGE_VERSION "1.3.3"
2919| #define PACKAGE_STRING "flac 1.3.3"
2920| #define PACKAGE_BUGREPORT "flac-dev@xiph.org"
2921| #define PACKAGE_URL "https://www.xiph.org/flac/"
2922| #define PACKAGE "flac"
2923| #define VERSION "1.3.3"
2924| #define NDEBUG /**/
2925| #define HAVE_STDIO_H 1
2926| #define HAVE_STDLIB_H 1
2927| #define HAVE_STRING_H 1
2928| #define HAVE_INTTYPES_H 1
2929| #define HAVE_STDINT_H 1
2930| #define HAVE_STRINGS_H 1
2931| #define HAVE_SYS_STAT_H 1
2932| #define HAVE_SYS_TYPES_H 1
2933| #define HAVE_UNISTD_H 1
2934| #define HAVE_WCHAR_H 1
2935| #define STDC_HEADERS 1
2936| #define _ALL_SOURCE 1
2937| #define _DARWIN_C_SOURCE 1
2938| #define _GNU_SOURCE 1
2939| #define _HPUX_ALT_XOPEN_SOCKET_API 1
2940| #define _NETBSD_SOURCE 1
2941| #define _OPENBSD_SOURCE 1
2942| #define _POSIX_PTHREAD_SEMANTICS 1
2943| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
2944| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
2945| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
2946| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
2947| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
2948| #define __STDC_WANT_LIB_EXT2__ 1
2949| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
2950| #define _TANDEM_SOURCE 1
2951| #define __EXTENSIONS__ 1
2952| #define HAVE_DLFCN_H 1
2953| #define LT_OBJDIR ".libs/"
2954| /* end confdefs.h.  */
2955|
2956| // Does the compiler advertise C++98 conformance?
2957| #if !defined __cplusplus || __cplusplus < 199711L
2958| # error "Compiler does not advertise C++98 conformance"
2959| #endif
2960|
2961| // These inclusions are to reject old compilers that
2962| // lack the unsuffixed header files.
2963| #include <cstdlib>
2964| #include <exception>
2965|
2966| // <cassert> and <cstring> are *not* freestanding headers in C++98.
2967| extern void assert (int);
2968| namespace std {
2969|   extern int strcmp (const char *, const char *);
2970| }
2971|
2972| // Namespaces, exceptions, and templates were all added after "C++ 2.0".
2973| using std::exception;
2974| using std::strcmp;
2975|
2976| namespace {
2977|
2978| void test_exception_syntax()
2979| {
2980|   try {
2981|     throw "test";
2982|   } catch (const char *s) {
2983|     // Extra parentheses suppress a warning when building autoconf itself,
2984|     // due to lint rules shared with more typical C programs.
2985|     assert (!(strcmp) (s, "test"));
2986|   }
2987| }
2988|
2989| template <typename T> struct test_template
2990| {
2991|   T const val;
2992|   explicit test_template(T t) : val(t) {}
2993|   template <typename U> T add(U u) { return static_cast<T>(u) + val; }
2994| };
2995|
2996| } // anonymous namespace
2997|
2998|
2999| // Does the compiler advertise C++ 2011 conformance?
3000| #if !defined __cplusplus || __cplusplus < 201103L
3001| # error "Compiler does not advertise C++11 conformance"
3002| #endif
3003|
3004| namespace cxx11test
3005| {
3006|   constexpr int get_val() { return 20; }
3007|
3008|   struct testinit
3009|   {
3010|     int i;
3011|     double d;
3012|   };
3013|
3014|   class delegate
3015|   {
3016|   public:
3017|     delegate(int n) : n(n) {}
3018|     delegate(): delegate(2354) {}
3019|
3020|     virtual int getval() { return this->n; };
3021|   protected:
3022|     int n;
3023|   };
3024|
3025|   class overridden : public delegate
3026|   {
3027|   public:
3028|     overridden(int n): delegate(n) {}
3029|     virtual int getval() override final { return this->n * 2; }
3030|   };
3031|
3032|   class nocopy
3033|   {
3034|   public:
3035|     nocopy(int i): i(i) {}
3036|     nocopy() = default;
3037|     nocopy(const nocopy&) = delete;
3038|     nocopy & operator=(const nocopy&) = delete;
3039|   private:
3040|     int i;
3041|   };
3042|
3043|   // for testing lambda expressions
3044|   template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
3045|   {
3046|     return f(v);
3047|   }
3048|
3049|   // for testing variadic templates and trailing return types
3050|   template <typename V> auto sum(V first) -> V
3051|   {
3052|     return first;
3053|   }
3054|   template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
3055|   {
3056|     return first + sum(rest...);
3057|   }
3058| }
3059|
3060|
3061| int
3062| main (int argc, char **argv)
3063| {
3064|   int ok = 0;
3065|   
3066|   assert (argc);
3067|   assert (! argv[0]);
3068| {
3069|   test_exception_syntax ();
3070|   test_template<double> tt (2.0);
3071|   assert (tt.add (4) == 6.0);
3072|   assert (true && !false);
3073| }
3074|
3075|   
3076| {
3077|   // Test auto and decltype
3078|   auto a1 = 6538;
3079|   auto a2 = 48573953.4;
3080|   auto a3 = "String literal";
3081|
3082|   int total = 0;
3083|   for (auto i = a3; *i; ++i) { total += *i; }
3084|
3085|   decltype(a2) a4 = 34895.034;
3086| }
3087| {
3088|   // Test constexpr
3089|   short sa[cxx11test::get_val()] = { 0 };
3090| }
3091| {
3092|   // Test initializer lists
3093|   cxx11test::testinit il = { 4323, 435234.23544 };
3094| }
3095| {
3096|   // Test range-based for
3097|   int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3098|                  14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3099|   for (auto &x : array) { x += 23; }
3100| }
3101| {
3102|   // Test lambda expressions
3103|   using cxx11test::eval;
3104|   assert (eval ([](int x) { return x*2; }, 21) == 42);
3105|   double d = 2.0;
3106|   assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
3107|   assert (d == 5.0);
3108|   assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
3109|   assert (d == 5.0);
3110| }
3111| {
3112|   // Test use of variadic templates
3113|   using cxx11test::sum;
3114|   auto a = sum(1);
3115|   auto b = sum(1, 2);
3116|   auto c = sum(1.0, 2.0, 3.0);
3117| }
3118| {
3119|   // Test constructor delegation
3120|   cxx11test::delegate d1;
3121|   cxx11test::delegate d2();
3122|   cxx11test::delegate d3(45);
3123| }
3124| {
3125|   // Test override and final
3126|   cxx11test::overridden o1(55464);
3127| }
3128| {
3129|   // Test nullptr
3130|   char *c = nullptr;
3131| }
3132| {
3133|   // Test template brackets
3134|   test_template<::test_template<int>> v(test_template<int>(12));
3135| }
3136| {
3137|   // Unicode literals
3138|   char const *utf8 = u8"UTF-8 string \u2500";
3139|   char16_t const *utf16 = u"UTF-8 string \u2500";
3140|   char32_t const *utf32 = U"UTF-32 string \u2500";
3141| }
3142|
3143|   return ok;
3144| }
3145|
3146configure:14574: result: none needed
3147configure:14640: checking dependency style of /usr/bin/g++-4.2
3148configure:14752: result: gcc3
3149configure:14785: checking how to run the C++ preprocessor
3150configure:14807: /usr/bin/g++-4.2 -E -I/opt/local/include conftest.cpp
3151configure:14807: $? = 0
3152configure:14822: /usr/bin/g++-4.2 -E -I/opt/local/include conftest.cpp
3153conftest.cpp:41:28: error: ac_nonexistent.h: No such file or directory
3154configure:14822: $? = 1
3155configure: failed program was:
3156| /* confdefs.h */
3157| #define PACKAGE_NAME "flac"
3158| #define PACKAGE_TARNAME "flac"
3159| #define PACKAGE_VERSION "1.3.3"
3160| #define PACKAGE_STRING "flac 1.3.3"
3161| #define PACKAGE_BUGREPORT "flac-dev@xiph.org"
3162| #define PACKAGE_URL "https://www.xiph.org/flac/"
3163| #define PACKAGE "flac"
3164| #define VERSION "1.3.3"
3165| #define NDEBUG /**/
3166| #define HAVE_STDIO_H 1
3167| #define HAVE_STDLIB_H 1
3168| #define HAVE_STRING_H 1
3169| #define HAVE_INTTYPES_H 1
3170| #define HAVE_STDINT_H 1
3171| #define HAVE_STRINGS_H 1
3172| #define HAVE_SYS_STAT_H 1
3173| #define HAVE_SYS_TYPES_H 1
3174| #define HAVE_UNISTD_H 1
3175| #define HAVE_WCHAR_H 1
3176| #define STDC_HEADERS 1
3177| #define _ALL_SOURCE 1
3178| #define _DARWIN_C_SOURCE 1
3179| #define _GNU_SOURCE 1
3180| #define _HPUX_ALT_XOPEN_SOCKET_API 1
3181| #define _NETBSD_SOURCE 1
3182| #define _OPENBSD_SOURCE 1
3183| #define _POSIX_PTHREAD_SEMANTICS 1
3184| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
3185| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
3186| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
3187| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
3188| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
3189| #define __STDC_WANT_LIB_EXT2__ 1
3190| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
3191| #define _TANDEM_SOURCE 1
3192| #define __EXTENSIONS__ 1
3193| #define HAVE_DLFCN_H 1
3194| #define LT_OBJDIR ".libs/"
3195| /* end confdefs.h.  */
3196| #include <ac_nonexistent.h>
3197configure:14849: result: /usr/bin/g++-4.2 -E
3198configure:14863: /usr/bin/g++-4.2 -E -I/opt/local/include conftest.cpp
3199configure:14863: $? = 0
3200configure:14878: /usr/bin/g++-4.2 -E -I/opt/local/include conftest.cpp
3201conftest.cpp:41:28: error: ac_nonexistent.h: No such file or directory
3202configure:14878: $? = 1
3203configure: failed program was:
3204| /* confdefs.h */
3205| #define PACKAGE_NAME "flac"
3206| #define PACKAGE_TARNAME "flac"
3207| #define PACKAGE_VERSION "1.3.3"
3208| #define PACKAGE_STRING "flac 1.3.3"
3209| #define PACKAGE_BUGREPORT "flac-dev@xiph.org"
3210| #define PACKAGE_URL "https://www.xiph.org/flac/"
3211| #define PACKAGE "flac"
3212| #define VERSION "1.3.3"
3213| #define NDEBUG /**/
3214| #define HAVE_STDIO_H 1
3215| #define HAVE_STDLIB_H 1
3216| #define HAVE_STRING_H 1
3217| #define HAVE_INTTYPES_H 1
3218| #define HAVE_STDINT_H 1
3219| #define HAVE_STRINGS_H 1
3220| #define HAVE_SYS_STAT_H 1
3221| #define HAVE_SYS_TYPES_H 1
3222| #define HAVE_UNISTD_H 1
3223| #define HAVE_WCHAR_H 1
3224| #define STDC_HEADERS 1
3225| #define _ALL_SOURCE 1
3226| #define _DARWIN_C_SOURCE 1
3227| #define _GNU_SOURCE 1
3228| #define _HPUX_ALT_XOPEN_SOCKET_API 1
3229| #define _NETBSD_SOURCE 1
3230| #define _OPENBSD_SOURCE 1
3231| #define _POSIX_PTHREAD_SEMANTICS 1
3232| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
3233| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
3234| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
3235| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
3236| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
3237| #define __STDC_WANT_LIB_EXT2__ 1
3238| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
3239| #define _TANDEM_SOURCE 1
3240| #define __EXTENSIONS__ 1
3241| #define HAVE_DLFCN_H 1
3242| #define LT_OBJDIR ".libs/"
3243| /* end confdefs.h.  */
3244| #include <ac_nonexistent.h>
3245configure:15043: checking for ld used by /usr/bin/g++-4.2
3246configure:15111: result: /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld
3247configure:15118: checking if the linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) is GNU ld
3248configure:15134: result: no
3249configure:15189: checking whether the /usr/bin/g++-4.2 linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) supports shared libraries
3250configure:16266: result: yes
3251configure:16302: /usr/bin/g++-4.2 -c -pipe -Os -arch ppc -I/opt/local/include conftest.cpp >&5
3252configure:16305: $? = 0
3253configure:16786: checking for /usr/bin/g++-4.2 option to produce PIC
3254configure:16794: result: -fno-common -DPIC
3255configure:16802: checking if /usr/bin/g++-4.2 PIC flag -fno-common -DPIC works
3256configure:16821: /usr/bin/g++-4.2 -c -pipe -Os -arch ppc -I/opt/local/include -fno-common -DPIC -DPIC conftest.cpp >&5
3257configure:16825: $? = 0
3258configure:16838: result: yes
3259configure:16861: checking if /usr/bin/g++-4.2 static flag -static works
3260configure:16890: result: no
3261configure:16902: checking if /usr/bin/g++-4.2 supports -c -o file.o
3262configure:16924: /usr/bin/g++-4.2 -c -pipe -Os -arch ppc -I/opt/local/include -o out/conftest2.o conftest.cpp >&5
3263configure:16928: $? = 0
3264configure:16950: result: yes
3265configure:16955: checking if /usr/bin/g++-4.2 supports -c -o file.o
3266configure:17003: result: yes
3267configure:17033: checking whether the /usr/bin/g++-4.2 linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) supports shared libraries
3268configure:17073: result: yes
3269configure:17215: checking dynamic linker characteristics
3270configure:17963: result: darwin10.8.0 dyld
3271configure:18028: checking how to hardcode library paths into programs
3272configure:18053: result: immediate
3273configure:18093: checking whether we are using the CLANG C compiler
3274configure:18117: /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
3275conftest.c: In function 'main':
3276conftest.c:49: error: 'This' undeclared (first use in this function)
3277conftest.c:49: error: (Each undeclared identifier is reported only once
3278conftest.c:49: error: for each function it appears in.)
3279conftest.c:49: error: expected ';' before 'is'
3280configure:18117: $? = 1
3281configure: failed program was:
3282| /* confdefs.h */
3283| #define PACKAGE_NAME "flac"
3284| #define PACKAGE_TARNAME "flac"
3285| #define PACKAGE_VERSION "1.3.3"
3286| #define PACKAGE_STRING "flac 1.3.3"
3287| #define PACKAGE_BUGREPORT "flac-dev@xiph.org"
3288| #define PACKAGE_URL "https://www.xiph.org/flac/"
3289| #define PACKAGE "flac"
3290| #define VERSION "1.3.3"
3291| #define NDEBUG /**/
3292| #define HAVE_STDIO_H 1
3293| #define HAVE_STDLIB_H 1
3294| #define HAVE_STRING_H 1
3295| #define HAVE_INTTYPES_H 1
3296| #define HAVE_STDINT_H 1
3297| #define HAVE_STRINGS_H 1
3298| #define HAVE_SYS_STAT_H 1
3299| #define HAVE_SYS_TYPES_H 1
3300| #define HAVE_UNISTD_H 1
3301| #define HAVE_WCHAR_H 1
3302| #define STDC_HEADERS 1
3303| #define _ALL_SOURCE 1
3304| #define _DARWIN_C_SOURCE 1
3305| #define _GNU_SOURCE 1
3306| #define _HPUX_ALT_XOPEN_SOCKET_API 1
3307| #define _NETBSD_SOURCE 1
3308| #define _OPENBSD_SOURCE 1
3309| #define _POSIX_PTHREAD_SEMANTICS 1
3310| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
3311| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
3312| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
3313| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
3314| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
3315| #define __STDC_WANT_LIB_EXT2__ 1
3316| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
3317| #define _TANDEM_SOURCE 1
3318| #define __EXTENSIONS__ 1
3319| #define HAVE_DLFCN_H 1
3320| #define LT_OBJDIR ".libs/"
3321| /* end confdefs.h.  */
3322|
3323|                       #include <stdio.h>
3324|
3325| int
3326| main (void)
3327| {
3328|
3329|                       #ifndef __clang__
3330|                               This is not clang!
3331|                       #endif
3332|
3333|   ;
3334|   return 0;
3335| }
3336configure:18124: result: no
3337configure:18150: /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
3338configure:18150: $? = 0
3339configure:18161: checking whether make sets $(MAKE)
3340configure:18184: result: yes
3341configure:18203: checking for special C compiler options needed for large files
3342configure:18251: result: no
3343configure:18257: checking for _FILE_OFFSET_BITS value needed for large files
3344configure:18283: /usr/bin/gcc-4.2 -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include conftest.c >&5
3345configure:18283: $? = 0
3346configure:18317: result: no
3347configure:18399: checking for _LARGEFILE_SOURCE value needed for large files
3348configure:18419: /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
3349configure:18419: $? = 0
3350configure:18449: result: no
3351configure:18473: checking size of off_t
3352configure:18479: /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
3353configure:18479: $? = 0
3354configure:18479: ./conftest
3355configure:18479: $? = 0
3356configure:18494: result: 8
3357configure:18506: checking size of void*
3358configure:18512: /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
3359configure:18512: $? = 0
3360configure:18512: ./conftest
3361configure:18512: $? = 0
3362configure:18527: result: 4
3363configure:18535: checking for library containing lround
3364configure:18565: /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
3365conftest.c:48: warning: conflicting types for built-in function 'lround'
3366configure:18565: $? = 0
3367configure:18585: result: none required
3368configure:18606: checking for variable-length arrays
3369configure:18664: /usr/bin/g++-4.2 -c -pipe -Os -arch ppc -I/opt/local/include conftest.cpp >&5
3370conftest.cpp:55: error: 'm' was not declared in this scope
3371conftest.cpp:55: error: 'm' was not declared in this scope
3372conftest.cpp:58: error: expected primary-expression before 'static'
3373conftest.cpp:58: error: expected `]' before 'static'
3374conftest.cpp:58: error: expected ',' or '...' before 'static'
3375conftest.cpp: In function 'int simple(int)':
3376conftest.cpp:60: error: 'all' was not declared in this scope
3377conftest.cpp: At global scope:
3378conftest.cpp:64: error: 'm' was not declared in this scope
3379conftest.cpp:64: error: 'm' was not declared in this scope
3380conftest.cpp: In function 'int fvla(int)':
3381conftest.cpp:69: error: cannot convert 'int (*)[100]' to 'int (*)[(((long unsigned int)(((int)m) - 1)) + 1u)]' in initialization
3382conftest.cpp:70: error: cannot convert 'int (*)[(((long unsigned int)(((int)m) - 1)) + 1u)]' to 'int (*)[(((long unsigned int)(((int)n) - 1)) + 1u)]' in initialization
3383conftest.cpp:71: error: 'C' was not declared in this scope
3384configure:18664: $? = 1
3385configure: failed program was:
3386| /* confdefs.h */
3387| #define PACKAGE_NAME "flac"
3388| #define PACKAGE_TARNAME "flac"
3389| #define PACKAGE_VERSION "1.3.3"
3390| #define PACKAGE_STRING "flac 1.3.3"
3391| #define PACKAGE_BUGREPORT "flac-dev@xiph.org"
3392| #define PACKAGE_URL "https://www.xiph.org/flac/"
3393| #define PACKAGE "flac"
3394| #define VERSION "1.3.3"
3395| #define NDEBUG /**/
3396| #define HAVE_STDIO_H 1
3397| #define HAVE_STDLIB_H 1
3398| #define HAVE_STRING_H 1
3399| #define HAVE_INTTYPES_H 1
3400| #define HAVE_STDINT_H 1
3401| #define HAVE_STRINGS_H 1
3402| #define HAVE_SYS_STAT_H 1
3403| #define HAVE_SYS_TYPES_H 1
3404| #define HAVE_UNISTD_H 1
3405| #define HAVE_WCHAR_H 1
3406| #define STDC_HEADERS 1
3407| #define _ALL_SOURCE 1
3408| #define _DARWIN_C_SOURCE 1
3409| #define _GNU_SOURCE 1
3410| #define _HPUX_ALT_XOPEN_SOCKET_API 1
3411| #define _NETBSD_SOURCE 1
3412| #define _OPENBSD_SOURCE 1
3413| #define _POSIX_PTHREAD_SEMANTICS 1
3414| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
3415| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
3416| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
3417| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
3418| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
3419| #define __STDC_WANT_LIB_EXT2__ 1
3420| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
3421| #define _TANDEM_SOURCE 1
3422| #define __EXTENSIONS__ 1
3423| #define HAVE_DLFCN_H 1
3424| #define LT_OBJDIR ".libs/"
3425| #define HAVE_FSEEKO 1
3426| #define SIZEOF_OFF_T 8
3427| #define SIZEOF_VOIDP 4
3428| #define HAVE_LROUND 1
3429| /* end confdefs.h.  */
3430| /* Test for VLA support.  This test is partly inspired
3431|                 from examples in the C standard.  Use at least two VLA
3432|                 functions to detect the GCC 3.4.3 bug described in:
3433|                 https://lists.gnu.org/archive/html/bug-gnulib/2014-08/msg00014.html
3434|                 */
3435|              #ifdef __STDC_NO_VLA__
3436|               syntax error;
3437|              #else
3438|                extern int n;
3439|                int B[100];
3440|                int fvla (int m, int C[m][m]);
3441|
3442|                int
3443|                simple (int count, int all[static count])
3444|                {
3445|                  return all[count - 1];
3446|                }
3447|
3448|                int
3449|                fvla (int m, int C[m][m])
3450|                {
3451|                  typedef int VLA[m][m];
3452|                  VLA x;
3453|                  int D[m];
3454|                  static int (*q)[m] = &B;
3455|                  int (*s)[n] = q;
3456|                  return C && &x[0][0] == &D[0] && &D[0] == s[0];
3457|                }
3458|              #endif
3459|
3460| int
3461| main (void)
3462| {
3463|
3464|   ;
3465|   return 0;
3466| }
3467configure:18675: result: no
3468configure:18703: checking for egrep
3469configure:18771: result: /opt/local/bin/ggrep -E
3470configure:18778: checking for inline
3471configure:18795: /usr/bin/gcc-4.2 -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include conftest.c >&5
3472configure:18795: $? = 0
3473configure:18804: result: inline
3474configure:18827: checking how to run the C preprocessor
3475configure:18853: /usr/bin/gcc-4.2 -E -I/opt/local/include conftest.c
3476configure:18853: $? = 0
3477configure:18868: /usr/bin/gcc-4.2 -E -I/opt/local/include conftest.c
3478conftest.c:46:28: error: ac_nonexistent.h: No such file or directory
3479configure:18868: $? = 1
3480configure: failed program was:
3481| /* confdefs.h */
3482| #define PACKAGE_NAME "flac"
3483| #define PACKAGE_TARNAME "flac"
3484| #define PACKAGE_VERSION "1.3.3"
3485| #define PACKAGE_STRING "flac 1.3.3"
3486| #define PACKAGE_BUGREPORT "flac-dev@xiph.org"
3487| #define PACKAGE_URL "https://www.xiph.org/flac/"
3488| #define PACKAGE "flac"
3489| #define VERSION "1.3.3"
3490| #define NDEBUG /**/
3491| #define HAVE_STDIO_H 1
3492| #define HAVE_STDLIB_H 1
3493| #define HAVE_STRING_H 1
3494| #define HAVE_INTTYPES_H 1
3495| #define HAVE_STDINT_H 1
3496| #define HAVE_STRINGS_H 1
3497| #define HAVE_SYS_STAT_H 1
3498| #define HAVE_SYS_TYPES_H 1
3499| #define HAVE_UNISTD_H 1
3500| #define HAVE_WCHAR_H 1
3501| #define STDC_HEADERS 1
3502| #define _ALL_SOURCE 1
3503| #define _DARWIN_C_SOURCE 1
3504| #define _GNU_SOURCE 1
3505| #define _HPUX_ALT_XOPEN_SOCKET_API 1
3506| #define _NETBSD_SOURCE 1
3507| #define _OPENBSD_SOURCE 1
3508| #define _POSIX_PTHREAD_SEMANTICS 1
3509| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
3510| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
3511| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
3512| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
3513| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
3514| #define __STDC_WANT_LIB_EXT2__ 1
3515| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
3516| #define _TANDEM_SOURCE 1
3517| #define __EXTENSIONS__ 1
3518| #define HAVE_DLFCN_H 1
3519| #define LT_OBJDIR ".libs/"
3520| #define HAVE_FSEEKO 1
3521| #define SIZEOF_OFF_T 8
3522| #define SIZEOF_VOIDP 4
3523| #define HAVE_LROUND 1
3524| #define __STDC_NO_VLA__ 1
3525| /* end confdefs.h.  */
3526| #include <ac_nonexistent.h>
3527configure:18895: result: /usr/bin/gcc-4.2 -E
3528configure:18909: /usr/bin/gcc-4.2 -E -I/opt/local/include conftest.c
3529configure:18909: $? = 0
3530configure:18924: /usr/bin/gcc-4.2 -E -I/opt/local/include conftest.c
3531conftest.c:46:28: error: ac_nonexistent.h: No such file or directory
3532configure:18924: $? = 1
3533configure: failed program was:
3534| /* confdefs.h */
3535| #define PACKAGE_NAME "flac"
3536| #define PACKAGE_TARNAME "flac"
3537| #define PACKAGE_VERSION "1.3.3"
3538| #define PACKAGE_STRING "flac 1.3.3"
3539| #define PACKAGE_BUGREPORT "flac-dev@xiph.org"
3540| #define PACKAGE_URL "https://www.xiph.org/flac/"
3541| #define PACKAGE "flac"
3542| #define VERSION "1.3.3"
3543| #define NDEBUG /**/
3544| #define HAVE_STDIO_H 1
3545| #define HAVE_STDLIB_H 1
3546| #define HAVE_STRING_H 1
3547| #define HAVE_INTTYPES_H 1
3548| #define HAVE_STDINT_H 1
3549| #define HAVE_STRINGS_H 1
3550| #define HAVE_SYS_STAT_H 1
3551| #define HAVE_SYS_TYPES_H 1
3552| #define HAVE_UNISTD_H 1
3553| #define HAVE_WCHAR_H 1
3554| #define STDC_HEADERS 1
3555| #define _ALL_SOURCE 1
3556| #define _DARWIN_C_SOURCE 1
3557| #define _GNU_SOURCE 1
3558| #define _HPUX_ALT_XOPEN_SOCKET_API 1
3559| #define _NETBSD_SOURCE 1
3560| #define _OPENBSD_SOURCE 1
3561| #define _POSIX_PTHREAD_SEMANTICS 1
3562| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
3563| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
3564| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
3565| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
3566| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
3567| #define __STDC_WANT_LIB_EXT2__ 1
3568| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
3569| #define _TANDEM_SOURCE 1
3570| #define __EXTENSIONS__ 1
3571| #define HAVE_DLFCN_H 1
3572| #define LT_OBJDIR ".libs/"
3573| #define HAVE_FSEEKO 1
3574| #define SIZEOF_OFF_T 8
3575| #define SIZEOF_VOIDP 4
3576| #define HAVE_LROUND 1
3577| #define __STDC_NO_VLA__ 1
3578| /* end confdefs.h.  */
3579| #include <ac_nonexistent.h>
3580configure:18956: checking for variable-length arrays
3581configure:19025: result: no
3582configure:19038: checking for typeof syntax and keyword spelling
3583configure:19070: /usr/bin/gcc-4.2 -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include conftest.c >&5
3584conftest.c:45:1: warning: "__STDC_NO_VLA__" redefined
3585conftest.c:44:1: warning: this is the location of the previous definition
3586configure:19070: $? = 0
3587configure:19078: result: typeof
3588configure:19092: checking for stdint.h
3589configure:19092: result: yes
3590configure:19098: checking for inttypes.h
3591configure:19098: result: yes
3592configure:19104: checking for byteswap.h
3593configure:19104: /usr/bin/gcc-4.2 -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include conftest.c >&5
3594conftest.c:45:1: warning: "__STDC_NO_VLA__" redefined
3595conftest.c:44:1: warning: this is the location of the previous definition
3596conftest.c:78:22: error: byteswap.h: No such file or directory
3597configure:19104: $? = 1
3598configure: failed program was:
3599| /* confdefs.h */
3600| #define PACKAGE_NAME "flac"
3601| #define PACKAGE_TARNAME "flac"
3602| #define PACKAGE_VERSION "1.3.3"
3603| #define PACKAGE_STRING "flac 1.3.3"
3604| #define PACKAGE_BUGREPORT "flac-dev@xiph.org"
3605| #define PACKAGE_URL "https://www.xiph.org/flac/"
3606| #define PACKAGE "flac"
3607| #define VERSION "1.3.3"
3608| #define NDEBUG /**/
3609| #define HAVE_STDIO_H 1
3610| #define HAVE_STDLIB_H 1
3611| #define HAVE_STRING_H 1
3612| #define HAVE_INTTYPES_H 1
3613| #define HAVE_STDINT_H 1
3614| #define HAVE_STRINGS_H 1
3615| #define HAVE_SYS_STAT_H 1
3616| #define HAVE_SYS_TYPES_H 1
3617| #define HAVE_UNISTD_H 1
3618| #define HAVE_WCHAR_H 1
3619| #define STDC_HEADERS 1
3620| #define _ALL_SOURCE 1
3621| #define _DARWIN_C_SOURCE 1
3622| #define _GNU_SOURCE 1
3623| #define _HPUX_ALT_XOPEN_SOCKET_API 1
3624| #define _NETBSD_SOURCE 1
3625| #define _OPENBSD_SOURCE 1
3626| #define _POSIX_PTHREAD_SEMANTICS 1
3627| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
3628| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
3629| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
3630| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
3631| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
3632| #define __STDC_WANT_LIB_EXT2__ 1
3633| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
3634| #define _TANDEM_SOURCE 1
3635| #define __EXTENSIONS__ 1
3636| #define HAVE_DLFCN_H 1
3637| #define LT_OBJDIR ".libs/"
3638| #define HAVE_FSEEKO 1
3639| #define SIZEOF_OFF_T 8
3640| #define SIZEOF_VOIDP 4
3641| #define HAVE_LROUND 1
3642| #define __STDC_NO_VLA__ 1
3643| #define __STDC_NO_VLA__ 1
3644| #define HAVE_TYPEOF 1
3645| #define HAVE_STDINT_H 1
3646| #define HAVE_INTTYPES_H 1
3647| /* end confdefs.h.  */
3648| #include <stddef.h>
3649| #ifdef HAVE_STDIO_H
3650| # include <stdio.h>
3651| #endif
3652| #ifdef HAVE_STDLIB_H
3653| # include <stdlib.h>
3654| #endif
3655| #ifdef HAVE_STRING_H
3656| # include <string.h>
3657| #endif
3658| #ifdef HAVE_INTTYPES_H
3659| # include <inttypes.h>
3660| #endif
3661| #ifdef HAVE_STDINT_H
3662| # include <stdint.h>
3663| #endif
3664| #ifdef HAVE_STRINGS_H
3665| # include <strings.h>
3666| #endif
3667| #ifdef HAVE_SYS_TYPES_H
3668| # include <sys/types.h>
3669| #endif
3670| #ifdef HAVE_SYS_STAT_H
3671| # include <sys/stat.h>
3672| #endif
3673| #ifdef HAVE_UNISTD_H
3674| # include <unistd.h>
3675| #endif
3676| #include <byteswap.h>
3677configure:19104: result: no
3678configure:19110: checking for sys/param.h
3679configure:19110: /usr/bin/gcc-4.2 -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include conftest.c >&5
3680conftest.c:45:1: warning: "__STDC_NO_VLA__" redefined
3681conftest.c:44:1: warning: this is the location of the previous definition
3682configure:19110: $? = 0
3683configure:19110: result: yes
3684configure:19116: checking for sys/ioctl.h
3685configure:19116: /usr/bin/gcc-4.2 -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include conftest.c >&5
3686conftest.c:45:1: warning: "__STDC_NO_VLA__" redefined
3687conftest.c:44:1: warning: this is the location of the previous definition
3688configure:19116: $? = 0
3689configure:19116: result: yes
3690configure:19122: checking for termios.h
3691configure:19122: /usr/bin/gcc-4.2 -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include conftest.c >&5
3692conftest.c:45:1: warning: "__STDC_NO_VLA__" redefined
3693conftest.c:44:1: warning: this is the location of the previous definition
3694configure:19122: $? = 0
3695configure:19122: result: yes
3696configure:19128: checking for x86intrin.h
3697configure:19128: /usr/bin/gcc-4.2 -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include conftest.c >&5
3698conftest.c:45:1: warning: "__STDC_NO_VLA__" redefined
3699conftest.c:44:1: warning: this is the location of the previous definition
3700conftest.c:81:23: error: x86intrin.h: No such file or directory
3701configure:19128: $? = 1
3702configure: failed program was:
3703| /* confdefs.h */
3704| #define PACKAGE_NAME "flac"
3705| #define PACKAGE_TARNAME "flac"
3706| #define PACKAGE_VERSION "1.3.3"
3707| #define PACKAGE_STRING "flac 1.3.3"
3708| #define PACKAGE_BUGREPORT "flac-dev@xiph.org"
3709| #define PACKAGE_URL "https://www.xiph.org/flac/"
3710| #define PACKAGE "flac"
3711| #define VERSION "1.3.3"
3712| #define NDEBUG /**/
3713| #define HAVE_STDIO_H 1
3714| #define HAVE_STDLIB_H 1
3715| #define HAVE_STRING_H 1
3716| #define HAVE_INTTYPES_H 1
3717| #define HAVE_STDINT_H 1
3718| #define HAVE_STRINGS_H 1
3719| #define HAVE_SYS_STAT_H 1
3720| #define HAVE_SYS_TYPES_H 1
3721| #define HAVE_UNISTD_H 1
3722| #define HAVE_WCHAR_H 1
3723| #define STDC_HEADERS 1
3724| #define _ALL_SOURCE 1
3725| #define _DARWIN_C_SOURCE 1
3726| #define _GNU_SOURCE 1
3727| #define _HPUX_ALT_XOPEN_SOCKET_API 1
3728| #define _NETBSD_SOURCE 1
3729| #define _OPENBSD_SOURCE 1
3730| #define _POSIX_PTHREAD_SEMANTICS 1
3731| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
3732| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
3733| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
3734| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
3735| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
3736| #define __STDC_WANT_LIB_EXT2__ 1
3737| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
3738| #define _TANDEM_SOURCE 1
3739| #define __EXTENSIONS__ 1
3740| #define HAVE_DLFCN_H 1
3741| #define LT_OBJDIR ".libs/"
3742| #define HAVE_FSEEKO 1
3743| #define SIZEOF_OFF_T 8
3744| #define SIZEOF_VOIDP 4
3745| #define HAVE_LROUND 1
3746| #define __STDC_NO_VLA__ 1
3747| #define __STDC_NO_VLA__ 1
3748| #define HAVE_TYPEOF 1
3749| #define HAVE_STDINT_H 1
3750| #define HAVE_INTTYPES_H 1
3751| #define HAVE_SYS_PARAM_H 1
3752| #define HAVE_SYS_IOCTL_H 1
3753| #define HAVE_TERMIOS_H 1
3754| /* end confdefs.h.  */
3755| #include <stddef.h>
3756| #ifdef HAVE_STDIO_H
3757| # include <stdio.h>
3758| #endif
3759| #ifdef HAVE_STDLIB_H
3760| # include <stdlib.h>
3761| #endif
3762| #ifdef HAVE_STRING_H
3763| # include <string.h>
3764| #endif
3765| #ifdef HAVE_INTTYPES_H
3766| # include <inttypes.h>
3767| #endif
3768| #ifdef HAVE_STDINT_H
3769| # include <stdint.h>
3770| #endif
3771| #ifdef HAVE_STRINGS_H
3772| # include <strings.h>
3773| #endif
3774| #ifdef HAVE_SYS_TYPES_H
3775| # include <sys/types.h>
3776| #endif
3777| #ifdef HAVE_SYS_STAT_H
3778| # include <sys/stat.h>
3779| #endif
3780| #ifdef HAVE_UNISTD_H
3781| # include <unistd.h>
3782| #endif
3783| #include <x86intrin.h>
3784configure:19128: result: no
3785configure:19134: checking for cpuid.h
3786configure:19134: /usr/bin/gcc-4.2 -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include conftest.c >&5
3787conftest.c:45:1: warning: "__STDC_NO_VLA__" redefined
3788conftest.c:44:1: warning: this is the location of the previous definition
3789conftest.c:81:19: error: cpuid.h: No such file or directory
3790configure:19134: $? = 1
3791configure: failed program was:
3792| /* confdefs.h */
3793| #define PACKAGE_NAME "flac"
3794| #define PACKAGE_TARNAME "flac"
3795| #define PACKAGE_VERSION "1.3.3"
3796| #define PACKAGE_STRING "flac 1.3.3"
3797| #define PACKAGE_BUGREPORT "flac-dev@xiph.org"
3798| #define PACKAGE_URL "https://www.xiph.org/flac/"
3799| #define PACKAGE "flac"
3800| #define VERSION "1.3.3"
3801| #define NDEBUG /**/
3802| #define HAVE_STDIO_H 1
3803| #define HAVE_STDLIB_H 1
3804| #define HAVE_STRING_H 1
3805| #define HAVE_INTTYPES_H 1
3806| #define HAVE_STDINT_H 1
3807| #define HAVE_STRINGS_H 1
3808| #define HAVE_SYS_STAT_H 1
3809| #define HAVE_SYS_TYPES_H 1
3810| #define HAVE_UNISTD_H 1
3811| #define HAVE_WCHAR_H 1
3812| #define STDC_HEADERS 1
3813| #define _ALL_SOURCE 1
3814| #define _DARWIN_C_SOURCE 1
3815| #define _GNU_SOURCE 1
3816| #define _HPUX_ALT_XOPEN_SOCKET_API 1
3817| #define _NETBSD_SOURCE 1
3818| #define _OPENBSD_SOURCE 1
3819| #define _POSIX_PTHREAD_SEMANTICS 1
3820| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
3821| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
3822| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
3823| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
3824| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
3825| #define __STDC_WANT_LIB_EXT2__ 1
3826| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
3827| #define _TANDEM_SOURCE 1
3828| #define __EXTENSIONS__ 1
3829| #define HAVE_DLFCN_H 1
3830| #define LT_OBJDIR ".libs/"
3831| #define HAVE_FSEEKO 1
3832| #define SIZEOF_OFF_T 8
3833| #define SIZEOF_VOIDP 4
3834| #define HAVE_LROUND 1
3835| #define __STDC_NO_VLA__ 1
3836| #define __STDC_NO_VLA__ 1
3837| #define HAVE_TYPEOF 1
3838| #define HAVE_STDINT_H 1
3839| #define HAVE_INTTYPES_H 1
3840| #define HAVE_SYS_PARAM_H 1
3841| #define HAVE_SYS_IOCTL_H 1
3842| #define HAVE_TERMIOS_H 1
3843| /* end confdefs.h.  */
3844| #include <stddef.h>
3845| #ifdef HAVE_STDIO_H
3846| # include <stdio.h>
3847| #endif
3848| #ifdef HAVE_STDLIB_H
3849| # include <stdlib.h>
3850| #endif
3851| #ifdef HAVE_STRING_H
3852| # include <string.h>
3853| #endif
3854| #ifdef HAVE_INTTYPES_H
3855| # include <inttypes.h>
3856| #endif
3857| #ifdef HAVE_STDINT_H
3858| # include <stdint.h>
3859| #endif
3860| #ifdef HAVE_STRINGS_H
3861| # include <strings.h>
3862| #endif
3863| #ifdef HAVE_SYS_TYPES_H
3864| # include <sys/types.h>
3865| #endif
3866| #ifdef HAVE_SYS_STAT_H
3867| # include <sys/stat.h>
3868| #endif
3869| #ifdef HAVE_UNISTD_H
3870| # include <unistd.h>
3871| #endif
3872| #include <cpuid.h>
3873configure:19134: result: no
3874configure:19142: checking for bswap32 intrinsic
3875configure:19163: /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
3876conftest.c:45:1: warning: "__STDC_NO_VLA__" redefined
3877conftest.c:44:1: warning: this is the location of the previous definition
3878configure:19163: $? = 0
3879configure:19177: result: yes
3880configure:19180: checking for bswap16 intrinsic
3881configure:19201: /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
3882conftest.c:45:1: warning: "__STDC_NO_VLA__" redefined
3883conftest.c:44:1: warning: this is the location of the previous definition
3884Undefined symbols:
3885  "___builtin_bswap16", referenced from:
3886      _main in cc2HSp8N.o
3887ld: symbol(s) not found
3888collect2: ld returned 1 exit status
3889configure:19201: $? = 1
3890configure: failed program was:
3891| /* confdefs.h */
3892| #define PACKAGE_NAME "flac"
3893| #define PACKAGE_TARNAME "flac"
3894| #define PACKAGE_VERSION "1.3.3"
3895| #define PACKAGE_STRING "flac 1.3.3"
3896| #define PACKAGE_BUGREPORT "flac-dev@xiph.org"
3897| #define PACKAGE_URL "https://www.xiph.org/flac/"
3898| #define PACKAGE "flac"
3899| #define VERSION "1.3.3"
3900| #define NDEBUG /**/
3901| #define HAVE_STDIO_H 1
3902| #define HAVE_STDLIB_H 1
3903| #define HAVE_STRING_H 1
3904| #define HAVE_INTTYPES_H 1
3905| #define HAVE_STDINT_H 1
3906| #define HAVE_STRINGS_H 1
3907| #define HAVE_SYS_STAT_H 1
3908| #define HAVE_SYS_TYPES_H 1
3909| #define HAVE_UNISTD_H 1
3910| #define HAVE_WCHAR_H 1
3911| #define STDC_HEADERS 1
3912| #define _ALL_SOURCE 1
3913| #define _DARWIN_C_SOURCE 1
3914| #define _GNU_SOURCE 1
3915| #define _HPUX_ALT_XOPEN_SOCKET_API 1
3916| #define _NETBSD_SOURCE 1
3917| #define _OPENBSD_SOURCE 1
3918| #define _POSIX_PTHREAD_SEMANTICS 1
3919| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
3920| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
3921| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
3922| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
3923| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
3924| #define __STDC_WANT_LIB_EXT2__ 1
3925| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
3926| #define _TANDEM_SOURCE 1
3927| #define __EXTENSIONS__ 1
3928| #define HAVE_DLFCN_H 1
3929| #define LT_OBJDIR ".libs/"
3930| #define HAVE_FSEEKO 1
3931| #define SIZEOF_OFF_T 8
3932| #define SIZEOF_VOIDP 4
3933| #define HAVE_LROUND 1
3934| #define __STDC_NO_VLA__ 1
3935| #define __STDC_NO_VLA__ 1
3936| #define HAVE_TYPEOF 1
3937| #define HAVE_STDINT_H 1
3938| #define HAVE_INTTYPES_H 1
3939| #define HAVE_SYS_PARAM_H 1
3940| #define HAVE_SYS_IOCTL_H 1
3941| #define HAVE_TERMIOS_H 1
3942| #define HAVE_BSWAP32 1
3943| /* end confdefs.h.  */
3944|
3945| int
3946| main (void)
3947| {
3948| return __builtin_bswap16 (0) ;
3949|   ;
3950|   return 0;
3951| }
3952configure:19215: result: no
3953configure:19221: checking whether byte ordering is bigendian
3954configure:19237: /usr/bin/gcc-4.2 -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include conftest.c >&5
3955conftest.c:45:1: warning: "__STDC_NO_VLA__" redefined
3956conftest.c:44:1: warning: this is the location of the previous definition
3957configure:19237: $? = 0
3958configure:19283: /usr/bin/gcc-4.2 -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include conftest.c >&5
3959conftest.c:45:1: warning: "__STDC_NO_VLA__" redefined
3960conftest.c:44:1: warning: this is the location of the previous definition
3961configure:19283: $? = 0
3962configure:19302: /usr/bin/gcc-4.2 -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include conftest.c >&5
3963conftest.c:45:1: warning: "__STDC_NO_VLA__" redefined
3964conftest.c:44:1: warning: this is the location of the previous definition
3965configure:19302: $? = 0
3966configure:19436: result: yes
3967configure:19496: checking for socklen_t
3968configure:19496: /usr/bin/gcc-4.2 -c -pipe -Os -std=gnu89 -arch ppc -I/opt/local/include conftest.c >&5
3969conftest.c:45:1: warning: "__STDC_NO_VLA__" redefined
3970conftest.c:44:1: warning: this is the location of the previous definition
3971conftest.c: In function 'main':
3972conftest.c:89: error: 'socklen_t' undeclared (first use in this function)
3973conftest.c:89: error: (Each undeclared identifier is reported only once
3974conftest.c:89: error: for each function it appears in.)
3975configure:19496: $? = 1
3976configure: failed program was:
3977| /* confdefs.h */
3978| #define PACKAGE_NAME "flac"
3979| #define PACKAGE_TARNAME "flac"
3980| #define PACKAGE_VERSION "1.3.3"
3981| #define PACKAGE_STRING "flac 1.3.3"
3982| #define PACKAGE_BUGREPORT "flac-dev@xiph.org"
3983| #define PACKAGE_URL "https://www.xiph.org/flac/"
3984| #define PACKAGE "flac"
3985| #define VERSION "1.3.3"
3986| #define NDEBUG /**/
3987| #define HAVE_STDIO_H 1
3988| #define HAVE_STDLIB_H 1
3989| #define HAVE_STRING_H 1
3990| #define HAVE_INTTYPES_H 1
3991| #define HAVE_STDINT_H 1
3992| #define HAVE_STRINGS_H 1
3993| #define HAVE_SYS_STAT_H 1
3994| #define HAVE_SYS_TYPES_H 1
3995| #define HAVE_UNISTD_H 1
3996| #define HAVE_WCHAR_H 1
3997| #define STDC_HEADERS 1
3998| #define _ALL_SOURCE 1
3999| #define _DARWIN_C_SOURCE 1
4000| #define _GNU_SOURCE 1
4001| #define _HPUX_ALT_XOPEN_SOCKET_API 1
4002| #define _NETBSD_SOURCE 1
4003| #define _OPENBSD_SOURCE 1
4004| #define _POSIX_PTHREAD_SEMANTICS 1
4005| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
4006| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
4007| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
4008| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
4009| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
4010| #define __STDC_WANT_LIB_EXT2__ 1
4011| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
4012| #define _TANDEM_SOURCE 1
4013| #define __EXTENSIONS__ 1
4014| #define HAVE_DLFCN_H 1
4015| #define LT_OBJDIR ".libs/"
4016| #define HAVE_FSEEKO 1
4017| #define SIZEOF_OFF_T 8
4018| #define SIZEOF_VOIDP 4
4019| #define HAVE_LROUND 1
4020| #define __STDC_NO_VLA__ 1
4021| #define __STDC_NO_VLA__ 1
4022| #define HAVE_TYPEOF 1
4023| #define HAVE_STDINT_H 1
4024| #define HAVE_INTTYPES_H 1
4025| #define HAVE_SYS_PARAM_H 1
4026| #define HAVE_SYS_IOCTL_H 1
4027| #define HAVE_TERMIOS_H 1
4028| #define HAVE_BSWAP32 1
4029| #define HAVE_BSWAP16 0
4030| #define CPU_IS_BIG_ENDIAN 1
4031| #define CPU_IS_LITTLE_ENDIAN 0
4032| #define WORDS_BIGENDIAN 1
4033| /* end confdefs.h.  */
4034| #include <stddef.h>
4035| #ifdef HAVE_STDIO_H
4036| # include <stdio.h>
4037| #endif
4038| #ifdef HAVE_STDLIB_H
4039| # include <stdlib.h>
4040| #endif
4041| #ifdef HAVE_STRING_H
4042| # include <string.h>
4043| #endif
4044| #ifdef HAVE_INTTYPES_H
4045| # include <inttypes.h>
4046| #endif
4047| #ifdef HAVE_STDINT_H
4048| # include <stdint.h>
4049| #endif
4050| #ifdef HAVE_STRINGS_H
4051| # include <strings.h>
4052| #endif
4053| #ifdef HAVE_SYS_TYPES_H
4054| # include <sys/types.h>
4055| #endif
4056| #ifdef HAVE_SYS_STAT_H
4057| # include <sys/stat.h>
4058| #endif
4059| #ifdef HAVE_UNISTD_H
4060| # include <unistd.h>
4061| #endif
4062| int
4063| main (void)
4064| {
4065| if (sizeof (socklen_t))
4066|        return 0;
4067|   ;
4068|   return 0;
4069| }
4070configure:19496: result: no
4071configure:19506: checking for getopt_long
4072configure:19506: /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
4073conftest.c:45:1: warning: "__STDC_NO_VLA__" redefined
4074conftest.c:44:1: warning: this is the location of the previous definition
4075configure:19506: $? = 0
4076configure:19506: result: yes
4077configure:19518: checking size of void*
4078configure:19539: result: 4
4079configure:20010: checking for doxygen
4080configure:20031: found /opt/local/bin/doxygen
4081configure:20042: result: doxygen
4082configure:20436: checking for Ogg
4083configure:20472: /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
4084conftest.c:45:1: warning: "__STDC_NO_VLA__" redefined
4085conftest.c:44:1: warning: this is the location of the previous definition
4086configure:20472: $? = 0
4087configure:20472: ./conftest
4088configure:20472: $? = 0
4089configure:20492: result: yes
4090configure:20628: checking for ld used by /usr/bin/gcc-4.2
4091configure:20696: result: /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld
4092configure:20703: checking if the linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) is GNU ld
4093configure:20719: result: no
4094configure:20727: checking for shared library run path origin
4095configure:20741: result: done
4096configure:21323: checking for iconv
4097configure:21348: /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
4098conftest.c:45:1: warning: "__STDC_NO_VLA__" redefined
4099conftest.c:44:1: warning: this is the location of the previous definition
4100Undefined symbols:
4101  "_libiconv_open", referenced from:
4102      _main in ccMenYlf.o
4103  "_libiconv", referenced from:
4104      _main in ccMenYlf.o
4105  "_libiconv_close", referenced from:
4106      _main in ccMenYlf.o
4107ld: symbol(s) not found
4108collect2: ld returned 1 exit status
4109configure:21348: $? = 1
4110configure: failed program was:
4111| /* confdefs.h */
4112| #define PACKAGE_NAME "flac"
4113| #define PACKAGE_TARNAME "flac"
4114| #define PACKAGE_VERSION "1.3.3"
4115| #define PACKAGE_STRING "flac 1.3.3"
4116| #define PACKAGE_BUGREPORT "flac-dev@xiph.org"
4117| #define PACKAGE_URL "https://www.xiph.org/flac/"
4118| #define PACKAGE "flac"
4119| #define VERSION "1.3.3"
4120| #define NDEBUG /**/
4121| #define HAVE_STDIO_H 1
4122| #define HAVE_STDLIB_H 1
4123| #define HAVE_STRING_H 1
4124| #define HAVE_INTTYPES_H 1
4125| #define HAVE_STDINT_H 1
4126| #define HAVE_STRINGS_H 1
4127| #define HAVE_SYS_STAT_H 1
4128| #define HAVE_SYS_TYPES_H 1
4129| #define HAVE_UNISTD_H 1
4130| #define HAVE_WCHAR_H 1
4131| #define STDC_HEADERS 1
4132| #define _ALL_SOURCE 1
4133| #define _DARWIN_C_SOURCE 1
4134| #define _GNU_SOURCE 1
4135| #define _HPUX_ALT_XOPEN_SOCKET_API 1
4136| #define _NETBSD_SOURCE 1
4137| #define _OPENBSD_SOURCE 1
4138| #define _POSIX_PTHREAD_SEMANTICS 1
4139| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
4140| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
4141| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
4142| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
4143| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
4144| #define __STDC_WANT_LIB_EXT2__ 1
4145| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
4146| #define _TANDEM_SOURCE 1
4147| #define __EXTENSIONS__ 1
4148| #define HAVE_DLFCN_H 1
4149| #define LT_OBJDIR ".libs/"
4150| #define HAVE_FSEEKO 1
4151| #define SIZEOF_OFF_T 8
4152| #define SIZEOF_VOIDP 4
4153| #define HAVE_LROUND 1
4154| #define __STDC_NO_VLA__ 1
4155| #define __STDC_NO_VLA__ 1
4156| #define HAVE_TYPEOF 1
4157| #define HAVE_STDINT_H 1
4158| #define HAVE_INTTYPES_H 1
4159| #define HAVE_SYS_PARAM_H 1
4160| #define HAVE_SYS_IOCTL_H 1
4161| #define HAVE_TERMIOS_H 1
4162| #define HAVE_BSWAP32 1
4163| #define HAVE_BSWAP16 0
4164| #define CPU_IS_BIG_ENDIAN 1
4165| #define CPU_IS_LITTLE_ENDIAN 0
4166| #define WORDS_BIGENDIAN 1
4167| #define HAVE_GETOPT_LONG 1
4168| #define SIZEOF_VOIDP 4
4169| #define FLAC__CPU_IA32 1
4170| #define FLAC__HAS_X86INTRIN 0
4171| #define FLAC__SYS_DARWIN 1
4172| #define FLAC__ALIGN_MALLOC_DATA 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:21373: /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:21373: $? = 0
4196configure:21384: result: yes
4197configure:21387: checking for working iconv
4198configure:21509: /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:21509: $? = 0
4202configure:21509: ./conftest
4203configure:21509: $? = 0
4204configure:21522: result: yes
4205configure:21537: checking how to link with libiconv
4206configure:21539: result: -liconv
4207configure:21550: checking for iconv declaration
4208configure:21580: /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:21580: $? = 0
4212configure:21591: result:
4213         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
4214configure:21602: checking for nl_langinfo and CODESET
4215configure:21619: /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:21619: $? = 0
4219configure:21629: result: yes
4220configure:21642: checking for docbook-to-man
4221configure:21677: result: no
4222configure:21642: checking for docbook2man
4223configure:21677: result: no
4224configure:21699: checking for clock_gettime in -lrt
4225configure:21722: /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:21722: $? = 1
4231configure: failed program was:
4232| /* confdefs.h */
4233| #define PACKAGE_NAME "flac"
4234| #define PACKAGE_TARNAME "flac"
4235| #define PACKAGE_VERSION "1.3.3"
4236| #define PACKAGE_STRING "flac 1.3.3"
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.3"
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_IA32 1
4291| #define FLAC__HAS_X86INTRIN 0
4292| #define FLAC__SYS_DARWIN 1
4293| #define FLAC__ALIGN_MALLOC_DATA 1
4294| #define FLAC__USE_ALTIVEC 1
4295| #define FLAC__USE_VSX 1
4296| #define FLAC__USE_AVX 1
4297| #define ENABLE_64_BIT_WORDS 0
4298| #define FLAC__HAS_OGG 1
4299| #define HAVE_ICONV 1
4300| #define ICONV_CONST
4301| #define HAVE_LANGINFO_CODESET 1
4302| /* end confdefs.h.  */
4303|
4304| /* Override any GCC internal prototype to avoid an error.
4305|    Use char because int might match the return type of a GCC
4306|    builtin and then its argument prototype would still apply.  */
4307| char clock_gettime ();
4308| int
4309| main (void)
4310| {
4311| return clock_gettime ();
4312|   ;
4313|   return 0;
4314| }
4315configure:21732: result: no
4316configure:21749: checking for nasm
4317configure:21770: found /usr/bin/nasm
4318configure:21781: result: nasm
4319configure:21816: checking for version of /usr/bin/gcc-4.2
4320configure:21819: result: 4.2.1
4321configure:21836: checking if /usr/bin/gcc-4.2 accepts -Wdeclaration-after-statement
4322configure:21853: /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
4323conftest.c:45:1: warning: "__STDC_NO_VLA__" redefined
4324conftest.c:44:1: warning: this is the location of the previous definition
4325configure:21853: $? = 0
4326configure:21855: result: yes
4327configure:21869: checking whether to add -D_FORTIFY_SOURCE=2 to CPPFLAGS
4328configure:21885: /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
4329conftest.c:45:1: warning: "__STDC_NO_VLA__" redefined
4330conftest.c:44:1: warning: this is the location of the previous definition
4331conftest.c:75: warning: function declaration isn't a prototype
4332configure:21885: $? = 0
4333configure:21888: result: yes
4334configure:21908: checking if /usr/bin/g++-4.2 accepts -Weffc++
4335configure:21926: /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
4336conftest.cpp:45:1: warning: "__STDC_NO_VLA__" redefined
4337conftest.cpp:44:1: warning: this is the location of the previous definition
4338configure:21926: $? = 0
4339configure:21928: result: yes
4340configure:21960: checking if /usr/bin/gcc-4.2 accepts -fgnu89-inline
4341configure:21977: /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
4342conftest.c:45:1: warning: "__STDC_NO_VLA__" redefined
4343conftest.c:44:1: warning: this is the location of the previous definition
4344configure:21977: $? = 0
4345configure:21979: result: yes
4346configure:22028: checking if /usr/bin/gcc-4.2 accepts -msse2
4347configure:22045: /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
4348conftest.c:45:1: warning: "__STDC_NO_VLA__" redefined
4349conftest.c:44:1: warning: this is the location of the previous definition
4350configure:22045: $? = 0
4351configure:22047: result: yes
4352configure:22369: checking that generated files are newer than configure
4353configure:22375: result: done
4354configure:22491: creating ./config.status
4355
4356## ---------------------- ##
4357## Running config.status. ##
4358## ---------------------- ##
4359
4360This file was extended by flac config.status 1.3.3, which was
4361generated by GNU Autoconf 2.71.  Invocation command line was
4362
4363  CONFIG_FILES    =
4364  CONFIG_HEADERS  =
4365  CONFIG_LINKS    =
4366  CONFIG_COMMANDS =
4367  $ ./config.status
4368
4369on Sergey-Fedorovs-Mac-mini.local
4370
4371config.status:1339: creating Makefile
4372config.status:1339: creating src/Makefile
4373config.status:1339: creating src/libFLAC/Makefile
4374config.status:1339: creating src/libFLAC/flac.pc
4375config.status:1339: creating src/libFLAC/ia32/Makefile
4376config.status:1339: creating src/libFLAC/include/Makefile
4377config.status:1339: creating src/libFLAC/include/private/Makefile
4378config.status:1339: creating src/libFLAC/include/protected/Makefile
4379config.status:1339: creating src/libFLAC++/Makefile
4380config.status:1339: creating src/libFLAC++/flac++.pc
4381config.status:1339: creating src/flac/Makefile
4382config.status:1339: creating src/metaflac/Makefile
4383config.status:1339: creating src/plugin_common/Makefile
4384config.status:1339: creating src/plugin_xmms/Makefile
4385config.status:1339: creating src/share/Makefile
4386config.status:1339: creating src/test_grabbag/Makefile
4387config.status:1339: creating src/test_grabbag/cuesheet/Makefile
4388config.status:1339: creating src/test_grabbag/picture/Makefile
4389config.status:1339: creating src/test_libs_common/Makefile
4390config.status:1339: creating src/test_libFLAC/Makefile
4391config.status:1339: creating src/test_libFLAC++/Makefile
4392config.status:1339: creating src/test_seeking/Makefile
4393config.status:1339: creating src/test_streams/Makefile
4394config.status:1339: creating src/utils/Makefile
4395config.status:1339: creating src/utils/flacdiff/Makefile
4396config.status:1339: creating src/utils/flactimer/Makefile
4397config.status:1339: creating examples/Makefile
4398config.status:1339: creating examples/c/Makefile
4399config.status:1339: creating examples/c/decode/Makefile
4400config.status:1339: creating examples/c/decode/file/Makefile
4401config.status:1339: creating examples/c/encode/Makefile
4402config.status:1339: creating examples/c/encode/file/Makefile
4403config.status:1339: creating examples/cpp/Makefile
4404config.status:1339: creating examples/cpp/decode/Makefile
4405config.status:1339: creating examples/cpp/decode/file/Makefile
4406config.status:1339: creating examples/cpp/encode/Makefile
4407config.status:1339: creating examples/cpp/encode/file/Makefile
4408config.status:1339: creating include/Makefile
4409config.status:1339: creating include/FLAC/Makefile
4410config.status:1339: creating include/FLAC++/Makefile
4411config.status:1339: creating include/share/Makefile
4412config.status:1339: creating include/share/grabbag/Makefile
4413config.status:1339: creating include/test_libs_common/Makefile
4414config.status:1339: creating doc/Doxyfile
4415config.status:1339: creating doc/Makefile
4416config.status:1339: creating doc/html/Makefile
4417config.status:1339: creating doc/html/images/Makefile
4418config.status:1339: creating m4/Makefile
4419config.status:1339: creating man/Makefile
4420config.status:1339: creating test/common.sh
4421config.status:1339: creating test/Makefile
4422config.status:1339: creating test/cuesheets/Makefile
4423config.status:1339: creating test/flac-to-flac-metadata-test-files/Makefile
4424config.status:1339: creating test/metaflac-test-files/Makefile
4425config.status:1339: creating test/pictures/Makefile
4426config.status:1339: creating build/Makefile
4427config.status:1339: creating objs/Makefile
4428config.status:1339: creating objs/debug/Makefile
4429config.status:1339: creating objs/debug/bin/Makefile
4430config.status:1339: creating objs/debug/lib/Makefile
4431config.status:1339: creating objs/release/Makefile
4432config.status:1339: creating objs/release/bin/Makefile
4433config.status:1339: creating objs/release/lib/Makefile
4434config.status:1339: creating microbench/Makefile
4435config.status:1339: creating config.h
4436config.status:1568: executing depfiles commands
4437config.status:1645: cd src/libFLAC       && sed -e '/# am--include-marker/d' Makefile         | make -f - am--depfiles
4438config.status:1650: $? = 0
4439config.status:1645: cd src/libFLAC++       && sed -e '/# am--include-marker/d' Makefile         | make -f - am--depfiles
4440config.status:1650: $? = 0
4441config.status:1645: cd src/flac       && sed -e '/# am--include-marker/d' Makefile         | make -f - am--depfiles
4442config.status:1650: $? = 0
4443config.status:1645: cd src/metaflac       && sed -e '/# am--include-marker/d' Makefile         | make -f - am--depfiles
4444config.status:1650: $? = 0
4445config.status:1645: cd src/plugin_common       && sed -e '/# am--include-marker/d' Makefile         | make -f - am--depfiles
4446config.status:1650: $? = 0
4447config.status:1645: cd src/plugin_xmms       && sed -e '/# am--include-marker/d' Makefile         | make -f - am--depfiles
4448config.status:1650: $? = 0
4449config.status:1645: cd src/share       && sed -e '/# am--include-marker/d' Makefile         | make -f - am--depfiles
4450config.status:1650: $? = 0
4451config.status:1645: cd src/test_grabbag/cuesheet       && sed -e '/# am--include-marker/d' Makefile         | make -f - am--depfiles
4452config.status:1650: $? = 0
4453config.status:1645: cd src/test_grabbag/picture       && sed -e '/# am--include-marker/d' Makefile         | make -f - am--depfiles
4454config.status:1650: $? = 0
4455config.status:1645: cd src/test_libs_common       && sed -e '/# am--include-marker/d' Makefile         | make -f - am--depfiles
4456config.status:1650: $? = 0
4457config.status:1645: cd src/test_libFLAC       && sed -e '/# am--include-marker/d' Makefile         | make -f - am--depfiles
4458config.status:1650: $? = 0
4459config.status:1645: cd src/test_libFLAC++       && sed -e '/# am--include-marker/d' Makefile         | make -f - am--depfiles
4460config.status:1650: $? = 0
4461config.status:1645: cd src/test_seeking       && sed -e '/# am--include-marker/d' Makefile         | make -f - am--depfiles
4462config.status:1650: $? = 0
4463config.status:1645: cd src/test_streams       && sed -e '/# am--include-marker/d' Makefile         | make -f - am--depfiles
4464config.status:1650: $? = 0
4465config.status:1645: cd examples/c/decode/file       && sed -e '/# am--include-marker/d' Makefile         | make -f - am--depfiles
4466config.status:1650: $? = 0
4467config.status:1645: cd examples/c/encode/file       && sed -e '/# am--include-marker/d' Makefile         | make -f - am--depfiles
4468config.status:1650: $? = 0
4469config.status:1645: cd examples/cpp/decode/file       && sed -e '/# am--include-marker/d' Makefile         | make -f - am--depfiles
4470config.status:1650: $? = 0
4471config.status:1645: cd examples/cpp/encode/file       && sed -e '/# am--include-marker/d' Makefile         | make -f - am--depfiles
4472config.status:1650: $? = 0
4473config.status:1645: cd microbench       && sed -e '/# am--include-marker/d' Makefile         | make -f - am--depfiles
4474config.status:1650: $? = 0
4475config.status:1568: executing libtool commands
4476configure:24968: result:
4477-=-=-=-=-=-=-=-=-=-= Configuration Complete =-=-=-=-=-=-=-=-=-=-
4478
4479  Configuration summary :
4480
4481    FLAC version : ........................ 1.3.3
4482
4483    Host CPU : ............................ x86_64
4484    Host Vendor : ......................... apple
4485    Host OS : ............................. darwin10.8.0
4486
4487
4488## ---------------- ##
4489## Cache variables. ##
4490## ---------------- ##
4491
4492ac_cv_build=x86_64-apple-darwin10.8.0
4493ac_cv_c_big_endian=1
4494ac_cv_c_bigendian=yes
4495ac_cv_c_bswap16=no
4496ac_cv_c_bswap32=yes
4497ac_cv_c_compiler_gnu=yes
4498ac_cv_c_inline=inline
4499ac_cv_c_little_endian=0
4500ac_cv_c_typeof=typeof
4501ac_cv_c_vararrays=no
4502ac_cv_cxx_compiler_gnu=yes
4503ac_cv_env_CCASFLAGS_set=
4504ac_cv_env_CCASFLAGS_value=
4505ac_cv_env_CCAS_set=
4506ac_cv_env_CCAS_value=
4507ac_cv_env_CCC_set=
4508ac_cv_env_CCC_value=
4509ac_cv_env_CC_set=set
4510ac_cv_env_CC_value=/usr/bin/gcc-4.2
4511ac_cv_env_CFLAGS_set=set
4512ac_cv_env_CFLAGS_value='-pipe -Os -std=gnu89 -arch ppc'
4513ac_cv_env_CPPFLAGS_set=set
4514ac_cv_env_CPPFLAGS_value=-I/opt/local/include
4515ac_cv_env_CPP_set=
4516ac_cv_env_CPP_value=
4517ac_cv_env_CXXCPP_set=
4518ac_cv_env_CXXCPP_value=
4519ac_cv_env_CXXFLAGS_set=set
4520ac_cv_env_CXXFLAGS_value='-pipe -Os -arch ppc'
4521ac_cv_env_CXX_set=set
4522ac_cv_env_CXX_value=/usr/bin/g++-4.2
4523ac_cv_env_LDFLAGS_set=set
4524ac_cv_env_LDFLAGS_value='-L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc'
4525ac_cv_env_LIBS_set=
4526ac_cv_env_LIBS_value=
4527ac_cv_env_LT_SYS_LIBRARY_PATH_set=
4528ac_cv_env_LT_SYS_LIBRARY_PATH_value=
4529ac_cv_env_build_alias_set=
4530ac_cv_env_build_alias_value=
4531ac_cv_env_host_alias_set=
4532ac_cv_env_host_alias_value=
4533ac_cv_env_target_alias_set=
4534ac_cv_env_target_alias_value=
4535ac_cv_func_getopt_long=yes
4536ac_cv_header_byteswap_h=no
4537ac_cv_header_cpuid_h=no
4538ac_cv_header_dlfcn_h=yes
4539ac_cv_header_inttypes_h=yes
4540ac_cv_header_minix_config_h=no
4541ac_cv_header_stdint_h=yes
4542ac_cv_header_stdio_h=yes
4543ac_cv_header_stdlib_h=yes
4544ac_cv_header_string_h=yes
4545ac_cv_header_strings_h=yes
4546ac_cv_header_sys_ioctl_h=yes
4547ac_cv_header_sys_param_h=yes
4548ac_cv_header_sys_stat_h=yes
4549ac_cv_header_sys_types_h=yes
4550ac_cv_header_termios_h=yes
4551ac_cv_header_unistd_h=yes
4552ac_cv_header_wchar_h=yes
4553ac_cv_header_x86intrin_h=no
4554ac_cv_host=x86_64-apple-darwin10.8.0
4555ac_cv_lib_rt_clock_gettime=no
4556ac_cv_objext=o
4557ac_cv_path_EGREP='/opt/local/bin/ggrep -E'
4558ac_cv_path_FGREP='/opt/local/bin/ggrep -F'
4559ac_cv_path_GREP=/opt/local/bin/ggrep
4560ac_cv_path_SED=/opt/local/bin/gsed
4561ac_cv_path_lt_DD=/bin/dd
4562ac_cv_path_mkdir=/opt/local/bin/gmkdir
4563ac_cv_prog_AWK=gawk
4564ac_cv_prog_CPP='/usr/bin/gcc-4.2 -E'
4565ac_cv_prog_CXXCPP='/usr/bin/g++-4.2 -E'
4566ac_cv_prog_DOXYGEN=doxygen
4567ac_cv_prog_NASM=nasm
4568ac_cv_prog_ac_ct_AR=ar
4569ac_cv_prog_ac_ct_CC=/usr/bin/gcc-4.2
4570ac_cv_prog_ac_ct_DSYMUTIL=dsymutil
4571ac_cv_prog_ac_ct_LIPO=lipo
4572ac_cv_prog_ac_ct_NMEDIT=nmedit
4573ac_cv_prog_ac_ct_OTOOL=otool
4574ac_cv_prog_ac_ct_RANLIB=ranlib
4575ac_cv_prog_ac_ct_STRIP=strip
4576ac_cv_prog_cc_c11=no
4577ac_cv_prog_cc_c89=
4578ac_cv_prog_cc_c99=no
4579ac_cv_prog_cc_g=yes
4580ac_cv_prog_cc_stdc=
4581ac_cv_prog_cxx_11=no
4582ac_cv_prog_cxx_g=yes
4583ac_cv_prog_cxx_stdcxx=
4584ac_cv_prog_make_make_set=yes
4585ac_cv_safe_to_define___extensions__=yes
4586ac_cv_search_lround='none required'
4587ac_cv_should_define__xopen_source=no
4588ac_cv_sizeof_off_t=8
4589ac_cv_sizeof_voidp=4
4590ac_cv_sys_file_offset_bits=no
4591ac_cv_sys_largefile_CC=no
4592ac_cv_sys_largefile_source=no
4593ac_cv_type_socklen_t=no
4594acl_cv_path_LD=/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld
4595acl_cv_prog_gnu_ld=no
4596acl_cv_rpath=done
4597am_cv_CCAS_dependencies_compiler_type=gcc3
4598am_cv_CC_dependencies_compiler_type=gcc3
4599am_cv_CXX_dependencies_compiler_type=gcc3
4600am_cv_ar_interface=ar
4601am_cv_func_iconv=yes
4602am_cv_func_iconv_works=yes
4603am_cv_langinfo_codeset=yes
4604am_cv_lib_iconv=yes
4605am_cv_make_support_nested_variables=yes
4606am_cv_prog_cc_c_o=yes
4607am_cv_prog_tar_pax=gnutar
4608am_cv_proto_iconv='extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);'
4609am_cv_proto_iconv_arg1=
4610lt_cv_apple_cc_single_mod=yes
4611lt_cv_ar_at_file=no
4612lt_cv_deplibs_check_method=pass_all
4613lt_cv_file_magic_cmd='$MAGIC_CMD'
4614lt_cv_file_magic_test_file=
4615lt_cv_ld_exported_symbols_list=yes
4616lt_cv_ld_force_load=yes
4617lt_cv_ld_reload_flag=-r
4618lt_cv_nm_interface='BSD nm'
4619lt_cv_objdir=.libs
4620lt_cv_path_LD=/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld
4621lt_cv_path_LDCXX=/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld
4622lt_cv_path_NM=/opt/local/bin/nm
4623lt_cv_path_mainfest_tool=no
4624lt_cv_prog_compiler_c_o=yes
4625lt_cv_prog_compiler_c_o_CXX=yes
4626lt_cv_prog_compiler_pic='-fno-common -DPIC'
4627lt_cv_prog_compiler_pic_CXX='-fno-common -DPIC'
4628lt_cv_prog_compiler_pic_works=yes
4629lt_cv_prog_compiler_pic_works_CXX=yes
4630lt_cv_prog_compiler_rtti_exceptions=no
4631lt_cv_prog_compiler_static_works=no
4632lt_cv_prog_compiler_static_works_CXX=no
4633lt_cv_prog_gnu_ld=no
4634lt_cv_prog_gnu_ldcxx=no
4635lt_cv_sharedlib_from_linklib_cmd='printf %s\n'
4636lt_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'\'''
4637lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \(.*\) .*$/  {"\1", (void *) 0},/p'\'' -e '\''s/^[BCDEGRST][BCDEGRST]* .* \(.*\)$/  {"\1", (void *) \&\1},/p'\'''
4638lt_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'\'''
4639lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[BCDEGRST][BCDEGRST]* .* \(.*\)$/extern char \1;/p'\'''
4640lt_cv_sys_global_symbol_to_import=
4641lt_cv_sys_max_cmd_len=196608
4642lt_cv_to_host_file_cmd=func_convert_file_noop
4643lt_cv_to_tool_file_cmd=func_convert_file_noop
4644lt_cv_truncate_bin='/bin/dd bs=4096 count=1'
4645xiph_cv_c_compiler_clang=no
4646
4647## ----------------- ##
4648## Output variables. ##
4649## ----------------- ##
4650
4651ACLOCAL='${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.3/missing'\'' aclocal-1.16'
4652AMDEPBACKSLASH='\'
4653AMDEP_FALSE='#'
4654AMDEP_TRUE=''
4655AMTAR='$${TAR-tar}'
4656AM_BACKSLASH='\'
4657AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
4658AM_DEFAULT_VERBOSITY='1'
4659AM_V='$(V)'
4660AR='ar'
4661AS='as'
4662AUTOCONF='${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.3/missing'\'' autoconf'
4663AUTOHEADER='${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.3/missing'\'' autoheader'
4664AUTOMAKE='${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.3/missing'\'' automake-1.16'
4665AWK='gawk'
4666CC='/usr/bin/gcc-4.2'
4667CCAS='/usr/bin/gcc-4.2'
4668CCASDEPMODE='depmode=gcc3'
4669CCASFLAGS='-pipe -Os -std=gnu89 -arch ppc'
4670CCDEPMODE='depmode=gcc3'
4671CFLAGS='-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'
4672CPP='/usr/bin/gcc-4.2 -E'
4673CPPFLAGS='-I/opt/local/include -D_FORTIFY_SOURCE=2 -DFLAC__USE_VISIBILITY_ATTR'
4674CSCOPE='cscope'
4675CTAGS='ctags'
4676CXX='/usr/bin/g++-4.2'
4677CXXCPP='/usr/bin/g++-4.2 -E'
4678CXXDEPMODE='depmode=gcc3'
4679CXXFLAGS='-pipe -Os -arch ppc -Wall -Wextra -Wcast-align -Wshadow -Wwrite-strings -Wctor-dtor-privacy -Wnon-virtual-dtor -Wreorder -Wsign-promo -Wundef  -Weffc++ -fvisibility=hidden'
4680CYGPATH_W='echo'
4681DEBUG_FALSE=''
4682DEBUG_TRUE='#'
4683DEFS='-DHAVE_CONFIG_H'
4684DEPDIR='.deps'
4685DLLTOOL='false'
4686DOCBOOK_TO_MAN=''
4687DOXYGEN='doxygen'
4688DSYMUTIL='dsymutil'
4689DUMPBIN=''
4690ECHO_C='\c'
4691ECHO_N=''
4692ECHO_T=''
4693EGREP='/opt/local/bin/ggrep -E'
4694ENABLE_64_BIT_WORDS=''
4695ETAGS='etags'
4696EXAMPLES_FALSE='#'
4697EXAMPLES_TRUE=''
4698EXEEXT=''
4699FGREP='/opt/local/bin/ggrep -F'
4700FLAC__CPU_X86_64_FALSE=''
4701FLAC__CPU_X86_64_TRUE='#'
4702FLAC__HAS_OGG='1'
4703FLAC__TEST_LEVEL='1'
4704FLAC__TEST_WITH_VALGRIND='no'
4705FLaC__CPU_IA32_FALSE='#'
4706FLaC__CPU_IA32_TRUE=''
4707FLaC__CPU_PPC64_FALSE=''
4708FLaC__CPU_PPC64_TRUE='#'
4709FLaC__CPU_PPC_FALSE=''
4710FLaC__CPU_PPC_TRUE='#'
4711FLaC__CPU_SPARC_FALSE=''
4712FLaC__CPU_SPARC_TRUE='#'
4713FLaC__HAS_DOCBOOK_TO_MAN_FALSE=''
4714FLaC__HAS_DOCBOOK_TO_MAN_TRUE='#'
4715FLaC__HAS_DOXYGEN_FALSE='#'
4716FLaC__HAS_DOXYGEN_TRUE=''
4717FLaC__HAS_NASM_FALSE='#'
4718FLaC__HAS_NASM_TRUE=''
4719FLaC__HAS_OGG_FALSE='#'
4720FLaC__HAS_OGG_TRUE=''
4721FLaC__HAS_XMMS_FALSE=''
4722FLaC__HAS_XMMS_TRUE='#'
4723FLaC__INSTALL_XMMS_PLUGIN_LOCALLY_FALSE=''
4724FLaC__INSTALL_XMMS_PLUGIN_LOCALLY_TRUE='#'
4725FLaC__NO_ASM_FALSE=''
4726FLaC__NO_ASM_TRUE='#'
4727FLaC__SYS_DARWIN_FALSE='#'
4728FLaC__SYS_DARWIN_TRUE=''
4729FLaC__SYS_LINUX_FALSE=''
4730FLaC__SYS_LINUX_TRUE='#'
4731FLaC__USE_ALTIVEC_FALSE='#'
4732FLaC__USE_ALTIVEC_TRUE=''
4733FLaC__USE_AVX_FALSE='#'
4734FLaC__USE_AVX_TRUE=''
4735FLaC__USE_VSX_FALSE='#'
4736FLaC__USE_VSX_TRUE=''
4737FLaC__WITH_CPPLIBS_FALSE='#'
4738FLaC__WITH_CPPLIBS_TRUE=''
4739GCC_MAJOR_VERSION='4'
4740GCC_MINOR_VERSION='2'
4741GCC_VERSION='4.2.1'
4742GREP='/opt/local/bin/ggrep'
4743INSTALL_DATA='${INSTALL} -m 644'
4744INSTALL_PROGRAM='${INSTALL}'
4745INSTALL_SCRIPT='${INSTALL}'
4746INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
4747LD='/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld'
4748LDFLAGS='-L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc'
4749LIBICONV='-liconv'
4750LIBOBJS=''
4751LIBS=''
4752LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4753LIB_CLOCK_GETTIME=''
4754LIPO='lipo'
4755LN_S='ln -s'
4756LTLIBICONV='-liconv'
4757LTLIBOBJS=''
4758LT_SYS_LIBRARY_PATH=''
4759MAKEINFO='${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.3/missing'\'' makeinfo'
4760MANIFEST_TOOL=':'
4761MKDIR_P='/opt/local/bin/gmkdir -p'
4762NASM='nasm'
4763NM='/opt/local/bin/nm'
4764NMEDIT='nmedit'
4765OBJDUMP='false'
4766OBJEXT='o'
4767OBJ_FORMAT='macho'
4768OGG_CFLAGS='-I/opt/local/include'
4769OGG_LIBS='-L/opt/local/lib -logg'
4770OGG_PACKAGE='ogg'
4771OS_IS_WINDOWS_FALSE=''
4772OS_IS_WINDOWS_TRUE='#'
4773OTOOL64=':'
4774OTOOL='otool'
4775PACKAGE='flac'
4776PACKAGE_BUGREPORT='flac-dev@xiph.org'
4777PACKAGE_NAME='flac'
4778PACKAGE_STRING='flac 1.3.3'
4779PACKAGE_TARNAME='flac'
4780PACKAGE_URL='https://www.xiph.org/flac/'
4781PACKAGE_VERSION='1.3.3'
4782PATH_SEPARATOR=':'
4783RANLIB='ranlib'
4784SED='/opt/local/bin/gsed'
4785SET_MAKE=''
4786SHELL='/bin/sh'
4787STRIP='strip'
4788VERSION='1.3.3'
4789XMMS_CFLAGS=''
4790XMMS_CONFIG=''
4791XMMS_DATA_DIR=''
4792XMMS_EFFECT_PLUGIN_DIR=''
4793XMMS_GENERAL_PLUGIN_DIR=''
4794XMMS_INPUT_PLUGIN_DIR=''
4795XMMS_LIBS=''
4796XMMS_OUTPUT_PLUGIN_DIR=''
4797XMMS_PLUGIN_DIR=''
4798XMMS_VERSION=''
4799XMMS_VISUALIZATION_PLUGIN_DIR=''
4800ac_ct_AR='ar'
4801ac_ct_CC='/usr/bin/gcc-4.2'
4802ac_ct_CXX=''
4803ac_ct_DUMPBIN=''
4804am__EXEEXT_FALSE=''
4805am__EXEEXT_TRUE='#'
4806am__fastdepCCAS_FALSE='#'
4807am__fastdepCCAS_TRUE=''
4808am__fastdepCC_FALSE='#'
4809am__fastdepCC_TRUE=''
4810am__fastdepCXX_FALSE='#'
4811am__fastdepCXX_TRUE=''
4812am__include='include'
4813am__isrc=''
4814am__leading_dot='.'
4815am__nodep='_no'
4816am__quote=''
4817am__tar='tar --format=posix -chf - "$$tardir"'
4818am__untar='tar -xf -'
4819bindir='${exec_prefix}/bin'
4820build='x86_64-apple-darwin10.8.0'
4821build_alias=''
4822build_cpu='x86_64'
4823build_os='darwin10.8.0'
4824build_vendor='apple'
4825datadir='${datarootdir}'
4826datarootdir='${prefix}/share'
4827docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
4828dvidir='${docdir}'
4829exec_prefix='${prefix}'
4830host='x86_64-apple-darwin10.8.0'
4831host_alias=''
4832host_cpu='x86_64'
4833host_os='darwin10.8.0'
4834host_vendor='apple'
4835htmldir='${docdir}'
4836includedir='${prefix}/include'
4837infodir='${datarootdir}/info'
4838install_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.3/install-sh'
4839libdir='${exec_prefix}/lib'
4840libexecdir='${exec_prefix}/libexec'
4841localedir='${datarootdir}/locale'
4842localstatedir='${prefix}/var'
4843mandir='${datarootdir}/man'
4844mkdir_p='$(MKDIR_P)'
4845oldincludedir='/usr/include'
4846pdfdir='${docdir}'
4847prefix='/opt/local'
4848program_transform_name='s,x,x,'
4849psdir='${docdir}'
4850runstatedir='${localstatedir}/run'
4851sbindir='${exec_prefix}/sbin'
4852sharedstatedir='${prefix}/com'
4853sysconfdir='${prefix}/etc'
4854target_alias=''
4855
4856## ----------- ##
4857## confdefs.h. ##
4858## ----------- ##
4859
4860/* confdefs.h */
4861#define PACKAGE_NAME "flac"
4862#define PACKAGE_TARNAME "flac"
4863#define PACKAGE_VERSION "1.3.3"
4864#define PACKAGE_STRING "flac 1.3.3"
4865#define PACKAGE_BUGREPORT "flac-dev@xiph.org"
4866#define PACKAGE_URL "https://www.xiph.org/flac/"
4867#define PACKAGE "flac"
4868#define VERSION "1.3.3"
4869#define NDEBUG /**/
4870#define HAVE_STDIO_H 1
4871#define HAVE_STDLIB_H 1
4872#define HAVE_STRING_H 1
4873#define HAVE_INTTYPES_H 1
4874#define HAVE_STDINT_H 1
4875#define HAVE_STRINGS_H 1
4876#define HAVE_SYS_STAT_H 1
4877#define HAVE_SYS_TYPES_H 1
4878#define HAVE_UNISTD_H 1
4879#define HAVE_WCHAR_H 1
4880#define STDC_HEADERS 1
4881#define _ALL_SOURCE 1
4882#define _DARWIN_C_SOURCE 1
4883#define _GNU_SOURCE 1
4884#define _HPUX_ALT_XOPEN_SOCKET_API 1
4885#define _NETBSD_SOURCE 1
4886#define _OPENBSD_SOURCE 1
4887#define _POSIX_PTHREAD_SEMANTICS 1
4888#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
4889#define __STDC_WANT_IEC_60559_BFP_EXT__ 1
4890#define __STDC_WANT_IEC_60559_DFP_EXT__ 1
4891#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
4892#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
4893#define __STDC_WANT_LIB_EXT2__ 1
4894#define __STDC_WANT_MATH_SPEC_FUNCS__ 1
4895#define _TANDEM_SOURCE 1
4896#define __EXTENSIONS__ 1
4897#define HAVE_DLFCN_H 1
4898#define LT_OBJDIR ".libs/"
4899#define HAVE_FSEEKO 1
4900#define SIZEOF_OFF_T 8
4901#define SIZEOF_VOIDP 4
4902#define HAVE_LROUND 1
4903#define __STDC_NO_VLA__ 1
4904#define __STDC_NO_VLA__ 1
4905#define HAVE_TYPEOF 1
4906#define HAVE_STDINT_H 1
4907#define HAVE_INTTYPES_H 1
4908#define HAVE_SYS_PARAM_H 1
4909#define HAVE_SYS_IOCTL_H 1
4910#define HAVE_TERMIOS_H 1
4911#define HAVE_BSWAP32 1
4912#define HAVE_BSWAP16 0
4913#define CPU_IS_BIG_ENDIAN 1
4914#define CPU_IS_LITTLE_ENDIAN 0
4915#define WORDS_BIGENDIAN 1
4916#define HAVE_GETOPT_LONG 1
4917#define SIZEOF_VOIDP 4
4918#define FLAC__CPU_IA32 1
4919#define FLAC__HAS_X86INTRIN 0
4920#define FLAC__SYS_DARWIN 1
4921#define FLAC__ALIGN_MALLOC_DATA 1
4922#define FLAC__USE_ALTIVEC 1
4923#define FLAC__USE_VSX 1
4924#define FLAC__USE_AVX 1
4925#define ENABLE_64_BIT_WORDS 0
4926#define FLAC__HAS_OGG 1
4927#define HAVE_ICONV 1
4928#define ICONV_CONST
4929#define HAVE_LANGINFO_CODESET 1
4930#define FLAC__HAS_NASM 1
4931
4932configure: exit 0