Ticket #8784: configure.log

File configure.log, 147.2 KB (added by roberto@…, 18 years ago)

configure.log of the failed build

Line 
1============ Checking for cc version ============
2Result is: 3.3, ok
3##########################################
4
5============ Checking for host cc ============
6Result is: cc
7##########################################
8
9============ Checking for cross compilation ============
10
11int main() { return 0; }
12
13cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c
14
15ldd /tmp/mplayer-conf-23916-23382.o
16/tmp/mplayer-conf-23916-23382.o:
17        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 71.1.4)
18
19Result is: no
20##########################################
21
22============ Checking for CPU type ============
23Result is: 7450 altivec
24##########################################
25
26============ Checking for GCC & CPU optimization abilities ============
27Result is: 7450
28##########################################
29
30============ Checking for assembler support of -pipe option ============
31
32int main(void) { return 0; }
33
34cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c -pipe
35
36ldd /tmp/mplayer-conf-23916-23382.o
37/tmp/mplayer-conf-23916-23382.o:
38        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 71.1.4)
39
40Result is: yes
41##########################################
42
43============ Checking for GCC altivec support ============
44
45int main() {
46    return 0;
47}
48
49cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c -faltivec -D__APPLE_ALTIVEC__
50
51ldd /tmp/mplayer-conf-23916-23382.o
52/tmp/mplayer-conf-23916-23382.o:
53        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 71.1.4)
54
55Result is: Darwin-style (-faltivec -D__APPLE_ALTIVEC__)
56##########################################
57
58============ Checking for altivec.h ============
59
60#include <altivec.h>
61int main(void) { return 0; }
62
63cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c -faltivec -D__APPLE_ALTIVEC__
64/tmp/mplayer-conf-1167-23382.c:1:21: altivec.h: No such file or directory
65
66ldd /tmp/mplayer-conf-23916-23382.o
67otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
68
69Result is: no
70##########################################
71
72============ Checking for mplayer binary name ============
73Result is: mplayer
74##########################################
75
76============ Checking for extra headers ============
77Result is: -I/opt/local/include
78##########################################
79
80============ Checking for extra libs ============
81Result is: -L/opt/local/lib
82##########################################
83
84============ Checking for -lposix ============
85
86int main(void) { return 0; }
87
88cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c -lposix
89ld: can't locate file for: -lposix
90
91ldd /tmp/mplayer-conf-23916-23382.o
92otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
93
94Result is: no
95##########################################
96
97============ Checking for -lm ============
98
99int main(void) { return 0; }
100
101cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c -lm
102
103ldd /tmp/mplayer-conf-23916-23382.o
104/tmp/mplayer-conf-23916-23382.o:
105        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 71.1.4)
106
107Result is: yes
108##########################################
109
110============ Checking for langinfo ============
111
112#include <langinfo.h>
113int main(void) { nl_langinfo(CODESET); return 0; }
114
115cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c
116
117ldd /tmp/mplayer-conf-23916-23382.o
118/tmp/mplayer-conf-23916-23382.o:
119        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 71.1.4)
120
121Result is: yes
122##########################################
123
124============ Checking for language ============
125Result is: using en (man pages:  en)
126##########################################
127
128============ Checking for enable sighandler ============
129Result is: yes
130##########################################
131
132============ Checking for runtime cpudetection ============
133Result is: no
134##########################################
135
136============ Checking for restrict keyword ============
137
138void foo(char * restrict p); int main(){}
139
140cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c
141/tmp/mplayer-conf-1167-23382.c:1: error: parse error before "p"
142
143ldd /tmp/mplayer-conf-23916-23382.o
144otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
145
146
147void foo(char * __restrict p); int main(){}
148
149cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c
150
151ldd /tmp/mplayer-conf-23916-23382.o
152/tmp/mplayer-conf-23916-23382.o:
153        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 71.1.4)
154
155Result is: __restrict
156##########################################
157
158============ Checking for __builtin_expect ============
159
160int foo (int a) {
161    a = __builtin_expect (a, 10);
162    return a == 10 ? 0 : 1;
163}
164int main() { return foo(10) && foo(0); }
165
166cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c
167
168ldd /tmp/mplayer-conf-23916-23382.o
169/tmp/mplayer-conf-23916-23382.o:
170        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 71.1.4)
171
172Result is: yes
173##########################################
174
175============ Checking for kstat ============
176
177#include <kstat.h>
178int main(void) { (void) kstat_open(); (void) kstat_close(0); return 0; }
179
180cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c -lkstat
181/tmp/mplayer-conf-1167-23382.c:1:19: kstat.h: No such file or directory
182
183ldd /tmp/mplayer-conf-23916-23382.o
184otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
185
186Result is: no
187##########################################
188
189============ Checking for posix4 ============
190
191#include <time.h>
192int main(void) { (void) nanosleep(0, 0); return 0; }
193
194cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c -lposix4
195ld: can't locate file for: -lposix4
196
197ldd /tmp/mplayer-conf-23916-23382.o
198otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
199
200Result is: no
201##########################################
202
203============ Checking for lrintf ============
204
205#include <math.h>
206int main(void) { long (*foo)(float); foo = lrintf; (void)(*foo)(0.0); return 0; }
207
208cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c -D_GNU_SOURCE -lm
209
210ldd /tmp/mplayer-conf-23916-23382.o
211/tmp/mplayer-conf-23916-23382.o:
212        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 71.1.4)
213
214Result is: yes
215##########################################
216
217============ Checking for round ============
218
219#include <math.h>
220int main(void) { (void) round(0.0); return 0; }
221
222cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c -lm
223
224ldd /tmp/mplayer-conf-23916-23382.o
225/tmp/mplayer-conf-23916-23382.o:
226        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 71.1.4)
227
228Result is: yes
229##########################################
230
231============ Checking for nanosleep ============
232
233#include <time.h>
234int main(void) { (void) nanosleep(0, 0); return 0; }
235
236cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c
237
238ldd /tmp/mplayer-conf-23916-23382.o
239/tmp/mplayer-conf-23916-23382.o:
240        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 71.1.4)
241
242Result is: yes
243##########################################
244
245============ Checking for socklib ============
246
247#include <netdb.h>
248#include <sys/socket.h>
249int main(void) { (void) gethostbyname(0); (void) socket(AF_INET, SOCK_STREAM, 0); return 0; }
250
251cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c -lsocket -lbind
252ld: can't locate file for: -lsocket
253
254ldd /tmp/mplayer-conf-23916-23382.o
255otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
256
257
258#include <netdb.h>
259#include <sys/socket.h>
260int main(void) { (void) gethostbyname(0); (void) socket(AF_INET, SOCK_STREAM, 0); return 0; }
261
262cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c -lsocket -ldnet
263ld: can't locate file for: -lsocket
264
265ldd /tmp/mplayer-conf-23916-23382.o
266otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
267
268
269#include <netdb.h>
270#include <sys/socket.h>
271int main(void) { (void) gethostbyname(0); (void) socket(AF_INET, SOCK_STREAM, 0); return 0; }
272
273cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c -lsocket -lnsl
274ld: can't locate file for: -lsocket
275
276ldd /tmp/mplayer-conf-23916-23382.o
277otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
278
279
280#include <netdb.h>
281#include <sys/socket.h>
282int main(void) { (void) gethostbyname(0); (void) socket(AF_INET, SOCK_STREAM, 0); return 0; }
283
284cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c -lnsl
285ld: can't locate file for: -lnsl
286
287ldd /tmp/mplayer-conf-23916-23382.o
288otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
289
290
291#include <netdb.h>
292#include <sys/socket.h>
293int main(void) { (void) gethostbyname(0); (void) socket(AF_INET, SOCK_STREAM, 0); return 0; }
294
295cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c -lsocket
296ld: can't locate file for: -lsocket
297
298ldd /tmp/mplayer-conf-23916-23382.o
299otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
300
301
302#include <winsock2.h>
303int main(void) { (void) gethostbyname(0); return 0; }
304
305cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c -lws2_32
306/tmp/mplayer-conf-1167-23382.c:1:22: winsock2.h: No such file or directory
307
308ldd /tmp/mplayer-conf-23916-23382.o
309otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
310
311Result is: no
312##########################################
313
314============ Checking for inet_pton() ============
315
316#include <sys/types.h>
317#include <sys/socket.h>
318#include <arpa/inet.h>
319int main(void) { (void) inet_pton(0, 0, 0); return 0; }
320
321cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c
322
323ldd /tmp/mplayer-conf-23916-23382.o
324/tmp/mplayer-conf-23916-23382.o:
325        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 71.1.4)
326
327Result is: yes (using )
328##########################################
329
330============ Checking for inttypes.h (required) ============
331
332#include <inttypes.h>
333int main(void) { return 0; }
334
335cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c
336
337ldd /tmp/mplayer-conf-23916-23382.o
338/tmp/mplayer-conf-23916-23382.o:
339        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 71.1.4)
340
341Result is: yes
342##########################################
343
344============ Checking for int_fastXY_t in inttypes.h ============
345
346#include <inttypes.h>
347int main(void) {
348volatile int_fast16_t v= 0;
349return v; }
350
351cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c
352
353ldd /tmp/mplayer-conf-23916-23382.o
354/tmp/mplayer-conf-23916-23382.o:
355        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 71.1.4)
356
357Result is: yes
358##########################################
359
360============ Checking for word size ============
361
362#include <stdio.h>
363#include <sys/types.h>
364int main(void) { printf("%d\n", sizeof(size_t)*8); return 0; }
365
366cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c
367
368ldd /tmp/mplayer-conf-23916-23382.o
369/tmp/mplayer-conf-23916-23382.o:
370        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 71.1.4)
371
372Result is: 32
373##########################################
374
375============ Checking for stddef.h ============
376
377#include <stddef.h>
378int main(void) { return 0; }
379
380cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c
381
382ldd /tmp/mplayer-conf-23916-23382.o
383/tmp/mplayer-conf-23916-23382.o:
384        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 71.1.4)
385
386Result is: yes
387##########################################
388
389============ Checking for malloc.h ============
390
391#include <malloc.h>
392int main(void) { (void) malloc(0); return 0; }
393
394cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c
395/tmp/mplayer-conf-1167-23382.c:1:20: malloc.h: No such file or directory
396
397ldd /tmp/mplayer-conf-23916-23382.o
398otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
399
400Result is: no
401##########################################
402
403============ Checking for memalign() ============
404
405#include <malloc.h>
406int main (void) { (void) memalign(64, sizeof(char)); return 0; }
407
408cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c
409/tmp/mplayer-conf-1167-23382.c:1:20: malloc.h: No such file or directory
410
411ldd /tmp/mplayer-conf-23916-23382.o
412otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
413
414Result is: no
415##########################################
416
417============ Checking for alloca.h ============
418
419#include <alloca.h>
420int main(void) { (void) alloca(0); return 0; }
421
422cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c
423
424ldd /tmp/mplayer-conf-23916-23382.o
425/tmp/mplayer-conf-23916-23382.o:
426        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 71.1.4)
427
428
429#include <alloca.h>
430int main(void) { (void) alloca(0); return 0; }
431
432cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c
433
434ldd /tmp/mplayer-conf-23916-23382.o
435/tmp/mplayer-conf-23916-23382.o:
436        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 71.1.4)
437
438Result is: yes
439##########################################
440
441============ Checking for mman.h ============
442
443#include <sys/types.h>
444#include <sys/mman.h>
445int main(void) { (void) mmap(0, 0, 0, 0, 0, 0); return 0; }
446
447cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c
448
449ldd /tmp/mplayer-conf-23916-23382.o
450/tmp/mplayer-conf-23916-23382.o:
451        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 71.1.4)
452
453Result is: yes
454##########################################
455
456
457#include <sys/types.h>
458#include <sys/mman.h>
459int main(void) { void *p = MAP_FAILED; return 0; }
460
461cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c
462
463ldd /tmp/mplayer-conf-23916-23382.o
464/tmp/mplayer-conf-23916-23382.o:
465        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 71.1.4)
466
467============ Checking for dynamic loader ============
468
469#include <dlfcn.h>
470int main(void) { dlopen(0, 0); dlclose(0); dlsym(0, 0); return 0; }
471
472cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c
473
474ldd /tmp/mplayer-conf-23916-23382.o
475/tmp/mplayer-conf-23916-23382.o:
476        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 71.1.4)
477
478Result is: yes
479##########################################
480
481============ Checking for dynamic a/v plugins support ============
482Result is: no
483##########################################
484
485============ Checking for pthread ============
486
487#include <pthread.h>
488void* func(void *arg) { return arg; }
489int main(void) { pthread_t tid; return pthread_create (&tid, 0, func, 0) == 0 ? 0 : 1; }
490
491cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c -lpthreadGC2
492ld: can't locate file for: -lpthreadGC2
493
494ldd /tmp/mplayer-conf-23916-23382.o
495otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
496
497
498#include <pthread.h>
499void* func(void *arg) { return arg; }
500int main(void) { pthread_t tid; return pthread_create (&tid, 0, func, 0) == 0 ? 0 : 1; }
501
502cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c
503
504ldd /tmp/mplayer-conf-23916-23382.o
505/tmp/mplayer-conf-23916-23382.o:
506        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 71.1.4)
507
508Result is: yes ((using ))
509##########################################
510
511============ Checking for iconv ============
512
513#include <stdio.h>
514#include <unistd.h>
515#include <iconv.h>
516#define INBUFSIZE 1024
517#define OUTBUFSIZE 4096
518
519char inbuffer[INBUFSIZE];
520char outbuffer[OUTBUFSIZE];
521
522int main(void) {
523  size_t numread;
524  iconv_t icdsc;
525  char *tocode="UTF-8";
526  char *fromcode="cp1250";
527  if ((icdsc = iconv_open (tocode, fromcode)) != (iconv_t)(-1)) {
528    while ((numread = read (0, inbuffer, INBUFSIZE))) {
529      char *iptr=inbuffer;
530      char *optr=outbuffer;
531      size_t inleft=numread;
532      size_t outleft=OUTBUFSIZE;
533      if (iconv(icdsc, (const char **)&iptr, &inleft, &optr, &outleft)
534          != (size_t)(-1)) {
535        write (1, outbuffer, OUTBUFSIZE - outleft);
536      }
537    }
538    if (iconv_close(icdsc) == -1)
539      ;
540  }
541}
542
543cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c -lm
544ld: warning prebinding disabled because of undefined symbols
545ld: Undefined symbols:
546_libiconv
547_libiconv_close
548_libiconv_open
549
550ldd /tmp/mplayer-conf-23916-23382.o
551otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
552
553
554#include <stdio.h>
555#include <unistd.h>
556#include <iconv.h>
557#define INBUFSIZE 1024
558#define OUTBUFSIZE 4096
559
560char inbuffer[INBUFSIZE];
561char outbuffer[OUTBUFSIZE];
562
563int main(void) {
564  size_t numread;
565  iconv_t icdsc;
566  char *tocode="UTF-8";
567  char *fromcode="cp1250";
568  if ((icdsc = iconv_open (tocode, fromcode)) != (iconv_t)(-1)) {
569    while ((numread = read (0, inbuffer, INBUFSIZE))) {
570      char *iptr=inbuffer;
571      char *optr=outbuffer;
572      size_t inleft=numread;
573      size_t outleft=OUTBUFSIZE;
574      if (iconv(icdsc, (const char **)&iptr, &inleft, &optr, &outleft)
575          != (size_t)(-1)) {
576        write (1, outbuffer, OUTBUFSIZE - outleft);
577      }
578    }
579    if (iconv_close(icdsc) == -1)
580      ;
581  }
582}
583
584cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c -lm -liconv
585ld: warning prebinding not disabled because (__PAGEZERO segment (address = 0x0 size = 0x1000) of /tmp/mplayer-conf-23916-23382.o overlaps with __TEXT segment (address = 0x0 size = 0xd6000) of /opt/local/lib/libiconv.2.dylib
586ld: warning prebinding not disabled because (__TEXT segment (address = 0x1000 size = 0x2000) of /tmp/mplayer-conf-23916-23382.o overlaps with __TEXT segment (address = 0x0 size = 0xd6000) of /opt/local/lib/libiconv.2.dylib
587ld: warning prebinding not disabled because (__DATA segment (address = 0x3000 size = 0x2000) of /tmp/mplayer-conf-23916-23382.o overlaps with __TEXT segment (address = 0x0 size = 0xd6000) of /opt/local/lib/libiconv.2.dylib
588ld: warning prebinding not disabled because (__LINKEDIT segment (address = 0x5000 size = 0x1000) of /tmp/mplayer-conf-23916-23382.o overlaps with __TEXT segment (address = 0x0 size = 0xd6000) of /opt/local/lib/libiconv.2.dylib
589
590ldd /tmp/mplayer-conf-23916-23382.o
591/tmp/mplayer-conf-23916-23382.o:
592        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 71.1.4)
593        /opt/local/lib/libiconv.2.dylib (compatibility version 6.0.0, current version 6.0.0)
594
595Result is: yes
596##########################################
597
598============ Checking for sys/soundcard.h ============
599
600#include <sys/soundcard.h>
601int main(void) { return 0; }
602
603cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c
604/tmp/mplayer-conf-1167-23382.c:1:27: sys/soundcard.h: No such file or directory
605
606ldd /tmp/mplayer-conf-23916-23382.o
607otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
608
609Result is: no
610##########################################
611
612============ Checking for soundcard.h ============
613
614#include <soundcard.h>
615int main(void) { return 0; }
616
617cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c
618/tmp/mplayer-conf-1167-23382.c:1:23: soundcard.h: No such file or directory
619
620ldd /tmp/mplayer-conf-23916-23382.o
621otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
622
623Result is: no
624##########################################
625
626============ Checking for sys/dvdio.h ============
627
628#include <unistd.h>
629#include <sys/dvdio.h>
630int main(void) { return 0; }
631
632cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c
633/tmp/mplayer-conf-1167-23382.c:2:23: sys/dvdio.h: No such file or directory
634
635ldd /tmp/mplayer-conf-23916-23382.o
636otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
637
638Result is: no
639##########################################
640
641============ Checking for sys/cdio.h ============
642
643#include <unistd.h>
644#include <sys/cdio.h>
645int main(void) { return 0; }
646
647cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c
648/tmp/mplayer-conf-1167-23382.c:2:22: sys/cdio.h: No such file or directory
649
650ldd /tmp/mplayer-conf-23916-23382.o
651otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
652
653Result is: no
654##########################################
655
656============ Checking for linux/cdrom.h ============
657
658#include <sys/types.h>
659#include <linux/cdrom.h>
660int main(void) { return 0; }
661
662cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c
663/tmp/mplayer-conf-1167-23382.c:2:25: linux/cdrom.h: No such file or directory
664
665ldd /tmp/mplayer-conf-23916-23382.o
666otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
667
668Result is: no
669##########################################
670
671============ Checking for dvd.h ============
672
673#include <dvd.h>
674int main(void) { return 0; }
675
676cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c
677/tmp/mplayer-conf-1167-23382.c:1:17: dvd.h: No such file or directory
678
679ldd /tmp/mplayer-conf-23916-23382.o
680otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
681
682Result is: no
683##########################################
684
685============ Checking for BSDI dvd.h ============
686
687#include <dvd.h>
688int main(void) { return 0; }
689
690cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c
691/tmp/mplayer-conf-1167-23382.c:1:17: dvd.h: No such file or directory
692
693ldd /tmp/mplayer-conf-23916-23382.o
694otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
695
696Result is: no
697##########################################
698
699============ Checking for HPUX SCSI header ============
700
701#include <sys/scsi.h>
702int main(void) { return 0; }
703
704cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c
705/tmp/mplayer-conf-1167-23382.c:1:22: sys/scsi.h: No such file or directory
706
707ldd /tmp/mplayer-conf-23916-23382.o
708otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
709
710Result is: no
711##########################################
712
713============ Checking for userspace SCSI headers (Solaris) ============
714
715#   include <unistd.h>
716#   include <stropts.h>
717#   include <sys/scsi/scsi_types.h>
718#   include <sys/scsi/impl/uscsi.h>
719int main(void) { return 0; }
720
721cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c
722/tmp/mplayer-conf-1167-23382.c:2:24: stropts.h: No such file or directory
723/tmp/mplayer-conf-1167-23382.c:3:36: sys/scsi/scsi_types.h: No such file or directory
724/tmp/mplayer-conf-1167-23382.c:4:36: sys/scsi/impl/uscsi.h: No such file or directory
725
726ldd /tmp/mplayer-conf-23916-23382.o
727otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
728
729Result is: no
730##########################################
731
732============ Checking for termcap ============
733
734int main(void) { tgetent(); return 0; }
735
736cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c -lncurses
737
738ldd /tmp/mplayer-conf-23916-23382.o
739/tmp/mplayer-conf-23916-23382.o:
740        /usr/lib/libncurses.5.dylib (compatibility version 5.0.0, current version 5.0.0)
741        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 71.1.4)
742
743Result is: yes (using -lncurses)
744##########################################
745
746============ Checking for termios ============
747
748#include <sys/termios.h>
749int main(void) { return 0; }
750
751cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c
752
753ldd /tmp/mplayer-conf-23916-23382.o
754/tmp/mplayer-conf-23916-23382.o:
755        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 71.1.4)
756
757Result is: yes (using sys/termios.h)
758##########################################
759
760============ Checking for shm ============
761
762#include <sys/types.h>
763#include <sys/shm.h>
764int main(void) { shmget(0, 0, 0); shmat(0, 0, 0); shmctl(0, 0, 0); return 0; }
765
766cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c
767
768ldd /tmp/mplayer-conf-23916-23382.o
769/tmp/mplayer-conf-23916-23382.o:
770        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 71.1.4)
771
772Result is: yes
773##########################################
774
775============ Checking for linux devfs ============
776Result is: no
777##########################################
778
779============ Checking for scandir() ============
780
781int main (void) { scandir("", 0, 0, 0); alphasort(0, 0); return 0; }
782
783cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c
784
785ldd /tmp/mplayer-conf-23916-23382.o
786/tmp/mplayer-conf-23916-23382.o:
787        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 71.1.4)
788
789Result is: yes
790##########################################
791
792============ Checking for strsep() ============
793
794#include <string.h>
795int main (void) { char *s = "Hello, world!"; (void) strsep(&s, ","); return 0; }
796
797cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c
798
799ldd /tmp/mplayer-conf-23916-23382.o
800/tmp/mplayer-conf-23916-23382.o:
801        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 71.1.4)
802
803Result is: yes
804##########################################
805
806============ Checking for strlcpy() ============
807
808#include <string.h>
809int main (void) { char *s = "Hello, world!", t[20]; (void) strlcpy(t, s, sizeof( t )); return 0; }
810
811cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c
812
813ldd /tmp/mplayer-conf-23916-23382.o
814/tmp/mplayer-conf-23916-23382.o:
815        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 71.1.4)
816
817Result is: yes
818##########################################
819
820============ Checking for strlcat() ============
821
822#include <string.h>
823int main (void) { char *s = "Hello, world!", t[20]; (void) strlcat(t, s, sizeof( t )); return 0; }
824
825cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c
826
827ldd /tmp/mplayer-conf-23916-23382.o
828/tmp/mplayer-conf-23916-23382.o:
829        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 71.1.4)
830
831Result is: yes
832##########################################
833
834============ Checking for fseeko() ============
835
836#include <stdio.h>
837int main (void) { int i; i = fseeko(stdin, 0, 0); return 0; }
838
839cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c
840
841ldd /tmp/mplayer-conf-23916-23382.o
842/tmp/mplayer-conf-23916-23382.o:
843        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 71.1.4)
844
845Result is: yes
846##########################################
847
848============ Checking for localtime_r() ============
849
850#include <time.h>
851int main( void ) { localtime_r(NULL, NULL); }
852
853cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c
854
855ldd /tmp/mplayer-conf-23916-23382.o
856/tmp/mplayer-conf-23916-23382.o:
857        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 71.1.4)
858
859Result is: yes
860##########################################
861
862============ Checking for vsscanf() ============
863
864#include <stdarg.h>
865int main(void) { vsscanf(0, 0, 0); return 0; }
866
867cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c
868
869ldd /tmp/mplayer-conf-23916-23382.o
870/tmp/mplayer-conf-23916-23382.o:
871        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 71.1.4)
872
873Result is: yes
874##########################################
875
876============ Checking for swab() ============
877
878#include <unistd.h>
879int main(void) { swab(0, 0, 0); return 0; }
880
881cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c
882
883ldd /tmp/mplayer-conf-23916-23382.o
884/tmp/mplayer-conf-23916-23382.o:
885        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 71.1.4)
886
887Result is: yes
888##########################################
889
890============ Checking for posix select() ============
891
892#include <stdio.h>
893#include <stdlib.h>
894#include <sys/types.h>
895#include <string.h>
896#include <sys/time.h>
897#include <unistd.h>
898int main(void) {int nfds = 1; fd_set readfds; struct timeval timeout; select(nfds,&readfds,NULL,NULL,&timeout); return 0; }
899
900cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c
901
902ldd /tmp/mplayer-conf-23916-23382.o
903/tmp/mplayer-conf-23916-23382.o:
904        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 71.1.4)
905
906Result is: yes
907##########################################
908
909============ Checking for gettimeofday() ============
910
911#include <stdio.h>
912#include <sys/time.h>
913int main(void) {struct timeval tv_start; gettimeofday(&tv_start, NULL); return 0; }
914
915cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c
916
917ldd /tmp/mplayer-conf-23916-23382.o
918/tmp/mplayer-conf-23916-23382.o:
919        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 71.1.4)
920
921Result is: yes
922##########################################
923
924============ Checking for glob() ============
925
926#include <stdio.h>
927#include <glob.h>
928int main(void) { glob_t gg; glob("filename",0,NULL,&gg); return 0; }
929
930cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c
931
932ldd /tmp/mplayer-conf-23916-23382.o
933/tmp/mplayer-conf-23916-23382.o:
934        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 71.1.4)
935
936Result is: yes
937##########################################
938
939============ Checking for setenv() ============
940
941#include <stdlib.h>
942int main (void){ setenv("","",0); return 0; }
943
944cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c
945
946ldd /tmp/mplayer-conf-23916-23382.o
947/tmp/mplayer-conf-23916-23382.o:
948        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 71.1.4)
949
950Result is: yes
951##########################################
952
953============ Checking for sys/sysinfo.h ============
954
955#include <sys/sysinfo.h>
956int main(void) {
957  struct sysinfo s_info;
958  sysinfo(&s_info);
959  return 0;
960}
961
962cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c
963/tmp/mplayer-conf-1167-23382.c:1:25: sys/sysinfo.h: No such file or directory
964/tmp/mplayer-conf-1167-23382.c: In function `main':
965/tmp/mplayer-conf-1167-23382.c:3: error: storage size of `s_info' isn't known
966
967ldd /tmp/mplayer-conf-23916-23382.o
968otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
969
970Result is: no
971##########################################
972
973============ Checking for Mac OS X APIs ============
974
975#include <Carbon/Carbon.h>
976#include <QuickTime/QuickTime.h>
977#include <CoreAudio/CoreAudio.h>
978int main(void) {
979    EnterMovies();
980    ExitMovies();
981    CFRunLoopRunInMode(kCFRunLoopDefaultMode, 0, false);
982}
983
984cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c -framework Carbon -framework QuickTime -framework CoreAudio
985ld: warning suggest use of -bind_at_load, as lazy binding may result in errors or different symbols being used
986symbol _acosl used from dynamic library /usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o)
987symbol _tanl used from dynamic library /usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o)
988symbol _tanhl used from dynamic library /usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o)
989symbol _asinl used from dynamic library /usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o)
990symbol _atan2l used from dynamic library /usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o)
991symbol _atanl used from dynamic library /usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o)
992symbol _ceill used from dynamic library /usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o)
993symbol _coshl used from dynamic library /usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o)
994symbol _cosl used from dynamic library /usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o)
995symbol _expl used from dynamic library /usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o)
996symbol _floorl used from dynamic library /usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o)
997symbol _fmodl used from dynamic library /usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o)
998symbol _frexpl used from dynamic library /usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o)
999symbol _hypotl used from dynamic library /usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o)
1000symbol _ldexpl used from dynamic library /usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o)
1001symbol _log10l used from dynamic library /usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o)
1002symbol _logl used from dynamic library /usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o)
1003symbol _modfl used from dynamic library /usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o)
1004symbol _powl used from dynamic library /usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o)
1005symbol _sinhl used from dynamic library /usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o)
1006symbol _sinl used from dynamic library /usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o)
1007symbol _sqrtl used from dynamic library /usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o)
1008ld: Undefined symbols:
1009_HICopyAccessibilityActionDescription referenced from QuickTime expected to be defined in Carbon
1010_HICopyAccessibilityRoleDescription referenced from QuickTime expected to be defined in Carbon
1011_LLCStyleInfoCheckForOpenTypeTables referenced from QuickTime expected to be defined in ApplicationServices
1012_LLCStyleInfoGetUserRunFeatures referenced from QuickTime expected to be defined in ApplicationServices
1013
1014ldd /tmp/mplayer-conf-23916-23382.o
1015otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
1016
1017
1018#include <Carbon/Carbon.h>
1019#include <QuartzCore/CoreVideo.h>
1020int main(void) {}
1021
1022cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c -framework Carbon -framework QuartzCore -framework OpenGL
1023
1024ldd /tmp/mplayer-conf-23916-23382.o
1025/tmp/mplayer-conf-23916-23382.o:
1026        /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon (compatibility version 2.0.0, current version 128.0.0)
1027        /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore (compatibility version 1.2.0, current version 1.3.0)
1028        /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL (compatibility version 1.0.0, current version 1.0.0)
1029        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 71.1.4)
1030
1031Result is: no
1032##########################################
1033
1034============ Checking for Mac OS X Finder Support ============
1035Result is: yes
1036##########################################
1037
1038============ Checking for Mac OS X Bundle file locations ============
1039Result is: yes
1040##########################################
1041
1042============ Checking for Samba support (libsmbclient) ============
1043
1044#include <libsmbclient.h>
1045int main(void) { smbc_opendir("smb://"); return 0; }
1046
1047cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c -lsmbclient
1048/tmp/mplayer-conf-1167-23382.c:1:26: libsmbclient.h: No such file or directory
1049
1050ldd /tmp/mplayer-conf-23916-23382.o
1051otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
1052
1053
1054#include <libsmbclient.h>
1055int main(void) { smbc_opendir("smb://"); return 0; }
1056
1057cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c -lsmbclient
1058/tmp/mplayer-conf-1167-23382.c:1:26: libsmbclient.h: No such file or directory
1059
1060ldd /tmp/mplayer-conf-23916-23382.o
1061otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
1062
1063
1064#include <libsmbclient.h>
1065int main(void) { smbc_opendir("smb://"); return 0; }
1066
1067cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c -lsmbclient -lnsl
1068/tmp/mplayer-conf-1167-23382.c:1:26: libsmbclient.h: No such file or directory
1069
1070ldd /tmp/mplayer-conf-23916-23382.o
1071otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
1072
1073
1074#include <libsmbclient.h>
1075int main(void) { smbc_opendir("smb://"); return 0; }
1076
1077cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c -lsmbclient -lssl -lnsl
1078/tmp/mplayer-conf-1167-23382.c:1:26: libsmbclient.h: No such file or directory
1079
1080ldd /tmp/mplayer-conf-23916-23382.o
1081otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
1082
1083Result is: no
1084##########################################
1085
1086============ Checking for 3dfx ============
1087Result is: no
1088##########################################
1089
1090============ Checking for tdfxfb ============
1091Result is: no
1092##########################################
1093
1094============ Checking for tdfxvid ============
1095Result is: no
1096##########################################
1097
1098============ Checking for tga ============
1099Result is: yes
1100##########################################
1101
1102============ Checking for DirectFB headers presence ============
1103Result is: not found
1104##########################################
1105
1106============ Checking for DirectFB ============
1107Result is: no
1108##########################################
1109
1110============ Checking for X11 headers presence ============
1111Result is: yes (using /usr/X11R6/include)
1112##########################################
1113
1114============ Checking for X11 ============
1115Result is: no (check if the dev(el) packages are installed)
1116##########################################
1117
1118============ Checking for DPMS ============
1119Result is: no
1120##########################################
1121
1122============ Checking for Xv ============
1123Result is: no
1124##########################################
1125
1126============ Checking for XvMC ============
1127Result is: no (using )
1128##########################################
1129
1130============ Checking for Xinerama ============
1131Result is: no
1132##########################################
1133
1134============ Checking for Xxf86vm ============
1135Result is: auto
1136##########################################
1137
1138============ Checking for XF86keysym ============
1139Result is: no
1140##########################################
1141
1142============ Checking for DGA ============
1143Result is: no
1144##########################################
1145
1146============ Checking for OpenGL ============
1147Result is: no
1148##########################################
1149
1150============ Checking for /dev/mga_vid ============
1151Result is: no
1152##########################################
1153
1154============ Checking for xmga ============
1155Result is: no
1156##########################################
1157
1158============ Checking for GGI ============
1159
1160#include <ggi/ggi.h>
1161int main(void) { return 0; }
1162
1163cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c -lggi
1164/tmp/mplayer-conf-1167-23382.c:1:21: ggi/ggi.h: No such file or directory
1165
1166ldd /tmp/mplayer-conf-23916-23382.o
1167otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
1168
1169Result is: no
1170##########################################
1171
1172============ Checking for GGI extension: libggiwmh ============
1173
1174#include <ggi/ggi.h>
1175#include <ggi/wmh.h>
1176int main(void) { return 0; }
1177
1178cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c -lggi -lggiwmh
1179/tmp/mplayer-conf-1167-23382.c:1:21: ggi/ggi.h: No such file or directory
1180/tmp/mplayer-conf-1167-23382.c:2:21: ggi/wmh.h: No such file or directory
1181
1182ldd /tmp/mplayer-conf-23916-23382.o
1183otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
1184
1185Result is: no
1186##########################################
1187
1188============ Checking for AA ============
1189
1190#include <aalib.h>
1191extern struct aa_hardware_params aa_defparams;
1192extern struct aa_renderparams aa_defrenderparams;
1193int main(void) {
1194aa_context *c;
1195aa_renderparams *p;
1196(void) aa_init(0, 0, 0);
1197c = aa_autoinit(&aa_defparams);
1198p = aa_getrenderparams();
1199aa_autoinitkbd(c,0);
1200return 0; }
1201
1202cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c -laa
1203/tmp/mplayer-conf-1167-23382.c:1:19: aalib.h: No such file or directory
1204/tmp/mplayer-conf-1167-23382.c: In function `main':
1205/tmp/mplayer-conf-1167-23382.c:5: error: `aa_context' undeclared (first use in this function)
1206/tmp/mplayer-conf-1167-23382.c:5: error: (Each undeclared identifier is reported only once
1207/tmp/mplayer-conf-1167-23382.c:5: error: for each function it appears in.)
1208/tmp/mplayer-conf-1167-23382.c:5: error: `c' undeclared (first use in this function)
1209/tmp/mplayer-conf-1167-23382.c:6: error: `aa_renderparams' undeclared (first use in this function)
1210/tmp/mplayer-conf-1167-23382.c:6: error: `p' undeclared (first use in this function)
1211
1212ldd /tmp/mplayer-conf-23916-23382.o
1213otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
1214
1215
1216#include <aalib.h>
1217extern struct aa_hardware_params aa_defparams;
1218extern struct aa_renderparams aa_defrenderparams;
1219int main(void) {
1220aa_context *c;
1221aa_renderparams *p;
1222(void) aa_init(0, 0, 0);
1223c = aa_autoinit(&aa_defparams);
1224p = aa_getrenderparams();
1225aa_autoinitkbd(c,0);
1226return 0; }
1227
1228cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c -laa
1229/tmp/mplayer-conf-1167-23382.c:1:19: aalib.h: No such file or directory
1230/tmp/mplayer-conf-1167-23382.c: In function `main':
1231/tmp/mplayer-conf-1167-23382.c:5: error: `aa_context' undeclared (first use in this function)
1232/tmp/mplayer-conf-1167-23382.c:5: error: (Each undeclared identifier is reported only once
1233/tmp/mplayer-conf-1167-23382.c:5: error: for each function it appears in.)
1234/tmp/mplayer-conf-1167-23382.c:5: error: `c' undeclared (first use in this function)
1235/tmp/mplayer-conf-1167-23382.c:6: error: `aa_renderparams' undeclared (first use in this function)
1236/tmp/mplayer-conf-1167-23382.c:6: error: `p' undeclared (first use in this function)
1237
1238ldd /tmp/mplayer-conf-23916-23382.o
1239otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
1240
1241Result is: no
1242##########################################
1243
1244============ Checking for CACA ============
1245./configure: line 4016: caca-config: command not found
1246Result is: no
1247##########################################
1248
1249============ Checking for SVGAlib ============
1250
1251#include <vga.h>
1252int main(void) { return 0; }
1253
1254cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c -lvga -lm
1255/tmp/mplayer-conf-1167-23382.c:1:17: vga.h: No such file or directory
1256
1257ldd /tmp/mplayer-conf-23916-23382.o
1258otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
1259
1260Result is: no
1261##########################################
1262
1263============ Checking for FBDev ============
1264Result is: no
1265##########################################
1266
1267============ Checking for DVB ============
1268
1269#include <sys/poll.h>
1270#include <sys/ioctl.h>
1271#include <stdio.h>
1272#include <time.h>
1273#include <unistd.h>
1274
1275#include <ost/dmx.h>
1276#include <ost/frontend.h>
1277#include <ost/sec.h>
1278#include <ost/video.h>
1279#include <ost/audio.h>
1280int main(void) {return 0;}
1281
1282cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c
1283/tmp/mplayer-conf-1167-23382.c:7:21: ost/dmx.h: No such file or directory
1284/tmp/mplayer-conf-1167-23382.c:8:26: ost/frontend.h: No such file or directory
1285/tmp/mplayer-conf-1167-23382.c:9:21: ost/sec.h: No such file or directory
1286/tmp/mplayer-conf-1167-23382.c:10:23: ost/video.h: No such file or directory
1287/tmp/mplayer-conf-1167-23382.c:11:23: ost/audio.h: No such file or directory
1288
1289ldd /tmp/mplayer-conf-23916-23382.o
1290otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
1291
1292
1293#include <sys/poll.h>
1294#include <sys/ioctl.h>
1295#include <stdio.h>
1296#include <time.h>
1297#include <unistd.h>
1298
1299#include <ost/dmx.h>
1300#include <ost/frontend.h>
1301#include <ost/sec.h>
1302#include <ost/video.h>
1303#include <ost/audio.h>
1304int main(void) {return 0;}
1305
1306cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c
1307/tmp/mplayer-conf-1167-23382.c:7:21: ost/dmx.h: No such file or directory
1308/tmp/mplayer-conf-1167-23382.c:8:26: ost/frontend.h: No such file or directory
1309/tmp/mplayer-conf-1167-23382.c:9:21: ost/sec.h: No such file or directory
1310/tmp/mplayer-conf-1167-23382.c:10:23: ost/video.h: No such file or directory
1311/tmp/mplayer-conf-1167-23382.c:11:23: ost/audio.h: No such file or directory
1312
1313ldd /tmp/mplayer-conf-23916-23382.o
1314otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
1315
1316
1317#include <sys/poll.h>
1318#include <sys/ioctl.h>
1319#include <stdio.h>
1320#include <time.h>
1321#include <unistd.h>
1322
1323#include <ost/dmx.h>
1324#include <ost/frontend.h>
1325#include <ost/sec.h>
1326#include <ost/video.h>
1327#include <ost/audio.h>
1328int main(void) {return 0;}
1329
1330cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c -I/usr/src/DVB/ost/include
1331/tmp/mplayer-conf-1167-23382.c:7:21: ost/dmx.h: No such file or directory
1332/tmp/mplayer-conf-1167-23382.c:8:26: ost/frontend.h: No such file or directory
1333/tmp/mplayer-conf-1167-23382.c:9:21: ost/sec.h: No such file or directory
1334/tmp/mplayer-conf-1167-23382.c:10:23: ost/video.h: No such file or directory
1335/tmp/mplayer-conf-1167-23382.c:11:23: ost/audio.h: No such file or directory
1336
1337ldd /tmp/mplayer-conf-23916-23382.o
1338otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
1339
1340Result is: no (specify path to DVB/ost/include with --with-dvbincdir=DIR)
1341##########################################
1342
1343============ Checking for DVB HEAD ============
1344
1345#include <sys/poll.h>
1346#include <sys/ioctl.h>
1347#include <stdio.h>
1348#include <time.h>
1349#include <unistd.h>
1350
1351#include <linux/dvb/dmx.h>
1352#include <linux/dvb/frontend.h>
1353#include <linux/dvb/video.h>
1354#include <linux/dvb/audio.h>
1355int main(void) {return 0;}
1356
1357cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c
1358/tmp/mplayer-conf-1167-23382.c:7:27: linux/dvb/dmx.h: No such file or directory
1359/tmp/mplayer-conf-1167-23382.c:8:32: linux/dvb/frontend.h: No such file or directory
1360/tmp/mplayer-conf-1167-23382.c:9:29: linux/dvb/video.h: No such file or directory
1361/tmp/mplayer-conf-1167-23382.c:10:29: linux/dvb/audio.h: No such file or directory
1362
1363ldd /tmp/mplayer-conf-23916-23382.o
1364otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
1365
1366
1367#include <sys/poll.h>
1368#include <sys/ioctl.h>
1369#include <stdio.h>
1370#include <time.h>
1371#include <unistd.h>
1372
1373#include <linux/dvb/dmx.h>
1374#include <linux/dvb/frontend.h>
1375#include <linux/dvb/video.h>
1376#include <linux/dvb/audio.h>
1377int main(void) {return 0;}
1378
1379cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c
1380/tmp/mplayer-conf-1167-23382.c:7:27: linux/dvb/dmx.h: No such file or directory
1381/tmp/mplayer-conf-1167-23382.c:8:32: linux/dvb/frontend.h: No such file or directory
1382/tmp/mplayer-conf-1167-23382.c:9:29: linux/dvb/video.h: No such file or directory
1383/tmp/mplayer-conf-1167-23382.c:10:29: linux/dvb/audio.h: No such file or directory
1384
1385ldd /tmp/mplayer-conf-23916-23382.o
1386otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
1387
1388
1389#include <sys/poll.h>
1390#include <sys/ioctl.h>
1391#include <stdio.h>
1392#include <time.h>
1393#include <unistd.h>
1394
1395#include <linux/dvb/dmx.h>
1396#include <linux/dvb/frontend.h>
1397#include <linux/dvb/video.h>
1398#include <linux/dvb/audio.h>
1399int main(void) {return 0;}
1400
1401cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c -I/usr/src/DVB/include
1402/tmp/mplayer-conf-1167-23382.c:7:27: linux/dvb/dmx.h: No such file or directory
1403/tmp/mplayer-conf-1167-23382.c:8:32: linux/dvb/frontend.h: No such file or directory
1404/tmp/mplayer-conf-1167-23382.c:9:29: linux/dvb/video.h: No such file or directory
1405/tmp/mplayer-conf-1167-23382.c:10:29: linux/dvb/audio.h: No such file or directory
1406
1407ldd /tmp/mplayer-conf-23916-23382.o
1408otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
1409
1410Result is: no (specify path to DVB/include (HEAD Version) with --with-dvbincdir=DIR)
1411##########################################
1412
1413============ Checking for PNG support ============
1414Result is: yes
1415##########################################
1416
1417============ Checking for JPEG support ============
1418Result is: yes
1419##########################################
1420
1421============ Checking for PNM support ============
1422Result is: yes
1423##########################################
1424
1425============ Checking for md5sum support ============
1426Result is: yes
1427##########################################
1428
1429============ Checking for GIF support ============
1430Result is: no
1431##########################################
1432
1433============ Checking for VESA support ============
1434
1435#include <vbe.h>
1436int main(void) { vbeVersion(); return 0; }
1437
1438cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c -lvbe -llrmi
1439/tmp/mplayer-conf-1167-23382.c:1:17: vbe.h: No such file or directory
1440
1441ldd /tmp/mplayer-conf-23916-23382.o
1442otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
1443
1444Result is: no
1445##########################################
1446
1447============ Checking for SDL ============
14481.2.8
14491.2.8
1450
1451#include <SDL.h>
1452int main(int argc, char *argv[]) { return 0; }
1453
1454cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c -I/opt/local/include/SDL -D_THREAD_SAFE -L/opt/local/lib -lSDLmain -lSDL -framework Cocoa -framework OpenGL
1455ld: warning suggest use of -bind_at_load, as lazy binding may result in errors or different symbols being used
1456symbol _acosl used from dynamic library /usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o)
1457symbol _tanl used from dynamic library /usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o)
1458symbol _tanhl used from dynamic library /usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o)
1459symbol _asinl used from dynamic library /usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o)
1460symbol _atan2l used from dynamic library /usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o)
1461symbol _atanl used from dynamic library /usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o)
1462symbol _ceill used from dynamic library /usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o)
1463symbol _coshl used from dynamic library /usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o)
1464symbol _cosl used from dynamic library /usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o)
1465symbol _expl used from dynamic library /usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o)
1466symbol _floorl used from dynamic library /usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o)
1467symbol _fmodl used from dynamic library /usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o)
1468symbol _frexpl used from dynamic library /usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o)
1469symbol _hypotl used from dynamic library /usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o)
1470symbol _ldexpl used from dynamic library /usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o)
1471symbol _log10l used from dynamic library /usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o)
1472symbol _logl used from dynamic library /usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o)
1473symbol _modfl used from dynamic library /usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o)
1474symbol _powl used from dynamic library /usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o)
1475symbol _sinhl used from dynamic library /usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o)
1476symbol _sinl used from dynamic library /usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o)
1477symbol _sqrtl used from dynamic library /usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o)
1478ld: Undefined symbols:
1479_HICopyAccessibilityActionDescription referenced from QuickTime expected to be defined in Carbon
1480_HICopyAccessibilityRoleDescription referenced from QuickTime expected to be defined in Carbon
1481_LLCStyleInfoCheckForOpenTypeTables referenced from QuickTime expected to be defined in ApplicationServices
1482_LLCStyleInfoGetUserRunFeatures referenced from QuickTime expected to be defined in ApplicationServices
1483ld: warning prebinding not disabled because (__PAGEZERO segment (address = 0x0 size = 0x1000) of /tmp/mplayer-conf-23916-23382.o overlaps with __TEXT segment (address = 0x0 size = 0x4e000) of /opt/local/lib/libSDL-1.2.0.dylib
1484ld: warning prebinding not disabled because (__TEXT segment (address = 0x1000 size = 0x9000) of /tmp/mplayer-conf-23916-23382.o overlaps with __TEXT segment (address = 0x0 size = 0x4e000) of /opt/local/lib/libSDL-1.2.0.dylib
1485ld: warning prebinding not disabled because (__DATA segment (address = 0xa000 size = 0x1000) of /tmp/mplayer-conf-23916-23382.o overlaps with __TEXT segment (address = 0x0 size = 0x4e000) of /opt/local/lib/libSDL-1.2.0.dylib
1486ld: warning prebinding not disabled because (__OBJC segment (address = 0xb000 size = 0x1000) of /tmp/mplayer-conf-23916-23382.o overlaps with __TEXT segment (address = 0x0 size = 0x4e000) of /opt/local/lib/libSDL-1.2.0.dylib
1487ld: warning prebinding not disabled because (__LINKEDIT segment (address = 0xc000 size = 0xa000) of /tmp/mplayer-conf-23916-23382.o overlaps with __TEXT segment (address = 0x0 size = 0x4e000) of /opt/local/lib/libSDL-1.2.0.dylib
1488
1489ldd /tmp/mplayer-conf-23916-23382.o
1490otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
1491
1492Result is: no
1493##########################################
1494
1495============ Checking for Windows waveout ============
1496
1497#include <windows.h>
1498#include <mmsystem.h>
1499int main(void) { return 0; }
1500
1501cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c -lwinmm
1502/tmp/mplayer-conf-1167-23382.c:1:21: windows.h: No such file or directory
1503/tmp/mplayer-conf-1167-23382.c:2:22: mmsystem.h: No such file or directory
1504
1505ldd /tmp/mplayer-conf-23916-23382.o
1506otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
1507
1508Result is: no
1509##########################################
1510
1511============ Checking for Directx ============
1512
1513#include <windows.h>
1514#include <ddraw.h>
1515#include <dsound.h>
1516int main(void) { return 0; }
1517
1518cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c -lgdi32
1519/tmp/mplayer-conf-1167-23382.c:1:21: windows.h: No such file or directory
1520/tmp/mplayer-conf-1167-23382.c:2:19: ddraw.h: No such file or directory
1521/tmp/mplayer-conf-1167-23382.c:3:20: dsound.h: No such file or directory
1522
1523ldd /tmp/mplayer-conf-23916-23382.o
1524otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
1525
1526Result is: no
1527##########################################
1528
1529============ Checking for NAS ============
1530
1531#include <audio/audiolib.h>
1532int main(void) { return 0; }
1533
1534cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c -laudio -lXt -lm
1535/tmp/mplayer-conf-1167-23382.c:1:28: audio/audiolib.h: No such file or directory
1536
1537ldd /tmp/mplayer-conf-23916-23382.o
1538otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
1539
1540Result is: no
1541##########################################
1542
1543============ Checking for DXR2 ============
1544
1545#include <dxr2ioctl.h>
1546int main(void) { return 0; }
1547
1548cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c
1549/tmp/mplayer-conf-1167-23382.c:1:23: dxr2ioctl.h: No such file or directory
1550
1551ldd /tmp/mplayer-conf-23916-23382.o
1552otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
1553
1554
1555#include <dxr2ioctl.h>
1556int main(void) { return 0; }
1557
1558cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c -I/usr/local/include/dxr2
1559/tmp/mplayer-conf-1167-23382.c:1:23: dxr2ioctl.h: No such file or directory
1560
1561ldd /tmp/mplayer-conf-23916-23382.o
1562otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
1563
1564
1565#include <dxr2ioctl.h>
1566int main(void) { return 0; }
1567
1568cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c -I/usr/include/dxr2
1569/tmp/mplayer-conf-1167-23382.c:1:23: dxr2ioctl.h: No such file or directory
1570
1571ldd /tmp/mplayer-conf-23916-23382.o
1572otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
1573
1574Result is: no
1575##########################################
1576
1577============ Checking for DXR3/H+ ============
1578
1579#include <linux/em8300.h>
1580int main(void) { return 0; }
1581
1582cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c
1583/tmp/mplayer-conf-1167-23382.c:1:26: linux/em8300.h: No such file or directory
1584
1585ldd /tmp/mplayer-conf-23916-23382.o
1586otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
1587
1588Result is: no
1589##########################################
1590
1591============ Checking for libmp1e ============
1592Result is: no
1593##########################################
1594
1595============ Checking for libfame ============
1596Result is: no
1597##########################################
1598
1599============ Checking for OSS Audio ============
1600
1601#include <sys/ioctl.h>
1602
1603int main(void) { int arg = SNDCTL_DSP_SETFRAGMENT; return 0; }
1604
1605cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c
1606/tmp/mplayer-conf-1167-23382.c: In function `main':
1607/tmp/mplayer-conf-1167-23382.c:3: error: `SNDCTL_DSP_SETFRAGMENT' undeclared (first use in this function)
1608/tmp/mplayer-conf-1167-23382.c:3: error: (Each undeclared identifier is reported only once
1609/tmp/mplayer-conf-1167-23382.c:3: error: for each function it appears in.)
1610
1611ldd /tmp/mplayer-conf-23916-23382.o
1612otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
1613
1614Result is: no
1615##########################################
1616
1617============ Checking for aRts ============
1618Result is: no
1619##########################################
1620
1621============ Checking for EsounD ============
1622Result is: no
1623##########################################
1624
1625============ Checking for Polyp ============
1626Result is: no
1627##########################################
1628
1629============ Checking for JACK ============
1630
1631#include <jack/jack.h>
1632int main(void) { jack_client_new("test"); return 0; }
1633
1634cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c -ljack
1635/tmp/mplayer-conf-1167-23382.c:1:23: jack/jack.h: No such file or directory
1636
1637ldd /tmp/mplayer-conf-23916-23382.o
1638otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
1639
1640
1641#include <jack/jack.h>
1642int main(void) { jack_client_new("test"); return 0; }
1643
1644cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c
1645/tmp/mplayer-conf-1167-23382.c:1:23: jack/jack.h: No such file or directory
1646
1647ldd /tmp/mplayer-conf-23916-23382.o
1648otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
1649
1650Result is: no
1651##########################################
1652
1653============ Checking for OpenAL ============
1654
1655#include <AL/al.h>
1656int main(void) {
1657  alSourceQueueBuffers(0, 0, 0);
1658//  alGetSourcei(0, AL_SAMPLE_OFFSET, 0);
1659  return 0;
1660}
1661
1662cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c -lopenal
1663/tmp/mplayer-conf-1167-23382.c:1:19: AL/al.h: No such file or directory
1664
1665ldd /tmp/mplayer-conf-23916-23382.o
1666otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
1667
1668Result is: no
1669##########################################
1670
1671============ Checking for ALSA audio ============
1672
1673#include <sys/asoundlib.h>
1674#if !((SND_LIB_MAJOR == 0) && (SND_LIB_MINOR == 5))
1675#error "alsa version != 0.5.x"
1676#endif
1677int main(void) { return 0; }
1678
1679cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c -lasound
1680/tmp/mplayer-conf-1167-23382.c:1:27: sys/asoundlib.h: No such file or directory
1681/tmp/mplayer-conf-1167-23382.c:3:2: #error "alsa version != 0.5.x"
1682
1683ldd /tmp/mplayer-conf-23916-23382.o
1684otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
1685
1686
1687#include <sys/asoundlib.h>
1688#if !((SND_LIB_MAJOR == 0) && (SND_LIB_MINOR == 9))
1689#error "alsa version != 0.9.x"
1690#endif
1691int main(void) { return 0; }
1692
1693cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c -lasound
1694/tmp/mplayer-conf-1167-23382.c:1:27: sys/asoundlib.h: No such file or directory
1695/tmp/mplayer-conf-1167-23382.c:3:2: #error "alsa version != 0.9.x"
1696
1697ldd /tmp/mplayer-conf-23916-23382.o
1698otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
1699
1700
1701#include <alsa/asoundlib.h>
1702#if !((SND_LIB_MAJOR == 0) && (SND_LIB_MINOR == 9))
1703#error "alsa version != 0.9.x"
1704#endif
1705int main(void) { return 0; }
1706
1707cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c -lasound
1708/tmp/mplayer-conf-1167-23382.c:1:28: alsa/asoundlib.h: No such file or directory
1709/tmp/mplayer-conf-1167-23382.c:3:2: #error "alsa version != 0.9.x"
1710
1711ldd /tmp/mplayer-conf-23916-23382.o
1712otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
1713
1714
1715#include <sys/asoundlib.h>
1716#if !((SND_LIB_MAJOR == 1) && (SND_LIB_MINOR == 0))
1717#error "alsa version != 1.0.x"
1718#endif
1719int main(void) { return 0; }
1720
1721cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c -lasound
1722/tmp/mplayer-conf-1167-23382.c:1:27: sys/asoundlib.h: No such file or directory
1723/tmp/mplayer-conf-1167-23382.c:3:2: #error "alsa version != 1.0.x"
1724
1725ldd /tmp/mplayer-conf-23916-23382.o
1726otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
1727
1728
1729#include <alsa/asoundlib.h>
1730#if !((SND_LIB_MAJOR == 1) && (SND_LIB_MINOR == 0))
1731#error "alsa version != 1.0.x"
1732#endif
1733int main(void) { return 0; }
1734
1735cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c -lasound
1736/tmp/mplayer-conf-1167-23382.c:1:28: alsa/asoundlib.h: No such file or directory
1737/tmp/mplayer-conf-1167-23382.c:3:2: #error "alsa version != 1.0.x"
1738
1739ldd /tmp/mplayer-conf-23916-23382.o
1740otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
1741
1742Result is: no
1743##########################################
1744
1745============ Checking for Sun audio ============
1746
1747#include <sys/types.h>
1748#include <sys/audioio.h>
1749int main(void) { audio_info_t info; AUDIO_INITINFO(&info); return 0; }
1750
1751cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c
1752/tmp/mplayer-conf-1167-23382.c:2:25: sys/audioio.h: No such file or directory
1753/tmp/mplayer-conf-1167-23382.c: In function `main':
1754/tmp/mplayer-conf-1167-23382.c:3: error: `audio_info_t' undeclared (first use in this function)
1755/tmp/mplayer-conf-1167-23382.c:3: error: (Each undeclared identifier is reported only once
1756/tmp/mplayer-conf-1167-23382.c:3: error: for each function it appears in.)
1757/tmp/mplayer-conf-1167-23382.c:3: error: parse error before "info"
1758/tmp/mplayer-conf-1167-23382.c:3: error: `info' undeclared (first use in this function)
1759
1760ldd /tmp/mplayer-conf-23916-23382.o
1761otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
1762
1763Result is: no
1764##########################################
1765
1766============ Checking for Sun mediaLib ============
1767
1768#include <mlib.h>
1769int main(void) { mlib_VideoColorYUV2ABGR420(0,0,0,0,0,0,0,0,0); return 0; }
1770
1771cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c -I/opt/SUNWmlib/include -L/opt/SUNWmlib/lib -lmlib
1772/tmp/mplayer-conf-1167-23382.c:1:18: mlib.h: No such file or directory
1773
1774ldd /tmp/mplayer-conf-23916-23382.o
1775otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
1776
1777Result is: no
1778##########################################
1779
1780============ Checking for SGI audio ============
1781
1782#include <dmedia/audio.h>
1783int main(void) { return 0; }
1784
1785cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c
1786/tmp/mplayer-conf-1167-23382.c:1:26: dmedia/audio.h: No such file or directory
1787
1788ldd /tmp/mplayer-conf-23916-23382.o
1789otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
1790
1791Result is: no
1792##########################################
1793
1794============ Checking for VCD support ============
1795Result is: ok
1796##########################################
1797
1798============ Checking for DVD support (libmpdvdkit) ============
1799Result is: no
1800##########################################
1801
1802============ Checking for DVD support (libdvdread) ============
1803Result is: no (disabled by libmpdvdkit2)
1804##########################################
1805
1806============ Checking for cdparanoia ============
1807Result is: no
1808##########################################
1809
1810============ Checking for libcdio ============
1811Result is: no
1812##########################################
1813
1814============ Checking for freetype >= 2.0.9 ============
1815Result is: no
1816##########################################
1817
1818============ Checking for fontconfig ============
1819Result is: no (freetype support needed)
1820##########################################
1821
1822============ Checking for fribidi with charsets ============
1823Result is: no
1824##########################################
1825
1826============ Checking for ENCA ============
1827
1828#include <enca.h>
1829int main()
1830{
1831    const char **langs;
1832    size_t langcnt;
1833    langs = enca_get_languages(&langcnt);
1834    return 0;
1835}
1836
1837cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c -lenca -lm
1838/tmp/mplayer-conf-1167-23382.c:1:18: enca.h: No such file or directory
1839/tmp/mplayer-conf-1167-23382.c: In function `main':
1840/tmp/mplayer-conf-1167-23382.c:5: error: `size_t' undeclared (first use in this function)
1841/tmp/mplayer-conf-1167-23382.c:5: error: (Each undeclared identifier is reported only once
1842/tmp/mplayer-conf-1167-23382.c:5: error: for each function it appears in.)
1843/tmp/mplayer-conf-1167-23382.c:5: error: parse error before "langcnt"
1844/tmp/mplayer-conf-1167-23382.c:6: error: `langcnt' undeclared (first use in this function)
1845/tmp/mplayer-conf-1167-23382.c:6: warning: assignment makes pointer from integer without a cast
1846
1847ldd /tmp/mplayer-conf-23916-23382.o
1848otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
1849
1850Result is: no
1851##########################################
1852
1853============ Checking for zlib ============
1854
1855#include <zlib.h>
1856int main(void) { (void) inflate(0, Z_NO_FLUSH); return 0; }
1857
1858cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c -lz
1859ld: warning prebinding not disabled because (__PAGEZERO segment (address = 0x0 size = 0x1000) of /tmp/mplayer-conf-23916-23382.o overlaps with __TEXT segment (address = 0x0 size = 0x11000) of /opt/local/lib/libz.1.dylib
1860ld: warning prebinding not disabled because (__TEXT segment (address = 0x1000 size = 0x2000) of /tmp/mplayer-conf-23916-23382.o overlaps with __TEXT segment (address = 0x0 size = 0x11000) of /opt/local/lib/libz.1.dylib
1861ld: warning prebinding not disabled because (__DATA segment (address = 0x3000 size = 0x1000) of /tmp/mplayer-conf-23916-23382.o overlaps with __TEXT segment (address = 0x0 size = 0x11000) of /opt/local/lib/libz.1.dylib
1862ld: warning prebinding not disabled because (__LINKEDIT segment (address = 0x4000 size = 0x1000) of /tmp/mplayer-conf-23916-23382.o overlaps with __TEXT segment (address = 0x0 size = 0x11000) of /opt/local/lib/libz.1.dylib
1863
1864ldd /tmp/mplayer-conf-23916-23382.o
1865/tmp/mplayer-conf-23916-23382.o:
1866        /opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.3)
1867        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 71.1.4)
1868
1869Result is: yes
1870##########################################
1871
1872============ Checking for RTC ============
1873
1874#include <sys/ioctl.h>
1875#ifdef __linux__
1876#include <linux/rtc.h>
1877#else
1878#include <rtc.h>
1879#define RTC_PIE_ON RTCIO_PIE_ON
1880#endif
1881int main(void) { return RTC_PIE_ON; }
1882
1883cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c
1884/tmp/mplayer-conf-1167-23382.c:5:17: rtc.h: No such file or directory
1885/tmp/mplayer-conf-1167-23382.c: In function `main':
1886/tmp/mplayer-conf-1167-23382.c:8: error: `RTCIO_PIE_ON' undeclared (first use in this function)
1887/tmp/mplayer-conf-1167-23382.c:8: error: (Each undeclared identifier is reported only once
1888/tmp/mplayer-conf-1167-23382.c:8: error: for each function it appears in.)
1889
1890ldd /tmp/mplayer-conf-23916-23382.o
1891otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
1892
1893Result is: no
1894##########################################
1895
1896============ Checking for external liblzo support ============
1897Result is: yes
1898##########################################
1899
1900============ Checking for mad support ============
1901Result is: yes
1902##########################################
1903
1904============ Checking for Toolame ============
1905
1906#include <toolame.h>
1907int main(void) { toolame_init(); return 0; }
1908
1909cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c -ltoolame -lm
1910/tmp/mplayer-conf-1167-23382.c:1:21: toolame.h: No such file or directory
1911
1912ldd /tmp/mplayer-conf-23916-23382.o
1913otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
1914
1915Result is: no
1916##########################################
1917
1918============ Checking for Twolame ============
1919
1920#include <twolame.h>
1921int main(void) { twolame_init(); return 0; }
1922
1923cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c -ltwolame -lm
1924/tmp/mplayer-conf-1167-23382.c:1:21: twolame.h: No such file or directory
1925
1926ldd /tmp/mplayer-conf-23916-23382.o
1927otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
1928
1929Result is: no
1930##########################################
1931
1932============ Checking for OggVorbis support ============
1933Result is: yes (internal Tremor)
1934##########################################
1935
1936============ Checking for libspeex (version >= 1.1 required) ============
1937
1938#include <speex/speex.h>
1939int main(void) {
1940  SpeexBits bits;
1941  void *dec;
1942  speex_decode_int(dec, &bits, dec);
1943}
1944
1945cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c -lspeex -lm
1946/tmp/mplayer-conf-1167-23382.c:1:25: speex/speex.h: No such file or directory
1947/tmp/mplayer-conf-1167-23382.c: In function `main':
1948/tmp/mplayer-conf-1167-23382.c:3: error: `SpeexBits' undeclared (first use in this function)
1949/tmp/mplayer-conf-1167-23382.c:3: error: (Each undeclared identifier is reported only once
1950/tmp/mplayer-conf-1167-23382.c:3: error: for each function it appears in.)
1951/tmp/mplayer-conf-1167-23382.c:3: error: parse error before "bits"
1952/tmp/mplayer-conf-1167-23382.c:5: error: `bits' undeclared (first use in this function)
1953
1954ldd /tmp/mplayer-conf-23916-23382.o
1955otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
1956
1957Result is: no
1958##########################################
1959
1960============ Checking for OggTheora support ============
1961Result is: no
1962##########################################
1963
1964============ Checking for mp3lib support ============
1965Result is: yes
1966##########################################
1967
1968============ Checking for liba52 support ============
1969Result is: yes
1970##########################################
1971
1972============ Checking for libdts support ============
1973
1974#include <inttypes.h>
1975#include <dts.h>
1976int main(void) { dts_init (0); return 0; }
1977
1978cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c -ldts -lm
1979/tmp/mplayer-conf-1167-23382.c:2:17: dts.h: No such file or directory
1980
1981ldd /tmp/mplayer-conf-23916-23382.o
1982otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
1983
1984Result is: no
1985##########################################
1986
1987============ Checking for libmpeg2 support ============
1988Result is: yes
1989##########################################
1990
1991============ Checking for libmpcdec (musepack, version >= 1.2.1 required) ============
1992
1993#include <mpcdec/mpcdec.h>
1994int main(void) {
1995  mpc_streaminfo info;
1996  mpc_decoder decoder;
1997  mpc_decoder_set_streaminfo(&decoder, &info);
1998  mpc_decoder_decode_frame(&decoder, NULL, 0, NULL);
1999}
2000
2001cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c -lmpcdec -lm
2002/tmp/mplayer-conf-1167-23382.c:1:27: mpcdec/mpcdec.h: No such file or directory
2003/tmp/mplayer-conf-1167-23382.c: In function `main':
2004/tmp/mplayer-conf-1167-23382.c:3: error: `mpc_streaminfo' undeclared (first use in this function)
2005/tmp/mplayer-conf-1167-23382.c:3: error: (Each undeclared identifier is reported only once
2006/tmp/mplayer-conf-1167-23382.c:3: error: for each function it appears in.)
2007/tmp/mplayer-conf-1167-23382.c:3: error: parse error before "info"
2008/tmp/mplayer-conf-1167-23382.c:4: error: `mpc_decoder' undeclared (first use in this function)
2009/tmp/mplayer-conf-1167-23382.c:5: error: `decoder' undeclared (first use in this function)
2010/tmp/mplayer-conf-1167-23382.c:5: error: `info' undeclared (first use in this function)
2011/tmp/mplayer-conf-1167-23382.c:6: error: `NULL' undeclared (first use in this function)
2012
2013ldd /tmp/mplayer-conf-23916-23382.o
2014otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
2015
2016Result is: no
2017##########################################
2018
2019============ Checking for Matroska support ============
2020Result is: yes
2021##########################################
2022
2023============ Checking for FAAC (AAC encoder) support ============
2024
2025#include <inttypes.h>
2026#include <faac.h>
2027int main(void) { unsigned long x, y; faacEncOpen(48000, 2, &x, &y); return 0; }
2028
2029cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c -c -O4 -lfaac -lm
2030/tmp/mplayer-conf-1167-23382.c:2:18: faac.h: No such file or directory
2031
2032ldd /tmp/mplayer-conf-23916-23382.o
2033otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
2034
2035
2036#include <inttypes.h>
2037#include <faac.h>
2038int main(void) { unsigned long x, y; faacEncOpen(48000, 2, &x, &y); return 0; }
2039
2040cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c -c -O4 -lfaac -lmp4v2 -lstdc++ -lm
2041/tmp/mplayer-conf-1167-23382.c:2:18: faac.h: No such file or directory
2042
2043ldd /tmp/mplayer-conf-23916-23382.o
2044otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
2045
2046Result is: no
2047##########################################
2048
2049============ Checking for internal FAAD2 (AAC) support ============
2050
2051/*
2052** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding
2053** Copyright (C) 2003-2004 M. Bakker, Ahead Software AG, http://www.nero.com
2054**
2055** This program is free software; you can redistribute it and/or modify
2056** it under the terms of the GNU General Public License as published by
2057** the Free Software Foundation; either version 2 of the License, or
2058** (at your option) any later version.
2059**
2060** This program is distributed in the hope that it will be useful,
2061** but WITHOUT ANY WARRANTY; without even the implied warranty of
2062** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
2063** GNU General Public License for more details.
2064**
2065** You should have received a copy of the GNU General Public License
2066** along with this program; if not, write to the Free Software
2067** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
2068**
2069** Any non-GPL usage of this software or parts of this software is strictly
2070** forbidden.
2071**
2072** Commercial non-GPL licensing of this software is possible.
2073** For more info contact Ahead Software through Mpeg4AAClicense@nero.com.
2074**
2075** $Id: cfft.c,v 1.27 2004/06/30 12:45:55 menno Exp $
2076**/
2077
2078/*
2079 * Algorithmically based on Fortran-77 FFTPACK
2080 * by Paul N. Swarztrauber(Version 4, 1985).
2081 *
2082 * Does even sized fft only
2083 */
2084
2085/* isign is +1 for backward and -1 for forward transforms */
2086
2087#include "common.h"
2088#include "structs.h"
2089
2090#include <stdlib.h>
2091
2092#include "cfft.h"
2093#include "cfft_tab.h"
2094
2095
2096/* static function declarations */
2097#ifdef USE_SSE
2098static void passf2pos_sse(const uint16_t l1, const complex_t *cc,
2099                          complex_t *ch, const complex_t *wa);
2100static void passf2pos_sse_ido(const uint16_t ido, const uint16_t l1, const complex_t *cc,
2101                              complex_t *ch, const complex_t *wa);
2102static void passf4pos_sse_ido(const uint16_t ido, const uint16_t l1, const complex_t *cc, complex_t *ch,
2103                              const complex_t *wa1, const complex_t *wa2, const complex_t *wa3);
2104#endif
2105static void passf2pos(const uint16_t ido, const uint16_t l1, const complex_t *cc,
2106                      complex_t *ch, const complex_t *wa);
2107static void passf2neg(const uint16_t ido, const uint16_t l1, const complex_t *cc,
2108                      complex_t *ch, const complex_t *wa);
2109static void passf3(const uint16_t ido, const uint16_t l1, const complex_t *cc,
2110                   complex_t *ch, const complex_t *wa1, const complex_t *wa2, const int8_t isign);
2111static void passf4pos(const uint16_t ido, const uint16_t l1, const complex_t *cc, complex_t *ch,
2112                      const complex_t *wa1, const complex_t *wa2, const complex_t *wa3);
2113static void passf4neg(const uint16_t ido, const uint16_t l1, const complex_t *cc, complex_t *ch,
2114                      const complex_t *wa1, const complex_t *wa2, const complex_t *wa3);
2115static void passf5(const uint16_t ido, const uint16_t l1, const complex_t *cc, complex_t *ch,
2116                   const complex_t *wa1, const complex_t *wa2, const complex_t *wa3,
2117                   const complex_t *wa4, const int8_t isign);
2118INLINE void cfftf1(uint16_t n, complex_t *c, complex_t *ch,
2119                   const uint16_t *ifac, const complex_t *wa, const int8_t isign);
2120static void cffti1(uint16_t n, complex_t *wa, uint16_t *ifac);
2121
2122
2123/*----------------------------------------------------------------------
2124   passf2, passf3, passf4, passf5. Complex FFT passes fwd and bwd.
2125  ----------------------------------------------------------------------*/
2126
2127#if 0 //def USE_SSE
2128static void passf2pos_sse(const uint16_t l1, const complex_t *cc,
2129                          complex_t *ch, const complex_t *wa)
2130{
2131    uint16_t k, ah, ac;
2132
2133    for (k = 0; k < l1; k++)
2134    {
2135        ah = 2*k;
2136        ac = 4*k;
2137
2138        RE(ch[ah])    = RE(cc[ac]) + RE(cc[ac+1]);
2139        IM(ch[ah])    = IM(cc[ac]) + IM(cc[ac+1]);
2140
2141        RE(ch[ah+l1]) = RE(cc[ac]) - RE(cc[ac+1]);
2142        IM(ch[ah+l1]) = IM(cc[ac]) - IM(cc[ac+1]);
2143    }
2144}
2145
2146static void passf2pos_sse_ido(const uint16_t ido, const uint16_t l1, const complex_t *cc,
2147                              complex_t *ch, const complex_t *wa)
2148{
2149    uint16_t i, k, ah, ac;
2150
2151    for (k = 0; k < l1; k++)
2152    {
2153        ah = k*ido;
2154        ac = 2*k*ido;
2155
2156        for (i = 0; i < ido; i+=4)
2157        {
2158            __m128 m1, m2, m3, m4, m5, m6, m7, m8, m9, m10, m11, m12, m13, m14;
2159            __m128 m15, m16, m17, m18, m19, m20, m21, m22, m23, m24;
2160            __m128 w1, w2, w3, w4;
2161
2162            m1 = _mm_load_ps(&RE(cc[ac+i]));
2163            m2 = _mm_load_ps(&RE(cc[ac+ido+i]));
2164            m5 = _mm_load_ps(&RE(cc[ac+i+2]));
2165            m6 = _mm_load_ps(&RE(cc[ac+ido+i+2]));
2166            w1 = _mm_load_ps(&RE(wa[i]));
2167            w3 = _mm_load_ps(&RE(wa[i+2]));
2168
2169            m3 = _mm_add_ps(m1, m2);
2170            m15 = _mm_add_ps(m5, m6);
2171
2172            m4 = _mm_sub_ps(m1, m2);
2173            m16 = _mm_sub_ps(m5, m6);
2174
2175            _mm_store_ps(&RE(ch[ah+i]), m3);
2176            _mm_store_ps(&RE(ch[ah+i+2]), m15);
2177
2178
2179            w2 = _mm_shuffle_ps(w1, w1, _MM_SHUFFLE(2, 3, 0, 1));
2180            w4 = _mm_shuffle_ps(w3, w3, _MM_SHUFFLE(2, 3, 0, 1));
2181
2182            m7 = _mm_mul_ps(m4, w1);
2183            m17 = _mm_mul_ps(m16, w3);
2184            m8 = _mm_mul_ps(m4, w2);
2185            m18 = _mm_mul_ps(m16, w4);
2186
2187            m9  = _mm_shuffle_ps(m7, m8, _MM_SHUFFLE(2, 0, 2, 0));
2188            m19 = _mm_shuffle_ps(m17, m18, _MM_SHUFFLE(2, 0, 2, 0));
2189            m10 = _mm_shuffle_ps(m7, m8, _MM_SHUFFLE(3, 1, 3, 1));
2190            m20 = _mm_shuffle_ps(m17, m18, _MM_SHUFFLE(3, 1, 3, 1));
2191
2192            m11 = _mm_add_ps(m9, m10);
2193            m21 = _mm_add_ps(m19, m20);
2194            m12 = _mm_sub_ps(m9, m10);
2195            m22 = _mm_sub_ps(m19, m20);
2196
2197            m13 = _mm_shuffle_ps(m11, m11, _MM_SHUFFLE(0, 0, 3, 2));
2198            m23 = _mm_shuffle_ps(m21, m21, _MM_SHUFFLE(0, 0, 3, 2));
2199
2200            m14 = _mm_unpacklo_ps(m12, m13);
2201            m24 = _mm_unpacklo_ps(m22, m23);
2202
2203            _mm_store_ps(&RE(ch[ah+i+l1*ido]), m14);
2204            _mm_store_ps(&RE(ch[ah+i+2+l1*ido]), m24);
2205        }
2206    }
2207}
2208#endif
2209
2210static void passf2pos(const uint16_t ido, const uint16_t l1, const complex_t *cc,
2211                      complex_t *ch, const complex_t *wa)
2212{
2213    uint16_t i, k, ah, ac;
2214
2215    if (ido == 1)
2216    {
2217        for (k = 0; k < l1; k++)
2218        {
2219            ah = 2*k;
2220            ac = 4*k;
2221
2222            RE(ch[ah])    = RE(cc[ac]) + RE(cc[ac+1]);
2223            RE(ch[ah+l1]) = RE(cc[ac]) - RE(cc[ac+1]);
2224            IM(ch[ah])    = IM(cc[ac]) + IM(cc[ac+1]);
2225            IM(ch[ah+l1]) = IM(cc[ac]) - IM(cc[ac+1]);
2226        }
2227    } else {
2228        for (k = 0; k < l1; k++)
2229        {
2230            ah = k*ido;
2231            ac = 2*k*ido;
2232
2233            for (i = 0; i < ido; i++)
2234            {
2235                complex_t t2;
2236
2237                RE(ch[ah+i]) = RE(cc[ac+i]) + RE(cc[ac+i+ido]);
2238                RE(t2)       = RE(cc[ac+i]) - RE(cc[ac+i+ido]);
2239
2240                IM(ch[ah+i]) = IM(cc[ac+i]) + IM(cc[ac+i+ido]);
2241                IM(t2)       = IM(cc[ac+i]) - IM(cc[ac+i+ido]);
2242
2243#if 1
2244                ComplexMult(&IM(ch[ah+i+l1*ido]), &RE(ch[ah+i+l1*ido]),
2245                    IM(t2), RE(t2), RE(wa[i]), IM(wa[i]));
2246#else
2247                ComplexMult(&RE(ch[ah+i+l1*ido]), &IM(ch[ah+i+l1*ido]),
2248                    RE(t2), IM(t2), RE(wa[i]), IM(wa[i]));
2249#endif
2250            }
2251        }
2252    }
2253}
2254
2255static void passf2neg(const uint16_t ido, const uint16_t l1, const complex_t *cc,
2256                      complex_t *ch, const complex_t *wa)
2257{
2258    uint16_t i, k, ah, ac;
2259
2260    if (ido == 1)
2261    {
2262        for (k = 0; k < l1; k++)
2263        {
2264            ah = 2*k;
2265            ac = 4*k;
2266
2267            RE(ch[ah])    = RE(cc[ac]) + RE(cc[ac+1]);
2268            RE(ch[ah+l1]) = RE(cc[ac]) - RE(cc[ac+1]);
2269            IM(ch[ah])    = IM(cc[ac]) + IM(cc[ac+1]);
2270            IM(ch[ah+l1]) = IM(cc[ac]) - IM(cc[ac+1]);
2271        }
2272    } else {
2273        for (k = 0; k < l1; k++)
2274        {
2275            ah = k*ido;
2276            ac = 2*k*ido;
2277
2278            for (i = 0; i < ido; i++)
2279            {
2280                complex_t t2;
2281
2282                RE(ch[ah+i]) = RE(cc[ac+i]) + RE(cc[ac+i+ido]);
2283                RE(t2)       = RE(cc[ac+i]) - RE(cc[ac+i+ido]);
2284
2285                IM(ch[ah+i]) = IM(cc[ac+i]) + IM(cc[ac+i+ido]);
2286                IM(t2)       = IM(cc[ac+i]) - IM(cc[ac+i+ido]);
2287
2288#if 1
2289                ComplexMult(&RE(ch[ah+i+l1*ido]), &IM(ch[ah+i+l1*ido]),
2290                    RE(t2), IM(t2), RE(wa[i]), IM(wa[i]));
2291#else
2292                ComplexMult(&IM(ch[ah+i+l1*ido]), &RE(ch[ah+i+l1*ido]),
2293                    IM(t2), RE(t2), RE(wa[i]), IM(wa[i]));
2294#endif
2295            }
2296        }
2297    }
2298}
2299
2300
2301static void passf3(const uint16_t ido, const uint16_t l1, const complex_t *cc,
2302                   complex_t *ch, const complex_t *wa1, const complex_t *wa2,
2303                   const int8_t isign)
2304{
2305    static real_t taur = FRAC_CONST(-0.5);
2306    static real_t taui = FRAC_CONST(0.866025403784439);
2307    uint16_t i, k, ac, ah;
2308    complex_t c2, c3, d2, d3, t2;
2309
2310    if (ido == 1)
2311    {
2312        if (isign == 1)
2313        {
2314            for (k = 0; k < l1; k++)
2315            {
2316                ac = 3*k+1;
2317                ah = k;
2318
2319                RE(t2) = RE(cc[ac]) + RE(cc[ac+1]);
2320                IM(t2) = IM(cc[ac]) + IM(cc[ac+1]);
2321                RE(c2) = RE(cc[ac-1]) + MUL_F(RE(t2),taur);
2322                IM(c2) = IM(cc[ac-1]) + MUL_F(IM(t2),taur);
2323
2324                RE(ch[ah]) = RE(cc[ac-1]) + RE(t2);
2325                IM(ch[ah]) = IM(cc[ac-1]) + IM(t2);
2326
2327                RE(c3) = MUL_F((RE(cc[ac]) - RE(cc[ac+1])), taui);
2328                IM(c3) = MUL_F((IM(cc[ac]) - IM(cc[ac+1])), taui);
2329
2330                RE(ch[ah+l1]) = RE(c2) - IM(c3);
2331                IM(ch[ah+l1]) = IM(c2) + RE(c3);
2332                RE(ch[ah+2*l1]) = RE(c2) + IM(c3);
2333                IM(ch[ah+2*l1]) = IM(c2) - RE(c3);
2334            }
2335        } else {
2336            for (k = 0; k < l1; k++)
2337            {
2338                ac = 3*k+1;
2339                ah = k;
2340
2341                RE(t2) = RE(cc[ac]) + RE(cc[ac+1]);
2342                IM(t2) = IM(cc[ac]) + IM(cc[ac+1]);
2343                RE(c2) = RE(cc[ac-1]) + MUL_F(RE(t2),taur);
2344                IM(c2) = IM(cc[ac-1]) + MUL_F(IM(t2),taur);
2345
2346                RE(ch[ah]) = RE(cc[ac-1]) + RE(t2);
2347                IM(ch[ah]) = IM(cc[ac-1]) + IM(t2);
2348
2349                RE(c3) = MUL_F((RE(cc[ac]) - RE(cc[ac+1])), taui);
2350                IM(c3) = MUL_F((IM(cc[ac]) - IM(cc[ac+1])), taui);
2351
2352                RE(ch[ah+l1]) = RE(c2) + IM(c3);
2353                IM(ch[ah+l1]) = IM(c2) - RE(c3);
2354                RE(ch[ah+2*l1]) = RE(c2) - IM(c3);
2355                IM(ch[ah+2*l1]) = IM(c2) + RE(c3);
2356            }
2357        }
2358    } else {
2359        if (isign == 1)
2360        {
2361            for (k = 0; k < l1; k++)
2362            {
2363                for (i = 0; i < ido; i++)
2364                {
2365                    ac = i + (3*k+1)*ido;
2366                    ah = i + k * ido;
2367
2368                    RE(t2) = RE(cc[ac]) + RE(cc[ac+ido]);
2369                    RE(c2) = RE(cc[ac-ido]) + MUL_F(RE(t2),taur);
2370                    IM(t2) = IM(cc[ac]) + IM(cc[ac+ido]);
2371                    IM(c2) = IM(cc[ac-ido]) + MUL_F(IM(t2),taur);
2372
2373                    RE(ch[ah]) = RE(cc[ac-ido]) + RE(t2);
2374                    IM(ch[ah]) = IM(cc[ac-ido]) + IM(t2);
2375
2376                    RE(c3) = MUL_F((RE(cc[ac]) - RE(cc[ac+ido])), taui);
2377                    IM(c3) = MUL_F((IM(cc[ac]) - IM(cc[ac+ido])), taui);
2378
2379                    RE(d2) = RE(c2) - IM(c3);
2380                    IM(d3) = IM(c2) - RE(c3);
2381                    RE(d3) = RE(c2) + IM(c3);
2382                    IM(d2) = IM(c2) + RE(c3);
2383
2384#if 1
2385                    ComplexMult(&IM(ch[ah+l1*ido]), &RE(ch[ah+l1*ido]),
2386                        IM(d2), RE(d2), RE(wa1[i]), IM(wa1[i]));
2387                    ComplexMult(&IM(ch[ah+2*l1*ido]), &RE(ch[ah+2*l1*ido]),
2388                        IM(d3), RE(d3), RE(wa2[i]), IM(wa2[i]));
2389#else
2390                    ComplexMult(&RE(ch[ah+l1*ido]), &IM(ch[ah+l1*ido]),
2391                        RE(d2), IM(d2), RE(wa1[i]), IM(wa1[i]));
2392                    ComplexMult(&RE(ch[ah+2*l1*ido]), &IM(ch[ah+2*l1*ido]),
2393                        RE(d3), IM(d3), RE(wa2[i]), IM(wa2[i]));
2394#endif
2395                }
2396            }
2397        } else {
2398            for (k = 0; k < l1; k++)
2399            {
2400                for (i = 0; i < ido; i++)
2401                {
2402                    ac = i + (3*k+1)*ido;
2403                    ah = i + k * ido;
2404
2405                    RE(t2) = RE(cc[ac]) + RE(cc[ac+ido]);
2406                    RE(c2) = RE(cc[ac-ido]) + MUL_F(RE(t2),taur);
2407                    IM(t2) = IM(cc[ac]) + IM(cc[ac+ido]);
2408                    IM(c2) = IM(cc[ac-ido]) + MUL_F(IM(t2),taur);
2409
2410                    RE(ch[ah]) = RE(cc[ac-ido]) + RE(t2);
2411                    IM(ch[ah]) = IM(cc[ac-ido]) + IM(t2);
2412
2413                    RE(c3) = MUL_F((RE(cc[ac]) - RE(cc[ac+ido])), taui);
2414                    IM(c3) = MUL_F((IM(cc[ac]) - IM(cc[ac+ido])), taui);
2415
2416                    RE(d2) = RE(c2) + IM(c3);
2417                    IM(d3) = IM(c2) + RE(c3);
2418                    RE(d3) = RE(c2) - IM(c3);
2419                    IM(d2) = IM(c2) - RE(c3);
2420
2421#if 1
2422                    ComplexMult(&RE(ch[ah+l1*ido]), &IM(ch[ah+l1*ido]),
2423                        RE(d2), IM(d2), RE(wa1[i]), IM(wa1[i]));
2424                    ComplexMult(&RE(ch[ah+2*l1*ido]), &IM(ch[ah+2*l1*ido]),
2425                        RE(d3), IM(d3), RE(wa2[i]), IM(wa2[i]));
2426#else
2427                    ComplexMult(&IM(ch[ah+l1*ido]), &RE(ch[ah+l1*ido]),
2428                        IM(d2), RE(d2), RE(wa1[i]), IM(wa1[i]));
2429                    ComplexMult(&IM(ch[ah+2*l1*ido]), &RE(ch[ah+2*l1*ido]),
2430                        IM(d3), RE(d3), RE(wa2[i]), IM(wa2[i]));
2431#endif
2432                }
2433            }
2434        }
2435    }
2436}
2437
2438#ifdef USE_SSE
2439ALIGN static const int32_t negate[4] = { 0x0, 0x0, 0x0, 0x80000000 };
2440
2441__declspec(naked) static void passf4pos_sse(const uint16_t l1, const complex_t *cc,
2442                                     complex_t *ch, const complex_t *wa1, const complex_t *wa2,
2443                                     const complex_t *wa3)
2444{
2445    __asm {
2446        push      ebx
2447        mov       ebx, esp
2448        and       esp, -16
2449        push      edi
2450        push      esi
2451        sub       esp, 8
2452        movzx     edi, WORD PTR [ebx+8]
2453
2454        movaps    xmm1, XMMWORD PTR negate
2455
2456        test      edi, edi
2457        jle       l1_is_zero
2458
2459        lea       esi, DWORD PTR [edi+edi]
2460        add       esi, esi
2461        sub       esi, edi
2462        add       esi, esi
2463        add       esi, esi
2464        add       esi, esi
2465        mov       eax, DWORD PTR [ebx+16]
2466        add       esi, eax
2467        lea       ecx, DWORD PTR [edi+edi]
2468        add       ecx, ecx
2469        add       ecx, ecx
2470        add       ecx, ecx
2471        add       ecx, eax
2472        lea       edx, DWORD PTR [edi+edi]
2473        add       edx, edx
2474        add       edx, edx
2475        add       edx, eax
2476        xor       eax, eax
2477        mov       DWORD PTR [esp], ebp
2478        mov       ebp, DWORD PTR [ebx+12]
2479
2480fftloop:
2481        lea       edi, DWORD PTR [eax+eax]
2482        add       edi, edi
2483        movaps    xmm2, XMMWORD PTR [ebp+edi*8]
2484        movaps    xmm0, XMMWORD PTR [ebp+edi*8+16]
2485        movaps    xmm7, XMMWORD PTR [ebp+edi*8+32]
2486        movaps    xmm5, XMMWORD PTR [ebp+edi*8+48]
2487        movaps    xmm6, xmm2
2488        addps     xmm6, xmm0
2489        movaps    xmm4, xmm1
2490        xorps     xmm4, xmm7
2491        movaps    xmm3, xmm1
2492        xorps     xmm3, xmm5
2493        xorps     xmm2, xmm1
2494        xorps     xmm0, xmm1
2495        addps     xmm7, xmm5
2496        subps     xmm2, xmm0
2497        movaps    xmm0, xmm6
2498        shufps    xmm0, xmm7, 68
2499        subps     xmm4, xmm3
2500        shufps    xmm6, xmm7, 238
2501        movaps    xmm5, xmm2
2502        shufps    xmm5, xmm4, 68
2503        movaps    xmm3, xmm0
2504        addps     xmm3, xmm6
2505        shufps    xmm2, xmm4, 187
2506        subps     xmm0, xmm6
2507        movaps    xmm4, xmm5
2508        addps     xmm4, xmm2
2509        mov       edi, DWORD PTR [ebx+16]
2510        movaps    XMMWORD PTR [edi+eax*8], xmm3
2511        subps     xmm5, xmm2
2512        movaps    XMMWORD PTR [edx+eax*8], xmm4
2513        movaps    XMMWORD PTR [ecx+eax*8], xmm0
2514        movaps    XMMWORD PTR [esi+eax*8], xmm5
2515        add       eax, 2
2516        movzx     eax, ax
2517        movzx     edi, WORD PTR [ebx+8]
2518        cmp       eax, edi
2519        jl        fftloop
2520
2521        mov       ebp, DWORD PTR [esp]
2522
2523l1_is_zero:
2524
2525        add       esp, 8
2526        pop       esi
2527        pop       edi
2528        mov       esp, ebx
2529        pop       ebx
2530        ret
2531    }
2532}
2533#endif
2534
2535#if 0
2536static void passf4pos_sse_ido(const uint16_t ido, const uint16_t l1, const complex_t *cc,
2537                              complex_t *ch, const complex_t *wa1, const complex_t *wa2,
2538                              const complex_t *wa3)
2539{
2540    uint16_t i, k, ac, ah;
2541
2542    for (k = 0; k < l1; k++)
2543    {
2544        ac = 4*k*ido;
2545        ah = k*ido;
2546
2547        for (i = 0; i < ido; i+=2)
2548        {
2549            __m128 m1, m2, m3, m4, m5, m6, m7, m8, m9, m10, m11, m12, m13, m14, m15, m16;
2550            __m128 n1, n2, n3, n4, n5, n6, n7, n8, n9, m17, m18, m19, m20, m21, m22, m23;
2551            __m128 w1, w2, w3, w4, w5, w6, m24, m25, m26, m27, m28, m29, m30;
2552            __m128 neg1 = _mm_set_ps(-1.0, 1.0, -1.0, 1.0);
2553
2554            m1 = _mm_load_ps(&RE(cc[ac+i]));
2555            m2 = _mm_load_ps(&RE(cc[ac+i+2*ido]));
2556            m3 = _mm_add_ps(m1, m2);
2557            m4 = _mm_sub_ps(m1, m2);
2558
2559            n1 = _mm_load_ps(&RE(cc[ac+i+ido]));
2560            n2 = _mm_load_ps(&RE(cc[ac+i+3*ido]));
2561            n3 = _mm_add_ps(n1, n2);
2562
2563            n4 = _mm_mul_ps(neg1, n1);
2564            n5 = _mm_mul_ps(neg1, n2);
2565            n6 = _mm_sub_ps(n4, n5);
2566
2567            m5 = _mm_add_ps(m3, n3);
2568
2569            n7 = _mm_shuffle_ps(n6, n6, _MM_SHUFFLE(2, 3, 0, 1));
2570            n8 = _mm_add_ps(m4, n7);
2571
2572            m6 = _mm_sub_ps(m3, n3);
2573            n9 = _mm_sub_ps(m4, n7);
2574
2575            _mm_store_ps(&RE(ch[ah+i]), m5);
2576
2577#if 0
2578            static INLINE void ComplexMult(real_t *y1, real_t *y2,
2579                real_t x1, real_t x2, real_t c1, real_t c2)
2580            {
2581                *y1 = MUL_F(x1, c1) + MUL_F(x2, c2);
2582                *y2 = MUL_F(x2, c1) - MUL_F(x1, c2);
2583            }
2584
2585            m7.0 = RE(c2)*RE(wa1[i])
2586            m7.1 = IM(c2)*IM(wa1[i])
2587            m7.2 = RE(c6)*RE(wa1[i+1])
2588            m7.3 = IM(c6)*IM(wa1[i+1])
2589
2590            m8.0 = RE(c2)*IM(wa1[i])
2591            m8.1 = IM(c2)*RE(wa1[i])
2592            m8.2 = RE(c6)*IM(wa1[i+1])
2593            m8.3 = IM(c6)*RE(wa1[i+1])
2594
2595            RE(0) = m7.0 - m7.1
2596            IM(0) = m8.0 + m8.1
2597            RE(1) = m7.2 - m7.3
2598            IM(1) = m8.2 + m8.3
2599
2600            ////
2601            RE(0) = RE(c2)*RE(wa1[i])   - IM(c2)*IM(wa1[i])
2602            IM(0) = RE(c2)*IM(wa1[i])   + IM(c2)*RE(wa1[i])
2603            RE(1) = RE(c6)*RE(wa1[i+1]) - IM(c6)*IM(wa1[i+1])
2604            IM(1) = RE(c6)*IM(wa1[i+1]) + IM(c6)*RE(wa1[i+1])
2605#endif
2606
2607            w1 = _mm_load_ps(&RE(wa1[i]));
2608            w3 = _mm_load_ps(&RE(wa2[i]));
2609            w5 = _mm_load_ps(&RE(wa3[i]));
2610
2611            w2 = _mm_shuffle_ps(w1, w1, _MM_SHUFFLE(2, 3, 0, 1));
2612            w4 = _mm_shuffle_ps(w3, w3, _MM_SHUFFLE(2, 3, 0, 1));
2613            w6 = _mm_shuffle_ps(w5, w5, _MM_SHUFFLE(2, 3, 0, 1));
2614
2615            m7 = _mm_mul_ps(n8, w1);
2616            m15 = _mm_mul_ps(m6, w3);
2617            m23 = _mm_mul_ps(n9, w5);
2618            m8 = _mm_mul_ps(n8, w2);
2619            m16 = _mm_mul_ps(m6, w4);
2620            m24 = _mm_mul_ps(n9, w6);
2621
2622            m9  = _mm_shuffle_ps(m7, m8, _MM_SHUFFLE(2, 0, 2, 0));
2623            m17 = _mm_shuffle_ps(m15, m16, _MM_SHUFFLE(2, 0, 2, 0));
2624            m25 = _mm_shuffle_ps(m23, m24, _MM_SHUFFLE(2, 0, 2, 0));
2625            m10 = _mm_shuffle_ps(m7, m8, _MM_SHUFFLE(3, 1, 3, 1));
2626            m18 = _mm_shuffle_ps(m15, m16, _MM_SHUFFLE(3, 1, 3, 1));
2627            m26 = _mm_shuffle_ps(m23, m24, _MM_SHUFFLE(3, 1, 3, 1));
2628
2629            m11 = _mm_add_ps(m9, m10);
2630            m19 = _mm_add_ps(m17, m18);
2631            m27 = _mm_add_ps(m25, m26);
2632            m12 = _mm_sub_ps(m9, m10);
2633            m20 = _mm_sub_ps(m17, m18);
2634            m28 = _mm_sub_ps(m25, m26);
2635
2636            m13 = _mm_shuffle_ps(m11, m11, _MM_SHUFFLE(0, 0, 3, 2));
2637            m21 = _mm_shuffle_ps(m19, m19, _MM_SHUFFLE(0, 0, 3, 2));
2638            m29 = _mm_shuffle_ps(m27, m27, _MM_SHUFFLE(0, 0, 3, 2));
2639            m14 = _mm_unpacklo_ps(m12, m13);
2640            m22 = _mm_unpacklo_ps(m20, m21);
2641            m30 = _mm_unpacklo_ps(m28, m29);
2642
2643            _mm_store_ps(&RE(ch[ah+i+l1*ido]), m14);
2644            _mm_store_ps(&RE(ch[ah+i+2*l1*ido]), m22);
2645            _mm_store_ps(&RE(ch[ah+i+3*l1*ido]), m30);
2646        }
2647    }
2648}
2649#endif
2650
2651static void passf4pos(const uint16_t ido, const uint16_t l1, const complex_t *cc,
2652                      complex_t *ch, const complex_t *wa1, const complex_t *wa2,
2653                      const complex_t *wa3)
2654{
2655    uint16_t i, k, ac, ah;
2656
2657    if (ido == 1)
2658    {
2659        for (k = 0; k < l1; k++)
2660        {
2661            complex_t t1, t2, t3, t4;
2662
2663            ac = 4*k;
2664            ah = k;
2665
2666            RE(t2) = RE(cc[ac])   + RE(cc[ac+2]);
2667            RE(t1) = RE(cc[ac])   - RE(cc[ac+2]);
2668            IM(t2) = IM(cc[ac])   + IM(cc[ac+2]);
2669            IM(t1) = IM(cc[ac])   - IM(cc[ac+2]);
2670            RE(t3) = RE(cc[ac+1]) + RE(cc[ac+3]);
2671            IM(t4) = RE(cc[ac+1]) - RE(cc[ac+3]);
2672            IM(t3) = IM(cc[ac+3]) + IM(cc[ac+1]);
2673            RE(t4) = IM(cc[ac+3]) - IM(cc[ac+1]);
2674
2675            RE(ch[ah])      = RE(t2) + RE(t3);
2676            RE(ch[ah+2*l1]) = RE(t2) - RE(t3);
2677
2678            IM(ch[ah])      = IM(t2) + IM(t3);
2679            IM(ch[ah+2*l1]) = IM(t2) - IM(t3);
2680
2681            RE(ch[ah+l1])   = RE(t1) + RE(t4);
2682            RE(ch[ah+3*l1]) = RE(t1) - RE(t4);
2683
2684            IM(ch[ah+l1])   = IM(t1) + IM(t4);
2685            IM(ch[ah+3*l1]) = IM(t1) - IM(t4);
2686        }
2687    } else {
2688        for (k = 0; k < l1; k++)
2689        {
2690            ac = 4*k*ido;
2691            ah = k*ido;
2692
2693            for (i = 0; i < ido; i++)
2694            {
2695                complex_t c2, c3, c4, t1, t2, t3, t4;
2696
2697                RE(t2) = RE(cc[ac+i]) + RE(cc[ac+i+2*ido]);
2698                RE(t1) = RE(cc[ac+i]) - RE(cc[ac+i+2*ido]);
2699                IM(t2) = IM(cc[ac+i]) + IM(cc[ac+i+2*ido]);
2700                IM(t1) = IM(cc[ac+i]) - IM(cc[ac+i+2*ido]);
2701                RE(t3) = RE(cc[ac+i+ido]) + RE(cc[ac+i+3*ido]);
2702                IM(t4) = RE(cc[ac+i+ido]) - RE(cc[ac+i+3*ido]);
2703                IM(t3) = IM(cc[ac+i+3*ido]) + IM(cc[ac+i+ido]);
2704                RE(t4) = IM(cc[ac+i+3*ido]) - IM(cc[ac+i+ido]);
2705
2706                RE(c2) = RE(t1) + RE(t4);
2707                RE(c4) = RE(t1) - RE(t4);
2708
2709                IM(c2) = IM(t1) + IM(t4);
2710                IM(c4) = IM(t1) - IM(t4);
2711
2712                RE(ch[ah+i]) = RE(t2) + RE(t3);
2713                RE(c3)       = RE(t2) - RE(t3);
2714
2715                IM(ch[ah+i]) = IM(t2) + IM(t3);
2716                IM(c3)       = IM(t2) - IM(t3);
2717
2718#if 1
2719                ComplexMult(&IM(ch[ah+i+l1*ido]), &RE(ch[ah+i+l1*ido]),
2720                    IM(c2), RE(c2), RE(wa1[i]), IM(wa1[i]));
2721                ComplexMult(&IM(ch[ah+i+2*l1*ido]), &RE(ch[ah+i+2*l1*ido]),
2722                    IM(c3), RE(c3), RE(wa2[i]), IM(wa2[i]));
2723                ComplexMult(&IM(ch[ah+i+3*l1*ido]), &RE(ch[ah+i+3*l1*ido]),
2724                    IM(c4), RE(c4), RE(wa3[i]), IM(wa3[i]));
2725#else
2726                ComplexMult(&RE(ch[ah+i+l1*ido]), &IM(ch[ah+i+l1*ido]),
2727                    RE(c2), IM(c2), RE(wa1[i]), IM(wa1[i]));
2728                ComplexMult(&RE(ch[ah+i+2*l1*ido]), &IM(ch[ah+i+2*l1*ido]),
2729                    RE(c3), IM(c3), RE(wa2[i]), IM(wa2[i]));
2730                ComplexMult(&RE(ch[ah+i+3*l1*ido]), &IM(ch[ah+i+3*l1*ido]),
2731                    RE(c4), IM(c4), RE(wa3[i]), IM(wa3[i]));
2732#endif
2733            }
2734        }
2735    }
2736}
2737
2738static void passf4neg(const uint16_t ido, const uint16_t l1, const complex_t *cc,
2739                      complex_t *ch, const complex_t *wa1, const complex_t *wa2,
2740                      const complex_t *wa3)
2741{
2742    uint16_t i, k, ac, ah;
2743
2744    if (ido == 1)
2745    {
2746        for (k = 0; k < l1; k++)
2747        {
2748            complex_t t1, t2, t3, t4;
2749
2750            ac = 4*k;
2751            ah = k;
2752
2753            RE(t2) = RE(cc[ac])   + RE(cc[ac+2]);
2754            RE(t1) = RE(cc[ac])   - RE(cc[ac+2]);
2755            IM(t2) = IM(cc[ac])   + IM(cc[ac+2]);
2756            IM(t1) = IM(cc[ac])   - IM(cc[ac+2]);
2757            RE(t3) = RE(cc[ac+1]) + RE(cc[ac+3]);
2758            IM(t4) = RE(cc[ac+1]) - RE(cc[ac+3]);
2759            IM(t3) = IM(cc[ac+3]) + IM(cc[ac+1]);
2760            RE(t4) = IM(cc[ac+3]) - IM(cc[ac+1]);
2761
2762            RE(ch[ah])      = RE(t2) + RE(t3);
2763            RE(ch[ah+2*l1]) = RE(t2) - RE(t3);
2764
2765            IM(ch[ah])      = IM(t2) + IM(t3);
2766            IM(ch[ah+2*l1]) = IM(t2) - IM(t3);
2767
2768            RE(ch[ah+l1])   = RE(t1) - RE(t4);
2769            RE(ch[ah+3*l1]) = RE(t1) + RE(t4);
2770
2771            IM(ch[ah+l1])   = IM(t1) - IM(t4);
2772            IM(ch[ah+3*l1]) = IM(t1) + IM(t4);
2773        }
2774    } else {
2775        for (k = 0; k < l1; k++)
2776        {
2777            ac = 4*k*ido;
2778            ah = k*ido;
2779
2780            for (i = 0; i < ido; i++)
2781            {
2782                complex_t c2, c3, c4, t1, t2, t3, t4;
2783
2784                RE(t2) = RE(cc[ac+i]) + RE(cc[ac+i+2*ido]);
2785                RE(t1) = RE(cc[ac+i]) - RE(cc[ac+i+2*ido]);
2786                IM(t2) = IM(cc[ac+i]) + IM(cc[ac+i+2*ido]);
2787                IM(t1) = IM(cc[ac+i]) - IM(cc[ac+i+2*ido]);
2788                RE(t3) = RE(cc[ac+i+ido]) + RE(cc[ac+i+3*ido]);
2789                IM(t4) = RE(cc[ac+i+ido]) - RE(cc[ac+i+3*ido]);
2790                IM(t3) = IM(cc[ac+i+3*ido]) + IM(cc[ac+i+ido]);
2791                RE(t4) = IM(cc[ac+i+3*ido]) - IM(cc[ac+i+ido]);
2792
2793                RE(c2) = RE(t1) - RE(t4);
2794                RE(c4) = RE(t1) + RE(t4);
2795
2796                IM(c2) = IM(t1) - IM(t4);
2797                IM(c4) = IM(t1) + IM(t4);
2798
2799                RE(ch[ah+i]) = RE(t2) + RE(t3);
2800                RE(c3)       = RE(t2) - RE(t3);
2801
2802                IM(ch[ah+i]) = IM(t2) + IM(t3);
2803                IM(c3)       = IM(t2) - IM(t3);
2804
2805#if 1
2806                ComplexMult(&RE(ch[ah+i+l1*ido]), &IM(ch[ah+i+l1*ido]),
2807                    RE(c2), IM(c2), RE(wa1[i]), IM(wa1[i]));
2808                ComplexMult(&RE(ch[ah+i+2*l1*ido]), &IM(ch[ah+i+2*l1*ido]),
2809                    RE(c3), IM(c3), RE(wa2[i]), IM(wa2[i]));
2810                ComplexMult(&RE(ch[ah+i+3*l1*ido]), &IM(ch[ah+i+3*l1*ido]),
2811                    RE(c4), IM(c4), RE(wa3[i]), IM(wa3[i]));
2812#else
2813                ComplexMult(&IM(ch[ah+i+l1*ido]), &RE(ch[ah+i+l1*ido]),
2814                    IM(c2), RE(c2), RE(wa1[i]), IM(wa1[i]));
2815                ComplexMult(&IM(ch[ah+i+2*l1*ido]), &RE(ch[ah+i+2*l1*ido]),
2816                    IM(c3), RE(c3), RE(wa2[i]), IM(wa2[i]));
2817                ComplexMult(&IM(ch[ah+i+3*l1*ido]), &RE(ch[ah+i+3*l1*ido]),
2818                    IM(c4), RE(c4), RE(wa3[i]), IM(wa3[i]));
2819#endif
2820            }
2821        }
2822    }
2823}
2824
2825static void passf5(const uint16_t ido, const uint16_t l1, const complex_t *cc,
2826                   complex_t *ch, const complex_t *wa1, const complex_t *wa2, const complex_t *wa3,
2827                   const complex_t *wa4, const int8_t isign)
2828{
2829    static real_t tr11 = FRAC_CONST(0.309016994374947);
2830    static real_t ti11 = FRAC_CONST(0.951056516295154);
2831    static real_t tr12 = FRAC_CONST(-0.809016994374947);
2832    static real_t ti12 = FRAC_CONST(0.587785252292473);
2833    uint16_t i, k, ac, ah;
2834    complex_t c2, c3, c4, c5, d3, d4, d5, d2, t2, t3, t4, t5;
2835
2836    if (ido == 1)
2837    {
2838        if (isign == 1)
2839        {
2840            for (k = 0; k < l1; k++)
2841            {
2842                ac = 5*k + 1;
2843                ah = k;
2844
2845                RE(t2) = RE(cc[ac]) + RE(cc[ac+3]);
2846                IM(t2) = IM(cc[ac]) + IM(cc[ac+3]);
2847                RE(t3) = RE(cc[ac+1]) + RE(cc[ac+2]);
2848                IM(t3) = IM(cc[ac+1]) + IM(cc[ac+2]);
2849                RE(t4) = RE(cc[ac+1]) - RE(cc[ac+2]);
2850                IM(t4) = IM(cc[ac+1]) - IM(cc[ac+2]);
2851                RE(t5) = RE(cc[ac]) - RE(cc[ac+3]);
2852                IM(t5) = IM(cc[ac]) - IM(cc[ac+3]);
2853
2854                RE(ch[ah]) = RE(cc[ac-1]) + RE(t2) + RE(t3);
2855                IM(ch[ah]) = IM(cc[ac-1]) + IM(t2) + IM(t3);
2856
2857                RE(c2) = RE(cc[ac-1]) + MUL_F(RE(t2),tr11) + MUL_F(RE(t3),tr12);
2858                IM(c2) = IM(cc[ac-1]) + MUL_F(IM(t2),tr11) + MUL_F(IM(t3),tr12);
2859                RE(c3) = RE(cc[ac-1]) + MUL_F(RE(t2),tr12) + MUL_F(RE(t3),tr11);
2860                IM(c3) = IM(cc[ac-1]) + MUL_F(IM(t2),tr12) + MUL_F(IM(t3),tr11);
2861
2862                ComplexMult(&RE(c5), &RE(c4),
2863                    ti11, ti12, RE(t5), RE(t4));
2864                ComplexMult(&IM(c5), &IM(c4),
2865                    ti11, ti12, IM(t5), IM(t4));
2866
2867                RE(ch[ah+l1]) = RE(c2) - IM(c5);
2868                IM(ch[ah+l1]) = IM(c2) + RE(c5);
2869                RE(ch[ah+2*l1]) = RE(c3) - IM(c4);
2870                IM(ch[ah+2*l1]) = IM(c3) + RE(c4);
2871                RE(ch[ah+3*l1]) = RE(c3) + IM(c4);
2872                IM(ch[ah+3*l1]) = IM(c3) - RE(c4);
2873                RE(ch[ah+4*l1]) = RE(c2) + IM(c5);
2874                IM(ch[ah+4*l1]) = IM(c2) - RE(c5);
2875            }
2876        } else {
2877            for (k = 0; k < l1; k++)
2878            {
2879                ac = 5*k + 1;
2880                ah = k;
2881
2882                RE(t2) = RE(cc[ac]) + RE(cc[ac+3]);
2883                IM(t2) = IM(cc[ac]) + IM(cc[ac+3]);
2884                RE(t3) = RE(cc[ac+1]) + RE(cc[ac+2]);
2885                IM(t3) = IM(cc[ac+1]) + IM(cc[ac+2]);
2886                RE(t4) = RE(cc[ac+1]) - RE(cc[ac+2]);
2887                IM(t4) = IM(cc[ac+1]) - IM(cc[ac+2]);
2888                RE(t5) = RE(cc[ac]) - RE(cc[ac+3]);
2889                IM(t5) = IM(cc[ac]) - IM(cc[ac+3]);
2890
2891                RE(ch[ah]) = RE(cc[ac-1]) + RE(t2) + RE(t3);
2892                IM(ch[ah]) = IM(cc[ac-1]) + IM(t2) + IM(t3);
2893
2894                RE(c2) = RE(cc[ac-1]) + MUL_F(RE(t2),tr11) + MUL_F(RE(t3),tr12);
2895                IM(c2) = IM(cc[ac-1]) + MUL_F(IM(t2),tr11) + MUL_F(IM(t3),tr12);
2896                RE(c3) = RE(cc[ac-1]) + MUL_F(RE(t2),tr12) + MUL_F(RE(t3),tr11);
2897                IM(c3) = IM(cc[ac-1]) + MUL_F(IM(t2),tr12) + MUL_F(IM(t3),tr11);
2898
2899                ComplexMult(&RE(c4), &RE(c5),
2900                    ti12, ti11, RE(t5), RE(t4));
2901                ComplexMult(&IM(c4), &IM(c5),
2902                    ti12, ti12, IM(t5), IM(t4));
2903
2904                RE(ch[ah+l1]) = RE(c2) + IM(c5);
2905                IM(ch[ah+l1]) = IM(c2) - RE(c5);
2906                RE(ch[ah+2*l1]) = RE(c3) + IM(c4);
2907                IM(ch[ah+2*l1]) = IM(c3) - RE(c4);
2908                RE(ch[ah+3*l1]) = RE(c3) - IM(c4);
2909                IM(ch[ah+3*l1]) = IM(c3) + RE(c4);
2910                RE(ch[ah+4*l1]) = RE(c2) - IM(c5);
2911                IM(ch[ah+4*l1]) = IM(c2) + RE(c5);
2912            }
2913        }
2914    } else {
2915        if (isign == 1)
2916        {
2917            for (k = 0; k < l1; k++)
2918            {
2919                for (i = 0; i < ido; i++)
2920                {
2921                    ac = i + (k*5 + 1) * ido;
2922                    ah = i + k * ido;
2923
2924                    RE(t2) = RE(cc[ac]) + RE(cc[ac+3*ido]);
2925                    IM(t2) = IM(cc[ac]) + IM(cc[ac+3*ido]);
2926                    RE(t3) = RE(cc[ac+ido]) + RE(cc[ac+2*ido]);
2927                    IM(t3) = IM(cc[ac+ido]) + IM(cc[ac+2*ido]);
2928                    RE(t4) = RE(cc[ac+ido]) - RE(cc[ac+2*ido]);
2929                    IM(t4) = IM(cc[ac+ido]) - IM(cc[ac+2*ido]);
2930                    RE(t5) = RE(cc[ac]) - RE(cc[ac+3*ido]);
2931                    IM(t5) = IM(cc[ac]) - IM(cc[ac+3*ido]);
2932
2933                    RE(ch[ah]) = RE(cc[ac-ido]) + RE(t2) + RE(t3);
2934                    IM(ch[ah]) = IM(cc[ac-ido]) + IM(t2) + IM(t3);
2935
2936                    RE(c2) = RE(cc[ac-ido]) + MUL_F(RE(t2),tr11) + MUL_F(RE(t3),tr12);
2937                    IM(c2) = IM(cc[ac-ido]) + MUL_F(IM(t2),tr11) + MUL_F(IM(t3),tr12);
2938                    RE(c3) = RE(cc[ac-ido]) + MUL_F(RE(t2),tr12) + MUL_F(RE(t3),tr11);
2939                    IM(c3) = IM(cc[ac-ido]) + MUL_F(IM(t2),tr12) + MUL_F(IM(t3),tr11);
2940
2941                    ComplexMult(&RE(c5), &RE(c4),
2942                        ti11, ti12, RE(t5), RE(t4));
2943                    ComplexMult(&IM(c5), &IM(c4),
2944                        ti11, ti12, IM(t5), IM(t4));
2945
2946                    IM(d2) = IM(c2) + RE(c5);
2947                    IM(d3) = IM(c3) + RE(c4);
2948                    RE(d4) = RE(c3) + IM(c4);
2949                    RE(d5) = RE(c2) + IM(c5);
2950                    RE(d2) = RE(c2) - IM(c5);
2951                    IM(d5) = IM(c2) - RE(c5);
2952                    RE(d3) = RE(c3) - IM(c4);
2953                    IM(d4) = IM(c3) - RE(c4);
2954
2955#if 1
2956                    ComplexMult(&IM(ch[ah+l1*ido]), &RE(ch[ah+l1*ido]),
2957                        IM(d2), RE(d2), RE(wa1[i]), IM(wa1[i]));
2958                    ComplexMult(&IM(ch[ah+2*l1*ido]), &RE(ch[ah+2*l1*ido]),
2959                        IM(d3), RE(d3), RE(wa2[i]), IM(wa2[i]));
2960                    ComplexMult(&IM(ch[ah+3*l1*ido]), &RE(ch[ah+3*l1*ido]),
2961                        IM(d4), RE(d4), RE(wa3[i]), IM(wa3[i]));
2962                    ComplexMult(&IM(ch[ah+4*l1*ido]), &RE(ch[ah+4*l1*ido]),
2963                        IM(d5), RE(d5), RE(wa4[i]), IM(wa4[i]));
2964#else
2965                    ComplexMult(&RE(ch[ah+l1*ido]), &IM(ch[ah+l1*ido]),
2966                        RE(d2), IM(d2), RE(wa1[i]), IM(wa1[i]));
2967                    ComplexMult(&RE(ch[ah+2*l1*ido]), &IM(ch[ah+2*l1*ido]),
2968                        RE(d3), IM(d3), RE(wa2[i]), IM(wa2[i]));
2969                    ComplexMult(&RE(ch[ah+3*l1*ido]), &IM(ch[ah+3*l1*ido]),
2970                        RE(d4), IM(d4), RE(wa3[i]), IM(wa3[i]));
2971                    ComplexMult(&RE(ch[ah+4*l1*ido]), &IM(ch[ah+4*l1*ido]),
2972                        RE(d5), IM(d5), RE(wa4[i]), IM(wa4[i]));
2973#endif
2974                }
2975            }
2976        } else {
2977            for (k = 0; k < l1; k++)
2978            {
2979                for (i = 0; i < ido; i++)
2980                {
2981                    ac = i + (k*5 + 1) * ido;
2982                    ah = i + k * ido;
2983
2984                    RE(t2) = RE(cc[ac]) + RE(cc[ac+3*ido]);
2985                    IM(t2) = IM(cc[ac]) + IM(cc[ac+3*ido]);
2986                    RE(t3) = RE(cc[ac+ido]) + RE(cc[ac+2*ido]);
2987                    IM(t3) = IM(cc[ac+ido]) + IM(cc[ac+2*ido]);
2988                    RE(t4) = RE(cc[ac+ido]) - RE(cc[ac+2*ido]);
2989                    IM(t4) = IM(cc[ac+ido]) - IM(cc[ac+2*ido]);
2990                    RE(t5) = RE(cc[ac]) - RE(cc[ac+3*ido]);
2991                    IM(t5) = IM(cc[ac]) - IM(cc[ac+3*ido]);
2992
2993                    RE(ch[ah]) = RE(cc[ac-ido]) + RE(t2) + RE(t3);
2994                    IM(ch[ah]) = IM(cc[ac-ido]) + IM(t2) + IM(t3);
2995
2996                    RE(c2) = RE(cc[ac-ido]) + MUL_F(RE(t2),tr11) + MUL_F(RE(t3),tr12);
2997                    IM(c2) = IM(cc[ac-ido]) + MUL_F(IM(t2),tr11) + MUL_F(IM(t3),tr12);
2998                    RE(c3) = RE(cc[ac-ido]) + MUL_F(RE(t2),tr12) + MUL_F(RE(t3),tr11);
2999                    IM(c3) = IM(cc[ac-ido]) + MUL_F(IM(t2),tr12) + MUL_F(IM(t3),tr11);
3000
3001                    ComplexMult(&RE(c4), &RE(c5),
3002                        ti12, ti11, RE(t5), RE(t4));
3003                    ComplexMult(&IM(c4), &IM(c5),
3004                        ti12, ti12, IM(t5), IM(t4));
3005
3006                    IM(d2) = IM(c2) - RE(c5);
3007                    IM(d3) = IM(c3) - RE(c4);
3008                    RE(d4) = RE(c3) - IM(c4);
3009                    RE(d5) = RE(c2) - IM(c5);
3010                    RE(d2) = RE(c2) + IM(c5);
3011                    IM(d5) = IM(c2) + RE(c5);
3012                    RE(d3) = RE(c3) + IM(c4);
3013                    IM(d4) = IM(c3) + RE(c4);
3014
3015#if 1
3016                    ComplexMult(&RE(ch[ah+l1*ido]), &IM(ch[ah+l1*ido]),
3017                        RE(d2), IM(d2), RE(wa1[i]), IM(wa1[i]));
3018                    ComplexMult(&RE(ch[ah+2*l1*ido]), &IM(ch[ah+2*l1*ido]),
3019                        RE(d3), IM(d3), RE(wa2[i]), IM(wa2[i]));
3020                    ComplexMult(&RE(ch[ah+3*l1*ido]), &IM(ch[ah+3*l1*ido]),
3021                        RE(d4), IM(d4), RE(wa3[i]), IM(wa3[i]));
3022                    ComplexMult(&RE(ch[ah+4*l1*ido]), &IM(ch[ah+4*l1*ido]),
3023                        RE(d5), IM(d5), RE(wa4[i]), IM(wa4[i]));
3024#else
3025                    ComplexMult(&IM(ch[ah+l1*ido]), &RE(ch[ah+l1*ido]),
3026                        IM(d2), RE(d2), RE(wa1[i]), IM(wa1[i]));
3027                    ComplexMult(&IM(ch[ah+2*l1*ido]), &RE(ch[ah+2*l1*ido]),
3028                        IM(d3), RE(d3), RE(wa2[i]), IM(wa2[i]));
3029                    ComplexMult(&IM(ch[ah+3*l1*ido]), &RE(ch[ah+3*l1*ido]),
3030                        IM(d4), RE(d4), RE(wa3[i]), IM(wa3[i]));
3031                    ComplexMult(&IM(ch[ah+4*l1*ido]), &RE(ch[ah+4*l1*ido]),
3032                        IM(d5), RE(d5), RE(wa4[i]), IM(wa4[i]));
3033#endif
3034                }
3035            }
3036        }
3037    }
3038}
3039
3040
3041/*----------------------------------------------------------------------
3042   cfftf1, cfftf, cfftb, cffti1, cffti. Complex FFTs.
3043  ----------------------------------------------------------------------*/
3044
3045#ifdef USE_SSE
3046
3047#define CONV(A,B,C) ( (A<<2) | ((B & 0x1)<<1) | ((C==1)&0x1) )
3048
3049static INLINE void cfftf1pos_sse(uint16_t n, complex_t *c, complex_t *ch,
3050                                 const uint16_t *ifac, const complex_t *wa,
3051                                 const int8_t isign)
3052{
3053    uint16_t i;
3054    uint16_t k1, l1, l2;
3055    uint16_t na, nf, ip, iw, ix2, ix3, ix4, ido, idl1;
3056
3057    nf = ifac[1];
3058    na = 0;
3059    l1 = 1;
3060    iw = 0;
3061
3062    for (k1 = 2; k1 <= nf+1; k1++)
3063    {
3064        ip = ifac[k1];
3065        l2 = ip*l1;
3066        ido = n / l2;
3067        idl1 = ido*l1;
3068
3069        ix2 = iw + ido;
3070        ix3 = ix2 + ido;
3071        ix4 = ix3 + ido;
3072
3073        switch (CONV(ip,na,ido))
3074        {
3075        case CONV(4,0,0):
3076            //passf4pos_sse_ido((const uint16_t)ido, (const uint16_t)l1, (const complex_t*)c, ch, &wa[iw], &wa[ix2], &wa[ix3]);
3077            passf4pos((const uint16_t)ido, (const uint16_t)l1, (const complex_t*)c, ch, &wa[iw], &wa[ix2], &wa[ix3]);
3078            break;
3079        case CONV(4,0,1):
3080            passf4pos_sse((const uint16_t)l1, (const complex_t*)c, ch, &wa[iw], &wa[ix2], &wa[ix3]);
3081            break;
3082        case CONV(4,1,0):
3083            passf4pos((const uint16_t)ido, (const uint16_t)l1, (const complex_t*)ch, c, &wa[iw], &wa[ix2], &wa[ix3]);
3084            //passf4pos_sse_ido((const uint16_t)ido, (const uint16_t)l1, (const complex_t*)ch, c, &wa[iw], &wa[ix2], &wa[ix3]);
3085            break;
3086        case CONV(4,1,1):
3087            passf4pos_sse((const uint16_t)l1, (const complex_t*)ch, c, &wa[iw], &wa[ix2], &wa[ix3]);
3088            break;
3089        case CONV(2,0,0):
3090            passf2pos((const uint16_t)ido, (const uint16_t)l1, (const complex_t*)c, ch, &wa[iw]);
3091            //passf2pos_sse_ido((const uint16_t)ido, (const uint16_t)l1, (const complex_t*)c, ch, &wa[iw]);
3092            break;
3093        case CONV(2,0,1):
3094            passf2pos((const uint16_t)ido, (const uint16_t)l1, (const complex_t*)c, ch, &wa[iw]);
3095            //passf2pos_sse((const uint16_t)l1, (const complex_t*)c, ch, &wa[iw]);
3096            break;
3097        case CONV(2,1,0):
3098            passf2pos((const uint16_t)ido, (const uint16_t)l1, (const complex_t*)ch, c, &wa[iw]);
3099            //passf2pos_sse_ido((const uint16_t)ido, (const uint16_t)l1, (const complex_t*)ch, c, &wa[iw]);
3100            break;
3101        case CONV(2,1,1):
3102            passf2pos((const uint16_t)ido, (const uint16_t)l1, (const complex_t*)ch, c, &wa[iw]);
3103            //passf2pos_sse((const uint16_t)l1, (const complex_t*)ch, c, &wa[iw]);
3104            break;
3105        case CONV(3,0,0):
3106        case CONV(3,0,1):
3107            passf3((const uint16_t)ido, (const uint16_t)l1, (const complex_t*)c, ch, &wa[iw], &wa[ix2], isign);
3108            break;
3109        case CONV(3,1,0):
3110        case CONV(3,1,1):
3111            passf3((const uint16_t)ido, (const uint16_t)l1, (const complex_t*)ch, c, &wa[iw], &wa[ix2], isign);
3112            break;
3113        case CONV(5,0,0):
3114        case CONV(5,0,1):
3115            passf5((const uint16_t)ido, (const uint16_t)l1, (const complex_t*)c, ch, &wa[iw], &wa[ix2], &wa[ix3], &wa[ix4], isign);
3116            break;
3117        case CONV(5,1,0):
3118        case CONV(5,1,1):
3119            passf5((const uint16_t)ido, (const uint16_t)l1, (const complex_t*)ch, c, &wa[iw], &wa[ix2], &wa[ix3], &wa[ix4], isign);
3120            break;
3121        }
3122
3123        na = 1 - na;
3124
3125        l1 = l2;
3126        iw += (ip-1) * ido;
3127    }
3128
3129    if (na == 0)
3130        return;
3131
3132    for (i = 0; i < n; i++)
3133    {
3134        RE(c[i]) = RE(ch[i]);
3135        IM(c[i]) = IM(ch[i]);
3136    }
3137}
3138#endif
3139
3140static INLINE void cfftf1pos(uint16_t n, complex_t *c, complex_t *ch,
3141                             const uint16_t *ifac, const complex_t *wa,
3142                             const int8_t isign)
3143{
3144    uint16_t i;
3145    uint16_t k1, l1, l2;
3146    uint16_t na, nf, ip, iw, ix2, ix3, ix4, ido, idl1;
3147
3148    nf = ifac[1];
3149    na = 0;
3150    l1 = 1;
3151    iw = 0;
3152
3153    for (k1 = 2; k1 <= nf+1; k1++)
3154    {
3155        ip = ifac[k1];
3156        l2 = ip*l1;
3157        ido = n / l2;
3158        idl1 = ido*l1;
3159
3160        switch (ip)
3161        {
3162        case 4:
3163            ix2 = iw + ido;
3164            ix3 = ix2 + ido;
3165
3166            if (na == 0)
3167                passf4pos((const uint16_t)ido, (const uint16_t)l1, (const complex_t*)c, ch, &wa[iw], &wa[ix2], &wa[ix3]);
3168            else
3169                passf4pos((const uint16_t)ido, (const uint16_t)l1, (const complex_t*)ch, c, &wa[iw], &wa[ix2], &wa[ix3]);
3170
3171            na = 1 - na;
3172            break;
3173        case 2:
3174            if (na == 0)
3175                passf2pos((const uint16_t)ido, (const uint16_t)l1, (const complex_t*)c, ch, &wa[iw]);
3176            else
3177                passf2pos((const uint16_t)ido, (const uint16_t)l1, (const complex_t*)ch, c, &wa[iw]);
3178
3179            na = 1 - na;
3180            break;
3181        case 3:
3182            ix2 = iw + ido;
3183
3184            if (na == 0)
3185                passf3((const uint16_t)ido, (const uint16_t)l1, (const complex_t*)c, ch, &wa[iw], &wa[ix2], isign);
3186            else
3187                passf3((const uint16_t)ido, (const uint16_t)l1, (const complex_t*)ch, c, &wa[iw], &wa[ix2], isign);
3188
3189            na = 1 - na;
3190            break;
3191        case 5:
3192            ix2 = iw + ido;
3193            ix3 = ix2 + ido;
3194            ix4 = ix3 + ido;
3195
3196            if (na == 0)
3197                passf5((const uint16_t)ido, (const uint16_t)l1, (const complex_t*)c, ch, &wa[iw], &wa[ix2], &wa[ix3], &wa[ix4], isign);
3198            else
3199                passf5((const uint16_t)ido, (const uint16_t)l1, (const complex_t*)ch, c, &wa[iw], &wa[ix2], &wa[ix3], &wa[ix4], isign);
3200
3201            na = 1 - na;
3202            break;
3203        }
3204
3205        l1 = l2;
3206        iw += (ip-1) * ido;
3207    }
3208
3209    if (na == 0)
3210        return;
3211
3212    for (i = 0; i < n; i++)
3213    {
3214        RE(c[i]) = RE(ch[i]);
3215        IM(c[i]) = IM(ch[i]);
3216    }
3217}
3218
3219static INLINE void cfftf1neg(uint16_t n, complex_t *c, complex_t *ch,
3220                             const uint16_t *ifac, const complex_t *wa,
3221                             const int8_t isign)
3222{
3223    uint16_t i;
3224    uint16_t k1, l1, l2;
3225    uint16_t na, nf, ip, iw, ix2, ix3, ix4, ido, idl1;
3226
3227    nf = ifac[1];
3228    na = 0;
3229    l1 = 1;
3230    iw = 0;
3231
3232    for (k1 = 2; k1 <= nf+1; k1++)
3233    {
3234        ip = ifac[k1];
3235        l2 = ip*l1;
3236        ido = n / l2;
3237        idl1 = ido*l1;
3238
3239        switch (ip)
3240        {
3241        case 4:
3242            ix2 = iw + ido;
3243            ix3 = ix2 + ido;
3244
3245            if (na == 0)
3246                passf4neg((const uint16_t)ido, (const uint16_t)l1, (const complex_t*)c, ch, &wa[iw], &wa[ix2], &wa[ix3]);
3247            else
3248                passf4neg((const uint16_t)ido, (const uint16_t)l1, (const complex_t*)ch, c, &wa[iw], &wa[ix2], &wa[ix3]);
3249
3250            na = 1 - na;
3251            break;
3252        case 2:
3253            if (na == 0)
3254                passf2neg((const uint16_t)ido, (const uint16_t)l1, (const complex_t*)c, ch, &wa[iw]);
3255            else
3256                passf2neg((const uint16_t)ido, (const uint16_t)l1, (const complex_t*)ch, c, &wa[iw]);
3257
3258            na = 1 - na;
3259            break;
3260        case 3:
3261            ix2 = iw + ido;
3262
3263            if (na == 0)
3264                passf3((const uint16_t)ido, (const uint16_t)l1, (const complex_t*)c, ch, &wa[iw], &wa[ix2], isign);
3265            else
3266                passf3((const uint16_t)ido, (const uint16_t)l1, (const complex_t*)ch, c, &wa[iw], &wa[ix2], isign);
3267
3268            na = 1 - na;
3269            break;
3270        case 5:
3271            ix2 = iw + ido;
3272            ix3 = ix2 + ido;
3273            ix4 = ix3 + ido;
3274
3275            if (na == 0)
3276                passf5((const uint16_t)ido, (const uint16_t)l1, (const complex_t*)c, ch, &wa[iw], &wa[ix2], &wa[ix3], &wa[ix4], isign);
3277            else
3278                passf5((const uint16_t)ido, (const uint16_t)l1, (const complex_t*)ch, c, &wa[iw], &wa[ix2], &wa[ix3], &wa[ix4], isign);
3279
3280            na = 1 - na;
3281            break;
3282        }
3283
3284        l1 = l2;
3285        iw += (ip-1) * ido;
3286    }
3287
3288    if (na == 0)
3289        return;
3290
3291    for (i = 0; i < n; i++)
3292    {
3293        RE(c[i]) = RE(ch[i]);
3294        IM(c[i]) = IM(ch[i]);
3295    }
3296}
3297
3298void cfftf(cfft_info *cfft, complex_t *c)
3299{
3300    cfftf1neg(cfft->n, c, cfft->work, (const uint16_t*)cfft->ifac, (const complex_t*)cfft->tab, -1);
3301}
3302
3303void cfftb(cfft_info *cfft, complex_t *c)
3304{
3305    cfftf1pos(cfft->n, c, cfft->work, (const uint16_t*)cfft->ifac, (const complex_t*)cfft->tab, +1);
3306}
3307
3308#ifdef USE_SSE
3309void cfftb_sse(cfft_info *cfft, complex_t *c)
3310{
3311    cfftf1pos_sse(cfft->n, c, cfft->work, (const uint16_t*)cfft->ifac, (const complex_t*)cfft->tab, +1);
3312}
3313#endif
3314
3315static void cffti1(uint16_t n, complex_t *wa, uint16_t *ifac)
3316{
3317    static uint16_t ntryh[4] = {3, 4, 2, 5};
3318#ifndef FIXED_POINT
3319    real_t arg, argh, argld, fi;
3320    uint16_t ido, ipm;
3321    uint16_t i1, k1, l1, l2;
3322    uint16_t ld, ii, ip;
3323#endif
3324    uint16_t ntry = 0, i, j;
3325    uint16_t ib;
3326    uint16_t nf, nl, nq, nr;
3327
3328    nl = n;
3329    nf = 0;
3330    j = 0;
3331
3332startloop:
3333    j++;
3334
3335    if (j <= 4)
3336        ntry = ntryh[j-1];
3337    else
3338        ntry += 2;
3339
3340    do
3341    {
3342        nq = nl / ntry;
3343        nr = nl - ntry*nq;
3344
3345        if (nr != 0)
3346            goto startloop;
3347
3348        nf++;
3349        ifac[nf+1] = ntry;
3350        nl = nq;
3351
3352        if (ntry == 2 && nf != 1)
3353        {
3354            for (i = 2; i <= nf; i++)
3355            {
3356                ib = nf - i + 2;
3357                ifac[ib+1] = ifac[ib];
3358            }
3359            ifac[2] = 2;
3360        }
3361    } while (nl != 1);
3362
3363    ifac[0] = n;
3364    ifac[1] = nf;
3365
3366#ifndef FIXED_POINT
3367    argh = (real_t)2.0*(real_t)M_PI / (real_t)n;
3368    i = 0;
3369    l1 = 1;
3370
3371    for (k1 = 1; k1 <= nf; k1++)
3372    {
3373        ip = ifac[k1+1];
3374        ld = 0;
3375        l2 = l1*ip;
3376        ido = n / l2;
3377        ipm = ip - 1;
3378
3379        for (j = 0; j < ipm; j++)
3380        {
3381            i1 = i;
3382            RE(wa[i]) = 1.0;
3383            IM(wa[i]) = 0.0;
3384            ld += l1;
3385            fi = 0;
3386            argld = ld*argh;
3387
3388            for (ii = 0; ii < ido; ii++)
3389            {
3390                i++;
3391                fi++;
3392                arg = fi * argld;
3393                RE(wa[i]) = (real_t)cos(arg);
3394#if 1
3395                IM(wa[i]) = (real_t)sin(arg);
3396#else
3397                IM(wa[i]) = (real_t)-sin(arg);
3398#endif
3399            }
3400
3401            if (ip > 5)
3402            {
3403                RE(wa[i1]) = RE(wa[i]);
3404                IM(wa[i1]) = IM(wa[i]);
3405            }
3406        }
3407        l1 = l2;
3408    }
3409#endif
3410}
3411
3412cfft_info *cffti(uint16_t n)
3413{
3414    cfft_info *cfft = (cfft_info*)faad_malloc(sizeof(cfft_info));
3415
3416    cfft->n = n;
3417    cfft->work = (complex_t*)faad_malloc(n*sizeof(complex_t));
3418
3419#ifndef FIXED_POINT
3420    cfft->tab = (complex_t*)faad_malloc(n*sizeof(complex_t));
3421
3422    cffti1(n, cfft->tab, cfft->ifac);
3423#else
3424    cffti1(n, NULL, cfft->ifac);
3425
3426    switch (n)
3427    {
3428    case 64: cfft->tab = (complex_t*)cfft_tab_64; break;
3429    case 512: cfft->tab = (complex_t*)cfft_tab_512; break;
3430#ifdef LD_DEC
3431    case 256: cfft->tab = (complex_t*)cfft_tab_256; break;
3432#endif
3433
3434#ifdef ALLOW_SMALL_FRAMELENGTH
3435    case 60: cfft->tab = (complex_t*)cfft_tab_60; break;
3436    case 480: cfft->tab = (complex_t*)cfft_tab_480; break;
3437#ifdef LD_DEC
3438    case 240: cfft->tab = (complex_t*)cfft_tab_240; break;
3439#endif
3440#endif
3441    }
3442#endif
3443
3444    return cfft;
3445}
3446
3447void cfftu(cfft_info *cfft)
3448{
3449    if (cfft->work) faad_free(cfft->work);
3450#ifndef FIXED_POINT
3451    if (cfft->tab) faad_free(cfft->tab);
3452#endif
3453
3454    if (cfft) faad_free(cfft);
3455}
3456
3457
3458cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c -c -O4 -mcpu=7450 -mtune=7450 -faltivec -D__APPLE_ALTIVEC__ -pipe -ffast-math -fomit-frame-pointer -D_GNU_SOURCE -I/Users/Shared/Darwin/darwinports/var/build/_Volumes_Users_Shared_Darwin_darwinports_dports_multimedia_MPlayer/work/MPlayer-cvs-20060408/libfaad2
3459
3460ldd /tmp/mplayer-conf-23916-23382.o
3461/tmp/mplayer-conf-23916-23382.o:
3462
3463Result is: yes
3464##########################################
3465
3466============ Checking for external FAAD2 (AAC) support ============
3467Result is: no
3468##########################################
3469
3470============ Checking for LADSPA plugin support ============
3471
3472#include <stdio.h>
3473#include <ladspa.h>
3474int main(void) {
3475const LADSPA_Descriptor *ld = NULL;
3476return 0;
3477}
3478
3479cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c
3480/tmp/mplayer-conf-1167-23382.c:2:20: ladspa.h: No such file or directory
3481/tmp/mplayer-conf-1167-23382.c: In function `main':
3482/tmp/mplayer-conf-1167-23382.c:4: error: syntax error before '*' token
3483
3484ldd /tmp/mplayer-conf-23916-23382.o
3485otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
3486
3487Result is: no
3488##########################################
3489
3490============ Checking for Win32 codec DLL support ============
3491Result is: no
3492##########################################
3493
3494============ Checking for DirectShow ============
3495Result is: no
3496##########################################
3497
3498============ Checking for XAnim DLL ============
3499Result is: no (no suitable directory found - see DOCS/HTML/en/codecs.html)
3500##########################################
3501
3502============ Checking for RealPlayer DLL ============
3503Result is: no (no suitable directory found - see DOCS/HTML/en/codecs.html)
3504##########################################
3505
3506============ Checking for LIVE555 Streaming Media libraries ============
3507
3508#include <liveMedia.hh>
3509#if (LIVEMEDIA_LIBRARY_VERSION_INT < 1090195200)
3510#error Please upgrade to version 2004.07.19 or later of the "LIVE555 Streaming Media" libraries - available from <www.live555.com/liveMedia/>
3511#endif
3512int main(void) {}
3513
3514cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-26007-23382.cpp -I/liveMedia/include -I/UsageEnvironment/include -I/groupsock/include -lstdc++
3515/tmp/mplayer-conf-26007-23382.cpp:1:24: liveMedia.hh: No such file or directory
3516/tmp/mplayer-conf-26007-23382.cpp:3:2: #error Please upgrade to version 2004.07.19 or later of the "LIVE555 Streaming Media" libraries - available from <www.live555.com/liveMedia/>
3517
3518ldd /tmp/mplayer-conf-23916-23382.o
3519otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
3520
3521
3522#include <liveMedia.hh>
3523#if (LIVEMEDIA_LIBRARY_VERSION_INT < 1090195200)
3524#error Please upgrade to version 2004.07.19 or later of the "LIVE555 Streaming Media" libraries - available from <www.live555.com/liveMedia/>
3525#endif
3526int main(void) {}
3527
3528cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-26007-23382.cpp -I/opt/local/lib/live/liveMedia/include -I/opt/local/lib/live/UsageEnvironment/include -I/opt/local/lib/live/groupsock/include -lstdc++
3529/tmp/mplayer-conf-26007-23382.cpp:1:24: liveMedia.hh: No such file or directory
3530/tmp/mplayer-conf-26007-23382.cpp:3:2: #error Please upgrade to version 2004.07.19 or later of the "LIVE555 Streaming Media" libraries - available from <www.live555.com/liveMedia/>
3531
3532ldd /tmp/mplayer-conf-23916-23382.o
3533otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
3534
3535
3536#include <liveMedia.hh>
3537#if (LIVEMEDIA_LIBRARY_VERSION_INT < 1090195200)
3538#error Please upgrade to version 2004.07.19 or later of the "LIVE555 Streaming Media" libraries - available from <www.live555.com/liveMedia/>
3539#endif
3540int main(void) {}
3541
3542cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-26007-23382.cpp -I/usr/lib/live/liveMedia/include -I/usr/lib/live/UsageEnvironment/include -I/usr/lib/live/groupsock/include -lstdc++
3543/tmp/mplayer-conf-26007-23382.cpp:1:24: liveMedia.hh: No such file or directory
3544/tmp/mplayer-conf-26007-23382.cpp:3:2: #error Please upgrade to version 2004.07.19 or later of the "LIVE555 Streaming Media" libraries - available from <www.live555.com/liveMedia/>
3545
3546ldd /tmp/mplayer-conf-23916-23382.o
3547otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
3548
3549
3550#include <liveMedia.hh>
3551#if (LIVEMEDIA_LIBRARY_VERSION_INT < 1090195200)
3552#error Please upgrade to version 2004.07.19 or later of the "LIVE555 Streaming Media" libraries - available from <www.live555.com/liveMedia/>
3553#endif
3554int main(void) {}
3555
3556cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-26007-23382.cpp -I/usr/local/live/liveMedia/include -I/usr/local/live/UsageEnvironment/include -I/usr/local/live/groupsock/include -lstdc++
3557/tmp/mplayer-conf-26007-23382.cpp:1:24: liveMedia.hh: No such file or directory
3558/tmp/mplayer-conf-26007-23382.cpp:3:2: #error Please upgrade to version 2004.07.19 or later of the "LIVE555 Streaming Media" libraries - available from <www.live555.com/liveMedia/>
3559
3560ldd /tmp/mplayer-conf-23916-23382.o
3561otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
3562
3563
3564#include <liveMedia.hh>
3565#if (LIVEMEDIA_LIBRARY_VERSION_INT < 1090195200)
3566#error Please upgrade to version 2004.07.19 or later of the "LIVE555 Streaming Media" libraries - available from <www.live555.com/liveMedia/>
3567#endif
3568int main(void) {}
3569
3570cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-26007-23382.cpp -I/usr/local/lib/live/liveMedia/include -I/usr/local/lib/live/UsageEnvironment/include -I/usr/local/lib/live/groupsock/include -lstdc++
3571/tmp/mplayer-conf-26007-23382.cpp:1:24: liveMedia.hh: No such file or directory
3572/tmp/mplayer-conf-26007-23382.cpp:3:2: #error Please upgrade to version 2004.07.19 or later of the "LIVE555 Streaming Media" libraries - available from <www.live555.com/liveMedia/>
3573
3574ldd /tmp/mplayer-conf-23916-23382.o
3575otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
3576
3577
3578#include <liveMedia.hh>
3579#if (LIVEMEDIA_LIBRARY_VERSION_INT < 1090195200)
3580#error Please upgrade to version 2004.07.19 or later of the "LIVE555 Streaming Media" libraries - available from <www.live555.com/liveMedia/>
3581#endif
3582int main(void) {}
3583
3584cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-26007-23382.cpp -I/usr/include/liveMedia -I/usr/include/UsageEnvironment -I/usr/include/groupsock -lstdc++
3585/tmp/mplayer-conf-26007-23382.cpp:1:24: liveMedia.hh: No such file or directory
3586/tmp/mplayer-conf-26007-23382.cpp:3:2: #error Please upgrade to version 2004.07.19 or later of the "LIVE555 Streaming Media" libraries - available from <www.live555.com/liveMedia/>
3587
3588ldd /tmp/mplayer-conf-23916-23382.o
3589otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
3590
3591Result is: no
3592##########################################
3593
3594============ Checking for FFmpeg libavutil (static) ============
3595Result is: yes
3596##########################################
3597
3598============ Checking for FFmpeg libavcodec (static) ============
3599
3600#include "libavcodec/avcodec.h"
3601#if LIBAVCODEC_BUILD >= 3211265
3602#error We need libavutil!
3603#endif
3604int main(void) { return 0; }
3605
3606cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c -I. -I./libavutil
3607/tmp/mplayer-conf-1167-23382.c:3:2: #error We need libavutil!
3608
3609ldd /tmp/mplayer-conf-23916-23382.o
3610otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
3611
3612Result is: yes
3613##########################################
3614
3615============ Checking for FFmpeg libavformat (static) ============
3616Result is: yes
3617##########################################
3618
3619============ Checking for FFmpeg libpostproc (static) ============
3620Result is: yes
3621##########################################
3622
3623============ Checking for amr narrowband ============
3624Result is: no 
3625##########################################
3626
3627============ Checking for amr narrowband, fixed point ============
3628Result is: no
3629##########################################
3630
3631============ Checking for amr wideband ============
3632Result is: no
3633##########################################
3634
3635============ Checking for libdv-0.9.5+ ============
3636
3637#include <libdv/dv.h>
3638int main(void) { dv_encoder_t* enc=dv_encoder_new(1,1,1); return 0; }
3639
3640cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c -ldv -lm
3641/tmp/mplayer-conf-1167-23382.c:1:22: libdv/dv.h: No such file or directory
3642/tmp/mplayer-conf-1167-23382.c: In function `main':
3643/tmp/mplayer-conf-1167-23382.c:2: error: `dv_encoder_t' undeclared (first use in this function)
3644/tmp/mplayer-conf-1167-23382.c:2: error: (Each undeclared identifier is reported only once
3645/tmp/mplayer-conf-1167-23382.c:2: error: for each function it appears in.)
3646/tmp/mplayer-conf-1167-23382.c:2: error: `enc' undeclared (first use in this function)
3647
3648ldd /tmp/mplayer-conf-23916-23382.o
3649otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
3650
3651Result is: no
3652##########################################
3653
3654============ Checking for zr ============
3655Result is: no
3656##########################################
3657
3658============ Checking for bl ============
3659Result is: no
3660##########################################
3661
3662============ Checking for XviD ============
3663Result is: no
3664##########################################
3665
3666============ Checking for x264 ============
3667Result is: no
3668##########################################
3669
3670============ Checking for DivX4linux/DivX5linux/OpenDivX decore ============
3671
3672#include <decore.h>
3673int main(void) { (void) decore(0, 0, 0, 0);  return DEC_OPT_FRAME_311; }
3674
3675cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c -lm -ldivxdecore
3676/tmp/mplayer-conf-1167-23382.c:1:20: decore.h: No such file or directory
3677/tmp/mplayer-conf-1167-23382.c: In function `main':
3678/tmp/mplayer-conf-1167-23382.c:2: error: `DEC_OPT_FRAME_311' undeclared (first use in this function)
3679/tmp/mplayer-conf-1167-23382.c:2: error: (Each undeclared identifier is reported only once
3680/tmp/mplayer-conf-1167-23382.c:2: error: for each function it appears in.)
3681
3682ldd /tmp/mplayer-conf-23916-23382.o
3683otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
3684
3685
3686#include <decore.h>
3687int main(void) { (void) decore(0, 0, 0, 0);  return DEC_OPT_INIT; }
3688
3689cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c -lm -ldivxdecore
3690/tmp/mplayer-conf-1167-23382.c:1:20: decore.h: No such file or directory
3691/tmp/mplayer-conf-1167-23382.c: In function `main':
3692/tmp/mplayer-conf-1167-23382.c:2: error: `DEC_OPT_INIT' undeclared (first use in this function)
3693/tmp/mplayer-conf-1167-23382.c:2: error: (Each undeclared identifier is reported only once
3694/tmp/mplayer-conf-1167-23382.c:2: error: for each function it appears in.)
3695
3696ldd /tmp/mplayer-conf-23916-23382.o
3697otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
3698
3699Result is: no
3700##########################################
3701
3702============ Checking for libmp3lame (for mencoder) ============
3703
3704#include <lame/lame.h>
3705int main(void) { lame_version_t lv; (void) lame_init(); get_lame_version_numerical(&lv);  printf("%d%d\n",lv.major,lv.minor); return 0; }
3706
3707cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c -lmp3lame -lm
3708ld: warning prebinding not disabled because (__PAGEZERO segment (address = 0x0 size = 0x1000) of /tmp/mplayer-conf-23916-23382.o overlaps with __TEXT segment (address = 0x0 size = 0x3f000) of /opt/local/lib/libmp3lame.0.dylib
3709ld: warning prebinding not disabled because (__TEXT segment (address = 0x1000 size = 0x2000) of /tmp/mplayer-conf-23916-23382.o overlaps with __TEXT segment (address = 0x0 size = 0x3f000) of /opt/local/lib/libmp3lame.0.dylib
3710ld: warning prebinding not disabled because (__DATA segment (address = 0x3000 size = 0x1000) of /tmp/mplayer-conf-23916-23382.o overlaps with __TEXT segment (address = 0x0 size = 0x3f000) of /opt/local/lib/libmp3lame.0.dylib
3711ld: warning prebinding not disabled because (__LINKEDIT segment (address = 0x4000 size = 0x1000) of /tmp/mplayer-conf-23916-23382.o overlaps with __TEXT segment (address = 0x0 size = 0x3f000) of /opt/local/lib/libmp3lame.0.dylib
3712
3713ldd /tmp/mplayer-conf-23916-23382.o
3714/tmp/mplayer-conf-23916-23382.o:
3715        /opt/local/lib/libmp3lame.0.dylib (compatibility version 1.0.0, current version 1.0.0)
3716        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 71.1.4)
3717
3718397
3719
3720#include <lame/lame.h>
3721int main(void) { int p = STANDARD_FAST; return 0; }
3722
3723cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c -lmp3lame -lm
3724ld: warning prebinding not disabled because (__PAGEZERO segment (address = 0x0 size = 0x1000) of /tmp/mplayer-conf-23916-23382.o overlaps with __TEXT segment (address = 0x0 size = 0x3f000) of /opt/local/lib/libmp3lame.0.dylib
3725ld: warning prebinding not disabled because (__TEXT segment (address = 0x1000 size = 0x2000) of /tmp/mplayer-conf-23916-23382.o overlaps with __TEXT segment (address = 0x0 size = 0x3f000) of /opt/local/lib/libmp3lame.0.dylib
3726ld: warning prebinding not disabled because (__DATA segment (address = 0x3000 size = 0x1000) of /tmp/mplayer-conf-23916-23382.o overlaps with __TEXT segment (address = 0x0 size = 0x3f000) of /opt/local/lib/libmp3lame.0.dylib
3727ld: warning prebinding not disabled because (__LINKEDIT segment (address = 0x4000 size = 0x1000) of /tmp/mplayer-conf-23916-23382.o overlaps with __TEXT segment (address = 0x0 size = 0x3f000) of /opt/local/lib/libmp3lame.0.dylib
3728
3729ldd /tmp/mplayer-conf-23916-23382.o
3730/tmp/mplayer-conf-23916-23382.o:
3731        /opt/local/lib/libmp3lame.0.dylib (compatibility version 1.0.0, current version 1.0.0)
3732        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 71.1.4)
3733
3734
3735#include <lame/lame.h>
3736int main(void) { int p = MEDIUM_FAST; return 0; }
3737
3738cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c -lmp3lame -lm
3739ld: warning prebinding not disabled because (__PAGEZERO segment (address = 0x0 size = 0x1000) of /tmp/mplayer-conf-23916-23382.o overlaps with __TEXT segment (address = 0x0 size = 0x3f000) of /opt/local/lib/libmp3lame.0.dylib
3740ld: warning prebinding not disabled because (__TEXT segment (address = 0x1000 size = 0x2000) of /tmp/mplayer-conf-23916-23382.o overlaps with __TEXT segment (address = 0x0 size = 0x3f000) of /opt/local/lib/libmp3lame.0.dylib
3741ld: warning prebinding not disabled because (__DATA segment (address = 0x3000 size = 0x1000) of /tmp/mplayer-conf-23916-23382.o overlaps with __TEXT segment (address = 0x0 size = 0x3f000) of /opt/local/lib/libmp3lame.0.dylib
3742ld: warning prebinding not disabled because (__LINKEDIT segment (address = 0x4000 size = 0x1000) of /tmp/mplayer-conf-23916-23382.o overlaps with __TEXT segment (address = 0x0 size = 0x3f000) of /opt/local/lib/libmp3lame.0.dylib
3743
3744ldd /tmp/mplayer-conf-23916-23382.o
3745/tmp/mplayer-conf-23916-23382.o:
3746        /opt/local/lib/libmp3lame.0.dylib (compatibility version 1.0.0, current version 1.0.0)
3747        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 71.1.4)
3748
3749Result is: yes
3750##########################################
3751
3752============ Checking for DivX4linux encore (for mencoder) ============
3753
3754#include <encore2.h>
3755int main(void) { (void) encore(0, 0, 0, 0); return 0; }
3756
3757cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c -ldivxencore -lm
3758/tmp/mplayer-conf-1167-23382.c:1:21: encore2.h: No such file or directory
3759
3760ldd /tmp/mplayer-conf-23916-23382.o
3761otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
3762
3763Result is: no
3764##########################################
3765
3766============ Checking for mencoder ============
3767Result is: yes
3768##########################################
3769
3770============ Checking for fastmemcpy ============
3771Result is: yes
3772##########################################
3773
3774============ Checking for UniquE RAR File Library ============
3775Result is: yes
3776##########################################
3777
3778============ Checking for TV interface ============
3779Result is: yes
3780##########################################
3781
3782============ Checking for EDL support ============
3783Result is: yes
3784##########################################
3785
3786============ Checking for *BSD BrookTree 848 TV interface ============
3787
3788#include <sys/types.h>
3789#if defined(__NetBSD__)
3790#include <dev/ic/bt8xx.h>
3791#else
3792#include <machine/ioctl_bt848.h>
3793#endif
3794int main(void) { return 0; }
3795
3796cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c
3797/tmp/mplayer-conf-1167-23382.c:5:33: machine/ioctl_bt848.h: No such file or directory
3798
3799ldd /tmp/mplayer-conf-23916-23382.o
3800otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
3801
3802Result is: no
3803##########################################
3804
3805============ Checking for Video 4 Linux TV interface ============
3806Result is: no
3807##########################################
3808
3809============ Checking for Video 4 Linux 2 TV interface ============
3810Result is: no
3811##########################################
3812
3813============ Checking for audio select() ============
3814Result is: yes
3815##########################################
3816
3817============ Checking for network ============
3818Result is: yes
3819##########################################
3820
3821============ Checking for ftp ============
3822Result is: yes
3823##########################################
3824
3825============ Checking for vstream client ============
3826
3827#include <vstream-client.h>
3828void vstream_error(const char *format, ... ) {}
3829int main(void) { vstream_start(); return 0; }
3830
3831cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c -lvstream-client
3832/tmp/mplayer-conf-1167-23382.c:1:28: vstream-client.h: No such file or directory
3833
3834ldd /tmp/mplayer-conf-23916-23382.o
3835otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
3836
3837Result is: no
3838##########################################
3839
3840============ Checking for byte order ============
3841
3842short ascii_name[] = { (('M'<<8)|'P'),(('l'<<8)|'a'),(('y'<<8)|'e'),(('r'<<8)|'B'),
3843                      (('i'<<8)|'g'),(('E'<<8)|'n'),(('d'<<8)|'i'),(('a'<<8)|'n'),0};
3844int main(){
3845  char* s = (char*)ascii_name;
3846  return 0;
3847}
3848
3849cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c
3850
3851ldd /tmp/mplayer-conf-23916-23382.o
3852/tmp/mplayer-conf-23916-23382.o:
3853        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 71.1.4)
3854
3855Result is: big-endian
3856##########################################
3857
3858============ Checking for OSD menu ============
3859Result is: no
3860##########################################
3861
3862============ Checking for QTX codecs ============
3863Result is: yes
3864##########################################
3865
3866============ Checking for Subtitles sorting ============
3867Result is: yes
3868##########################################
3869
3870============ Checking for XMMS inputplugin support ============
3871Result is: no
3872##########################################
3873
3874============ Checking for inet6 ============
3875Result is: yes
3876##########################################
3877
3878============ Checking for gethostbyname2 ============
3879
3880#include <sys/types.h>
3881#include <sys/socket.h>
3882#include <netdb.h>
3883int main(void) { gethostbyname2("", AF_INET); }
3884
3885cc  -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c
3886
3887ldd /tmp/mplayer-conf-23916-23382.o
3888/tmp/mplayer-conf-23916-23382.o:
3889        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 71.1.4)
3890
3891Result is: yes
3892##########################################
3893
3894============ Checking for GUI ============
3895============ Checking for automatic gdb attach ============
3896Result is: no
3897##########################################
3898
3899============ Checking for compiler support for -fno-PIC ============
3900Result is: only used for x86
3901##########################################
3902
3903============ Checking for compiler support for noexecstack ============
3904
3905int main(void) { return 0; }
3906
3907cc -O4 -mcpu=7450 -mtune=7450 -faltivec -D__APPLE_ALTIVEC__ -pipe -ffast-math -fomit-frame-pointer -mdynamic-no-pic -falign-loops=16 -DSYS_DARWIN -DCONFIG_DARWIN -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c -Wl,-z,noexecstack
3908ld: unknown flag: -z
3909
3910ldd /tmp/mplayer-conf-23916-23382.o
3911otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
3912
3913Result is: no
3914##########################################
3915
3916============ Checking for ftello() ============
3917
3918#include <stdio.h>
3919#include <sys/types.h>
3920int main (void) { ftello(stdin); return 0; }
3921
3922cc -O4 -mcpu=7450 -mtune=7450 -faltivec -D__APPLE_ALTIVEC__ -pipe -ffast-math -fomit-frame-pointer -mdynamic-no-pic -falign-loops=16 -DSYS_DARWIN -DCONFIG_DARWIN -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c
3923
3924ldd /tmp/mplayer-conf-23916-23382.o
3925/tmp/mplayer-conf-23916-23382.o:
3926        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 71.1.4)
3927
3928Result is: yes
3929##########################################
3930
3931============ Checking for VIDIX (internal) ============
3932Result is: no
3933##########################################
3934
3935============ Checking for VIDIX (external) ============
3936
3937#include <vidix/vidix.h>
3938int main(void) { return 0; }
3939
3940cc -O4 -mcpu=7450 -mtune=7450 -faltivec -D__APPLE_ALTIVEC__ -pipe -ffast-math -fomit-frame-pointer -mdynamic-no-pic -falign-loops=16 -DSYS_DARWIN -DCONFIG_DARWIN -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c -lvidix
3941/tmp/mplayer-conf-1167-23382.c:1:25: vidix/vidix.h: No such file or directory
3942
3943ldd /tmp/mplayer-conf-23916-23382.o
3944otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
3945
3946Result is: no
3947##########################################
3948
3949============ Checking for joystick ============
3950Result is: no
3951##########################################
3952
3953============ Checking for lirc ============
3954Result is: no
3955##########################################
3956
3957============ Checking for lircc ============
3958
3959#include <lirc/lircc.h>
3960int main(void) { return 0; }
3961
3962cc -O4 -mcpu=7450 -mtune=7450 -faltivec -D__APPLE_ALTIVEC__ -pipe -ffast-math -fomit-frame-pointer -mdynamic-no-pic -falign-loops=16 -DSYS_DARWIN -DCONFIG_DARWIN -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/opt/local/include  -L/opt/local/lib -o /tmp/mplayer-conf-23916-23382.o /tmp/mplayer-conf-1167-23382.c -llircc
3963/tmp/mplayer-conf-1167-23382.c:1:24: lirc/lircc.h: No such file or directory
3964
3965ldd /tmp/mplayer-conf-23916-23382.o
3966otool: can't open file: /tmp/mplayer-conf-23916-23382.o (No such file or directory)
3967
3968Result is: no
3969##########################################
3970