Ticket #6537: configure.log

File configure.log, 136.2 KB (added by evan.powers+bugzilla.opendarwin.org@…, 19 years ago)

configure.log

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