Ticket #175: configure-1.0pre3.log

File configure-1.0pre3.log, 92.5 KB (added by pub_br_mplayerhq.hu@…, 22 years ago)

configure.log for MPlayer-1.0pre3/configure --enable-largefiles --enable-gui

Line 
1============ Checking for cc version ============
2Result is: 3.4.3, ok
3##########################################
4
5============ Checking for CPU vendor ============
6Result is: AuthenticAMD (6:4:2)
7##########################################
8
9============ Checking for CPU type ============
10Result is: AMD Athlon(tm) processor
11##########################################
12
13============ Checking for GCC & CPU optimization abilities ============
14
15int main(void) { return 0; }
16
17cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o -march=athlon-tbird -mcpu=athlon-tbird
18`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
19
20ldd /tmp/mplayer-conf-18589-26127.o
21 libc.so.6 => /lib/i686/libc.so.6 (0x40018000)
22 /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
23
24Result is: athlon-tbird
25##########################################
26
27============ Checking for kernel support of mmx ============
28
29#include <signal.h>
30void catch() { exit(1); }
31int main(void){
32 signal(SIGILL, catch);
33 __asm__ __volatile__ ("emms":::"memory");return(0);
34}
35
36cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o
37
38ldd /tmp/mplayer-conf-18589-26127.o
39 libc.so.6 => /lib/i686/libc.so.6 (0x40018000)
40 /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
41
42Result is: yes
43##########################################
44
45============ Checking for kernel support of mmx2 ============
46
47#include <signal.h>
48void catch() { exit(1); }
49int main(void){
50 signal(SIGILL, catch);
51 __asm__ __volatile__ ("sfence":::"memory");return(0);
52}
53
54cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o
55
56ldd /tmp/mplayer-conf-18589-26127.o
57 libc.so.6 => /lib/i686/libc.so.6 (0x40018000)
58 /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
59
60Result is: yes
61##########################################
62
63============ Checking for kernel support of 3dnow ============
64
65#include <signal.h>
66void catch() { exit(1); }
67int main(void){
68 signal(SIGILL, catch);
69 __asm__ __volatile__ ("femms":::"memory");return(0);
70}
71
72cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o
73
74ldd /tmp/mplayer-conf-18589-26127.o
75 libc.so.6 => /lib/i686/libc.so.6 (0x40018000)
76 /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
77
78Result is: yes
79##########################################
80
81============ Checking for kernel support of 3dnowex ============
82
83#include <signal.h>
84void catch() { exit(1); }
85int main(void){
86 signal(SIGILL, catch);
87 __asm__ __volatile__ ("pswapd %%mm0, %%mm0":::"memory");return(0);
88}
89
90cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o
91
92ldd /tmp/mplayer-conf-18589-26127.o
93 libc.so.6 => /lib/i686/libc.so.6 (0x40018000)
94 /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
95
96Result is: yes
97##########################################
98
99============ Checking for mtrr support ============
100Result is: yes
101##########################################
102
103============ Checking for assembler (/usr/local/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/as 2.15) ============
104Result is: ok
105##########################################
106
107============ Checking for Linux kernel version ============
108Result is: 2.4.27, ok
109##########################################
110
111============ Checking for awk ============
112./configure: mawk: command not found
113
114Result is: gawk
115##########################################
116
117============ Checking for extra headers ============
118Result is: none
119##########################################
120
121============ Checking for extra libs ============
122Result is: none
123##########################################
124
125============ Checking for i18n ============
126
127#include <libintl.h>
128int main(void) { gettext("test"); return 0; }
129
130cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o
131
132ldd /tmp/mplayer-conf-18589-26127.o
133 libc.so.6 => /lib/i686/libc.so.6 (0x40018000)
134 /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
135
136Result is: yes
137##########################################
138
139============ Checking for setlocale() ============
140
141#include <locale.h>
142int main(void) { setlocale( LC_ALL,"" ); return 0; }
143
144cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o
145
146ldd /tmp/mplayer-conf-18589-26127.o
147 libc.so.6 => /lib/i686/libc.so.6 (0x40018000)
148 /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
149
150Result is: yes
151##########################################
152
153============ Checking for language ============
154Result is: using en (man pages: en)
155##########################################
156
157============ Checking for enable sighandler ============
158Result is: yes
159##########################################
160
161============ Checking for runtime cpudetection ============
162Result is: no
163##########################################
164
165============ Checking for restrict keyword ============
166
167void foo(char * restrict p); int main(){}
168
169cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o
170/tmp/mplayer-conf-15186-26127.c:1: error: parse error before "p"
171
172ldd /tmp/mplayer-conf-18589-26127.o
173ldd: /tmp/mplayer-conf-18589-26127.o: No such file or directory
174
175
176void foo(char * __restrict p); int main(){}
177
178cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o
179
180ldd /tmp/mplayer-conf-18589-26127.o
181 libc.so.6 => /lib/i686/libc.so.6 (0x40018000)
182 /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
183
184Result is: __restrict
185##########################################
186
187============ Checking for kstat ============
188
189#include <kstat.h>
190int main(void) { (void) kstat_open(); (void) kstat_close(0); return 0; }
191
192cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o -lkstat
193/tmp/mplayer-conf-15186-26127.c:1:19: kstat.h: No such file or directory
194
195ldd /tmp/mplayer-conf-18589-26127.o
196ldd: /tmp/mplayer-conf-18589-26127.o: No such file or directory
197
198Result is: no
199##########################################
200
201============ Checking for posix4 ============
202
203#include <time.h>
204int main(void) { (void) nanosleep(0, 0); return 0; }
205
206cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o -lposix4
207/usr/local/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lposix4
208collect2: ld returned 1 exit status
209
210ldd /tmp/mplayer-conf-18589-26127.o
211ldd: /tmp/mplayer-conf-18589-26127.o: No such file or directory
212
213Result is: no
214##########################################
215
216============ Checking for lrintf ============
217
218#include <math.h>
219int main(void) { (void) lrintf(0.0); return 0; }
220
221cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o -lm
222
223ldd /tmp/mplayer-conf-18589-26127.o
224 libm.so.6 => /lib/i686/libm.so.6 (0x40018000)
225 libc.so.6 => /lib/i686/libc.so.6 (0x4003a000)
226 /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
227
228Result is: yes
229##########################################
230
231============ Checking for nanosleep ============
232
233#include <time.h>
234int main(void) { (void) nanosleep(0, 0); return 0; }
235
236cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o
237
238ldd /tmp/mplayer-conf-18589-26127.o
239 libc.so.6 => /lib/i686/libc.so.6 (0x40018000)
240 /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
241
242Result is: yes
243##########################################
244
245============ Checking for socklib ============
246
247#include <netdb.h>
248int main(void) { (void) gethostbyname(0); return 0; }
249
250cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o -lsocket
251/usr/local/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lsocket
252collect2: ld returned 1 exit status
253
254ldd /tmp/mplayer-conf-18589-26127.o
255ldd: /tmp/mplayer-conf-18589-26127.o: No such file or directory
256
257
258#include <netdb.h>
259int main(void) { (void) gethostbyname(0); return 0; }
260
261cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o -lnsl
262
263ldd /tmp/mplayer-conf-18589-26127.o
264 libnsl.so.1 => /lib/libnsl.so.1 (0x40018000)
265 libc.so.6 => /lib/i686/libc.so.6 (0x4002d000)
266 /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
267
268
269#include <netdb.h>
270int main(void) { (void) gethostbyname(0); return 0; }
271
272cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o -lsocket -lnsl
273/usr/local/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lsocket
274collect2: ld returned 1 exit status
275
276ldd /tmp/mplayer-conf-18589-26127.o
277ldd: /tmp/mplayer-conf-18589-26127.o: No such file or directory
278
279
280#include <netdb.h>
281int main(void) { (void) gethostbyname(0); return 0; }
282
283cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o -lsocket -ldnet
284/usr/local/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lsocket
285collect2: ld returned 1 exit status
286
287ldd /tmp/mplayer-conf-18589-26127.o
288ldd: /tmp/mplayer-conf-18589-26127.o: No such file or directory
289
290
291#include <winsock2.h>
292int main(void) { (void) gethostbyname(0); return 0; }
293
294cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o -lws2_32
295/tmp/mplayer-conf-15186-26127.c:1:22: winsock2.h: No such file or directory
296
297ldd /tmp/mplayer-conf-18589-26127.o
298ldd: /tmp/mplayer-conf-18589-26127.o: No such file or directory
299
300Result is: yes (using -lnsl)
301##########################################
302
303============ Checking for inet_pton() ============
304
305#include <sys/types.h>
306#include <sys/socket.h>
307#include <arpa/inet.h>
308int main(void) { (void) inet_pton(0, 0, 0); return 0; }
309
310cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o -lnsl
311
312ldd /tmp/mplayer-conf-18589-26127.o
313 libnsl.so.1 => /lib/libnsl.so.1 (0x40018000)
314 libc.so.6 => /lib/i686/libc.so.6 (0x4002d000)
315 /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
316
317Result is: yes (using -lnsl)
318##########################################
319
320============ Checking for inttypes.h (required) ============
321
322#include <inttypes.h>
323int main(void) { return 0; }
324
325cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o
326
327ldd /tmp/mplayer-conf-18589-26127.o
328 libc.so.6 => /lib/i686/libc.so.6 (0x40018000)
329 /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
330
331Result is: yes
332##########################################
333
334============ Checking for int_fastXY_t in inttypes.h ============
335
336#include <inttypes.h>
337int main(void) {
338volatile int_fast16_t v= 0;
339return v; }
340
341cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o
342
343ldd /tmp/mplayer-conf-18589-26127.o
344 libc.so.6 => /lib/i686/libc.so.6 (0x40018000)
345 /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
346
347Result is: yes
348##########################################
349
350============ Checking for word size ============
351
352#include <stdio.h>
353#include <sys/types.h>
354int main(void) { printf("%d\n", sizeof(size_t)*8); return 0; }
355
356cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o
357
358ldd /tmp/mplayer-conf-18589-26127.o
359 libc.so.6 => /lib/i686/libc.so.6 (0x40018000)
360 /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
361
362Result is: 32
363##########################################
364
365============ Checking for stddef.h ============
366
367#include <stddef.h>
368int main(void) { return 0; }
369
370cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o
371
372ldd /tmp/mplayer-conf-18589-26127.o
373 libc.so.6 => /lib/i686/libc.so.6 (0x40018000)
374 /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
375
376Result is: yes
377##########################################
378
379============ Checking for malloc.h ============
380
381#include <malloc.h>
382int main(void) { (void) malloc(0); return 0; }
383
384cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o
385
386ldd /tmp/mplayer-conf-18589-26127.o
387 libc.so.6 => /lib/i686/libc.so.6 (0x40018000)
388 /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
389
390Result is: yes
391##########################################
392
393============ Checking for memalign() ============
394
395#include <malloc.h>
396int main (void) { (void) memalign(64, sizeof(char)); return 0; }
397
398cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o
399
400ldd /tmp/mplayer-conf-18589-26127.o
401 libc.so.6 => /lib/i686/libc.so.6 (0x40018000)
402 /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
403
404Result is: yes
405##########################################
406
407============ Checking for alloca.h ============
408
409#include <alloca.h>
410int main(void) { (void) alloca(0); return 0; }
411
412cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o
413
414ldd /tmp/mplayer-conf-18589-26127.o
415 libc.so.6 => /lib/i686/libc.so.6 (0x40018000)
416 /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
417
418
419#include <alloca.h>
420int main(void) { (void) alloca(0); return 0; }
421
422cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o
423
424ldd /tmp/mplayer-conf-18589-26127.o
425 libc.so.6 => /lib/i686/libc.so.6 (0x40018000)
426 /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
427
428Result is: yes
429##########################################
430
431============ Checking for mman.h ============
432
433#include <sys/types.h>
434#include <sys/mman.h>
435int main(void) { (void) mmap(0, 0, 0, 0, 0, 0); return 0; }
436
437cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o
438
439ldd /tmp/mplayer-conf-18589-26127.o
440 libc.so.6 => /lib/i686/libc.so.6 (0x40018000)
441 /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
442
443Result is: yes
444##########################################
445
446============ Checking for dynamic loader ============
447
448#include <dlfcn.h>
449int main(void) { dlopen(0, 0); dlclose(0); dlsym(0, 0); return 0; }
450
451cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o
452/tmp/ccCKoRJm.o(.text+0x2c): In function `main':
453: undefined reference to `dlopen'
454/tmp/ccCKoRJm.o(.text+0x38): In function `main':
455: undefined reference to `dlclose'
456/tmp/ccCKoRJm.o(.text+0x4c): In function `main':
457: undefined reference to `dlsym'
458collect2: ld returned 1 exit status
459
460ldd /tmp/mplayer-conf-18589-26127.o
461ldd: /tmp/mplayer-conf-18589-26127.o: No such file or directory
462
463
464#include <dlfcn.h>
465int main(void) { dlopen(0, 0); dlclose(0); dlsym(0, 0); return 0; }
466
467cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o -ldl
468
469ldd /tmp/mplayer-conf-18589-26127.o
470 libdl.so.2 => /lib/libdl.so.2 (0x40018000)
471 libc.so.6 => /lib/i686/libc.so.6 (0x4001b000)
472 /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
473
474Result is: yes
475##########################################
476
477============ Checking for dynamic a/v plugins support ============
478Result is: no
479##########################################
480
481============ Checking for pthread ============
482
483#include <pthread.h>
484void* func(void *arg) { return arg; }
485int main(void) { pthread_t tid; return pthread_create (&tid, 0, func, 0) == 0 ? 0 : 1; }
486
487cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o
488/tmp/ccUM8w7z.o(.text+0x43): In function `main':
489: undefined reference to `pthread_create'
490collect2: ld returned 1 exit status
491
492ldd /tmp/mplayer-conf-18589-26127.o
493ldd: /tmp/mplayer-conf-18589-26127.o: No such file or directory
494
495
496#include <pthread.h>
497void* func(void *arg) { return arg; }
498int main(void) { pthread_t tid; return pthread_create (&tid, 0, func, 0) == 0 ? 0 : 1; }
499
500cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o -lpthread
501
502ldd /tmp/mplayer-conf-18589-26127.o
503 libpthread.so.0 => /lib/i686/libpthread.so.0 (0x40018000)
504 libc.so.6 => /lib/i686/libc.so.6 (0x40069000)
505 /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
506
507Result is: yes (using -lpthread)
508##########################################
509
510============ Checking for sys/soundcard.h ============
511
512#include <sys/soundcard.h>
513int main(void) { return 0; }
514
515cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o
516
517ldd /tmp/mplayer-conf-18589-26127.o
518 libc.so.6 => /lib/i686/libc.so.6 (0x40018000)
519 /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
520
521Result is: yes
522##########################################
523
524============ Checking for sys/dvdio.h ============
525
526#include <unistd.h>
527#include <sys/dvdio.h>
528int main(void) { return 0; }
529
530cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o
531/tmp/mplayer-conf-15186-26127.c:2:23: sys/dvdio.h: No such file or directory
532
533ldd /tmp/mplayer-conf-18589-26127.o
534ldd: /tmp/mplayer-conf-18589-26127.o: No such file or directory
535
536Result is: no
537##########################################
538
539============ Checking for sys/cdio.h ============
540
541#include <unistd.h>
542#include <sys/cdio.h>
543int main(void) { return 0; }
544
545cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o
546/tmp/mplayer-conf-15186-26127.c:2:22: sys/cdio.h: No such file or directory
547
548ldd /tmp/mplayer-conf-18589-26127.o
549ldd: /tmp/mplayer-conf-18589-26127.o: No such file or directory
550
551Result is: no
552##########################################
553
554============ Checking for linux/cdrom.h ============
555
556#include <sys/types.h>
557#include <linux/cdrom.h>
558int main(void) { return 0; }
559
560cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o
561
562ldd /tmp/mplayer-conf-18589-26127.o
563 libc.so.6 => /lib/i686/libc.so.6 (0x40018000)
564 /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
565
566Result is: yes
567##########################################
568
569============ Checking for dvd.h ============
570
571#include <dvd.h>
572int main(void) { return 0; }
573
574cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o
575/tmp/mplayer-conf-15186-26127.c:1:17: dvd.h: No such file or directory
576
577ldd /tmp/mplayer-conf-18589-26127.o
578ldd: /tmp/mplayer-conf-18589-26127.o: No such file or directory
579
580Result is: no
581##########################################
582
583============ Checking for BSDI dvd.h ============
584
585#include <dvd.h>
586int main(void) { return 0; }
587
588cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o
589/tmp/mplayer-conf-15186-26127.c:1:17: dvd.h: No such file or directory
590
591ldd /tmp/mplayer-conf-18589-26127.o
592ldd: /tmp/mplayer-conf-18589-26127.o: No such file or directory
593
594Result is: no
595##########################################
596
597============ Checking for HPUX SCSI header ============
598
599#include <sys/scsi.h>
600int main(void) { return 0; }
601
602cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o
603/tmp/mplayer-conf-15186-26127.c:1:22: sys/scsi.h: No such file or directory
604
605ldd /tmp/mplayer-conf-18589-26127.o
606ldd: /tmp/mplayer-conf-18589-26127.o: No such file or directory
607
608Result is: no
609##########################################
610
611============ Checking for userspace SCSI headers (Solaris) ============
612
613# include <unistd.h>
614# include <stropts.h>
615# include <sys/scsi/scsi_types.h>
616# include <sys/scsi/impl/uscsi.h>
617int main(void) { return 0; }
618
619cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o
620/tmp/mplayer-conf-15186-26127.c:3:36: sys/scsi/scsi_types.h: No such file or directory
621/tmp/mplayer-conf-15186-26127.c:4:36: sys/scsi/impl/uscsi.h: No such file or directory
622
623ldd /tmp/mplayer-conf-18589-26127.o
624ldd: /tmp/mplayer-conf-18589-26127.o: No such file or directory
625
626Result is: no
627##########################################
628
629============ Checking for termcap ============
630
631int main(void) { return 0; }
632
633cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o -ltermcap
634/usr/local/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -ltermcap
635collect2: ld returned 1 exit status
636
637ldd /tmp/mplayer-conf-18589-26127.o
638ldd: /tmp/mplayer-conf-18589-26127.o: No such file or directory
639
640
641int main(void) { return 0; }
642
643cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o -ltinfo
644/usr/local/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -ltinfo
645collect2: ld returned 1 exit status
646
647ldd /tmp/mplayer-conf-18589-26127.o
648ldd: /tmp/mplayer-conf-18589-26127.o: No such file or directory
649
650Result is: no
651##########################################
652
653============ Checking for termios ============
654
655#include <sys/termios.h>
656int main(void) { return 0; }
657
658cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o
659
660ldd /tmp/mplayer-conf-18589-26127.o
661 libc.so.6 => /lib/i686/libc.so.6 (0x40018000)
662 /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
663
664Result is: yes (using sys/termios.h)
665##########################################
666
667============ Checking for shm ============
668
669#include <sys/types.h>
670#include <sys/shm.h>
671int main(void) { shmget(0, 0, 0); shmat(0, 0, 0); shmctl(0, 0, 0); return 0; }
672
673cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o
674
675ldd /tmp/mplayer-conf-18589-26127.o
676 libc.so.6 => /lib/i686/libc.so.6 (0x40018000)
677 /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
678
679Result is: yes
680##########################################
681
682============ Checking for linux devfs ============
683Result is: no
684##########################################
685
686============ Checking for scandir() ============
687
688int main (void) { scandir("", 0, 0, 0); alphasort(0, 0); return 0; }
689
690cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o
691
692ldd /tmp/mplayer-conf-18589-26127.o
693 libc.so.6 => /lib/i686/libc.so.6 (0x40018000)
694 /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
695
696Result is: yes
697##########################################
698
699============ Checking for strsep() ============
700
701#include <string.h>
702int main (void) { char *s = "Hello, world!"; (void) strsep(&s, ","); return 0; }
703
704cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o
705
706ldd /tmp/mplayer-conf-18589-26127.o
707 libc.so.6 => /lib/i686/libc.so.6 (0x40018000)
708 /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
709
710Result is: yes
711##########################################
712
713============ Checking for vsscanf() ============
714
715#include <stdarg.h>
716int main(void) { vsscanf(0, 0, 0); return 0; }
717
718cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o
719
720ldd /tmp/mplayer-conf-18589-26127.o
721 libc.so.6 => /lib/i686/libc.so.6 (0x40018000)
722 /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
723
724Result is: yes
725##########################################
726
727============ Checking for posix select() ============
728
729#include <stdio.h>
730#include <stdlib.h>
731#include <sys/types.h>
732#include <string.h>
733#include <sys/time.h>
734#include <unistd.h>
735int main(void) {int nfds = 1; fd_set readfds; struct timeval timeout; select(nfds,&readfds,NULL,NULL,&timeout); return 0; }
736
737cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o
738
739ldd /tmp/mplayer-conf-18589-26127.o
740 libc.so.6 => /lib/i686/libc.so.6 (0x40018000)
741 /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
742
743Result is: yes
744##########################################
745
746============ Checking for gettimeofday() ============
747
748#include <stdio.h>
749#include <sys/time.h>
750int main(void) {struct timeval tv_start; gettimeofday(&tv_start, NULL); return 0; }
751
752cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o
753
754ldd /tmp/mplayer-conf-18589-26127.o
755 libc.so.6 => /lib/i686/libc.so.6 (0x40018000)
756 /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
757
758Result is: yes
759##########################################
760
761============ Checking for glob() ============
762
763#include <stdio.h>
764#include <glob.h>
765int main(void) { glob_t gg; glob("filename",0,NULL,&gg); return 0; }
766
767cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o
768
769ldd /tmp/mplayer-conf-18589-26127.o
770 libc.so.6 => /lib/i686/libc.so.6 (0x40018000)
771 /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
772
773Result is: yes
774##########################################
775
776============ Checking for sys/sysinfo.h ============
777
778#include <sys/sysinfo.h>
779int main(void) {
780 struct sysinfo s_info;
781 sysinfo(&s_info);
782 return 0;
783}
784
785cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o
786
787ldd /tmp/mplayer-conf-18589-26127.o
788 libc.so.6 => /lib/i686/libc.so.6 (0x40018000)
789 /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
790
791Result is: yes
792##########################################
793
794============ Checking for Mac OS X APIs ============
795Result is: no
796##########################################
797
798============ Checking for Samba support (libsmbclient) ============
799
800#include <libsmbclient.h>
801int main(void) { smbc_opendir("smb://"); return 0; }
802
803cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o -lsmbclient
804/tmp/mplayer-conf-15186-26127.c:1:26: libsmbclient.h: No such file or directory
805
806ldd /tmp/mplayer-conf-18589-26127.o
807ldd: /tmp/mplayer-conf-18589-26127.o: No such file or directory
808
809
810#include <libsmbclient.h>
811int main(void) { smbc_opendir("smb://"); return 0; }
812
813cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o -lsmbclient -ldl
814/tmp/mplayer-conf-15186-26127.c:1:26: libsmbclient.h: No such file or directory
815
816ldd /tmp/mplayer-conf-18589-26127.o
817ldd: /tmp/mplayer-conf-18589-26127.o: No such file or directory
818
819
820#include <libsmbclient.h>
821int main(void) { smbc_opendir("smb://"); return 0; }
822
823cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o -lsmbclient -ldl -lnsl
824/tmp/mplayer-conf-15186-26127.c:1:26: libsmbclient.h: No such file or directory
825
826ldd /tmp/mplayer-conf-18589-26127.o
827ldd: /tmp/mplayer-conf-18589-26127.o: No such file or directory
828
829Result is: no
830##########################################
831
832============ Checking for 3dfx ============
833Result is: no
834##########################################
835
836============ Checking for tdfxfb ============
837Result is: no
838##########################################
839
840============ Checking for tdfxvid ============
841Result is: no
842##########################################
843
844============ Checking for tga ============
845Result is: yes
846##########################################
847
848============ Checking for DirectFB headers presence ============
849Result is: not found
850##########################################
851
852============ Checking for DirectFB ============
853Result is: no
854##########################################
855
856============ Checking for X11 headers presence ============
857Result is: yes (using /usr/X11/include)
858##########################################
859
860============ Checking for X11 libs presence ============
861Result is: yes (using /usr/X11R6/lib)
862##########################################
863
864============ Checking for X11 ============
865
866#include <X11/Xlib.h>
867#include <X11/Xutil.h>
868int main(void) { (void) XCreateWindow(0,0,0,0,0,0,0,0,0,0,0,0); return 0; }
869
870cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o -I/usr/X11/include -L/usr/X11R6/lib -lXext -lX11 -lnsl
871
872ldd /tmp/mplayer-conf-18589-26127.o
873 libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40032000)
874 libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40040000)
875 libnsl.so.1 => /lib/libnsl.so.1 (0x40123000)
876 libc.so.6 => /lib/i686/libc.so.6 (0x40138000)
877 /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
878
879Result is: yes
880##########################################
881
882============ Checking for DPMS ============
883
884#include <X11/Xmd.h>
885#include <X11/Xlib.h>
886#include <X11/Xutil.h>
887#include <X11/Xatom.h>
888#include <X11/extensions/dpms.h>
889int main(void) {
890 (void) DPMSQueryExtension(0, 0, 0);
891}
892
893cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o -I/usr/X11/include -lXdpms -L/usr/X11R6/lib -lXext -lX11 -lnsl
894/usr/local/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lXdpms
895collect2: ld returned 1 exit status
896
897ldd /tmp/mplayer-conf-18589-26127.o
898ldd: /tmp/mplayer-conf-18589-26127.o: No such file or directory
899
900
901#include <X11/Xlib.h>
902#include <X11/extensions/dpms.h>
903int main(void) {
904 (void) DPMSQueryExtension(0, 0, 0);
905}
906
907cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o -I/usr/X11/include -L/usr/X11R6/lib -lXext -lX11 -lnsl
908
909ldd /tmp/mplayer-conf-18589-26127.o
910 libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40032000)
911 libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40040000)
912 libnsl.so.1 => /lib/libnsl.so.1 (0x40123000)
913 libc.so.6 => /lib/i686/libc.so.6 (0x40138000)
914 /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
915
916Result is: yes (using Xdpms 4)
917##########################################
918
919============ Checking for Xv ============
920
921#include <X11/Xlib.h>
922#include <X11/extensions/Xvlib.h>
923int main(void) { (void) XvGetPortAttribute(0, 0, 0, 0); return 0; }
924
925cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o -I/usr/X11/include -lXv -L/usr/X11R6/lib -lXext -lX11 -lnsl
926
927ldd /tmp/mplayer-conf-18589-26127.o
928 libXv.so.1 => /usr/X11R6/lib/libXv.so.1 (0x40032000)
929 libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40037000)
930 libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40045000)
931 libnsl.so.1 => /lib/libnsl.so.1 (0x40128000)
932 libc.so.6 => /lib/i686/libc.so.6 (0x4013d000)
933 /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
934
935Result is: yes
936##########################################
937
938============ Checking for XvMC ============
939Result is: no
940##########################################
941
942============ Checking for Xinerama ============
943
944#include <X11/Xlib.h>
945#include <X11/extensions/Xinerama.h>
946int main(void) { (void) XineramaIsActive(0); return 0; }
947
948cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o -I/usr/X11/include -lXinerama -L/usr/X11R6/lib -lXext -lX11 -lnsl
949
950ldd /tmp/mplayer-conf-18589-26127.o
951 libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40032000)
952 libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40040000)
953 libnsl.so.1 => /lib/libnsl.so.1 (0x40123000)
954 libc.so.6 => /lib/i686/libc.so.6 (0x40138000)
955 /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
956
957Result is: yes
958##########################################
959
960============ Checking for Xxf86vm ============
961
962#include <X11/Xlib.h>
963#include <X11/extensions/xf86vmode.h>
964#include <X11/XF86keysym.h>
965int main(void) { (void) XF86VidModeQueryExtension(0, 0, 0); return 0; }
966
967cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o -I/usr/X11/include -lXxf86vm -L/usr/X11R6/lib -lXext -lX11 -lnsl
968
969ldd /tmp/mplayer-conf-18589-26127.o
970 libXxf86vm.so.1 => /usr/X11R6/lib/libXxf86vm.so.1 (0x40032000)
971 libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40037000)
972 libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40045000)
973 libnsl.so.1 => /lib/libnsl.so.1 (0x40128000)
974 libc.so.6 => /lib/i686/libc.so.6 (0x4013d000)
975 /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
976
977Result is: yes
978##########################################
979
980============ Checking for DGA ============
981
982#include <X11/Xlib.h>
983#include <X11/extensions/xf86dga.h>
984int main (void) { (void) XF86DGASetViewPort(0, 0, 0, 0); return 0; }
985
986cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o -I/usr/X11/include -lXxf86dga -lXxf86vm -L/usr/X11R6/lib -lXext -lX11 -lnsl
987
988ldd /tmp/mplayer-conf-18589-26127.o
989 libXxf86dga.so.1 => /usr/X11R6/lib/libXxf86dga.so.1 (0x40032000)
990 libXxf86vm.so.1 => /usr/X11R6/lib/libXxf86vm.so.1 (0x40038000)
991 libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x4003d000)
992 libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4004b000)
993 libnsl.so.1 => /lib/libnsl.so.1 (0x4012e000)
994 libc.so.6 => /lib/i686/libc.so.6 (0x40144000)
995 /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
996
997
998#include <X11/Xlib.h>
999#include <X11/extensions/xf86dga.h>
1000int main (void) { (void) XDGASetViewport(0, 0, 0, 0, 0); return 0; }
1001
1002cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o -I/usr/X11/include -lXxf86dga -L/usr/X11R6/lib -lXext -lX11 -lnsl
1003
1004ldd /tmp/mplayer-conf-18589-26127.o
1005 libXxf86dga.so.1 => /usr/X11R6/lib/libXxf86dga.so.1 (0x40032000)
1006 libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40038000)
1007 libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40046000)
1008 libnsl.so.1 => /lib/libnsl.so.1 (0x40129000)
1009 libc.so.6 => /lib/i686/libc.so.6 (0x4013e000)
1010 /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
1011
1012Result is: yes (using DGA 2.0)
1013##########################################
1014
1015============ Checking for OpenGL ============
1016
1017#include <GL/gl.h>
1018int main(void) { return 0; }
1019
1020cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o -I/usr/X11/include -L/usr/X11R6/lib -lXext -lX11 -lnsl -lGL -lm
1021
1022ldd /tmp/mplayer-conf-18589-26127.o
1023 libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40032000)
1024 libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40040000)
1025 libnsl.so.1 => /lib/libnsl.so.1 (0x40123000)
1026 libGL.so.1 => /usr/lib/libGL.so.1 (0x40138000)
1027 libm.so.6 => /lib/i686/libm.so.6 (0x401a3000)
1028 libc.so.6 => /lib/i686/libc.so.6 (0x401c6000)
1029 libpthread.so.0 => /lib/i686/libpthread.so.0 (0x402d9000)
1030 libdl.so.2 => /lib/libdl.so.2 (0x4032a000)
1031 /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
1032
1033Result is: yes
1034##########################################
1035
1036============ Checking for /dev/mga_vid ============
1037Result is: yes
1038##########################################
1039
1040============ Checking for xmga ============
1041Result is: yes
1042##########################################
1043
1044============ Checking for GGI ============
1045
1046#include <ggi/ggi.h>
1047int main(void) { return 0; }
1048
1049cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o -lggi
1050/tmp/mplayer-conf-15186-26127.c:1:21: ggi/ggi.h: No such file or directory
1051
1052ldd /tmp/mplayer-conf-18589-26127.o
1053ldd: /tmp/mplayer-conf-18589-26127.o: No such file or directory
1054
1055Result is: no
1056##########################################
1057
1058============ Checking for AA ============
1059
1060#include <aalib.h>
1061int main(void) { (void) aa_init(0, 0, 0); return 0; }
1062
1063cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o -laa
1064
1065ldd /tmp/mplayer-conf-18589-26127.o
1066 libaa.so.1 => /usr/lib/libaa.so.1 (0x40018000)
1067 libc.so.6 => /lib/i686/libc.so.6 (0x4002f000)
1068 libslang.so.1 => /usr/lib/libslang.so.1 (0x40142000)
1069 libm.so.6 => /lib/i686/libm.so.6 (0x401a7000)
1070 libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x401e3000)
1071 libgpm.so.1 => /usr/lib/libgpm.so.1 (0x402c7000)
1072 /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
1073 libdl.so.2 => /lib/libdl.so.2 (0x402cd000)
1074 libncurses.so.5 => /lib/libncurses.so.5 (0x402d0000)
1075
1076Result is: yes
1077##########################################
1078
1079============ Checking for SVGAlib ============
1080
1081#include <vga.h>
1082#include <vgagl.h>
1083int main(void) { return 0; }
1084
1085cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o -lvgagl -lvga -lm
1086
1087ldd /tmp/mplayer-conf-18589-26127.o
1088 libvgagl.so.1 => /usr/lib/libvgagl.so.1 (0x40018000)
1089 libvga.so.1 => /usr/lib/libvga.so.1 (0x40027000)
1090 libm.so.6 => /lib/i686/libm.so.6 (0x4007f000)
1091 libc.so.6 => /lib/i686/libc.so.6 (0x400a1000)
1092 /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
1093
1094Result is: yes
1095##########################################
1096
1097============ Checking for FBDev ============
1098Result is: yes
1099##########################################
1100
1101============ Checking for DVB ============
1102
1103#include <sys/poll.h>
1104#include <sys/ioctl.h>
1105#include <stdio.h>
1106#include <time.h>
1107#include <unistd.h>
1108
1109#include <ost/dmx.h>
1110#include <ost/frontend.h>
1111#include <ost/sec.h>
1112#include <ost/video.h>
1113#include <ost/audio.h>
1114int main(void) {return 0;}
1115
1116cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o
1117/tmp/mplayer-conf-15186-26127.c:7:21: ost/dmx.h: No such file or directory
1118/tmp/mplayer-conf-15186-26127.c:8:26: ost/frontend.h: No such file or directory
1119/tmp/mplayer-conf-15186-26127.c:9:21: ost/sec.h: No such file or directory
1120/tmp/mplayer-conf-15186-26127.c:10:23: ost/video.h: No such file or directory
1121/tmp/mplayer-conf-15186-26127.c:11:23: ost/audio.h: No such file or directory
1122
1123ldd /tmp/mplayer-conf-18589-26127.o
1124ldd: /tmp/mplayer-conf-18589-26127.o: No such file or directory
1125
1126
1127#include <sys/poll.h>
1128#include <sys/ioctl.h>
1129#include <stdio.h>
1130#include <time.h>
1131#include <unistd.h>
1132
1133#include <ost/dmx.h>
1134#include <ost/frontend.h>
1135#include <ost/sec.h>
1136#include <ost/video.h>
1137#include <ost/audio.h>
1138int main(void) {return 0;}
1139
1140cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o
1141cc: : No such file or directory
1142/tmp/mplayer-conf-15186-26127.c:7:21: ost/dmx.h: No such file or directory
1143/tmp/mplayer-conf-15186-26127.c:8:26: ost/frontend.h: No such file or directory
1144/tmp/mplayer-conf-15186-26127.c:9:21: ost/sec.h: No such file or directory
1145/tmp/mplayer-conf-15186-26127.c:10:23: ost/video.h: No such file or directory
1146/tmp/mplayer-conf-15186-26127.c:11:23: ost/audio.h: No such file or directory
1147
1148ldd /tmp/mplayer-conf-18589-26127.o
1149ldd: /tmp/mplayer-conf-18589-26127.o: No such file or directory
1150
1151
1152#include <sys/poll.h>
1153#include <sys/ioctl.h>
1154#include <stdio.h>
1155#include <time.h>
1156#include <unistd.h>
1157
1158#include <ost/dmx.h>
1159#include <ost/frontend.h>
1160#include <ost/sec.h>
1161#include <ost/video.h>
1162#include <ost/audio.h>
1163int main(void) {return 0;}
1164
1165cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o -I/usr/src/DVB/ost/include
1166/tmp/mplayer-conf-15186-26127.c:7:21: ost/dmx.h: No such file or directory
1167/tmp/mplayer-conf-15186-26127.c:8:26: ost/frontend.h: No such file or directory
1168/tmp/mplayer-conf-15186-26127.c:9:21: ost/sec.h: No such file or directory
1169/tmp/mplayer-conf-15186-26127.c:10:23: ost/video.h: No such file or directory
1170/tmp/mplayer-conf-15186-26127.c:11:23: ost/audio.h: No such file or directory
1171
1172ldd /tmp/mplayer-conf-18589-26127.o
1173ldd: /tmp/mplayer-conf-18589-26127.o: No such file or directory
1174
1175Result is: no (specify path to DVB/ost/include with --with-dvbincdir=DIR)
1176##########################################
1177
1178============ Checking for DVB HEAD ============
1179
1180#include <sys/poll.h>
1181#include <sys/ioctl.h>
1182#include <stdio.h>
1183#include <time.h>
1184#include <unistd.h>
1185
1186#include <linux/dvb/dmx.h>
1187#include <linux/dvb/frontend.h>
1188#include <linux/dvb/video.h>
1189#include <linux/dvb/audio.h>
1190int main(void) {return 0;}
1191
1192cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o
1193
1194ldd /tmp/mplayer-conf-18589-26127.o
1195 libc.so.6 => /lib/i686/libc.so.6 (0x40018000)
1196 /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
1197
1198Result is: yes
1199##########################################
1200
1201============ Checking for PNG support ============
1202
1203#include <png.h>
1204#include <string.h>
1205int main(void) {
1206 printf("png.h : %s\n", PNG_LIBPNG_VER_STRING);
1207 printf("libpng: %s\n", png_libpng_ver);
1208 return (strcmp(PNG_LIBPNG_VER_STRING, png_libpng_ver));
1209}
1210
1211cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o -lpng -lz -lm
1212
1213ldd /tmp/mplayer-conf-18589-26127.o
1214 libpng.so.2 => /usr/lib/libpng.so.2 (0x40018000)
1215 libz.so.1 => /lib/libz.so.1 (0x4004a000)
1216 libm.so.6 => /lib/i686/libm.so.6 (0x40059000)
1217 libc.so.6 => /lib/i686/libc.so.6 (0x4007b000)
1218 /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
1219
1220png.h : 1.0.12
1221libpng: 1.0.12
1222Result is: yes
1223##########################################
1224
1225============ Checking for JPEG support ============
1226
1227#include <stdio.h>
1228#include <stdlib.h>
1229#include <setjmp.h>
1230#include <string.h>
1231#include <jpeglib.h>
1232int main(void) {
1233 return 0;
1234}
1235
1236cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o -ljpeg -lm
1237
1238ldd /tmp/mplayer-conf-18589-26127.o
1239 libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x40018000)
1240 libm.so.6 => /lib/i686/libm.so.6 (0x40037000)
1241 libc.so.6 => /lib/i686/libc.so.6 (0x40059000)
1242 /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
1243
1244Result is: yes
1245##########################################
1246
1247============ Checking for GIF support ============
1248
1249#include <gif_lib.h>
1250int main(void) {
1251 return 0;
1252}
1253
1254cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o -lungif
1255
1256ldd /tmp/mplayer-conf-18589-26127.o
1257 libungif.so.4 => /usr/lib/libungif.so.4 (0x40018000)
1258 libc.so.6 => /lib/i686/libc.so.6 (0x40020000)
1259 libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4014d000)
1260 /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
1261
1262
1263#include <signal.h>
1264#include <gif_lib.h>
1265void catch() { exit(1); }
1266int main(void) {
1267 signal(SIGSEGV, catch); // catch segfault
1268 printf("EGifPutExtensionFirst is at address %p\n", EGifPutExtensionFirst);
1269 EGifSetGifVersion("89a"); // this will segfault a buggy gif lib.
1270 return 0;
1271}
1272
1273cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o -lungif
1274/tmp/mplayer-conf-15186-26127.c: In function `main':
1275/tmp/mplayer-conf-15186-26127.c:6: error: `EGifPutExtensionFirst' undeclared (first use in this function)
1276/tmp/mplayer-conf-15186-26127.c:6: error: (Each undeclared identifier is reported only once
1277/tmp/mplayer-conf-15186-26127.c:6: error: for each function it appears in.)
1278
1279ldd /tmp/mplayer-conf-18589-26127.o
1280ldd: /tmp/mplayer-conf-18589-26127.o: No such file or directory
1281
1282Result is: yes (old version, some encoding functions disabled)
1283##########################################
1284
1285============ Checking for broken giflib workaround ============
1286
1287#include <gif_lib.h>
1288int main(void) {
1289 GifFileType gif;
1290 printf("UserData is at address %p\n", gif.UserData);
1291 return 0;
1292}
1293
1294cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o -lungif
1295
1296ldd /tmp/mplayer-conf-18589-26127.o
1297 libungif.so.4 => /usr/lib/libungif.so.4 (0x40018000)
1298 libc.so.6 => /lib/i686/libc.so.6 (0x40020000)
1299 libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4014d000)
1300 /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
1301
1302UserData is at address 0x80484e0
1303Result is: disabled
1304##########################################
1305
1306============ Checking for VESA support ============
1307
1308#include <sys/io.h>
1309int main(void) { return 0; }
1310
1311cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o
1312
1313ldd /tmp/mplayer-conf-18589-26127.o
1314 libc.so.6 => /lib/i686/libc.so.6 (0x40018000)
1315 /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
1316
1317Result is: yes
1318##########################################
1319
1320============ Checking for SDL ============
13211.2.3
13221.2.3
1323
1324#include <SDL.h>
1325int main(int argc, char *argv[]) { return 0; }
1326
1327cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o -I/usr/include/SDL -D_REENTRANT -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread
1328
1329ldd /tmp/mplayer-conf-18589-26127.o
1330 libSDL-1.2.so.0 => /usr/lib/libSDL-1.2.so.0 (0x40018000)
1331 libpthread.so.0 => /lib/i686/libpthread.so.0 (0x40091000)
1332 libc.so.6 => /lib/i686/libc.so.6 (0x400e2000)
1333 libm.so.6 => /lib/i686/libm.so.6 (0x401f5000)
1334 libdl.so.2 => /lib/libdl.so.2 (0x40217000)
1335 libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40235000)
1336 libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40318000)
1337 /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
1338
1339Result is: yes (using sdl-config)
1340##########################################
1341
1342============ Checking for Windows waveout ============
1343
1344#include <windows.h>
1345#include <mmsystem.h>
1346int main(void) { return 0; }
1347
1348cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o -lwinmm
1349/tmp/mplayer-conf-15186-26127.c:1:21: windows.h: No such file or directory
1350/tmp/mplayer-conf-15186-26127.c:2:22: mmsystem.h: No such file or directory
1351
1352ldd /tmp/mplayer-conf-18589-26127.o
1353ldd: /tmp/mplayer-conf-18589-26127.o: No such file or directory
1354
1355Result is: no
1356##########################################
1357
1358============ Checking for Directx ============
1359
1360#include <windows.h>
1361#include <ddraw.h>
1362int main(void) { return 0; }
1363
1364cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o -lgdi32
1365/tmp/mplayer-conf-15186-26127.c:1:21: windows.h: No such file or directory
1366/tmp/mplayer-conf-15186-26127.c:2:19: ddraw.h: No such file or directory
1367
1368ldd /tmp/mplayer-conf-18589-26127.o
1369ldd: /tmp/mplayer-conf-18589-26127.o: No such file or directory
1370
1371Result is: no
1372##########################################
1373
1374============ Checking for NAS ============
1375
1376#include <audio/audiolib.h>
1377int main(void) { return 0; }
1378
1379cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o -laudio -I/usr/X11/include -lXt -L/usr/X11R6/lib -lXext -lX11 -lnsl -lm
1380/tmp/mplayer-conf-15186-26127.c:1:28: audio/audiolib.h: No such file or directory
1381
1382ldd /tmp/mplayer-conf-18589-26127.o
1383ldd: /tmp/mplayer-conf-18589-26127.o: No such file or directory
1384
1385Result is: no
1386##########################################
1387
1388============ Checking for DXR2 ============
1389
1390#include <dxr2ioctl.h>
1391int main(void) { return 0; }
1392
1393cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o
1394/tmp/mplayer-conf-15186-26127.c:1:23: dxr2ioctl.h: No such file or directory
1395
1396ldd /tmp/mplayer-conf-18589-26127.o
1397ldd: /tmp/mplayer-conf-18589-26127.o: No such file or directory
1398
1399
1400#include <dxr2ioctl.h>
1401int main(void) { return 0; }
1402
1403cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o -I/usr/local/include/dxr2
1404/tmp/mplayer-conf-15186-26127.c:1:23: dxr2ioctl.h: No such file or directory
1405
1406ldd /tmp/mplayer-conf-18589-26127.o
1407ldd: /tmp/mplayer-conf-18589-26127.o: No such file or directory
1408
1409
1410#include <dxr2ioctl.h>
1411int main(void) { return 0; }
1412
1413cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o -I/usr/include/dxr2
1414/tmp/mplayer-conf-15186-26127.c:1:23: dxr2ioctl.h: No such file or directory
1415
1416ldd /tmp/mplayer-conf-18589-26127.o
1417ldd: /tmp/mplayer-conf-18589-26127.o: No such file or directory
1418
1419Result is: no
1420##########################################
1421
1422============ Checking for DXR3/H+ ============
1423
1424#include <linux/em8300.h>
1425int main(void) { return 0; }
1426
1427cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o
1428/tmp/mplayer-conf-15186-26127.c:1:26: linux/em8300.h: No such file or directory
1429
1430ldd /tmp/mplayer-conf-18589-26127.o
1431ldd: /tmp/mplayer-conf-18589-26127.o: No such file or directory
1432
1433Result is: no
1434##########################################
1435
1436============ Checking for libmp1e ============
1437Result is: no
1438##########################################
1439
1440============ Checking for libfame ============
1441Result is: no
1442##########################################
1443
1444============ Checking for OSS Audio ============
1445
1446#include <sys/ioctl.h>
1447#include <sys/soundcard.h>
1448int main(void) { int arg = SNDCTL_DSP_SETFRAGMENT; return 0; }
1449
1450cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o
1451
1452ldd /tmp/mplayer-conf-18589-26127.o
1453 libc.so.6 => /lib/i686/libc.so.6 (0x40018000)
1454 /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
1455
1456
1457#include <sys/ioctl.h>
1458#include <sys/soundcard.h>
1459#ifdef OPEN_SOUND_SYSTEM
1460int main(void) { return 0; }
1461#else
1462#error Not the real thing
1463#endif
1464
1465cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o
1466
1467ldd /tmp/mplayer-conf-18589-26127.o
1468 libc.so.6 => /lib/i686/libc.so.6 (0x40018000)
1469 /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
1470
1471Result is: yes
1472##########################################
1473
1474============ Checking for aRts ============
14750.9.5
1476
1477#include <artsc.h>
1478int main(void) { return 0; }
1479
1480cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o -L/opt/kde2//lib -ldl -lartsc -DPIC -fPIC -lpthread -I/opt/kde2//include/artsc
1481/tmp/mplayer-conf-15186-26127.c:1:19: artsc.h: No such file or directory
1482
1483ldd /tmp/mplayer-conf-18589-26127.o
1484ldd: /tmp/mplayer-conf-18589-26127.o: No such file or directory
1485
1486Result is: no
1487##########################################
1488
1489============ Checking for EsounD ============
14900.2.22
1491
1492#include <esd.h>
1493int main(void) { return 0; }
1494
1495cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o -L/usr/lib -lesd -laudiofile -lm
1496
1497ldd /tmp/mplayer-conf-18589-26127.o
1498 libesd.so.0 => /usr/lib/libesd.so.0 (0x40018000)
1499 libaudiofile.so.0 => /usr/lib/libaudiofile.so.0 (0x40020000)
1500 libm.so.6 => /lib/i686/libm.so.6 (0x4003e000)
1501 libc.so.6 => /lib/i686/libc.so.6 (0x40060000)
1502 /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
1503
1504Result is: yes
1505##########################################
1506
1507============ Checking for esd_get_latency() ============
1508
1509#include <esd.h>
1510int main(void) { return esd_get_latency(0); }
1511
1512cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o -L/usr/lib -lesd -laudiofile -lm
1513
1514ldd /tmp/mplayer-conf-18589-26127.o
1515 libesd.so.0 => /usr/lib/libesd.so.0 (0x40018000)
1516 libaudiofile.so.0 => /usr/lib/libaudiofile.so.0 (0x40020000)
1517 libm.so.6 => /lib/i686/libm.so.6 (0x4003e000)
1518 libc.so.6 => /lib/i686/libc.so.6 (0x40060000)
1519 /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
1520
1521Result is: yes
1522##########################################
1523
1524============ Checking for ALSA audio ============
1525
1526#include <sys/asoundlib.h>
1527int main(void) { return (!(SND_LIB_MAJOR==0 && SND_LIB_MINOR==5)); }
1528
1529cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o -lasound -ldl -lpthread
1530/tmp/mplayer-conf-15186-26127.c:1:27: sys/asoundlib.h: No such file or directory
1531/tmp/mplayer-conf-15186-26127.c: In function `main':
1532/tmp/mplayer-conf-15186-26127.c:2: error: `SND_LIB_MAJOR' undeclared (first use in this function)
1533/tmp/mplayer-conf-15186-26127.c:2: error: (Each undeclared identifier is reported only once
1534/tmp/mplayer-conf-15186-26127.c:2: error: for each function it appears in.)
1535/tmp/mplayer-conf-15186-26127.c:2: error: `SND_LIB_MINOR' undeclared (first use in this function)
1536
1537ldd /tmp/mplayer-conf-18589-26127.o
1538ldd: /tmp/mplayer-conf-18589-26127.o: No such file or directory
1539
1540
1541#include <sys/asoundlib.h>
1542int main(void) { return (!(SND_LIB_MAJOR==0 && SND_LIB_MINOR==9)); }
1543
1544cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o -lasound -ldl -lpthread
1545/tmp/mplayer-conf-15186-26127.c:1:27: sys/asoundlib.h: No such file or directory
1546/tmp/mplayer-conf-15186-26127.c: In function `main':
1547/tmp/mplayer-conf-15186-26127.c:2: error: `SND_LIB_MAJOR' undeclared (first use in this function)
1548/tmp/mplayer-conf-15186-26127.c:2: error: (Each undeclared identifier is reported only once
1549/tmp/mplayer-conf-15186-26127.c:2: error: for each function it appears in.)
1550/tmp/mplayer-conf-15186-26127.c:2: error: `SND_LIB_MINOR' undeclared (first use in this function)
1551
1552ldd /tmp/mplayer-conf-18589-26127.o
1553ldd: /tmp/mplayer-conf-18589-26127.o: No such file or directory
1554
1555
1556#include <alsa/asoundlib.h>
1557int main(void) { return (!(SND_LIB_MAJOR==0 && SND_LIB_MINOR==9)); }
1558
1559cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o -lasound -ldl -lpthread
1560/tmp/mplayer-conf-15186-26127.c:1:28: alsa/asoundlib.h: No such file or directory
1561/tmp/mplayer-conf-15186-26127.c: In function `main':
1562/tmp/mplayer-conf-15186-26127.c:2: error: `SND_LIB_MAJOR' undeclared (first use in this function)
1563/tmp/mplayer-conf-15186-26127.c:2: error: (Each undeclared identifier is reported only once
1564/tmp/mplayer-conf-15186-26127.c:2: error: for each function it appears in.)
1565/tmp/mplayer-conf-15186-26127.c:2: error: `SND_LIB_MINOR' undeclared (first use in this function)
1566
1567ldd /tmp/mplayer-conf-18589-26127.o
1568ldd: /tmp/mplayer-conf-18589-26127.o: No such file or directory
1569
1570
1571#include <sys/asoundlib.h>
1572int main(void) { return (!(SND_LIB_MAJOR==1 && SND_LIB_MINOR==0)); }
1573
1574cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o -lasound -ldl -lpthread
1575/tmp/mplayer-conf-15186-26127.c:1:27: sys/asoundlib.h: No such file or directory
1576/tmp/mplayer-conf-15186-26127.c: In function `main':
1577/tmp/mplayer-conf-15186-26127.c:2: error: `SND_LIB_MAJOR' undeclared (first use in this function)
1578/tmp/mplayer-conf-15186-26127.c:2: error: (Each undeclared identifier is reported only once
1579/tmp/mplayer-conf-15186-26127.c:2: error: for each function it appears in.)
1580/tmp/mplayer-conf-15186-26127.c:2: error: `SND_LIB_MINOR' undeclared (first use in this function)
1581
1582ldd /tmp/mplayer-conf-18589-26127.o
1583ldd: /tmp/mplayer-conf-18589-26127.o: No such file or directory
1584
1585
1586#include <alsa/asoundlib.h>
1587int main(void) { return (!(SND_LIB_MAJOR==1 && SND_LIB_MINOR==0)); }
1588
1589cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o -lasound -ldl -lpthread
1590/tmp/mplayer-conf-15186-26127.c:1:28: alsa/asoundlib.h: No such file or directory
1591/tmp/mplayer-conf-15186-26127.c: In function `main':
1592/tmp/mplayer-conf-15186-26127.c:2: error: `SND_LIB_MAJOR' undeclared (first use in this function)
1593/tmp/mplayer-conf-15186-26127.c:2: error: (Each undeclared identifier is reported only once
1594/tmp/mplayer-conf-15186-26127.c:2: error: for each function it appears in.)
1595/tmp/mplayer-conf-15186-26127.c:2: error: `SND_LIB_MINOR' undeclared (first use in this function)
1596
1597ldd /tmp/mplayer-conf-18589-26127.o
1598ldd: /tmp/mplayer-conf-18589-26127.o: No such file or directory
1599
1600Result is: no
1601##########################################
1602
1603============ Checking for Sun audio ============
1604
1605#include <sys/types.h>
1606#include <sys/audioio.h>
1607int main(void) { audio_info_t info; AUDIO_INITINFO(&info); return 0; }
1608
1609cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o
1610/tmp/mplayer-conf-15186-26127.c:2:25: sys/audioio.h: No such file or directory
1611/tmp/mplayer-conf-15186-26127.c: In function `main':
1612/tmp/mplayer-conf-15186-26127.c:3: error: `audio_info_t' undeclared (first use in this function)
1613/tmp/mplayer-conf-15186-26127.c:3: error: (Each undeclared identifier is reported only once
1614/tmp/mplayer-conf-15186-26127.c:3: error: for each function it appears in.)
1615/tmp/mplayer-conf-15186-26127.c:3: error: parse error before "info"
1616/tmp/mplayer-conf-15186-26127.c:3: error: `info' undeclared (first use in this function)
1617
1618ldd /tmp/mplayer-conf-18589-26127.o
1619ldd: /tmp/mplayer-conf-18589-26127.o: No such file or directory
1620
1621Result is: no
1622##########################################
1623
1624============ Checking for Sun mediaLib ============
1625
1626#include <mlib.h>
1627int main(void) { mlib_VideoColorYUV2ABGR420(0,0,0,0,0,0,0,0,0); return 0; }
1628
1629cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o -I/opt/SUNWmlib/include -L/opt/SUNWmlib/lib -lmlib
1630/tmp/mplayer-conf-15186-26127.c:1:18: mlib.h: No such file or directory
1631
1632ldd /tmp/mplayer-conf-18589-26127.o
1633ldd: /tmp/mplayer-conf-18589-26127.o: No such file or directory
1634
1635Result is: no
1636##########################################
1637
1638============ Checking for SGI audio ============
1639
1640#include <dmedia/audio.h>
1641int main(void) { return 0; }
1642
1643cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o
1644/tmp/mplayer-conf-15186-26127.c:1:26: dmedia/audio.h: No such file or directory
1645
1646ldd /tmp/mplayer-conf-18589-26127.o
1647ldd: /tmp/mplayer-conf-18589-26127.o: No such file or directory
1648
1649Result is: no
1650##########################################
1651
1652============ Checking for VCD support ============
1653Result is: ok
1654##########################################
1655
1656============ Checking for DVD support (libmpdvdkit) ============
1657Result is: yes
1658##########################################
1659
1660============ Checking for DVD support (libdvdread) ============
1661Result is: disabled by libmpdvdkit2
1662##########################################
1663
1664============ Checking for cdparanoia ============
1665
1666#include <cdda_interface.h>
1667#include <cdda_paranoia.h>
1668// This need a better test. How ?
1669int main(void) { return 1; }
1670
1671cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o -lcdda_interface -lcdda_paranoia -lm
1672
1673ldd /tmp/mplayer-conf-18589-26127.o
1674 libcdda_interface.so.0 => /usr/lib/libcdda_interface.so.0 (0x40018000)
1675 libcdda_paranoia.so.0 => /usr/lib/libcdda_paranoia.so.0 (0x40035000)
1676 libm.so.6 => /lib/i686/libm.so.6 (0x4003e000)
1677 libc.so.6 => /lib/i686/libc.so.6 (0x40060000)
1678 /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
1679
1680Result is: yes
1681##########################################
1682
1683============ Checking for freetype >= 2.0.9 ============
1684
1685#include <stdio.h>
1686#include <ft2build.h>
1687#include FT_FREETYPE_H
1688#if ((FREETYPE_MAJOR < 2) || ((FREETYPE_MINOR == 0) && (FREETYPE_PATCH < 9)))
1689#error "Need FreeType 2.0.9 or newer"
1690#endif
1691int main()
1692{
1693 FT_Library library;
1694 FT_Int major=-1,minor=-1,patch=-1;
1695 int err=FT_Init_FreeType(&library);
1696 if(err){
1697 printf("Couldn't initialize freetype2 lib, err code: %d\n",err);
1698 exit(err);
1699 }
1700 FT_Library_Version(library,&major,&minor,&patch); // in v2.1.0+ only :(((
1701 printf("freetype2 header version: %d.%d.%d library version: %d.%d.%d\n",
1702 FREETYPE_MAJOR,FREETYPE_MINOR,FREETYPE_PATCH,
1703 (int)major,(int)minor,(int)patch );
1704 if(major!=FREETYPE_MAJOR || minor!=FREETYPE_MINOR){
1705 printf("Library and header version mismatch! Fix it in your distribution!\n");
1706 exit(1);
1707 }
1708 return 0;
1709}
1710
1711cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o -I/usr/local/include/freetype2 -I/usr/local/include -L/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib -lfreetype -lz
1712
1713ldd /tmp/mplayer-conf-18589-26127.o
1714 libfreetype.so.6 => /usr/local/lib/libfreetype.so.6 (0x40018000)
1715 libz.so.1 => /lib/libz.so.1 (0x40082000)
1716 libc.so.6 => /lib/i686/libc.so.6 (0x40091000)
1717 /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
1718
1719freetype2 header version: 2.1.9 library version: 2.1.9
1720Result is: yes
1721##########################################
1722
1723============ Checking for fontconfig ============
1724
1725#include <stdio.h>
1726#include <fontconfig/fontconfig.h>
1727int main()
1728{
1729 int err = FcInit();
1730 if(err == FcFalse){
1731 printf("Couldn't initialize fontconfig lib\n");
1732 exit(err);
1733 }
1734 return 0;
1735
1736}
1737
1738cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o -lfontconfig
1739
1740ldd /tmp/mplayer-conf-18589-26127.o
1741 libfontconfig.so.1 => /usr/local/lib/libfontconfig.so.1 (0x40018000)
1742 libc.so.6 => /lib/i686/libc.so.6 (0x4003d000)
1743 libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x40150000)
1744 libexpat.so.0 => /usr/lib/libexpat.so.0 (0x40199000)
1745 /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
1746
1747Result is: yes
1748##########################################
1749
1750============ Checking for fribidi with charsets ============
1751Result is: no
1752##########################################
1753
1754============ Checking for zlib ============
1755
1756#include <zlib.h>
1757int main(void) { (void) inflate(0, Z_NO_FLUSH); return 0; }
1758
1759cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o -lz
1760
1761ldd /tmp/mplayer-conf-18589-26127.o
1762 libz.so.1 => /lib/libz.so.1 (0x40018000)
1763 libc.so.6 => /lib/i686/libc.so.6 (0x40027000)
1764 /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
1765
1766Result is: yes
1767##########################################
1768
1769============ Checking for RTC ============
1770
1771#include <sys/ioctl.h>
1772#include <linux/rtc.h>
1773int main(void) { return RTC_IRQP_READ; }
1774
1775cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o
1776
1777ldd /tmp/mplayer-conf-18589-26127.o
1778 libc.so.6 => /lib/i686/libc.so.6 (0x40018000)
1779 /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
1780
1781Result is: yes
1782##########################################
1783
1784============ Checking for external liblzo support ============
1785
1786#include <lzo1x.h>
1787int main(void) { lzo_init();return 0; }
1788
1789cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o -llzo
1790/tmp/mplayer-conf-15186-26127.c:1:19: lzo1x.h: No such file or directory
1791
1792ldd /tmp/mplayer-conf-18589-26127.o
1793ldd: /tmp/mplayer-conf-18589-26127.o: No such file or directory
1794
1795Result is: no
1796##########################################
1797
1798============ Checking for mad support ============
1799
1800#include <mad.h>
1801int main(void) { return 0; }
1802
1803cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o -lmad
1804/tmp/mplayer-conf-15186-26127.c:1:17: mad.h: No such file or directory
1805
1806ldd /tmp/mplayer-conf-18589-26127.o
1807ldd: /tmp/mplayer-conf-18589-26127.o: No such file or directory
1808
1809Result is: no
1810##########################################
1811
1812============ Checking for OggVorbis support ============
1813
1814#include <vorbis/codec.h>
1815int main(void) { vorbis_packet_blocksize(0,0); return 0; }
1816
1817cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o -lvorbis -logg -lm
1818
1819ldd /tmp/mplayer-conf-18589-26127.o
1820 libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0x40018000)
1821 libogg.so.0 => /usr/lib/libogg.so.0 (0x4003a000)
1822 libm.so.6 => /lib/i686/libm.so.6 (0x4003e000)
1823 libc.so.6 => /lib/i686/libc.so.6 (0x40060000)
1824 /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
1825
1826Result is: yes
1827##########################################
1828
1829============ Checking for OggTheora support (only the CVS version!) ============
1830
1831#include <theora/theora.h>
1832#include <string.h>
1833int main(void)
1834{
1835 /* theora is in flux, make sure that all interface routines and
1836 * datatypes exist and work the way we expect it, so we don't break
1837 * mplayer */
1838 ogg_packet op;
1839 theora_comment tc;
1840 theora_info inf;
1841 theora_state st;
1842 yuv_buffer yuv;
1843 int r;
1844 double t;
1845
1846 theora_info_init (&inf);
1847 theora_comment_init (&tc);
1848
1849 return 0;
1850
1851 /* we don't want to execute this kind of nonsense; just for making sure
1852 * that compilation works... */
1853 memset(&op, 0, sizeof(op));
1854 r = theora_decode_header (&inf, &tc, &op);
1855 r = theora_decode_init (&st, &inf);
1856 t = theora_granule_time (&st, op.granulepos);
1857 r = theora_decode_packetin (&st, &op);
1858 r = theora_decode_YUVout (&st, &yuv);
1859 theora_clear (&st);
1860
1861 return 0;
1862}
1863
1864cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o -ltheora -logg -lm
1865/tmp/mplayer-conf-15186-26127.c:1:27: theora/theora.h: No such file or directory
1866/tmp/mplayer-conf-15186-26127.c: In function `main':
1867/tmp/mplayer-conf-15186-26127.c:8: error: `ogg_packet' undeclared (first use in this function)
1868/tmp/mplayer-conf-15186-26127.c:8: error: (Each undeclared identifier is reported only once
1869/tmp/mplayer-conf-15186-26127.c:8: error: for each function it appears in.)
1870/tmp/mplayer-conf-15186-26127.c:8: error: parse error before "op"
1871/tmp/mplayer-conf-15186-26127.c:9: error: `theora_comment' undeclared (first use in this function)
1872/tmp/mplayer-conf-15186-26127.c:10: error: `theora_info' undeclared (first use in this function)
1873/tmp/mplayer-conf-15186-26127.c:11: error: `theora_state' undeclared (first use in this function)
1874/tmp/mplayer-conf-15186-26127.c:12: error: `yuv_buffer' undeclared (first use in this function)
1875/tmp/mplayer-conf-15186-26127.c:16: error: `inf' undeclared (first use in this function)
1876/tmp/mplayer-conf-15186-26127.c:17: error: `tc' undeclared (first use in this function)
1877/tmp/mplayer-conf-15186-26127.c:23: error: `op' undeclared (first use in this function)
1878/tmp/mplayer-conf-15186-26127.c:25: error: `st' undeclared (first use in this function)
1879/tmp/mplayer-conf-15186-26127.c:28: error: `yuv' undeclared (first use in this function)
1880
1881ldd /tmp/mplayer-conf-18589-26127.o
1882ldd: /tmp/mplayer-conf-18589-26127.o: No such file or directory
1883
1884Result is: no
1885##########################################
1886
1887============ Checking for Matroska support (0.6.0 or later) ============
1888
1889#include <ebml/EbmlVersion.h>
1890#include <matroska/KaxVersion.h>
1891
1892#if LIBEBML_VERSION < 000600
1893#error libebml is too old
1894#endif
1895
1896#if LIBMATROSKA_VERSION < 000600
1897#error libmatroska is too old
1898#endif
1899
1900int main(void) { return 0; }
1901
1902cc /tmp/mplayer-conf-15186-26127.cpp -o /tmp/mplayer-conf-18589-26127.o -lmatroska -lebml -lstdc++
1903
1904ldd /tmp/mplayer-conf-18589-26127.o
1905 libstdc++.so.6 => /usr/local/lib/libstdc++.so.6 (0x40018000)
1906 libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x400e9000)
1907 libc.so.6 => /lib/i686/libc.so.6 (0x400f2000)
1908 libm.so.6 => /lib/i686/libm.so.6 (0x40205000)
1909 /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
1910
1911Result is: yes
1912##########################################
1913
1914============ Checking for internal FAAD2 (AAC) support ============
1915
1916/*
1917** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding
1918** Copyright (C) 2003 M. Bakker, Ahead Software AG, http://www.nero.com
1919**
1920** This program is free software; you can redistribute it and/or modify
1921** it under the terms of the GNU General Public License as published by
1922** the Free Software Foundation; either version 2 of the License, or
1923** (at your option) any later version.
1924**
1925** This program is distributed in the hope that it will be useful,
1926** but WITHOUT ANY WARRANTY; without even the implied warranty of
1927** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1928** GNU General Public License for more details.
1929**
1930** You should have received a copy of the GNU General Public License
1931** along with this program; if not, write to the Free Software
1932** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
1933**
1934** Any non-GPL usage of this software or parts of this software is strictly
1935** forbidden.
1936**
1937** Commercial non-GPL licensing of this software is possible.
1938** For more info contact Ahead Software through Mpeg4AAClicense@nero.com.
1939**
1940** $Id: cfft.c,v 1.2 2003/10/03 22:22:27 alex Exp $
1941**/
1942
1943/*
1944 * Algorithmically based on Fortran-77 FFTPACK
1945 * by Paul N. Swarztrauber(Version 4, 1985).
1946 *
1947 * Does even sized fft only
1948 */
1949
1950/* isign is +1 for backward and -1 for forward transforms */
1951
1952#include "common.h"
1953#include "structs.h"
1954
1955#include <stdlib.h>
1956#ifdef _WIN32_WCE
1957#define assert(x)
1958#else
1959#include <assert.h>
1960#endif
1961
1962#include "cfft.h"
1963#include "cfft_tab.h"
1964
1965
1966/*----------------------------------------------------------------------
1967 passf2, passf3, passf4, passf5. Complex FFT passes fwd and bwd.
1968 ----------------------------------------------------------------------*/
1969
1970static void passf2(uint16_t ido, uint16_t l1, complex_t *cc, complex_t *ch,
1971 complex_t *wa, int8_t isign)
1972{
1973 uint16_t i, k, ah, ac;
1974
1975 if (ido == 1)
1976 {
1977 for (k = 0; k < l1; k++)
1978 {
1979 ah = 2*k;
1980 ac = 4*k;
1981
1982 RE(ch[ah]) = RE(cc[ac]) + RE(cc[ac+1]);
1983 RE(ch[ah+l1]) = RE(cc[ac]) - RE(cc[ac+1]);
1984 IM(ch[ah]) = IM(cc[ac]) + IM(cc[ac+1]);
1985 IM(ch[ah+l1]) = IM(cc[ac]) - IM(cc[ac+1]);
1986 }
1987 } else {
1988 for (k = 0; k < l1; k++)
1989 {
1990 ah = k*ido;
1991 ac = 2*k*ido;
1992
1993 for (i = 0; i < ido; i++)
1994 {
1995 complex_t t2;
1996
1997 RE(ch[ah+i]) = RE(cc[ac+i]) + RE(cc[ac+i+ido]);
1998 RE(t2) = RE(cc[ac+i]) - RE(cc[ac+i+ido]);
1999
2000 IM(ch[ah+i]) = IM(cc[ac+i]) + IM(cc[ac+i+ido]);
2001 IM(t2) = IM(cc[ac+i]) - IM(cc[ac+i+ido]);
2002
2003 RE(ch[ah+i+l1*ido]) = MUL_R_C(RE(t2),RE(wa[i])) - MUL_R_C(IM(t2),IM(wa[i]))*isign;
2004 IM(ch[ah+i+l1*ido]) = MUL_R_C(IM(t2),RE(wa[i])) + MUL_R_C(RE(t2),IM(wa[i]))*isign;
2005 }
2006 }
2007 }
2008}
2009
2010
2011static void passf3(uint16_t ido, uint16_t l1, complex_t *cc, complex_t *ch,
2012 complex_t *wa1, complex_t *wa2, int8_t isign)
2013{
2014 static real_t taur = COEF_CONST(-0.5);
2015 static real_t taui = COEF_CONST(0.866025403784439);
2016 uint16_t i, k, ac, ah;
2017 complex_t c2, c3, d2, d3, t2;
2018
2019 if (ido == 1)
2020 {
2021 for (k = 0; k < l1; k++)
2022 {
2023 ac = 3*k+1;
2024 ah = k;
2025
2026 RE(t2) = RE(cc[ac]) + RE(cc[ac+1]);
2027 IM(t2) = IM(cc[ac]) + IM(cc[ac+1]);
2028 RE(c2) = RE(cc[ac-1]) + MUL_R_C(RE(t2),taur);
2029 IM(c2) = IM(cc[ac-1]) + MUL_R_C(IM(t2),taur);
2030
2031 RE(ch[ah]) = RE(cc[ac-1]) + RE(t2);
2032 IM(ch[ah]) = IM(cc[ac-1]) + IM(t2);
2033
2034 RE(c3) = MUL_R_C((RE(cc[ac]) - RE(cc[ac+1])), taui)*isign;
2035 IM(c3) = MUL_R_C((IM(cc[ac]) - IM(cc[ac+1])), taui)*isign;
2036
2037 RE(ch[ah+l1]) = RE(c2) - IM(c3);
2038 IM(ch[ah+l1]) = IM(c2) + RE(c3);
2039 RE(ch[ah+2*l1]) = RE(c2) + IM(c3);
2040 IM(ch[ah+2*l1]) = IM(c2) - RE(c3);
2041 }
2042 } else {
2043 for (k = 0; k < l1; k++)
2044 {
2045 for (i = 0; i < ido; i++)
2046 {
2047 ac = i + (3*k+1)*ido;
2048 ah = i + k * ido;
2049
2050 RE(t2) = RE(cc[ac]) + RE(cc[ac+ido]);
2051 RE(c2) = RE(cc[ac-ido]) + MUL_R_C(RE(t2),taur);
2052 IM(t2) = IM(cc[ac]) + IM(cc[ac+ido]);
2053 IM(c2) = IM(cc[ac-ido]) + MUL_R_C(IM(t2),taur);
2054
2055 RE(ch[ah]) = RE(cc[ac-ido]) + RE(t2);
2056 IM(ch[ah]) = IM(cc[ac-ido]) + IM(t2);
2057
2058 RE(c3) = MUL_R_C((RE(cc[ac]) - RE(cc[ac+ido])), taui)*isign;
2059 IM(c3) = MUL_R_C((IM(cc[ac]) - IM(cc[ac+ido])), taui)*isign;
2060
2061 RE(d2) = RE(c2) - IM(c3);
2062 IM(d3) = IM(c2) - RE(c3);
2063 RE(d3) = RE(c2) + IM(c3);
2064 IM(d2) = IM(c2) + RE(c3);
2065
2066 RE(ch[ah+l1*ido]) = MUL_R_C(RE(d2),RE(wa1[i])) - MUL_R_C(IM(d2),IM(wa1[i]))*isign;
2067 IM(ch[ah+l1*ido]) = MUL_R_C(IM(d2),RE(wa1[i])) + MUL_R_C(RE(d2),IM(wa1[i]))*isign;
2068 RE(ch[ah+l1*2*ido]) = MUL_R_C(RE(d3),RE(wa2[i])) - MUL_R_C(IM(d3),IM(wa2[i]))*isign;
2069 IM(ch[ah+l1*2*ido]) = MUL_R_C(IM(d3),RE(wa2[i])) + MUL_R_C(RE(d3),IM(wa2[i]))*isign;
2070 }
2071 }
2072 }
2073}
2074
2075
2076static void passf4(uint16_t ido, uint16_t l1, complex_t *cc, complex_t *ch,
2077 complex_t *wa1, complex_t *wa2, complex_t *wa3, int8_t isign)
2078{
2079 uint16_t i, k, ac, ah;
2080
2081 if (ido == 1)
2082 {
2083 for (k = 0; k < l1; k++)
2084 {
2085 complex_t t1, t2, t3, t4;
2086
2087 ac = 4*k;
2088 ah = k;
2089
2090 RE(t2) = RE(cc[ac]) + RE(cc[ac+2]);
2091 RE(t1) = RE(cc[ac]) - RE(cc[ac+2]);
2092 IM(t2) = IM(cc[ac]) + IM(cc[ac+2]);
2093 IM(t1) = IM(cc[ac]) - IM(cc[ac+2]);
2094 RE(t3) = RE(cc[ac+1]) + RE(cc[ac+3]);
2095 IM(t4) = RE(cc[ac+1]) - RE(cc[ac+3]);
2096 IM(t3) = IM(cc[ac+3]) + IM(cc[ac+1]);
2097 RE(t4) = IM(cc[ac+3]) - IM(cc[ac+1]);
2098
2099 RE(ch[ah]) = RE(t2) + RE(t3);
2100 RE(ch[ah+2*l1]) = RE(t2) - RE(t3);
2101
2102 IM(ch[ah]) = IM(t2) + IM(t3);
2103 IM(ch[ah+2*l1]) = IM(t2) - IM(t3);
2104
2105 RE(ch[ah+l1]) = RE(t1) + RE(t4)*isign;
2106 RE(ch[ah+3*l1]) = RE(t1) - RE(t4)*isign;
2107
2108 IM(ch[ah+l1]) = IM(t1) + IM(t4)*isign;
2109 IM(ch[ah+3*l1]) = IM(t1) - IM(t4)*isign;
2110 }
2111 } else {
2112 for (k = 0; k < l1; k++)
2113 {
2114 ac = 4*k*ido;
2115 ah = k*ido;
2116
2117 for (i = 0; i < ido; i++)
2118 {
2119 complex_t c2, c3, c4, t1, t2, t3, t4;
2120
2121 RE(t2) = RE(cc[ac+i]) + RE(cc[ac+i+2*ido]);
2122 RE(t1) = RE(cc[ac+i]) - RE(cc[ac+i+2*ido]);
2123 IM(t2) = IM(cc[ac+i]) + IM(cc[ac+i+2*ido]);
2124 IM(t1) = IM(cc[ac+i]) - IM(cc[ac+i+2*ido]);
2125 RE(t3) = RE(cc[ac+i+ido]) + RE(cc[ac+i+3*ido]);
2126 IM(t4) = RE(cc[ac+i+ido]) - RE(cc[ac+i+3*ido]);
2127 IM(t3) = IM(cc[ac+i+3*ido]) + IM(cc[ac+i+ido]);
2128 RE(t4) = IM(cc[ac+i+3*ido]) - IM(cc[ac+i+ido]);
2129
2130 RE(c2) = RE(t1) + RE(t4)*isign;
2131 RE(c4) = RE(t1) - RE(t4)*isign;
2132
2133 IM(c2) = IM(t1) + IM(t4)*isign;
2134 IM(c4) = IM(t1) - IM(t4)*isign;
2135
2136 RE(ch[ah+i]) = RE(t2) + RE(t3);
2137 RE(c3) = RE(t2) - RE(t3);
2138
2139 IM(ch[ah+i]) = IM(t2) + IM(t3);
2140 IM(c3) = IM(t2) - IM(t3);
2141
2142 IM(ch[ah+i+l1*ido]) = MUL_R_C(IM(c2),RE(wa1[i])) + MUL_R_C(RE(c2),IM(wa1[i]))*isign;
2143 RE(ch[ah+i+l1*ido]) = MUL_R_C(RE(c2),RE(wa1[i])) - MUL_R_C(IM(c2),IM(wa1[i]))*isign;
2144 IM(ch[ah+i+2*l1*ido]) = MUL_R_C(IM(c3),RE(wa2[i])) + MUL_R_C(RE(c3),IM(wa2[i]))*isign;
2145 RE(ch[ah+i+2*l1*ido]) = MUL_R_C(RE(c3),RE(wa2[i])) - MUL_R_C(IM(c3),IM(wa2[i]))*isign;
2146 IM(ch[ah+i+3*l1*ido]) = MUL_R_C(IM(c4),RE(wa3[i])) + MUL_R_C(RE(c4),IM(wa3[i]))*isign;
2147 RE(ch[ah+i+3*l1*ido]) = MUL_R_C(RE(c4),RE(wa3[i])) - MUL_R_C(IM(c4),IM(wa3[i]))*isign;
2148 }
2149 }
2150 }
2151}
2152
2153
2154static void passf5(uint16_t ido, uint16_t l1, complex_t *cc, complex_t *ch,
2155 complex_t *wa1, complex_t *wa2, complex_t *wa3, complex_t *wa4,
2156 int8_t isign)
2157{
2158 static real_t tr11 = COEF_CONST(0.309016994374947);
2159 static real_t ti11 = COEF_CONST(0.951056516295154);
2160 static real_t tr12 = COEF_CONST(-0.809016994374947);
2161 static real_t ti12 = COEF_CONST(0.587785252292473);
2162 uint16_t i, k, ac, ah;
2163 complex_t c2, c3, c4, c5, d3, d4, d5, d2, t2, t3, t4, t5;
2164
2165 if (ido == 1)
2166 {
2167 for (k = 0; k < l1; k++)
2168 {
2169 ac = 5*k + 1;
2170 ah = k;
2171
2172 RE(t2) = RE(cc[ac]) + RE(cc[ac+3]);
2173 IM(t2) = IM(cc[ac]) + IM(cc[ac+3]);
2174 RE(t3) = RE(cc[ac+1]) + RE(cc[ac+2]);
2175 IM(t3) = IM(cc[ac+1]) + IM(cc[ac+2]);
2176 RE(t4) = RE(cc[ac+1]) - RE(cc[ac+2]);
2177 IM(t4) = IM(cc[ac+1]) - IM(cc[ac+2]);
2178 RE(t5) = RE(cc[ac]) - RE(cc[ac+3]);
2179 IM(t5) = IM(cc[ac]) - IM(cc[ac+3]);
2180
2181 RE(ch[ah]) = RE(cc[ac-1]) + RE(t2) + RE(t3);
2182 IM(ch[ah]) = IM(cc[ac-1]) + IM(t2) + IM(t3);
2183
2184 RE(c2) = RE(cc[ac-1]) + MUL_R_C(RE(t2),tr11) + MUL_R_C(RE(t3),tr12);
2185 IM(c2) = IM(cc[ac-1]) + MUL_R_C(IM(t2),tr11) + MUL_R_C(IM(t3),tr12);
2186 RE(c3) = RE(cc[ac-1]) + MUL_R_C(RE(t2),tr12) + MUL_R_C(RE(t3),tr11);
2187 IM(c3) = IM(cc[ac-1]) + MUL_R_C(IM(t2),tr12) + MUL_R_C(IM(t3),tr11);
2188 RE(c4) = (MUL_R_C(RE(t5),ti12)*isign - MUL_R_C(RE(t4),ti11));
2189 IM(c4) = (MUL_R_C(IM(t5),ti12)*isign - MUL_R_C(IM(t4),ti11));
2190 RE(c5) = (MUL_R_C(RE(t5),ti11)*isign + MUL_R_C(RE(t4),ti12));
2191 IM(c5) = (MUL_R_C(IM(t5),ti11)*isign + MUL_R_C(IM(t4),ti12));
2192
2193 RE(ch[ah+l1]) = RE(c2) - IM(c5);
2194 IM(ch[ah+l1]) = IM(c2) + RE(c5);
2195 RE(ch[ah+2*l1]) = RE(c3) - IM(c4);
2196 IM(ch[ah+2*l1]) = IM(c3) + RE(c4);
2197 RE(ch[ah+3*l1]) = RE(c3) + IM(c4);
2198 IM(ch[ah+3*l1]) = IM(c3) - RE(c4);
2199 RE(ch[ah+4*l1]) = RE(c2) + IM(c5);
2200 IM(ch[ah+4*l1]) = IM(c2) - RE(c5);
2201 }
2202 } else {
2203 for (k = 0; k < l1; k++)
2204 {
2205 for (i = 0; i < ido; i++)
2206 {
2207 ac = i + (k*5 + 1) * ido;
2208 ah = i + k * ido;
2209
2210 RE(t2) = RE(cc[ac]) + RE(cc[ac+3*ido]);
2211 IM(t2) = IM(cc[ac]) + IM(cc[ac+3*ido]);
2212 RE(t3) = RE(cc[ac+ido]) + RE(cc[ac+2*ido]);
2213 IM(t3) = IM(cc[ac+ido]) + IM(cc[ac+2*ido]);
2214 RE(t4) = RE(cc[ac+ido]) - RE(cc[ac+2*ido]);
2215 IM(t4) = IM(cc[ac+ido]) - IM(cc[ac+2*ido]);
2216 RE(t5) = RE(cc[ac]) - RE(cc[ac+3*ido]);
2217 IM(t5) = IM(cc[ac]) - IM(cc[ac+3*ido]);
2218
2219 RE(ch[ah]) = RE(cc[ac-ido]) + RE(t2) + RE(t3);
2220 IM(ch[ah]) = IM(cc[ac-ido]) + IM(t2) + IM(t3);
2221
2222 RE(c2) = RE(cc[ac-ido]) + MUL_R_C(RE(t2),tr11) + MUL_R_C(RE(t3),tr12);
2223 IM(c2) = IM(cc[ac-ido]) + MUL_R_C(IM(t2),tr11) + MUL_R_C(IM(t3),tr12);
2224 RE(c3) = RE(cc[ac-ido]) + MUL_R_C(RE(t2),tr12) + MUL_R_C(RE(t3),tr11);
2225 IM(c3) = IM(cc[ac-ido]) + MUL_R_C(IM(t2),tr12) + MUL_R_C(IM(t3),tr11);
2226 RE(c4) = (MUL_R_C(RE(t5),ti12)*isign - MUL_R_C(RE(t4),ti11));
2227 IM(c4) = (MUL_R_C(IM(t5),ti12)*isign - MUL_R_C(IM(t4),ti11));
2228 RE(c5) = (MUL_R_C(RE(t5),ti11)*isign + MUL_R_C(RE(t4),ti12));
2229 IM(c5) = (MUL_R_C(IM(t5),ti11)*isign + MUL_R_C(IM(t4),ti12));
2230
2231 IM(d2) = IM(c2) + RE(c5);
2232 IM(d3) = IM(c3) + RE(c4);
2233 RE(d4) = RE(c3) + IM(c4);
2234 RE(d5) = RE(c2) + IM(c5);
2235 RE(d2) = RE(c2) - IM(c5);
2236 IM(d5) = IM(c2) - RE(c5);
2237 RE(d3) = RE(c3) - IM(c4);
2238 IM(d4) = IM(c3) - RE(c4);
2239
2240 RE(ch[ah+l1*ido]) = MUL_R_C(RE(d2),RE(wa1[i])) - MUL_R_C(IM(d2),IM(wa1[i]))*isign;
2241 IM(ch[ah+l1*ido]) = MUL_R_C(IM(d2),RE(wa1[i])) + MUL_R_C(RE(d2),IM(wa1[i]))*isign;
2242 RE(ch[ah+2*l1*ido]) = MUL_R_C(RE(d3),RE(wa2[i])) - MUL_R_C(IM(d3),IM(wa2[i]))*isign;
2243 IM(ch[ah+2*l1*ido]) = MUL_R_C(IM(d3),RE(wa2[i])) + MUL_R_C(RE(d3),IM(wa2[i]))*isign;
2244 RE(ch[ah+3*l1*ido]) = MUL_R_C(RE(d4),RE(wa3[i])) - MUL_R_C(IM(d4),IM(wa3[i]))*isign;
2245 IM(ch[ah+3*l1*ido]) = MUL_R_C(IM(d4),RE(wa3[i])) + MUL_R_C(RE(d4),IM(wa3[i]))*isign;
2246 RE(ch[ah+4*l1*ido]) = MUL_R_C(RE(d5),RE(wa4[i])) - MUL_R_C(IM(d5),IM(wa4[i]))*isign;
2247 IM(ch[ah+4*l1*ido]) = MUL_R_C(IM(d5),RE(wa4[i])) + MUL_R_C(RE(d5),IM(wa4[i]))*isign;
2248 }
2249 }
2250 }
2251}
2252
2253
2254/*----------------------------------------------------------------------
2255 cfftf1, cfftf, cfftb, cffti1, cffti. Complex FFTs.
2256 ----------------------------------------------------------------------*/
2257
2258INLINE void cfftf1(uint16_t n, complex_t *c, complex_t *ch,
2259 uint16_t *ifac, complex_t *wa, int8_t isign)
2260{
2261 uint16_t i;
2262 uint16_t k1, l1, l2;
2263 uint16_t na, nf, ip, iw, ix2, ix3, ix4, ido, idl1;
2264
2265 nf = ifac[1];
2266 na = 0;
2267 l1 = 1;
2268 iw = 0;
2269
2270 for (k1 = 2; k1 <= nf+1; k1++)
2271 {
2272 ip = ifac[k1];
2273 l2 = ip*l1;
2274 ido = n / l2;
2275 idl1 = ido*l1;
2276
2277 switch (ip)
2278 {
2279 case 4:
2280 ix2 = iw + ido;
2281 ix3 = ix2 + ido;
2282
2283 if (na == 0)
2284 passf4(ido, l1, c, ch, &wa[iw], &wa[ix2], &wa[ix3], isign);
2285 else
2286 passf4(ido, l1, ch, c, &wa[iw], &wa[ix2], &wa[ix3], isign);
2287
2288 na = 1 - na;
2289 break;
2290 case 2:
2291 if (na == 0)
2292 passf2(ido, l1, c, ch, &wa[iw], isign);
2293 else
2294 passf2(ido, l1, ch, c, &wa[iw], isign);
2295
2296 na = 1 - na;
2297 break;
2298 case 3:
2299 ix2 = iw + ido;
2300
2301 if (na == 0)
2302 passf3(ido, l1, c, ch, &wa[iw], &wa[ix2], isign);
2303 else
2304 passf3(ido, l1, ch, c, &wa[iw], &wa[ix2], isign);
2305
2306 na = 1 - na;
2307 break;
2308 case 5:
2309 ix2 = iw + ido;
2310 ix3 = ix2 + ido;
2311 ix4 = ix3 + ido;
2312
2313 if (na == 0)
2314 passf5(ido, l1, c, ch, &wa[iw], &wa[ix2], &wa[ix3], &wa[ix4], isign);
2315 else
2316 passf5(ido, l1, ch, c, &wa[iw], &wa[ix2], &wa[ix3], &wa[ix4], isign);
2317
2318 na = 1 - na;
2319 break;
2320 }
2321
2322 l1 = l2;
2323 iw += (ip-1) * ido;
2324 }
2325
2326 if (na == 0)
2327 return;
2328
2329 for (i = 0; i < n; i++)
2330 {
2331 RE(c[i]) = RE(ch[i]);
2332 IM(c[i]) = IM(ch[i]);
2333 }
2334}
2335
2336void cfftf(cfft_info *cfft, complex_t *c)
2337{
2338 cfftf1(cfft->n, c, cfft->work, cfft->ifac, cfft->tab, -1);
2339}
2340
2341void cfftb(cfft_info *cfft, complex_t *c)
2342{
2343 cfftf1(cfft->n, c, cfft->work, cfft->ifac, cfft->tab, +1);
2344}
2345
2346static void cffti1(uint16_t n, complex_t *wa, uint16_t *ifac)
2347{
2348 static uint16_t ntryh[4] = {3, 4, 2, 5};
2349#ifndef FIXED_POINT
2350 real_t arg, argh, argld, fi;
2351 uint16_t ido, ipm;
2352 uint16_t i1, k1, l1, l2;
2353 uint16_t ld, ii, ip;
2354#endif
2355 uint16_t ntry, i, j;
2356 uint16_t ib;
2357 uint16_t nf, nl, nq, nr;
2358
2359 nl = n;
2360 nf = 0;
2361 j = 0;
2362
2363startloop:
2364 j++;
2365
2366 if (j <= 4)
2367 ntry = ntryh[j-1];
2368 else
2369 ntry += 2;
2370
2371 do
2372 {
2373 nq = nl / ntry;
2374 nr = nl - ntry*nq;
2375
2376 if (nr != 0)
2377 goto startloop;
2378
2379 nf++;
2380 ifac[nf+1] = ntry;
2381 nl = nq;
2382
2383 if (ntry == 2 && nf != 1)
2384 {
2385 for (i = 2; i <= nf; i++)
2386 {
2387 ib = nf - i + 2;
2388 ifac[ib+1] = ifac[ib];
2389 }
2390 ifac[2] = 2;
2391 }
2392 } while (nl != 1);
2393
2394 ifac[0] = n;
2395 ifac[1] = nf;
2396
2397#ifndef FIXED_POINT
2398 argh = (real_t)2.0*M_PI / (real_t)n;
2399 i = 0;
2400 l1 = 1;
2401
2402 for (k1 = 1; k1 <= nf; k1++)
2403 {
2404 ip = ifac[k1+1];
2405 ld = 0;
2406 l2 = l1*ip;
2407 ido = n / l2;
2408 ipm = ip - 1;
2409
2410 for (j = 0; j < ipm; j++)
2411 {
2412 i1 = i;
2413 RE(wa[i]) = 1.0;
2414 IM(wa[i]) = 0.0;
2415 ld += l1;
2416 fi = 0;
2417 argld = ld*argh;
2418
2419 for (ii = 0; ii < ido; ii++)
2420 {
2421 i++;
2422 fi++;
2423 arg = fi * argld;
2424 RE(wa[i]) = (real_t)cos(arg);
2425 IM(wa[i]) = (real_t)sin(arg);
2426 }
2427
2428 if (ip > 5)
2429 {
2430 RE(wa[i1]) = RE(wa[i]);
2431 IM(wa[i1]) = IM(wa[i]);
2432 }
2433 }
2434 l1 = l2;
2435 }
2436#endif
2437}
2438
2439cfft_info *cffti(uint16_t n)
2440{
2441 cfft_info *cfft = (cfft_info*)malloc(sizeof(cfft_info));
2442
2443 cfft->n = n;
2444 cfft->work = (complex_t*)malloc(n*sizeof(complex_t));
2445
2446#ifndef FIXED_POINT
2447 cfft->tab = (complex_t*)malloc(n*sizeof(complex_t));
2448
2449 cffti1(n, cfft->tab, cfft->ifac);
2450#else
2451 cffti1(n, NULL, cfft->ifac);
2452
2453 switch (n)
2454 {
2455 case 60: cfft->tab = cfft_tab_60; break;
2456 case 64: cfft->tab = cfft_tab_64; break;
2457 case 480: cfft->tab = cfft_tab_480; break;
2458 case 512: cfft->tab = cfft_tab_512; break;
2459#ifdef LD_DEC
2460 case 240: cfft->tab = cfft_tab_240; break;
2461 case 256: cfft->tab = cfft_tab_256; break;
2462#endif
2463 }
2464#endif
2465
2466 return cfft;
2467}
2468
2469void cfftu(cfft_info *cfft)
2470{
2471 if (cfft->work) free(cfft->work);
2472#ifndef FIXED_POINT
2473 if (cfft->tab) free(cfft->tab);
2474#endif
2475
2476 if (cfft) free(cfft);
2477}
2478
2479cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o -c -O4 -march=athlon-tbird -mcpu=athlon-tbird -pipe -ffast-math -fomit-frame-pointer -I/var/tmp/tech/prog/MPlayer-1.0pre3/libfaad2
2480`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
2481
2482ldd /tmp/mplayer-conf-18589-26127.o
2483ldd: warning: you do not have execution permission for `/tmp/mplayer-conf-18589-26127.o'
2484 not a dynamic executable
2485
2486Result is: yes
2487##########################################
2488
2489============ Checking for external FAAD2 (AAC) support ============
2490Result is: no
2491##########################################
2492
2493============ Checking for FAAD2 version ============
2494
2495#include <faad.h>
2496#ifndef FAAD_MIN_STREAMSIZE
2497#error Too old version
2498#endif
2499int main(void) {
2500#ifdef FAAD2_VERSION
2501 printf("%s\n",FAAD2_VERSION);
2502#else
2503 printf("1.0\n");
2504#endif
2505 return 0;
2506}
2507
2508cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o -I- -I/var/tmp/tech/prog/MPlayer-1.0pre3/libfaad2 -lm
2509
2510ldd /tmp/mplayer-conf-18589-26127.o
2511 libm.so.6 => /lib/i686/libm.so.6 (0x40018000)
2512 libc.so.6 => /lib/i686/libc.so.6 (0x4003a000)
2513 /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
2514
25152.0 RC1
2516Result is: 2.0 RC1
2517##########################################
2518
2519============ Checking for Win32 codec DLL support ============
2520Result is: yes (using /usr/lib/win32)
2521##########################################
2522
2523============ Checking for Win32 loader support ============
2524Result is: yes
2525##########################################
2526
2527============ Checking for DirectShow ============
2528Result is: yes
2529##########################################
2530
2531============ Checking for XAnim DLL ============
2532Result is: yes (using /usr/local/lib/xanim/mods)
2533##########################################
2534
2535============ Checking for RealPlayer DLL ============
2536Result is: yes (using /usr/lib/real)
2537##########################################
2538
2539============ Checking for LIVE.COM Streaming Media libraries ============
2540Result is: no
2541##########################################
2542
2543============ Checking for iconv ============
2544
2545#include <stdio.h>
2546#include <unistd.h>
2547#include <iconv.h>
2548#define INBUFSIZE 1024
2549#define OUTBUFSIZE 4096
2550
2551char inbuffer[INBUFSIZE];
2552char outbuffer[OUTBUFSIZE];
2553
2554int main(void) {
2555 size_t numread;
2556 iconv_t icdsc;
2557 char *tocode="UTF-8";
2558 char *fromcode="cp1250";
2559 if ((icdsc = iconv_open (tocode, fromcode)) != (iconv_t)(-1)) {
2560 while ((numread = read (0, inbuffer, INBUFSIZE))) {
2561 char *iptr=inbuffer;
2562 char *optr=outbuffer;
2563 size_t inleft=numread;
2564 size_t outleft=OUTBUFSIZE;
2565 if (iconv(icdsc, (const char **)&iptr, &inleft, &optr, &outleft)
2566 != (size_t)(-1)) {
2567 write (1, outbuffer, OUTBUFSIZE - outleft);
2568 }
2569 }
2570 if (iconv_close(icdsc) == -1)
2571 ;
2572 }
2573}
2574
2575cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o -lm -liconv
2576/tmp/mplayer-conf-15186-26127.c: In function `main':
2577/tmp/mplayer-conf-15186-26127.c:21: warning: passing arg 2 of `libiconv' from incompatible pointer type
2578
2579ldd /tmp/mplayer-conf-18589-26127.o
2580 libm.so.6 => /lib/i686/libm.so.6 (0x40018000)
2581 libiconv.so.2 => /usr/lib/libiconv.so.2 (0x4003a000)
2582 libc.so.6 => /lib/i686/libc.so.6 (0x4012a000)
2583 /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
2584
2585Result is: yes
2586##########################################
2587
2588============ Checking for FFmpeg libavcodec (static) ============
2589Result is: yes
2590##########################################
2591
2592============ Checking for libdv-0.9.5+ ============
2593
2594#include <libdv/dv.h>
2595int main(void) { dv_encoder_t* enc=dv_encoder_new(1,1,1); return 0; }
2596
2597cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o -ldv -lm
2598/tmp/mplayer-conf-15186-26127.c:1:22: libdv/dv.h: No such file or directory
2599/tmp/mplayer-conf-15186-26127.c: In function `main':
2600/tmp/mplayer-conf-15186-26127.c:2: error: `dv_encoder_t' undeclared (first use in this function)
2601/tmp/mplayer-conf-15186-26127.c:2: error: (Each undeclared identifier is reported only once
2602/tmp/mplayer-conf-15186-26127.c:2: error: for each function it appears in.)
2603/tmp/mplayer-conf-15186-26127.c:2: error: `enc' undeclared (first use in this function)
2604
2605ldd /tmp/mplayer-conf-18589-26127.o
2606ldd: /tmp/mplayer-conf-18589-26127.o: No such file or directory
2607
2608Result is: no
2609##########################################
2610
2611============ Checking for zr ============
2612Result is: no
2613##########################################
2614
2615============ Checking for bl ============
2616Result is: no
2617##########################################
2618
2619============ Checking for XviD ============
2620
2621#include <xvid.h>
2622int main(void) { xvid_init(0, 0, 0, 0); return 0; }
2623
2624cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o -lxvidcore -lm
2625/tmp/mplayer-conf-15186-26127.c:1:18: xvid.h: No such file or directory
2626
2627ldd /tmp/mplayer-conf-18589-26127.o
2628ldd: /tmp/mplayer-conf-18589-26127.o: No such file or directory
2629
2630
2631#include <xvid.h>
2632int main(void) { xvid_global(0, 0, 0, 0); return 0; }
2633
2634cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o -lxvidcore -lm
2635/tmp/mplayer-conf-15186-26127.c:1:18: xvid.h: No such file or directory
2636
2637ldd /tmp/mplayer-conf-18589-26127.o
2638ldd: /tmp/mplayer-conf-18589-26127.o: No such file or directory
2639
2640Result is: no
2641##########################################
2642
2643============ Checking for DivX4linux/DivX5linux/OpenDivX decore ============
2644
2645#include <decore.h>
2646int main(void) { (void) decore(0, 0, 0, 0); return DEC_OPT_FRAME_311; }
2647
2648cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o -lm -ldivxdecore -lm
2649/tmp/mplayer-conf-15186-26127.c: In function `main':
2650/tmp/mplayer-conf-15186-26127.c:2: error: `DEC_OPT_FRAME_311' undeclared (first use in this function)
2651/tmp/mplayer-conf-15186-26127.c:2: error: (Each undeclared identifier is reported only once
2652/tmp/mplayer-conf-15186-26127.c:2: error: for each function it appears in.)
2653
2654ldd /tmp/mplayer-conf-18589-26127.o
2655ldd: /tmp/mplayer-conf-18589-26127.o: No such file or directory
2656
2657
2658#include <decore.h>
2659int main(void) { (void) decore(0, 0, 0, 0); return DEC_OPT_INIT; }
2660
2661cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o -lm -ldivxdecore -lm
2662
2663ldd /tmp/mplayer-conf-18589-26127.o
2664 libm.so.6 => /lib/i686/libm.so.6 (0x40018000)
2665 libdivxdecore.so => /usr/lib/libdivxdecore.so (0x4003a000)
2666 libc.so.6 => /lib/i686/libc.so.6 (0x4007e000)
2667 /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
2668
2669Result is: DivX5linux (with libdivxdecore.so)
2670##########################################
2671
2672============ Checking for libmp3lame (for mencoder) ============
2673
2674#include <lame/lame.h>
2675int main(void) { lame_version_t lv; (void) lame_init(); get_lame_version_numerical(&lv); printf("%d%d\n",lv.major,lv.minor); return 0; }
2676
2677cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o -lmp3lame -lvorbis -logg -lm
2678
2679ldd /tmp/mplayer-conf-18589-26127.o
2680 libmp3lame.so.0 => /usr/local/lib/libmp3lame.so.0 (0x40018000)
2681 libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0x400c9000)
2682 libogg.so.0 => /usr/lib/libogg.so.0 (0x400eb000)
2683 libm.so.6 => /lib/i686/libm.so.6 (0x400ef000)
2684 libc.so.6 => /lib/i686/libc.so.6 (0x40111000)
2685 /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
2686
2687393
2688Result is: yes
2689##########################################
2690
2691============ Checking for DivX4linux encore (for mencoder) ============
2692
2693#include <encore2.h>
2694int main(void) { (void) encore(0, 0, 0, 0); return 0; }
2695
2696cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o -ldivxencore -lm
2697
2698ldd /tmp/mplayer-conf-18589-26127.o
2699 libdivxencore.so => /usr/lib/libdivxencore.so (0x40018000)
2700 libm.so.6 => /lib/i686/libm.so.6 (0x40045000)
2701 libc.so.6 => /lib/i686/libc.so.6 (0x40067000)
2702 /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
2703
2704Result is: DivX4linux (with libdivxencore.so)
2705##########################################
2706
2707============ Checking for mencoder ============
2708Result is: yes
2709##########################################
2710
2711============ Checking for fastmemcpy ============
2712Result is: yes
2713##########################################
2714
2715============ Checking for UniquE RAR File Library ============
2716Result is: yes
2717##########################################
2718
2719============ Checking for TV interface ============
2720Result is: yes
2721##########################################
2722
2723============ Checking for EDL support ============
2724Result is: yes
2725##########################################
2726
2727============ Checking for *BSD BrookTree 848 TV interface ============
2728
2729#include <sys/types.h>
2730#if defined(__NetBSD__)
2731#include <dev/ic/bt8xx.h>
2732#else
2733#include <machine/ioctl_bt848.h>
2734#endif
2735int main(void) { return 0; }
2736
2737cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o
2738/tmp/mplayer-conf-15186-26127.c:5:33: machine/ioctl_bt848.h: No such file or directory
2739
2740ldd /tmp/mplayer-conf-18589-26127.o
2741ldd: /tmp/mplayer-conf-18589-26127.o: No such file or directory
2742
2743Result is: no
2744##########################################
2745
2746============ Checking for Video 4 Linux TV interface ============
2747
2748#include <stdlib.h>
2749#include <linux/videodev.h>
2750int main(void) { return 0; }
2751
2752cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o
2753
2754ldd /tmp/mplayer-conf-18589-26127.o
2755 libc.so.6 => /lib/i686/libc.so.6 (0x40018000)
2756 /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
2757
2758Result is: yes
2759##########################################
2760
2761============ Checking for Video 4 Linux 2 TV interface ============
2762Result is: yes
2763##########################################
2764
2765============ Checking for audio select() ============
2766Result is: yes
2767##########################################
2768
2769============ Checking for network ============
2770Result is: yes
2771##########################################
2772
2773============ Checking for ftp ============
2774Result is: yes
2775##########################################
2776
2777============ Checking for byte order ============
2778
2779#include <inttypes.h>
2780int main(void) {
2781 volatile uint32_t i=0x01234567;
2782 return (*((uint8_t*)(&i))) == 0x67;
2783}
2784
2785cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o
2786
2787ldd /tmp/mplayer-conf-18589-26127.o
2788 libc.so.6 => /lib/i686/libc.so.6 (0x40018000)
2789 /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
2790
2791Result is: Little Endian
2792##########################################
2793
2794============ Checking for shared postprocess lib ============
2795Result is: no
2796##########################################
2797
2798============ Checking for OSD menu ============
2799Result is: no
2800##########################################
2801
2802============ Checking for QTX codecs ============
2803Result is: yes
2804##########################################
2805
2806============ Checking for Subtitles sorting ============
2807Result is: yes
2808##########################################
2809
2810============ Checking for XMMS inputplugin support ============
2811Result is: no
2812##########################################
2813
2814============ Checking for FLAC support ============
2815Result is: yes (using internal libmpflac)
2816##########################################
2817
2818============ Checking for inet6 ============
2819
2820#include <sys/types.h>
2821#include <sys/socket.h>
2822int main(void) { socket(AF_INET6, SOCK_STREAM, AF_INET6); }
2823
2824cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o
2825
2826ldd /tmp/mplayer-conf-18589-26127.o
2827 libc.so.6 => /lib/i686/libc.so.6 (0x40018000)
2828 /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
2829
2830Result is: yes
2831##########################################
2832
2833============ Checking for gethostbyname2 ============
2834
2835#include <sys/types.h>
2836#include <sys/socket.h>
2837#include <netdb.h>
2838int main(void) { gethostbyname2("", AF_INET); }
2839
2840cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o
2841
2842ldd /tmp/mplayer-conf-18589-26127.o
2843 libc.so.6 => /lib/i686/libc.so.6 (0x40018000)
2844 /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
2845
2846Result is: yes
2847##########################################
2848
2849============ Checking for GUI ============
2850============ Checking for XShape extension ============
2851
2852#include <X11/Xlib.h>
2853#include <X11/Xproto.h>
2854#include <X11/Xutil.h>
2855#include <X11/extensions/shape.h>
2856#include <stdlib.h>
2857int main(void) {
2858 char *name = ":0.0";
2859 Display *wsDisplay;
2860 int exitvar = 0;
2861 int eventbase, errorbase;
2862 if (getenv("DISPLAY"))
2863 name=getenv("DISPLAY");
2864 wsDisplay=XOpenDisplay(name);
2865 if (!XShapeQueryExtension(wsDisplay,&eventbase,&errorbase))
2866 exitvar=1;
2867 XCloseDisplay(wsDisplay);
2868 return exitvar;
2869}
2870
2871cc /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o -I/usr/X11/include -L/usr/X11R6/lib -lXext -lX11 -lnsl
2872
2873ldd /tmp/mplayer-conf-18589-26127.o
2874 libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40032000)
2875 libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40040000)
2876 libnsl.so.1 => /lib/libnsl.so.1 (0x40123000)
2877 libc.so.6 => /lib/i686/libc.so.6 (0x40138000)
2878 /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
2879
2880Result is: yes
2881##########################################
2882
2883============ Checking for gtk version ============
2884Result is: 1.2.10 (using gtk-config)
2885##########################################
2886
2887============ Checking for glib version ============
2888Result is: 1.2.10 (using glib-config)
2889##########################################
2890
2891============ Checking for ftello() ============
2892
2893#include <stdio.h>
2894int main (void) { ftello(stdin); return 0; }
2895
2896cc -O4 -march=athlon-tbird -mcpu=athlon-tbird -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o
2897`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
2898
2899ldd /tmp/mplayer-conf-18589-26127.o
2900 libc.so.6 => /lib/i686/libc.so.6 (0x40018000)
2901 /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
2902
2903Result is: yes
2904##########################################
2905
2906============ Checking for lirc ============
2907Result is: no
2908##########################################
2909
2910============ Checking for lircc ============
2911
2912#include <lirc/lircc.h>
2913int main(void) { return 0; }
2914
2915cc -O4 -march=athlon-tbird -mcpu=athlon-tbird -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 /tmp/mplayer-conf-15186-26127.c -o /tmp/mplayer-conf-18589-26127.o -llircc
2916`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
2917/tmp/mplayer-conf-15186-26127.c:1:24: lirc/lircc.h: No such file or directory
2918
2919ldd /tmp/mplayer-conf-18589-26127.o
2920ldd: /tmp/mplayer-conf-18589-26127.o: No such file or directory
2921
2922Result is: no
2923##########################################
2924