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