Advertisement
Guest User

mpv_pthreads.config.log

a guest
Dec 8th, 2012
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 78.48 KB | None | 0 0
  1. Parameters configure was run with:
  2. PKG_CONFIG_PATH='/home/qyot27/win32_build/lib/pkgconfig:/usr/i686-w64-mingw32/lib/pkgconfig' ./configure --prefix=/home/qyot27/mpv_build --disable-debug --enable-static --disable-caca --disable-xv --disable-vdpau --disable-vm --disable-xinerama --disable-x11 --disable-xshape --disable-jack --disable-alsa --disable-pulse --disable-portaudio --disable-rsound --disable-bluray --extra-cflags=-march=pentium3 -mtune=pentium3 --enable-cross-compile --target=i686-w64-mingw32
  3.  
  4. ============ Checking for cross compilation ============
  5. Result is: yes
  6. ##########################################
  7.  
  8. ============ Checking for whether to build manpages with rst2man ============
  9.  
  10. rst2man --version
  11. ./configure: 49: ./configure: rst2man: not found
  12.  
  13. Result is: no
  14. ##########################################
  15.  
  16. ============ Checking for i686-w64-mingw32-gcc version ============
  17. Result is: 4.7.2
  18. ##########################################
  19.  
  20. ============ Checking for working compiler ============
  21.  
  22. int main(void) { return 0; }
  23.  
  24. i686-w64-mingw32-gcc /tmp/mpv-configure--20736/tmp.c -I. -march=pentium3 -mtune=pentium3 -fno-common -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234 -DBIG_ENDIAN=4321 -static -lwinmm -o /tmp/mpv-configure--20736/tmp.exe
  25.  
  26.  
  27. ============ Checking for perl ============
  28.  
  29. perl -Mv5.8 -e;
  30.  
  31. ============ Checking for assembler support of -pipe option ============
  32.  
  33. int main(void) { return 0; }
  34.  
  35. i686-w64-mingw32-gcc /tmp/mpv-configure--20736/tmp.c -I. -march=pentium3 -mtune=pentium3 -fno-common -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234 -DBIG_ENDIAN=4321 -static -lwinmm -o /tmp/mpv-configure--20736/tmp.exe -pipe -I.
  36.  
  37.  
  38. Result is: yes
  39. ##########################################
  40.  
  41.  
  42. int main(void) { return 0; }
  43.  
  44. i686-w64-mingw32-gcc -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -O2 -pipe -ffast-math -fomit-frame-pointer /tmp/mpv-configure--20736/tmp.c -I. -march=pentium3 -mtune=pentium3 -fno-common -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234 -DBIG_ENDIAN=4321 -static -lwinmm -ffast-math -o /tmp/mpv-configure--20736/tmp.exe -Wundef
  45.  
  46.  
  47.  
  48. int main(void) { return 0; }
  49.  
  50. i686-w64-mingw32-gcc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -O2 -pipe -ffast-math -fomit-frame-pointer /tmp/mpv-configure--20736/tmp.c -I. -march=pentium3 -mtune=pentium3 -fno-common -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234 -DBIG_ENDIAN=4321 -static -lwinmm -ffast-math -o /tmp/mpv-configure--20736/tmp.exe -std=gnu99
  51.  
  52.  
  53.  
  54. int main(void) { return 0; }
  55.  
  56. i686-w64-mingw32-gcc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -std=gnu99 -O2 -pipe -ffast-math -fomit-frame-pointer /tmp/mpv-configure--20736/tmp.c -I. -march=pentium3 -mtune=pentium3 -fno-common -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234 -DBIG_ENDIAN=4321 -static -lwinmm -ffast-math -o /tmp/mpv-configure--20736/tmp.exe -Wno-pointer-sign
  57.  
  58.  
  59.  
  60. int main(void) { return 0; }
  61.  
  62. i686-w64-mingw32-gcc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -std=gnu99 -O2 -pipe -ffast-math -fomit-frame-pointer /tmp/mpv-configure--20736/tmp.c -I. -march=pentium3 -mtune=pentium3 -fno-common -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234 -DBIG_ENDIAN=4321 -static -lwinmm -ffast-math -o /tmp/mpv-configure--20736/tmp.exe -Wdisabled-optimization
  63.  
  64.  
  65.  
  66. int main(void) { return 0; }
  67.  
  68. i686-w64-mingw32-gcc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -pipe -ffast-math -fomit-frame-pointer /tmp/mpv-configure--20736/tmp.c -I. -march=pentium3 -mtune=pentium3 -fno-common -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234 -DBIG_ENDIAN=4321 -static -lwinmm -ffast-math -o /tmp/mpv-configure--20736/tmp.exe -Wmissing-prototypes
  69.  
  70.  
  71.  
  72. int main(void) { return 0; }
  73.  
  74. i686-w64-mingw32-gcc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -pipe -ffast-math -fomit-frame-pointer /tmp/mpv-configure--20736/tmp.c -I. -march=pentium3 -mtune=pentium3 -fno-common -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234 -DBIG_ENDIAN=4321 -static -lwinmm -ffast-math -o /tmp/mpv-configure--20736/tmp.exe -Wstrict-prototypes
  75.  
  76.  
  77.  
  78. int main(void) { return 0; }
  79.  
  80. i686-w64-mingw32-gcc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -pipe -ffast-math -fomit-frame-pointer /tmp/mpv-configure--20736/tmp.c -I. -march=pentium3 -mtune=pentium3 -fno-common -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234 -DBIG_ENDIAN=4321 -static -lwinmm -ffast-math -o /tmp/mpv-configure--20736/tmp.exe -MD -MP
  81.  
  82.  
  83. ============ Checking for PIC ============
  84.  
  85. int main(void) {
  86. #if !(defined(__PIC__) || defined(__pic__) || defined(PIC))
  87. #error PIC not enabled
  88. #endif
  89. return 0;
  90. }
  91.  
  92. i686-w64-mingw32-gcc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -pipe -ffast-math -fomit-frame-pointer /tmp/mpv-configure--20736/tmp.c -I. -march=pentium3 -mtune=pentium3 -fno-common -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234 -DBIG_ENDIAN=4321 -DFRIBIDI_ENTRY="" -static -lwinmm -ffast-math -o /tmp/mpv-configure--20736/tmp.exe
  93. /tmp/mpv-configure--20736/tmp.c: In function 'main':
  94. /tmp/mpv-configure--20736/tmp.c:3:2: error: #error PIC not enabled
  95.  
  96.  
  97. Result is: no
  98. ##########################################
  99.  
  100. ============ Checking for .align is a power of two ============
  101.  
  102. int main(void) { __asm__ volatile (".align 3"); return 0; }
  103.  
  104. i686-w64-mingw32-gcc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -pipe -ffast-math -fomit-frame-pointer /tmp/mpv-configure--20736/tmp.c -I. -march=pentium3 -mtune=pentium3 -fno-common -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234 -DBIG_ENDIAN=4321 -DFRIBIDI_ENTRY="" -static -lwinmm -ffast-math -o /tmp/mpv-configure--20736/tmp.exe
  105. {standard input}: Assembler messages:
  106. {standard input}:14: Error: alignment not a power of 2
  107.  
  108.  
  109. Result is: no
  110. ##########################################
  111.  
  112. ============ Checking for ebx availability ============
  113.  
  114. int main(void) {
  115. int x;
  116. __asm__ volatile(
  117. "xor %0, %0"
  118. :"=b"(x)
  119. // just adding ebx to clobber list seems unreliable with some
  120. // compilers, e.g. Haiku's gcc 2.95
  121. );
  122. // and the above check does not work for OSX 64 bit...
  123. __asm__ volatile("":::"%ebx");
  124. return 0;
  125. }
  126.  
  127. i686-w64-mingw32-gcc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -pipe -ffast-math -fomit-frame-pointer /tmp/mpv-configure--20736/tmp.c -I. -march=pentium3 -mtune=pentium3 -fno-common -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234 -DBIG_ENDIAN=4321 -DFRIBIDI_ENTRY="" -static -lwinmm -ffast-math -o /tmp/mpv-configure--20736/tmp.exe
  128.  
  129.  
  130. Result is: yes
  131. ##########################################
  132.  
  133. ============ Checking for -lm ============
  134.  
  135. int main(void) { return 0; }
  136.  
  137. i686-w64-mingw32-gcc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -pipe -ffast-math -fomit-frame-pointer /tmp/mpv-configure--20736/tmp.c -I. -march=pentium3 -mtune=pentium3 -fno-common -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234 -DBIG_ENDIAN=4321 -DFRIBIDI_ENTRY="" -static -lwinmm -ffast-math -o /tmp/mpv-configure--20736/tmp.exe -lm
  138.  
  139.  
  140. Result is: yes
  141. ##########################################
  142.  
  143. ============ Checking for gettext support ============
  144. Result is: no
  145. ##########################################
  146.  
  147. ============ Checking for __builtin_expect ============
  148.  
  149. static int foo(int a) {
  150. a = __builtin_expect(a, 10);
  151. return a == 10 ? 0 : 1;
  152. }
  153. int main(void) { return foo(10) && foo(0); }
  154.  
  155. i686-w64-mingw32-gcc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -pipe -ffast-math -fomit-frame-pointer /tmp/mpv-configure--20736/tmp.c -I. -march=pentium3 -mtune=pentium3 -fno-common -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234 -DBIG_ENDIAN=4321 -DFRIBIDI_ENTRY="" -static -lwinmm -ffast-math -o /tmp/mpv-configure--20736/tmp.exe
  156.  
  157.  
  158. Result is: yes
  159. ##########################################
  160.  
  161. ============ Checking for mkstemp ============
  162.  
  163. #define _XOPEN_SOURCE 600
  164. #include <stdlib.h>
  165. int main(void) { mkstemp(""); return 0; }
  166.  
  167. i686-w64-mingw32-gcc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -pipe -ffast-math -fomit-frame-pointer /tmp/mpv-configure--20736/tmp.c -I. -march=pentium3 -mtune=pentium3 -fno-common -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234 -DBIG_ENDIAN=4321 -DFRIBIDI_ENTRY="" -static -lwinmm -ffast-math -o /tmp/mpv-configure--20736/tmp.exe
  168. /tmp/mpv-configure--20736/tmp.c: In function 'main':
  169. /tmp/mpv-configure--20736/tmp.c:3:1: warning: implicit declaration of function 'mkstemp' [-Wimplicit-function-declaration]
  170. /tmp/ccJjeWiO.o:tmp.c:(.text.startup+0x16): undefined reference to `mkstemp'
  171. collect2: error: ld returned 1 exit status
  172.  
  173.  
  174. Result is: no
  175. ##########################################
  176.  
  177. ============ Checking for nanosleep ============
  178.  
  179. #include <time.h>
  180. int main(void) { nanosleep(0, 0); return 0; }
  181.  
  182. i686-w64-mingw32-gcc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -pipe -ffast-math -fomit-frame-pointer /tmp/mpv-configure--20736/tmp.c -I. -march=pentium3 -mtune=pentium3 -fno-common -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234 -DBIG_ENDIAN=4321 -DFRIBIDI_ENTRY="" -static -lwinmm -ffast-math -o /tmp/mpv-configure--20736/tmp.exe
  183. /tmp/cc8WiXPm.o:tmp.c:(.text.startup+0x1c): undefined reference to `nanosleep'
  184. collect2: error: ld returned 1 exit status
  185.  
  186.  
  187. Result is: no
  188. ##########################################
  189.  
  190. ============ Checking for socklib ============
  191.  
  192. #include <netdb.h>
  193. #include <sys/socket.h>
  194. int main(void) { gethostbyname(0); socket(AF_INET, SOCK_STREAM, 0); return 0; }
  195.  
  196. i686-w64-mingw32-gcc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -pipe -ffast-math -fomit-frame-pointer /tmp/mpv-configure--20736/tmp.c -I. -march=pentium3 -mtune=pentium3 -fno-common -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234 -DBIG_ENDIAN=4321 -DFRIBIDI_ENTRY="" -static -lwinmm -ffast-math -o /tmp/mpv-configure--20736/tmp.exe
  197. /tmp/mpv-configure--20736/tmp.c:1:19: fatal error: netdb.h: No such file or directory
  198. compilation terminated.
  199.  
  200.  
  201.  
  202. #include <netdb.h>
  203. #include <sys/socket.h>
  204. int main(void) { gethostbyname(0); socket(AF_INET, SOCK_STREAM, 0); return 0; }
  205.  
  206. i686-w64-mingw32-gcc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -pipe -ffast-math -fomit-frame-pointer /tmp/mpv-configure--20736/tmp.c -I. -march=pentium3 -mtune=pentium3 -fno-common -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234 -DBIG_ENDIAN=4321 -DFRIBIDI_ENTRY="" -static -lwinmm -ffast-math -o /tmp/mpv-configure--20736/tmp.exe -lsocket -lbind
  207. /tmp/mpv-configure--20736/tmp.c:1:19: fatal error: netdb.h: No such file or directory
  208. compilation terminated.
  209.  
  210.  
  211.  
  212. #include <netdb.h>
  213. #include <sys/socket.h>
  214. int main(void) { gethostbyname(0); socket(AF_INET, SOCK_STREAM, 0); return 0; }
  215.  
  216. i686-w64-mingw32-gcc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -pipe -ffast-math -fomit-frame-pointer /tmp/mpv-configure--20736/tmp.c -I. -march=pentium3 -mtune=pentium3 -fno-common -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234 -DBIG_ENDIAN=4321 -DFRIBIDI_ENTRY="" -static -lwinmm -ffast-math -o /tmp/mpv-configure--20736/tmp.exe -lsocket -ldnet
  217. /tmp/mpv-configure--20736/tmp.c:1:19: fatal error: netdb.h: No such file or directory
  218. compilation terminated.
  219.  
  220.  
  221.  
  222. #include <netdb.h>
  223. #include <sys/socket.h>
  224. int main(void) { gethostbyname(0); socket(AF_INET, SOCK_STREAM, 0); return 0; }
  225.  
  226. i686-w64-mingw32-gcc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -pipe -ffast-math -fomit-frame-pointer /tmp/mpv-configure--20736/tmp.c -I. -march=pentium3 -mtune=pentium3 -fno-common -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234 -DBIG_ENDIAN=4321 -DFRIBIDI_ENTRY="" -static -lwinmm -ffast-math -o /tmp/mpv-configure--20736/tmp.exe -lsocket -lnsl
  227. /tmp/mpv-configure--20736/tmp.c:1:19: fatal error: netdb.h: No such file or directory
  228. compilation terminated.
  229.  
  230.  
  231.  
  232. #include <netdb.h>
  233. #include <sys/socket.h>
  234. int main(void) { gethostbyname(0); socket(AF_INET, SOCK_STREAM, 0); return 0; }
  235.  
  236. i686-w64-mingw32-gcc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -pipe -ffast-math -fomit-frame-pointer /tmp/mpv-configure--20736/tmp.c -I. -march=pentium3 -mtune=pentium3 -fno-common -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234 -DBIG_ENDIAN=4321 -DFRIBIDI_ENTRY="" -static -lwinmm -ffast-math -o /tmp/mpv-configure--20736/tmp.exe -lnsl
  237. /tmp/mpv-configure--20736/tmp.c:1:19: fatal error: netdb.h: No such file or directory
  238. compilation terminated.
  239.  
  240.  
  241.  
  242. #include <netdb.h>
  243. #include <sys/socket.h>
  244. int main(void) { gethostbyname(0); socket(AF_INET, SOCK_STREAM, 0); return 0; }
  245.  
  246. i686-w64-mingw32-gcc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -pipe -ffast-math -fomit-frame-pointer /tmp/mpv-configure--20736/tmp.c -I. -march=pentium3 -mtune=pentium3 -fno-common -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234 -DBIG_ENDIAN=4321 -DFRIBIDI_ENTRY="" -static -lwinmm -ffast-math -o /tmp/mpv-configure--20736/tmp.exe -lsocket
  247. /tmp/mpv-configure--20736/tmp.c:1:19: fatal error: netdb.h: No such file or directory
  248. compilation terminated.
  249.  
  250.  
  251.  
  252. #include <winsock2.h>
  253. int main(void) { gethostbyname(0); return 0; }
  254.  
  255. i686-w64-mingw32-gcc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -pipe -ffast-math -fomit-frame-pointer /tmp/mpv-configure--20736/tmp.c -I. -march=pentium3 -mtune=pentium3 -fno-common -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234 -DBIG_ENDIAN=4321 -DFRIBIDI_ENTRY="" -static -lwinmm -ffast-math -o /tmp/mpv-configure--20736/tmp.exe -lws2_32
  256.  
  257.  
  258. Result is: no (using -lws2_32)
  259. ##########################################
  260.  
  261. ============ Checking for inet_pton() ============
  262.  
  263. #include <arpa/inet.h>
  264. int main(void) { inet_pton(0, 0, 0); return 0; }
  265.  
  266. i686-w64-mingw32-gcc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -pipe -ffast-math -fomit-frame-pointer /tmp/mpv-configure--20736/tmp.c -I. -march=pentium3 -mtune=pentium3 -fno-common -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234 -DBIG_ENDIAN=4321 -DFRIBIDI_ENTRY="" -static -lwinmm -ffast-math -o /tmp/mpv-configure--20736/tmp.exe -lws2_32
  267. /tmp/mpv-configure--20736/tmp.c:1:23: fatal error: arpa/inet.h: No such file or directory
  268. compilation terminated.
  269.  
  270.  
  271.  
  272. #include <arpa/inet.h>
  273. int main(void) { inet_pton(0, 0, 0); return 0; }
  274.  
  275. i686-w64-mingw32-gcc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -pipe -ffast-math -fomit-frame-pointer /tmp/mpv-configure--20736/tmp.c -I. -march=pentium3 -mtune=pentium3 -fno-common -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234 -DBIG_ENDIAN=4321 -DFRIBIDI_ENTRY="" -static -lwinmm -ffast-math -o /tmp/mpv-configure--20736/tmp.exe -lws2_32 -lresolv
  276. /tmp/mpv-configure--20736/tmp.c:1:23: fatal error: arpa/inet.h: No such file or directory
  277. compilation terminated.
  278.  
  279.  
  280. Result is: no
  281. ##########################################
  282.  
  283. ============ Checking for inet_aton() ============
  284.  
  285. #include <arpa/inet.h>
  286. int main(void) { inet_aton(0, 0); return 0; }
  287.  
  288. i686-w64-mingw32-gcc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -pipe -ffast-math -fomit-frame-pointer /tmp/mpv-configure--20736/tmp.c -I. -march=pentium3 -mtune=pentium3 -fno-common -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234 -DBIG_ENDIAN=4321 -DFRIBIDI_ENTRY="" -static -lwinmm -ffast-math -o /tmp/mpv-configure--20736/tmp.exe -lws2_32
  289. /tmp/mpv-configure--20736/tmp.c:1:23: fatal error: arpa/inet.h: No such file or directory
  290. compilation terminated.
  291.  
  292.  
  293.  
  294. #include <arpa/inet.h>
  295. int main(void) { inet_aton(0, 0); return 0; }
  296.  
  297. i686-w64-mingw32-gcc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -pipe -ffast-math -fomit-frame-pointer /tmp/mpv-configure--20736/tmp.c -I. -march=pentium3 -mtune=pentium3 -fno-common -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234 -DBIG_ENDIAN=4321 -DFRIBIDI_ENTRY="" -static -lwinmm -ffast-math -o /tmp/mpv-configure--20736/tmp.exe -lws2_32 -lresolv
  298. /tmp/mpv-configure--20736/tmp.c:1:23: fatal error: arpa/inet.h: No such file or directory
  299. compilation terminated.
  300.  
  301.  
  302. Result is: no
  303. ##########################################
  304.  
  305. ============ Checking for socklen_t ============
  306.  
  307. #include <sys/socket.h>
  308. int main(void) { socklen_t v = 0; return 0; }
  309.  
  310. i686-w64-mingw32-gcc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -pipe -ffast-math -fomit-frame-pointer /tmp/mpv-configure--20736/tmp.c -I. -march=pentium3 -mtune=pentium3 -fno-common -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234 -DBIG_ENDIAN=4321 -DFRIBIDI_ENTRY="" -static -lwinmm -ffast-math -o /tmp/mpv-configure--20736/tmp.exe
  311. /tmp/mpv-configure--20736/tmp.c:1:24: fatal error: sys/socket.h: No such file or directory
  312. compilation terminated.
  313.  
  314.  
  315.  
  316. #include <ws2tcpip.h>
  317. int main(void) { socklen_t v = 0; return 0; }
  318.  
  319. i686-w64-mingw32-gcc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -pipe -ffast-math -fomit-frame-pointer /tmp/mpv-configure--20736/tmp.c -I. -march=pentium3 -mtune=pentium3 -fno-common -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234 -DBIG_ENDIAN=4321 -DFRIBIDI_ENTRY="" -static -lwinmm -ffast-math -o /tmp/mpv-configure--20736/tmp.exe
  320. /tmp/mpv-configure--20736/tmp.c: In function 'main':
  321. /tmp/mpv-configure--20736/tmp.c:2:28: warning: unused variable 'v' [-Wunused-variable]
  322.  
  323.  
  324. Result is: yes
  325. ##########################################
  326.  
  327. ============ Checking for closesocket() ============
  328.  
  329. #include <winsock2.h>
  330. int main(void) { closesocket(~0); return 0; }
  331.  
  332. i686-w64-mingw32-gcc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -pipe -ffast-math -fomit-frame-pointer /tmp/mpv-configure--20736/tmp.c -I. -march=pentium3 -mtune=pentium3 -fno-common -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234 -DBIG_ENDIAN=4321 -DFRIBIDI_ENTRY="" -static -lwinmm -ffast-math -o /tmp/mpv-configure--20736/tmp.exe -lws2_32
  333.  
  334.  
  335. Result is: yes
  336. ##########################################
  337.  
  338. ============ Checking for networking ============
  339. Result is: yes
  340. ##########################################
  341.  
  342. ============ Checking for inet6 ============
  343.  
  344. #include <sys/types.h>
  345. #if !defined(_WIN32)
  346. #include <sys/socket.h>
  347. #include <netinet/in.h>
  348. #else
  349. #include <ws2tcpip.h>
  350. #endif
  351. int main(void) { struct sockaddr_in6 six; socket(AF_INET6, SOCK_STREAM, AF_INET6); return 0; }
  352.  
  353. i686-w64-mingw32-gcc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -pipe -ffast-math -fomit-frame-pointer /tmp/mpv-configure--20736/tmp.c -I. -march=pentium3 -mtune=pentium3 -fno-common -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234 -DBIG_ENDIAN=4321 -DFRIBIDI_ENTRY="" -static -lwinmm -ffast-math -lws2_32 -o /tmp/mpv-configure--20736/tmp.exe -lws2_32
  354. /tmp/mpv-configure--20736/tmp.c: In function 'main':
  355. /tmp/mpv-configure--20736/tmp.c:8:38: warning: unused variable 'six' [-Wunused-variable]
  356.  
  357.  
  358. Result is: yes
  359. ##########################################
  360.  
  361. ============ Checking for gethostbyname2 ============
  362.  
  363. #include <sys/types.h>
  364. #include <sys/socket.h>
  365. #include <netdb.h>
  366. int main(void) { gethostbyname2("", AF_INET); return 0; }
  367.  
  368. i686-w64-mingw32-gcc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -pipe -ffast-math -fomit-frame-pointer /tmp/mpv-configure--20736/tmp.c -I. -march=pentium3 -mtune=pentium3 -fno-common -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234 -DBIG_ENDIAN=4321 -DFRIBIDI_ENTRY="" -static -lwinmm -ffast-math -lws2_32 -o /tmp/mpv-configure--20736/tmp.exe
  369. /tmp/mpv-configure--20736/tmp.c:2:24: fatal error: sys/socket.h: No such file or directory
  370. compilation terminated.
  371.  
  372.  
  373. Result is: no
  374. ##########################################
  375.  
  376. ============ Checking for mman.h ============
  377.  
  378. #include <sys/mman.h>
  379. int main(void) { mmap(0, 0, 0, 0, 0, 0); return 0; }
  380.  
  381. i686-w64-mingw32-gcc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -pipe -ffast-math -fomit-frame-pointer /tmp/mpv-configure--20736/tmp.c -I. -march=pentium3 -mtune=pentium3 -fno-common -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234 -DBIG_ENDIAN=4321 -DFRIBIDI_ENTRY="" -static -lwinmm -ffast-math -lws2_32 -o /tmp/mpv-configure--20736/tmp.exe
  382. /tmp/mpv-configure--20736/tmp.c:1:22: fatal error: sys/mman.h: No such file or directory
  383. compilation terminated.
  384.  
  385.  
  386. Result is: no
  387. ##########################################
  388.  
  389.  
  390. #include <sys/mman.h>
  391. int main(void) { void *p = MAP_FAILED; return 0; }
  392.  
  393. i686-w64-mingw32-gcc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -pipe -ffast-math -fomit-frame-pointer /tmp/mpv-configure--20736/tmp.c -I. -march=pentium3 -mtune=pentium3 -fno-common -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234 -DBIG_ENDIAN=4321 -DFRIBIDI_ENTRY="" -static -lwinmm -ffast-math -lws2_32 -o /tmp/mpv-configure--20736/tmp.exe
  394. /tmp/mpv-configure--20736/tmp.c:1:22: fatal error: sys/mman.h: No such file or directory
  395. compilation terminated.
  396.  
  397.  
  398. ============ Checking for dynamic loader ============
  399.  
  400. #include <dlfcn.h>
  401. int main(void) { dlopen("", 0); return 0; }
  402.  
  403. i686-w64-mingw32-gcc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -pipe -ffast-math -fomit-frame-pointer /tmp/mpv-configure--20736/tmp.c -I. -march=pentium3 -mtune=pentium3 -fno-common -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234 -DBIG_ENDIAN=4321 -DFRIBIDI_ENTRY="" -static -lwinmm -ffast-math -lws2_32 -o /tmp/mpv-configure--20736/tmp.exe
  404. /tmp/mpv-configure--20736/tmp.c:1:19: fatal error: dlfcn.h: No such file or directory
  405. compilation terminated.
  406.  
  407.  
  408.  
  409. #include <dlfcn.h>
  410. int main(void) { dlopen("", 0); return 0; }
  411.  
  412. i686-w64-mingw32-gcc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -pipe -ffast-math -fomit-frame-pointer /tmp/mpv-configure--20736/tmp.c -I. -march=pentium3 -mtune=pentium3 -fno-common -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234 -DBIG_ENDIAN=4321 -DFRIBIDI_ENTRY="" -static -lwinmm -ffast-math -lws2_32 -o /tmp/mpv-configure--20736/tmp.exe -ldl
  413. /tmp/mpv-configure--20736/tmp.c:1:19: fatal error: dlfcn.h: No such file or directory
  414. compilation terminated.
  415.  
  416.  
  417. Result is: no
  418. ##########################################
  419.  
  420. ============ Checking for pthread ============
  421.  
  422. #include <pthread.h>
  423. static void *func(void *arg) { return arg; }
  424. int main(void) {
  425. pthread_t tid;
  426. #ifdef PTW32_STATIC_LIB
  427. pthread_win32_process_attach_np();
  428. pthread_win32_thread_attach_np();
  429. #endif
  430. return pthread_create (&tid, 0, func, 0) != 0;
  431. }
  432.  
  433. i686-w64-mingw32-gcc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -pipe -ffast-math -fomit-frame-pointer /tmp/mpv-configure--20736/tmp.c -I. -march=pentium3 -mtune=pentium3 -fno-common -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234 -DBIG_ENDIAN=4321 -DFRIBIDI_ENTRY="" -static -lwinmm -ffast-math -lws2_32 -o /tmp/mpv-configure--20736/tmp.exe -lpthreadGC2
  434. /tmp/cc6MEWzP.o:tmp.c:(.text.startup+0x2c): undefined reference to `_imp__pthread_create'
  435. collect2: error: ld returned 1 exit status
  436.  
  437.  
  438.  
  439. #include <pthread.h>
  440. static void *func(void *arg) { return arg; }
  441. int main(void) {
  442. pthread_t tid;
  443. #ifdef PTW32_STATIC_LIB
  444. pthread_win32_process_attach_np();
  445. pthread_win32_thread_attach_np();
  446. #endif
  447. return pthread_create (&tid, 0, func, 0) != 0;
  448. }
  449.  
  450. i686-w64-mingw32-gcc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -pipe -ffast-math -fomit-frame-pointer /tmp/mpv-configure--20736/tmp.c -I. -march=pentium3 -mtune=pentium3 -fno-common -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234 -DBIG_ENDIAN=4321 -DFRIBIDI_ENTRY="" -static -lwinmm -ffast-math -lws2_32 -o /tmp/mpv-configure--20736/tmp.exe
  451. /tmp/ccaFnVKE.o:tmp.c:(.text.startup+0x2c): undefined reference to `_imp__pthread_create'
  452. collect2: error: ld returned 1 exit status
  453.  
  454.  
  455.  
  456. #include <pthread.h>
  457. static void *func(void *arg) { return arg; }
  458. int main(void) {
  459. pthread_t tid;
  460. #ifdef PTW32_STATIC_LIB
  461. pthread_win32_process_attach_np();
  462. pthread_win32_thread_attach_np();
  463. #endif
  464. return pthread_create (&tid, 0, func, 0) != 0;
  465. }
  466.  
  467. i686-w64-mingw32-gcc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -pipe -ffast-math -fomit-frame-pointer /tmp/mpv-configure--20736/tmp.c -I. -march=pentium3 -mtune=pentium3 -fno-common -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234 -DBIG_ENDIAN=4321 -DFRIBIDI_ENTRY="" -static -lwinmm -ffast-math -lws2_32 -o /tmp/mpv-configure--20736/tmp.exe -lpthread
  468. /tmp/ccKc56Wx.o:tmp.c:(.text.startup+0x2c): undefined reference to `_imp__pthread_create'
  469. collect2: error: ld returned 1 exit status
  470.  
  471.  
  472.  
  473. #include <pthread.h>
  474. static void *func(void *arg) { return arg; }
  475. int main(void) {
  476. pthread_t tid;
  477. #ifdef PTW32_STATIC_LIB
  478. pthread_win32_process_attach_np();
  479. pthread_win32_thread_attach_np();
  480. #endif
  481. return pthread_create (&tid, 0, func, 0) != 0;
  482. }
  483.  
  484. i686-w64-mingw32-gcc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -pipe -ffast-math -fomit-frame-pointer /tmp/mpv-configure--20736/tmp.c -I. -march=pentium3 -mtune=pentium3 -fno-common -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234 -DBIG_ENDIAN=4321 -DFRIBIDI_ENTRY="" -static -lwinmm -ffast-math -lws2_32 -o /tmp/mpv-configure--20736/tmp.exe -pthread
  485. /tmp/cclwIF0p.o:tmp.c:(.text.startup+0x2c): undefined reference to `_imp__pthread_create'
  486. collect2: error: ld returned 1 exit status
  487.  
  488.  
  489.  
  490. #include <pthread.h>
  491. static void *func(void *arg) { return arg; }
  492. int main(void) {
  493. pthread_t tid;
  494. #ifdef PTW32_STATIC_LIB
  495. pthread_win32_process_attach_np();
  496. pthread_win32_thread_attach_np();
  497. #endif
  498. return pthread_create (&tid, 0, func, 0) != 0;
  499. }
  500.  
  501. i686-w64-mingw32-gcc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -pipe -ffast-math -fomit-frame-pointer /tmp/mpv-configure--20736/tmp.c -I. -march=pentium3 -mtune=pentium3 -fno-common -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234 -DBIG_ENDIAN=4321 -DFRIBIDI_ENTRY="" -static -lwinmm -ffast-math -lws2_32 -o /tmp/mpv-configure--20736/tmp.exe -lpthreadGC2 -lws2_32 -DPTW32_STATIC_LIB
  502.  
  503.  
  504. Result is: yes
  505. ##########################################
  506.  
  507. ============ Checking for rpath ============
  508. Result is: no
  509. ##########################################
  510.  
  511. ============ Checking for iconv ============
  512.  
  513. #include <stdio.h>
  514. #include <unistd.h>
  515. #include <iconv.h>
  516. #define INBUFSIZE 1024
  517. #define OUTBUFSIZE 4096
  518.  
  519. char inbuffer[INBUFSIZE];
  520. char outbuffer[OUTBUFSIZE];
  521.  
  522. int main(void) {
  523. size_t numread;
  524. iconv_t icdsc;
  525. char *tocode="UTF-8";
  526. char *fromcode="cp1250";
  527. if ((icdsc = iconv_open(tocode, fromcode)) != (iconv_t)(-1)) {
  528. while ((numread = read(0, inbuffer, INBUFSIZE))) {
  529. char *iptr=inbuffer;
  530. char *optr=outbuffer;
  531. size_t inleft=numread;
  532. size_t outleft=OUTBUFSIZE;
  533. if (iconv(icdsc, &iptr, &inleft, &optr, &outleft)
  534. != (size_t)(-1)) {
  535. write(1, outbuffer, OUTBUFSIZE - outleft);
  536. }
  537. }
  538. if (iconv_close(icdsc) == -1)
  539. ;
  540. }
  541. return 0;
  542. }
  543.  
  544. i686-w64-mingw32-gcc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -pipe -ffast-math -fomit-frame-pointer -DPTW32_STATIC_LIB /tmp/mpv-configure--20736/tmp.c -I. -march=pentium3 -mtune=pentium3 -fno-common -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234 -DBIG_ENDIAN=4321 -DFRIBIDI_ENTRY="" -static -lwinmm -ffast-math -lws2_32 -o /tmp/mpv-configure--20736/tmp.exe -lm
  545. /tmp/ccnCxEVs.o:tmp.c:(.text.startup+0x2a): undefined reference to `libiconv_open'
  546. /tmp/ccnCxEVs.o:tmp.c:(.text.startup+0x9d): undefined reference to `libiconv'
  547. /tmp/ccnCxEVs.o:tmp.c:(.text.startup+0xd4): undefined reference to `libiconv_close'
  548. collect2: error: ld returned 1 exit status
  549.  
  550.  
  551.  
  552. #include <stdio.h>
  553. #include <unistd.h>
  554. #include <iconv.h>
  555. #define INBUFSIZE 1024
  556. #define OUTBUFSIZE 4096
  557.  
  558. char inbuffer[INBUFSIZE];
  559. char outbuffer[OUTBUFSIZE];
  560.  
  561. int main(void) {
  562. size_t numread;
  563. iconv_t icdsc;
  564. char *tocode="UTF-8";
  565. char *fromcode="cp1250";
  566. if ((icdsc = iconv_open(tocode, fromcode)) != (iconv_t)(-1)) {
  567. while ((numread = read(0, inbuffer, INBUFSIZE))) {
  568. char *iptr=inbuffer;
  569. char *optr=outbuffer;
  570. size_t inleft=numread;
  571. size_t outleft=OUTBUFSIZE;
  572. if (iconv(icdsc, &iptr, &inleft, &optr, &outleft)
  573. != (size_t)(-1)) {
  574. write(1, outbuffer, OUTBUFSIZE - outleft);
  575. }
  576. }
  577. if (iconv_close(icdsc) == -1)
  578. ;
  579. }
  580. return 0;
  581. }
  582.  
  583. i686-w64-mingw32-gcc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -pipe -ffast-math -fomit-frame-pointer -DPTW32_STATIC_LIB /tmp/mpv-configure--20736/tmp.c -I. -march=pentium3 -mtune=pentium3 -fno-common -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234 -DBIG_ENDIAN=4321 -DFRIBIDI_ENTRY="" -static -lwinmm -ffast-math -lws2_32 -o /tmp/mpv-configure--20736/tmp.exe -lm -liconv
  584.  
  585.  
  586. Result is: yes
  587. ##########################################
  588.  
  589. ============ Checking for soundcard.h ============
  590.  
  591. #include <sys/soundcard.h>
  592. int main(void) { return 0; }
  593.  
  594. i686-w64-mingw32-gcc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -pipe -ffast-math -fomit-frame-pointer -DPTW32_STATIC_LIB /tmp/mpv-configure--20736/tmp.c -I. -march=pentium3 -mtune=pentium3 -fno-common -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234 -DBIG_ENDIAN=4321 -DFRIBIDI_ENTRY="" -static -lwinmm -ffast-math -lws2_32 -liconv -o /tmp/mpv-configure--20736/tmp.exe
  595. /tmp/mpv-configure--20736/tmp.c:1:27: fatal error: sys/soundcard.h: No such file or directory
  596. compilation terminated.
  597.  
  598.  
  599.  
  600. #include <soundcard.h>
  601. int main(void) { return 0; }
  602.  
  603. i686-w64-mingw32-gcc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -pipe -ffast-math -fomit-frame-pointer -DPTW32_STATIC_LIB /tmp/mpv-configure--20736/tmp.c -I. -march=pentium3 -mtune=pentium3 -fno-common -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234 -DBIG_ENDIAN=4321 -DFRIBIDI_ENTRY="" -static -lwinmm -ffast-math -lws2_32 -liconv -o /tmp/mpv-configure--20736/tmp.exe
  604. /tmp/mpv-configure--20736/tmp.c:1:23: fatal error: soundcard.h: No such file or directory
  605. compilation terminated.
  606.  
  607.  
  608. Result is: no
  609. ##########################################
  610.  
  611. ============ Checking for sys/videoio.h ============
  612.  
  613. #include <sys/videoio.h>
  614. int main(void) { return 0; }
  615.  
  616. i686-w64-mingw32-gcc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -pipe -ffast-math -fomit-frame-pointer -DPTW32_STATIC_LIB /tmp/mpv-configure--20736/tmp.c -I. -march=pentium3 -mtune=pentium3 -fno-common -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234 -DBIG_ENDIAN=4321 -DFRIBIDI_ENTRY="" -static -lwinmm -ffast-math -lws2_32 -liconv -o /tmp/mpv-configure--20736/tmp.exe
  617. /tmp/mpv-configure--20736/tmp.c:1:25: fatal error: sys/videoio.h: No such file or directory
  618. compilation terminated.
  619.  
  620.  
  621. Result is: no
  622. ##########################################
  623.  
  624. ============ Checking for termcap ============
  625.  
  626. #include <term.h>
  627. int main(void) { tgetent(0, 0); return 0; }
  628.  
  629. i686-w64-mingw32-gcc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -pipe -ffast-math -fomit-frame-pointer -DPTW32_STATIC_LIB /tmp/mpv-configure--20736/tmp.c -I. -march=pentium3 -mtune=pentium3 -fno-common -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234 -DBIG_ENDIAN=4321 -DFRIBIDI_ENTRY="" -static -lwinmm -ffast-math -lws2_32 -liconv -o /tmp/mpv-configure--20736/tmp.exe -lncurses
  630. /tmp/mpv-configure--20736/tmp.c:1:18: fatal error: term.h: No such file or directory
  631. compilation terminated.
  632.  
  633.  
  634.  
  635. #include <term.h>
  636. int main(void) { tgetent(0, 0); return 0; }
  637.  
  638. i686-w64-mingw32-gcc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -pipe -ffast-math -fomit-frame-pointer -DPTW32_STATIC_LIB /tmp/mpv-configure--20736/tmp.c -I. -march=pentium3 -mtune=pentium3 -fno-common -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234 -DBIG_ENDIAN=4321 -DFRIBIDI_ENTRY="" -static -lwinmm -ffast-math -lws2_32 -liconv -o /tmp/mpv-configure--20736/tmp.exe -ltinfo
  639. /tmp/mpv-configure--20736/tmp.c:1:18: fatal error: term.h: No such file or directory
  640. compilation terminated.
  641.  
  642.  
  643.  
  644. #include <term.h>
  645. int main(void) { tgetent(0, 0); return 0; }
  646.  
  647. i686-w64-mingw32-gcc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -pipe -ffast-math -fomit-frame-pointer -DPTW32_STATIC_LIB /tmp/mpv-configure--20736/tmp.c -I. -march=pentium3 -mtune=pentium3 -fno-common -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234 -DBIG_ENDIAN=4321 -DFRIBIDI_ENTRY="" -static -lwinmm -ffast-math -lws2_32 -liconv -o /tmp/mpv-configure--20736/tmp.exe -ltermcap
  648. /tmp/mpv-configure--20736/tmp.c:1:18: fatal error: term.h: No such file or directory
  649. compilation terminated.
  650.  
  651.  
  652. Result is: no
  653. ##########################################
  654.  
  655. ============ Checking for termios ============
  656.  
  657. #include <termios.h>
  658. int main(void) { return 0; }
  659.  
  660. i686-w64-mingw32-gcc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -pipe -ffast-math -fomit-frame-pointer -DPTW32_STATIC_LIB /tmp/mpv-configure--20736/tmp.c -I. -march=pentium3 -mtune=pentium3 -fno-common -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234 -DBIG_ENDIAN=4321 -DFRIBIDI_ENTRY="" -static -lwinmm -ffast-math -lws2_32 -liconv -o /tmp/mpv-configure--20736/tmp.exe
  661. /tmp/mpv-configure--20736/tmp.c:1:21: fatal error: termios.h: No such file or directory
  662. compilation terminated.
  663.  
  664.  
  665.  
  666. #include <sys/termios.h>
  667. int main(void) { return 0; }
  668.  
  669. i686-w64-mingw32-gcc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -pipe -ffast-math -fomit-frame-pointer -DPTW32_STATIC_LIB /tmp/mpv-configure--20736/tmp.c -I. -march=pentium3 -mtune=pentium3 -fno-common -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234 -DBIG_ENDIAN=4321 -DFRIBIDI_ENTRY="" -static -lwinmm -ffast-math -lws2_32 -liconv -o /tmp/mpv-configure--20736/tmp.exe
  670. /tmp/mpv-configure--20736/tmp.c:1:25: fatal error: sys/termios.h: No such file or directory
  671. compilation terminated.
  672.  
  673.  
  674. Result is: no
  675. ##########################################
  676.  
  677. ============ Checking for shm ============
  678.  
  679. #include <sys/shm.h>
  680. int main(void) { shmget(0, 0, 0); shmat(0, 0, 0); shmctl(0, 0, 0); return 0; }
  681.  
  682. i686-w64-mingw32-gcc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -pipe -ffast-math -fomit-frame-pointer -DPTW32_STATIC_LIB /tmp/mpv-configure--20736/tmp.c -I. -march=pentium3 -mtune=pentium3 -fno-common -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234 -DBIG_ENDIAN=4321 -DFRIBIDI_ENTRY="" -static -lwinmm -ffast-math -lws2_32 -liconv -o /tmp/mpv-configure--20736/tmp.exe
  683. /tmp/mpv-configure--20736/tmp.c:1:21: fatal error: sys/shm.h: No such file or directory
  684. compilation terminated.
  685.  
  686.  
  687. Result is: no
  688. ##########################################
  689.  
  690. ============ Checking for strsep() ============
  691.  
  692. #include <string.h>
  693. int main(void) { char *s = "Hello, world!"; strsep(&s, ","); return 0; }
  694.  
  695. i686-w64-mingw32-gcc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -pipe -ffast-math -fomit-frame-pointer -DPTW32_STATIC_LIB /tmp/mpv-configure--20736/tmp.c -I. -march=pentium3 -mtune=pentium3 -fno-common -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234 -DBIG_ENDIAN=4321 -DFRIBIDI_ENTRY="" -static -lwinmm -ffast-math -lws2_32 -liconv -o /tmp/mpv-configure--20736/tmp.exe
  696. /tmp/mpv-configure--20736/tmp.c: In function 'main':
  697. /tmp/mpv-configure--20736/tmp.c:2:1: warning: implicit declaration of function 'strsep' [-Wimplicit-function-declaration]
  698. /tmp/ccpiCQYe.o:tmp.c:(.text.startup+0x28): undefined reference to `strsep'
  699. collect2: error: ld returned 1 exit status
  700.  
  701.  
  702. Result is: no
  703. ##########################################
  704.  
  705. ============ Checking for vsscanf() ============
  706.  
  707. #define _ISOC99_SOURCE
  708. #include <stdarg.h>
  709. #include <stdio.h>
  710. int main(void) { va_list ap; vsscanf("foo", "bar", ap); return 0; }
  711.  
  712. i686-w64-mingw32-gcc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -pipe -ffast-math -fomit-frame-pointer -DPTW32_STATIC_LIB /tmp/mpv-configure--20736/tmp.c -I. -march=pentium3 -mtune=pentium3 -fno-common -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234 -DBIG_ENDIAN=4321 -DFRIBIDI_ENTRY="" -static -lwinmm -ffast-math -lws2_32 -liconv -o /tmp/mpv-configure--20736/tmp.exe
  713. /tmp/mpv-configure--20736/tmp.c: In function 'main':
  714. /tmp/mpv-configure--20736/tmp.c:4:37: warning: 'ap' is used uninitialized in this function [-Wuninitialized]
  715.  
  716.  
  717. Result is: yes
  718. ##########################################
  719.  
  720. ============ Checking for POSIX select() ============
  721.  
  722. #include <stdio.h>
  723. #include <stdlib.h>
  724. #include <sys/types.h>
  725. #include <string.h>
  726. #include <sys/time.h>
  727. #include <unistd.h>
  728. int main(void) {int nfds = 1; fd_set readfds; struct timeval timeout; select(nfds, &readfds, NULL, NULL, &timeout); return 0; }
  729.  
  730. i686-w64-mingw32-gcc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -pipe -ffast-math -fomit-frame-pointer -DPTW32_STATIC_LIB /tmp/mpv-configure--20736/tmp.c -I. -march=pentium3 -mtune=pentium3 -fno-common -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234 -DBIG_ENDIAN=4321 -DFRIBIDI_ENTRY="" -static -lwinmm -ffast-math -lws2_32 -liconv -o /tmp/mpv-configure--20736/tmp.exe
  731. /tmp/mpv-configure--20736/tmp.c: In function 'main':
  732. /tmp/mpv-configure--20736/tmp.c:7:31: error: unknown type name 'fd_set'
  733. /tmp/mpv-configure--20736/tmp.c:7:54: warning: implicit declaration of function 'select' [-Wimplicit-function-declaration]
  734.  
  735.  
  736. Result is: no
  737. ##########################################
  738.  
  739. ============ Checking for audio select() ============
  740. Result is: yes
  741. ##########################################
  742.  
  743. ============ Checking for gettimeofday() ============
  744.  
  745. #include <sys/time.h>
  746. int main(void) { struct timeval tv; struct timezone tz; gettimeofday(&tv, &tz); return 0; }
  747.  
  748. i686-w64-mingw32-gcc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -pipe -ffast-math -fomit-frame-pointer -DPTW32_STATIC_LIB /tmp/mpv-configure--20736/tmp.c -I. -march=pentium3 -mtune=pentium3 -fno-common -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234 -DBIG_ENDIAN=4321 -DFRIBIDI_ENTRY="" -static -lwinmm -ffast-math -lws2_32 -liconv -o /tmp/mpv-configure--20736/tmp.exe
  749.  
  750.  
  751. Result is: yes
  752. ##########################################
  753.  
  754. ============ Checking for glob() ============
  755.  
  756. #include <glob.h>
  757. int main(void) { glob("filename", 0, 0, 0); return 0; }
  758.  
  759. i686-w64-mingw32-gcc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -pipe -ffast-math -fomit-frame-pointer -DPTW32_STATIC_LIB /tmp/mpv-configure--20736/tmp.c -I. -march=pentium3 -mtune=pentium3 -fno-common -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234 -DBIG_ENDIAN=4321 -DFRIBIDI_ENTRY="" -static -lwinmm -ffast-math -lws2_32 -liconv -o /tmp/mpv-configure--20736/tmp.exe
  760. /tmp/mpv-configure--20736/tmp.c:1:18: fatal error: glob.h: No such file or directory
  761. compilation terminated.
  762.  
  763.  
  764. Result is: no
  765. ##########################################
  766.  
  767. ============ Checking for setmode() ============
  768.  
  769. #include <io.h>
  770. int main(void) { setmode(0, 0); return 0; }
  771.  
  772. i686-w64-mingw32-gcc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -pipe -ffast-math -fomit-frame-pointer -DPTW32_STATIC_LIB /tmp/mpv-configure--20736/tmp.c -I. -march=pentium3 -mtune=pentium3 -fno-common -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234 -DBIG_ENDIAN=4321 -DFRIBIDI_ENTRY="" -static -lwinmm -ffast-math -lws2_32 -liconv -o /tmp/mpv-configure--20736/tmp.exe
  773.  
  774.  
  775. Result is: yes
  776. ##########################################
  777.  
  778. ============ Checking for sys/sysinfo.h ============
  779.  
  780. #include <sys/sysinfo.h>
  781. int main(void) { struct sysinfo s_info; s_info.mem_unit=0; sysinfo(&s_info); return 0; }
  782.  
  783. i686-w64-mingw32-gcc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -pipe -ffast-math -fomit-frame-pointer -DPTW32_STATIC_LIB /tmp/mpv-configure--20736/tmp.c -I. -march=pentium3 -mtune=pentium3 -fno-common -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234 -DBIG_ENDIAN=4321 -DFRIBIDI_ENTRY="" -static -lwinmm -ffast-math -lws2_32 -liconv -o /tmp/mpv-configure--20736/tmp.exe
  784. /tmp/mpv-configure--20736/tmp.c:1:25: fatal error: sys/sysinfo.h: No such file or directory
  785. compilation terminated.
  786.  
  787.  
  788. Result is: no
  789. ##########################################
  790.  
  791. ============ Checking for pkg-config ============
  792. Result is: yes
  793. ##########################################
  794.  
  795. ============ Checking for Samba support (libsmbclient) ============
  796.  
  797. #include <libsmbclient.h>
  798. int main(void) { smbc_opendir("smb://"); return 0; }
  799.  
  800. i686-w64-mingw32-gcc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -pipe -ffast-math -fomit-frame-pointer -DPTW32_STATIC_LIB /tmp/mpv-configure--20736/tmp.c -I. -march=pentium3 -mtune=pentium3 -fno-common -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234 -DBIG_ENDIAN=4321 -DFRIBIDI_ENTRY="" -static -lwinmm -ffast-math -lws2_32 -liconv -o /tmp/mpv-configure--20736/tmp.exe -lsmbclient
  801. /tmp/mpv-configure--20736/tmp.c:1:26: fatal error: libsmbclient.h: No such file or directory
  802. compilation terminated.
  803.  
  804.  
  805.  
  806. #include <libsmbclient.h>
  807. int main(void) { smbc_opendir("smb://"); return 0; }
  808.  
  809. i686-w64-mingw32-gcc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -pipe -ffast-math -fomit-frame-pointer -DPTW32_STATIC_LIB /tmp/mpv-configure--20736/tmp.c -I. -march=pentium3 -mtune=pentium3 -fno-common -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234 -DBIG_ENDIAN=4321 -DFRIBIDI_ENTRY="" -static -lwinmm -ffast-math -lws2_32 -liconv -o /tmp/mpv-configure--20736/tmp.exe -lsmbclient
  810. /tmp/mpv-configure--20736/tmp.c:1:26: fatal error: libsmbclient.h: No such file or directory
  811. compilation terminated.
  812.  
  813.  
  814.  
  815. #include <libsmbclient.h>
  816. int main(void) { smbc_opendir("smb://"); return 0; }
  817.  
  818. i686-w64-mingw32-gcc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -pipe -ffast-math -fomit-frame-pointer -DPTW32_STATIC_LIB /tmp/mpv-configure--20736/tmp.c -I. -march=pentium3 -mtune=pentium3 -fno-common -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234 -DBIG_ENDIAN=4321 -DFRIBIDI_ENTRY="" -static -lwinmm -ffast-math -lws2_32 -liconv -o /tmp/mpv-configure--20736/tmp.exe -lsmbclient -lnsl
  819. /tmp/mpv-configure--20736/tmp.c:1:26: fatal error: libsmbclient.h: No such file or directory
  820. compilation terminated.
  821.  
  822.  
  823.  
  824. #include <libsmbclient.h>
  825. int main(void) { smbc_opendir("smb://"); return 0; }
  826.  
  827. i686-w64-mingw32-gcc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -pipe -ffast-math -fomit-frame-pointer -DPTW32_STATIC_LIB /tmp/mpv-configure--20736/tmp.c -I. -march=pentium3 -mtune=pentium3 -fno-common -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234 -DBIG_ENDIAN=4321 -DFRIBIDI_ENTRY="" -static -lwinmm -ffast-math -lws2_32 -liconv -o /tmp/mpv-configure--20736/tmp.exe -lsmbclient -lssl -lnsl
  828. /tmp/mpv-configure--20736/tmp.c:1:26: fatal error: libsmbclient.h: No such file or directory
  829. compilation terminated.
  830.  
  831.  
  832. Result is: no
  833. ##########################################
  834.  
  835. ============ Checking for libquvi support ============
  836.  
  837. i686-w64-mingw32-pkg-config --static --cflags libquvi >= 0.4.1
  838. Package libquvi was not found in the pkg-config search path.
  839. Perhaps you should add the directory containing `libquvi.pc'
  840. to the PKG_CONFIG_PATH environment variable
  841. No package 'libquvi' found
  842. Result is: no
  843. ##########################################
  844.  
  845. ============ Checking for X11 headers presence ============
  846. Result is: yes
  847. ##########################################
  848.  
  849. ============ Checking for X11 ============
  850. Result is: no (check if the dev(el) packages are installed)
  851. ##########################################
  852.  
  853. ============ Checking for Xss screensaver extensions ============
  854.  
  855. #include <X11/extensions/scrnsaver.h>
  856. int main(void) { XScreenSaverSuspend(NULL, True); return 0; }
  857.  
  858. i686-w64-mingw32-gcc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -pipe -ffast-math -fomit-frame-pointer -DPTW32_STATIC_LIB /tmp/mpv-configure--20736/tmp.c -I. -march=pentium3 -mtune=pentium3 -fno-common -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234 -DBIG_ENDIAN=4321 -DFRIBIDI_ENTRY="" -static -lwinmm -ffast-math -lws2_32 -liconv -o /tmp/mpv-configure--20736/tmp.exe -lXss
  859. /tmp/mpv-configure--20736/tmp.c:1:38: fatal error: X11/extensions/scrnsaver.h: No such file or directory
  860. compilation terminated.
  861.  
  862.  
  863. Result is: no
  864. ##########################################
  865.  
  866. ============ Checking for DPMS ============
  867. Result is: no
  868. ##########################################
  869.  
  870. ============ Checking for Xv ============
  871. Result is: no
  872. ##########################################
  873.  
  874. ============ Checking for VDPAU ============
  875. Result is: no
  876. ##########################################
  877.  
  878. ============ Checking for Xinerama ============
  879. Result is: no
  880. ##########################################
  881.  
  882. ============ Checking for Xxf86vm ============
  883. Result is: no
  884. ##########################################
  885.  
  886. ============ Checking for XF86keysym ============
  887. Result is: auto
  888. ##########################################
  889.  
  890. ============ Checking for CACA ============
  891. Result is: no
  892. ##########################################
  893.  
  894. ============ Checking for DVB ============
  895.  
  896. #include <poll.h>
  897. #include <sys/ioctl.h>
  898. #include <stdio.h>
  899. #include <time.h>
  900. #include <unistd.h>
  901. #include <linux/dvb/dmx.h>
  902. #include <linux/dvb/frontend.h>
  903. #include <linux/dvb/video.h>
  904. #include <linux/dvb/audio.h>
  905. int main(void) {return 0;}
  906.  
  907. i686-w64-mingw32-gcc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -pipe -ffast-math -fomit-frame-pointer -DPTW32_STATIC_LIB /tmp/mpv-configure--20736/tmp.c -I. -march=pentium3 -mtune=pentium3 -fno-common -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234 -DBIG_ENDIAN=4321 -DFRIBIDI_ENTRY="" -static -lwinmm -ffast-math -lws2_32 -liconv -o /tmp/mpv-configure--20736/tmp.exe
  908. /tmp/mpv-configure--20736/tmp.c:1:18: fatal error: poll.h: No such file or directory
  909. compilation terminated.
  910.  
  911.  
  912.  
  913. #include <poll.h>
  914. #include <sys/ioctl.h>
  915. #include <stdio.h>
  916. #include <time.h>
  917. #include <unistd.h>
  918. #include <linux/dvb/dmx.h>
  919. #include <linux/dvb/frontend.h>
  920. #include <linux/dvb/video.h>
  921. #include <linux/dvb/audio.h>
  922. int main(void) {return 0;}
  923.  
  924. i686-w64-mingw32-gcc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -pipe -ffast-math -fomit-frame-pointer -DPTW32_STATIC_LIB /tmp/mpv-configure--20736/tmp.c -I. -march=pentium3 -mtune=pentium3 -fno-common -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234 -DBIG_ENDIAN=4321 -DFRIBIDI_ENTRY="" -static -lwinmm -ffast-math -lws2_32 -liconv -o /tmp/mpv-configure--20736/tmp.exe -I/usr/src/DVB/include
  925. /tmp/mpv-configure--20736/tmp.c:1:18: fatal error: poll.h: No such file or directory
  926. compilation terminated.
  927.  
  928.  
  929. Result is: no
  930. ##########################################
  931.  
  932. ============ Checking for MNG support ============
  933.  
  934. #include <libmng.h>
  935. int main(void) { const char * p_ver = mng_version_text(); return !p_ver || p_ver[0] == 0; }
  936.  
  937. i686-w64-mingw32-gcc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -pipe -ffast-math -fomit-frame-pointer -DPTW32_STATIC_LIB /tmp/mpv-configure--20736/tmp.c -I. -march=pentium3 -mtune=pentium3 -fno-common -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234 -DBIG_ENDIAN=4321 -DFRIBIDI_ENTRY="" -static -lwinmm -ffast-math -lws2_32 -liconv -o /tmp/mpv-configure--20736/tmp.exe -lmng -lz -lm
  938. /tmp/mpv-configure--20736/tmp.c:1:20: fatal error: libmng.h: No such file or directory
  939. compilation terminated.
  940.  
  941.  
  942. Result is: no
  943. ##########################################
  944.  
  945. ============ Checking for JPEG support ============
  946.  
  947. #include <stdio.h>
  948. #include <jpeglib.h>
  949. int main(void) { return 0; }
  950.  
  951. i686-w64-mingw32-gcc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -pipe -ffast-math -fomit-frame-pointer -DPTW32_STATIC_LIB /tmp/mpv-configure--20736/tmp.c -I. -march=pentium3 -mtune=pentium3 -fno-common -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234 -DBIG_ENDIAN=4321 -DFRIBIDI_ENTRY="" -static -lwinmm -ffast-math -lws2_32 -liconv -o /tmp/mpv-configure--20736/tmp.exe -ljpeg -lm
  952. /tmp/mpv-configure--20736/tmp.c:2:21: fatal error: jpeglib.h: No such file or directory
  953. compilation terminated.
  954.  
  955.  
  956. Result is: no
  957. ##########################################
  958.  
  959. ============ Checking for OpenGL ============
  960.  
  961. #ifdef GL_WIN32
  962. #include <windows.h>
  963. #include <GL/gl.h>
  964. #else
  965. #include <GL/gl.h>
  966. #include <X11/Xlib.h>
  967. #include <GL/glx.h>
  968. #endif
  969. int main(int argc, char *argv[]) {
  970. #ifdef GL_WIN32
  971. HDC dc;
  972. wglCreateContext(dc);
  973. #else
  974. glXCreateContext(NULL, NULL, NULL, True);
  975. #endif
  976. glFinish();
  977. return 0;
  978. }
  979.  
  980. i686-w64-mingw32-gcc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -pipe -ffast-math -fomit-frame-pointer -DPTW32_STATIC_LIB /tmp/mpv-configure--20736/tmp.c -I. -march=pentium3 -mtune=pentium3 -fno-common -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234 -DBIG_ENDIAN=4321 -DFRIBIDI_ENTRY="" -static -lwinmm -ffast-math -lws2_32 -liconv -o /tmp/mpv-configure--20736/tmp.exe -DGL_WIN32 -lopengl32
  981. /tmp/mpv-configure--20736/tmp.c: In function 'main':
  982. /tmp/mpv-configure--20736/tmp.c:12:19: warning: 'dc' is used uninitialized in this function [-Wuninitialized]
  983.  
  984.  
  985. Result is: yes (backends: win32)
  986. ##########################################
  987.  
  988. ============ Checking for Direct3D ============
  989.  
  990. #include <d3d9.h>
  991. int main(void) { return 0; }
  992.  
  993. i686-w64-mingw32-gcc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -pipe -ffast-math -fomit-frame-pointer -DPTW32_STATIC_LIB /tmp/mpv-configure--20736/tmp.c -I. -march=pentium3 -mtune=pentium3 -fno-common -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234 -DBIG_ENDIAN=4321 -DFRIBIDI_ENTRY="" -static -lwinmm -ffast-math -lws2_32 -liconv -lopengl32 -lgdi32 -o /tmp/mpv-configure--20736/tmp.exe
  994.  
  995.  
  996. Result is: yes
  997. ##########################################
  998.  
  999. ============ Checking for DirectSound ============
  1000.  
  1001. #include <dsound.h>
  1002. int main(void) { return 0; }
  1003.  
  1004. i686-w64-mingw32-gcc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -pipe -ffast-math -fomit-frame-pointer -DPTW32_STATIC_LIB /tmp/mpv-configure--20736/tmp.c -I. -march=pentium3 -mtune=pentium3 -fno-common -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234 -DBIG_ENDIAN=4321 -DFRIBIDI_ENTRY="" -static -lwinmm -ffast-math -lws2_32 -liconv -lopengl32 -lgdi32 -o /tmp/mpv-configure--20736/tmp.exe
  1005.  
  1006.  
  1007. Result is: yes
  1008. ##########################################
  1009.  
  1010. ============ Checking for OSS Audio ============
  1011.  
  1012. #include <soundcard.h>
  1013. int main(void) { return SNDCTL_DSP_SETFRAGMENT; }
  1014.  
  1015. i686-w64-mingw32-gcc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -pipe -ffast-math -fomit-frame-pointer -DPTW32_STATIC_LIB /tmp/mpv-configure--20736/tmp.c -I. -march=pentium3 -mtune=pentium3 -fno-common -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234 -DBIG_ENDIAN=4321 -DFRIBIDI_ENTRY="" -static -lwinmm -ffast-math -lws2_32 -liconv -lopengl32 -lgdi32 -o /tmp/mpv-configure--20736/tmp.exe
  1016. /tmp/mpv-configure--20736/tmp.c:1:23: fatal error: soundcard.h: No such file or directory
  1017. compilation terminated.
  1018.  
  1019.  
  1020. Result is: no
  1021. ##########################################
  1022.  
  1023. ============ Checking for RSound ============
  1024. Result is: no
  1025. ##########################################
  1026.  
  1027. ============ Checking for pulse ============
  1028. Result is: no
  1029. ##########################################
  1030.  
  1031. ============ Checking for PortAudio ============
  1032. Result is: no
  1033. ##########################################
  1034.  
  1035. ============ Checking for JACK ============
  1036. Result is: no
  1037. ##########################################
  1038.  
  1039. ============ Checking for OpenAL ============
  1040. Result is: no
  1041. ##########################################
  1042.  
  1043. ============ Checking for ALSA audio ============
  1044. Result is: no
  1045. ##########################################
  1046.  
  1047. ============ Checking for VCD support ============
  1048.  
  1049. #include <ddk/ntddcdrm.h>
  1050. int main(void) { return 0; }
  1051.  
  1052. i686-w64-mingw32-gcc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -pipe -ffast-math -fomit-frame-pointer -DPTW32_STATIC_LIB /tmp/mpv-configure--20736/tmp.c -I. -march=pentium3 -mtune=pentium3 -fno-common -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234 -DBIG_ENDIAN=4321 -DFRIBIDI_ENTRY="" -static -lwinmm -ffast-math -lws2_32 -liconv -lopengl32 -lgdi32 -o /tmp/mpv-configure--20736/tmp.exe
  1053. /tmp/mpv-configure--20736/tmp.c:1:26: fatal error: ddk/ntddcdrm.h: No such file or directory
  1054. compilation terminated.
  1055.  
  1056.  
  1057. Result is: no (not supported on this OS)
  1058. ##########################################
  1059.  
  1060. ============ Checking for Blu-ray support ============
  1061. Result is: no
  1062. ##########################################
  1063.  
  1064. ============ Checking for dvdread ============
  1065.  
  1066. i686-w64-mingw32-pkg-config --static --cflags dvdread >= 4.2.0
  1067.  
  1068. i686-w64-mingw32-pkg-config --static --libs dvdread >= 4.2.0
  1069.  
  1070. cflags: -I/usr/i686-w64-mingw32/include
  1071. libs: -L/usr/i686-w64-mingw32/lib -ldvdread -ldvdcss
  1072.  
  1073. Result is: yes
  1074. ##########################################
  1075.  
  1076. ============ Checking for libcdio ============
  1077.  
  1078. i686-w64-mingw32-pkg-config --static --cflags libcdio_paranoia
  1079. Package libcdio_paranoia was not found in the pkg-config search path.
  1080. Perhaps you should add the directory containing `libcdio_paranoia.pc'
  1081. to the PKG_CONFIG_PATH environment variable
  1082. No package 'libcdio_paranoia' found
  1083. Result is: no
  1084. ##########################################
  1085.  
  1086. ============ Checking for SSA/ASS support ============
  1087.  
  1088. i686-w64-mingw32-pkg-config --static --cflags libass
  1089.  
  1090. i686-w64-mingw32-pkg-config --static --libs libass
  1091.  
  1092. cflags: -I/usr/i686-w64-mingw32/include -I/usr/i686-w64-mingw32/include/fribidi -I/usr/i686-w64-mingw32/include/freetype2
  1093. libs: -L/usr/i686-w64-mingw32/lib -lass -lfontconfig -lexpat -lenca -lm -lfribidi -lfreetype -lz
  1094.  
  1095. Result is: yes
  1096. ##########################################
  1097.  
  1098. ============ Checking for libass OSD support ============
  1099. Result is: yes
  1100. ##########################################
  1101.  
  1102. ============ Checking for ENCA ============
  1103.  
  1104. #include <enca.h>
  1105. int main(void) { enca_get_languages(NULL); return 0; }
  1106.  
  1107. i686-w64-mingw32-gcc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -pipe -ffast-math -fomit-frame-pointer -DPTW32_STATIC_LIB /tmp/mpv-configure--20736/tmp.c -I. -march=pentium3 -mtune=pentium3 -fno-common -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234 -DBIG_ENDIAN=4321 -DFRIBIDI_ENTRY="" -I/usr/i686-w64-mingw32/include -I/usr/i686-w64-mingw32/include -I/usr/i686-w64-mingw32/include/fribidi -I/usr/i686-w64-mingw32/include/freetype2 -static -lwinmm -ffast-math -lws2_32 -liconv -L/usr/i686-w64-mingw32/lib -ldvdread -ldvdcss -L/usr/i686-w64-mingw32/lib -lass -lfontconfig -lexpat -lenca -lm -lfribidi -lfreetype -lz -lopengl32 -lgdi32 -o /tmp/mpv-configure--20736/tmp.exe -lenca -lm
  1108.  
  1109.  
  1110. Result is: yes
  1111. ##########################################
  1112.  
  1113. ============ Checking for zlib ============
  1114.  
  1115. #include <zlib.h>
  1116. int main(void) { inflate(0, Z_NO_FLUSH); return 0; }
  1117.  
  1118. i686-w64-mingw32-gcc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -pipe -ffast-math -fomit-frame-pointer -DPTW32_STATIC_LIB /tmp/mpv-configure--20736/tmp.c -I. -march=pentium3 -mtune=pentium3 -fno-common -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234 -DBIG_ENDIAN=4321 -DFRIBIDI_ENTRY="" -I/usr/i686-w64-mingw32/include -I/usr/i686-w64-mingw32/include -I/usr/i686-w64-mingw32/include/fribidi -I/usr/i686-w64-mingw32/include/freetype2 -static -lwinmm -ffast-math -lws2_32 -liconv -L/usr/i686-w64-mingw32/lib -ldvdread -ldvdcss -L/usr/i686-w64-mingw32/lib -lass -lfontconfig -lexpat -lenca -lm -lfribidi -lfreetype -lz -lenca -lopengl32 -lgdi32 -o /tmp/mpv-configure--20736/tmp.exe -lz
  1119.  
  1120.  
  1121. Result is: yes
  1122. ##########################################
  1123.  
  1124. ============ Checking for mpg123 support ============
  1125.  
  1126. i686-w64-mingw32-pkg-config --static --cflags libmpg123 >= 1.2.0
  1127. Package libmpg123 was not found in the pkg-config search path.
  1128. Perhaps you should add the directory containing `libmpg123.pc'
  1129. to the PKG_CONFIG_PATH environment variable
  1130. No package 'libmpg123' found
  1131. Result is: no
  1132. ##########################################
  1133.  
  1134. ============ Checking for LADSPA plugin support ============
  1135.  
  1136. #include <ladspa.h>
  1137. int main(void) { LADSPA_Descriptor ld = {0}; return 0; }
  1138.  
  1139. i686-w64-mingw32-gcc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -pipe -ffast-math -fomit-frame-pointer -DPTW32_STATIC_LIB /tmp/mpv-configure--20736/tmp.c -I. -march=pentium3 -mtune=pentium3 -fno-common -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234 -DBIG_ENDIAN=4321 -DFRIBIDI_ENTRY="" -I/usr/i686-w64-mingw32/include -I/usr/i686-w64-mingw32/include -I/usr/i686-w64-mingw32/include/fribidi -I/usr/i686-w64-mingw32/include/freetype2 -static -lwinmm -ffast-math -lws2_32 -liconv -L/usr/i686-w64-mingw32/lib -ldvdread -ldvdcss -L/usr/i686-w64-mingw32/lib -lass -lfontconfig -lexpat -lenca -lm -lfribidi -lfreetype -lz -lenca -lz -lopengl32 -lgdi32 -o /tmp/mpv-configure--20736/tmp.exe
  1140. /tmp/mpv-configure--20736/tmp.c:1:20: fatal error: ladspa.h: No such file or directory
  1141. compilation terminated.
  1142.  
  1143.  
  1144. Result is: no
  1145. ##########################################
  1146.  
  1147. ============ Checking for libbs2b audio filter support ============
  1148.  
  1149. i686-w64-mingw32-pkg-config --static --cflags libbs2b
  1150.  
  1151. i686-w64-mingw32-pkg-config --static --libs libbs2b
  1152.  
  1153. cflags: -I/usr/i686-w64-mingw32/include/bs2b
  1154. libs: -L/usr/i686-w64-mingw32/lib -lbs2b -lm
  1155.  
  1156. Result is: yes
  1157. ##########################################
  1158.  
  1159. ============ Checking for LCMS2 support ============
  1160.  
  1161. i686-w64-mingw32-pkg-config --static --cflags lcms2
  1162. Package lcms2 was not found in the pkg-config search path.
  1163. Perhaps you should add the directory containing `lcms2.pc'
  1164. to the PKG_CONFIG_PATH environment variable
  1165. No package 'lcms2' found
  1166. Result is: no
  1167. ##########################################
  1168.  
  1169. ============ Checking for Libav (libavutil > 51.22.0:libavcodec >= 53.35.0:libavformat > 53.20.0:libswscale >= 2.0.0) ============
  1170.  
  1171. i686-w64-mingw32-pkg-config --static --cflags libavutil > 51.22.0 libavcodec >= 53.35.0 libavformat > 53.20.0 libswscale >= 2.0.0
  1172.  
  1173. i686-w64-mingw32-pkg-config --static --libs libavutil > 51.22.0 libavcodec >= 53.35.0 libavformat > 53.20.0 libswscale >= 2.0.0
  1174.  
  1175. cflags: -I/home/qyot27/win32_build/include
  1176. libs: -pthread -L/home/qyot27/win32_build/lib -L/usr/i686-w64-mingw32/lib -lavformat -lavcodec -lavicap32 -lole32 -lstrmiids -luuid -lws2_32 -lxvidcore -lvpx -lvorbisenc -lvorbis -lvo-aacenc -lutvideo -lstdc++ -ltwolame -ltheoraenc -ltheoradec -logg -lopus -lmp3lame -lavifil32 -lbz2 -lz -lpsapi -ladvapi32 -lshell32 -lswscale -lavutil -lm
  1177.  
  1178. Result is: yes
  1179. ##########################################
  1180.  
  1181. ============ Checking for Libav 0.8 compatibility hack ============
  1182. Result is: no
  1183. ##########################################
  1184.  
  1185. ============ Checking for libavfilter >= 3.17.0 ============
  1186. Result is: no
  1187. ##########################################
  1188.  
  1189. ============ Checking for libavdevice >= 54.0.0 ============
  1190. Result is: no
  1191. ##########################################
  1192.  
  1193. ============ Checking for libpostproc >= 52.0.0 ============
  1194.  
  1195. i686-w64-mingw32-pkg-config --static --cflags libpostproc >= 52.0.0
  1196.  
  1197. i686-w64-mingw32-pkg-config --static --libs libpostproc >= 52.0.0
  1198.  
  1199. cflags: -I/home/qyot27/win32_build/include
  1200. libs: -L/home/qyot27/win32_build/lib -lpostproc -lavutil -lm
  1201.  
  1202. Result is: yes
  1203. ##########################################
  1204.  
  1205. ============ Checking for TV interface ============
  1206. Result is: yes
  1207. ##########################################
  1208.  
  1209. ============ Checking for Video 4 Linux 2 TV interface ============
  1210. Result is: no
  1211. ##########################################
  1212.  
  1213. ============ Checking for Radio interface ============
  1214. Result is: no
  1215. ##########################################
  1216.  
  1217. ============ Checking for Capture for Radio interface ============
  1218. Result is: no
  1219. ##########################################
  1220.  
  1221. ============ Checking for Video 4 Linux 2 Radio interface ============
  1222. Result is: no
  1223. ##########################################
  1224.  
  1225. ============ Checking for Video 4 Linux 2 MPEG PVR interface ============
  1226. Result is: no
  1227. ##########################################
  1228.  
  1229. ============ Checking for ftp ============
  1230. Result is: yes
  1231. ##########################################
  1232.  
  1233. ============ Checking for vstream client ============
  1234.  
  1235. #include <vstream-client.h>
  1236. void vstream_error(const char *format, ... ) {}
  1237. int main(void) { vstream_start(); return 0; }
  1238.  
  1239. i686-w64-mingw32-gcc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -pipe -ffast-math -fomit-frame-pointer -DPTW32_STATIC_LIB /tmp/mpv-configure--20736/tmp.c -I. -march=pentium3 -mtune=pentium3 -fno-common -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234 -DBIG_ENDIAN=4321 -DFRIBIDI_ENTRY="" -I/usr/i686-w64-mingw32/include -I/usr/i686-w64-mingw32/include -I/usr/i686-w64-mingw32/include/fribidi -I/usr/i686-w64-mingw32/include/freetype2 -I/usr/i686-w64-mingw32/include/bs2b -I/home/qyot27/win32_build/include -I/home/qyot27/win32_build/include -static -lwinmm -ffast-math -lws2_32 -liconv -L/usr/i686-w64-mingw32/lib -ldvdread -ldvdcss -L/usr/i686-w64-mingw32/lib -lass -lfontconfig -lexpat -lenca -lm -lfribidi -lfreetype -lz -lenca -lz -L/usr/i686-w64-mingw32/lib -lbs2b -lm -pthread -L/home/qyot27/win32_build/lib -L/usr/i686-w64-mingw32/lib -lavformat -lavcodec -lavicap32 -lole32 -lstrmiids -luuid -lws2_32 -lxvidcore -lvpx -lvorbisenc -lvorbis -lvo-aacenc -lutvideo -lstdc++ -ltwolame -ltheoraenc -ltheoradec -logg -lopus -lmp3lame -lavifil32 -lbz2 -lz -lpsapi -ladvapi32 -lshell32 -lswscale -lavutil -lm -L/home/qyot27/win32_build/lib -lpostproc -lavutil -lm -lopengl32 -lgdi32 -o /tmp/mpv-configure--20736/tmp.exe -lvstream-client
  1240. /tmp/mpv-configure--20736/tmp.c:1:28: fatal error: vstream-client.h: No such file or directory
  1241. compilation terminated.
  1242.  
  1243.  
  1244. Result is: no
  1245. ##########################################
  1246.  
  1247. ============ Checking for Subtitles sorting ============
  1248. Result is: yes
  1249. ##########################################
  1250.  
  1251. ============ Checking for encoding ============
  1252. Result is: yes
  1253. ##########################################
  1254.  
  1255. ============ Checking for compiler support for noexecstack ============
  1256.  
  1257. int main(void) { return 0; }
  1258.  
  1259. i686-w64-mingw32-gcc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -pipe -ffast-math -fomit-frame-pointer -DPTW32_STATIC_LIB /tmp/mpv-configure--20736/tmp.c -I. -march=pentium3 -mtune=pentium3 -fno-common -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234 -DBIG_ENDIAN=4321 -DFRIBIDI_ENTRY="" -I/usr/i686-w64-mingw32/include -I/usr/i686-w64-mingw32/include -I/usr/i686-w64-mingw32/include/fribidi -I/usr/i686-w64-mingw32/include/freetype2 -I/usr/i686-w64-mingw32/include/bs2b -I/home/qyot27/win32_build/include -I/home/qyot27/win32_build/include -static -lwinmm -ffast-math -lws2_32 -liconv -L/usr/i686-w64-mingw32/lib -ldvdread -ldvdcss -L/usr/i686-w64-mingw32/lib -lass -lfontconfig -lexpat -lenca -lm -lfribidi -lfreetype -lz -lenca -lz -L/usr/i686-w64-mingw32/lib -lbs2b -lm -pthread -L/home/qyot27/win32_build/lib -L/usr/i686-w64-mingw32/lib -lavformat -lavcodec -lavicap32 -lole32 -lstrmiids -luuid -lws2_32 -lxvidcore -lvpx -lvorbisenc -lvorbis -lvo-aacenc -lutvideo -lstdc++ -ltwolame -ltheoraenc -ltheoradec -logg -lopus -lmp3lame -lavifil32 -lbz2 -lz -lpsapi -ladvapi32 -lshell32 -lswscale -lavutil -lm -L/home/qyot27/win32_build/lib -lpostproc -lavutil -lm -lopengl32 -lgdi32 -o /tmp/mpv-configure--20736/tmp.exe -Wl,-z,noexecstack
  1260. /usr/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/bin/ld: unrecognized option '-z'
  1261. /usr/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/bin/ld: use the --help option for usage information
  1262. collect2: error: ld returned 1 exit status
  1263.  
  1264.  
  1265. Result is: no
  1266. ##########################################
  1267.  
  1268. ============ Checking for linker support for --nxcompat --no-seh --dynamicbase ============
  1269.  
  1270. int main(void) { return 0; }
  1271.  
  1272. i686-w64-mingw32-gcc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -pipe -ffast-math -fomit-frame-pointer -DPTW32_STATIC_LIB /tmp/mpv-configure--20736/tmp.c -I. -march=pentium3 -mtune=pentium3 -fno-common -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234 -DBIG_ENDIAN=4321 -DFRIBIDI_ENTRY="" -I/usr/i686-w64-mingw32/include -I/usr/i686-w64-mingw32/include -I/usr/i686-w64-mingw32/include/fribidi -I/usr/i686-w64-mingw32/include/freetype2 -I/usr/i686-w64-mingw32/include/bs2b -I/home/qyot27/win32_build/include -I/home/qyot27/win32_build/include -static -lwinmm -ffast-math -lws2_32 -liconv -L/usr/i686-w64-mingw32/lib -ldvdread -ldvdcss -L/usr/i686-w64-mingw32/lib -lass -lfontconfig -lexpat -lenca -lm -lfribidi -lfreetype -lz -lenca -lz -L/usr/i686-w64-mingw32/lib -lbs2b -lm -pthread -L/home/qyot27/win32_build/lib -L/usr/i686-w64-mingw32/lib -lavformat -lavcodec -lavicap32 -lole32 -lstrmiids -luuid -lws2_32 -lxvidcore -lvpx -lvorbisenc -lvorbis -lvo-aacenc -lutvideo -lstdc++ -ltwolame -ltheoraenc -ltheoradec -logg -lopus -lmp3lame -lavifil32 -lbz2 -lz -lpsapi -ladvapi32 -lshell32 -lswscale -lavutil -lm -L/home/qyot27/win32_build/lib -lpostproc -lavutil -lm -lopengl32 -lgdi32 -o /tmp/mpv-configure--20736/tmp.exe -Wl,--nxcompat -Wl,--no-seh -Wl,--dynamicbase
  1273.  
  1274.  
  1275. Result is: yes
  1276. ##########################################
  1277.  
  1278. ============ Checking for joystick ============
  1279. Result is: no
  1280. ##########################################
  1281.  
  1282. ============ Checking for lirc ============
  1283.  
  1284. #include <lirc/lirc_client.h>
  1285. int main(void) { return 0; }
  1286.  
  1287. i686-w64-mingw32-gcc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -pipe -ffast-math -fomit-frame-pointer -DPTW32_STATIC_LIB /tmp/mpv-configure--20736/tmp.c -I. -march=pentium3 -mtune=pentium3 -fno-common -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234 -DBIG_ENDIAN=4321 -DFRIBIDI_ENTRY="" -I/usr/i686-w64-mingw32/include -I/usr/i686-w64-mingw32/include -I/usr/i686-w64-mingw32/include/fribidi -I/usr/i686-w64-mingw32/include/freetype2 -I/usr/i686-w64-mingw32/include/bs2b -I/home/qyot27/win32_build/include -I/home/qyot27/win32_build/include -static -Wl,--nxcompat -Wl,--no-seh -Wl,--dynamicbase -lwinmm -ffast-math -lws2_32 -liconv -L/usr/i686-w64-mingw32/lib -ldvdread -ldvdcss -L/usr/i686-w64-mingw32/lib -lass -lfontconfig -lexpat -lenca -lm -lfribidi -lfreetype -lz -lenca -lz -L/usr/i686-w64-mingw32/lib -lbs2b -lm -pthread -L/home/qyot27/win32_build/lib -L/usr/i686-w64-mingw32/lib -lavformat -lavcodec -lavicap32 -lole32 -lstrmiids -luuid -lws2_32 -lxvidcore -lvpx -lvorbisenc -lvorbis -lvo-aacenc -lutvideo -lstdc++ -ltwolame -ltheoraenc -ltheoradec -logg -lopus -lmp3lame -lavifil32 -lbz2 -lz -lpsapi -ladvapi32 -lshell32 -lswscale -lavutil -lm -L/home/qyot27/win32_build/lib -lpostproc -lavutil -lm -lpthreadGC2 -lws2_32 -lopengl32 -lgdi32 -o /tmp/mpv-configure--20736/tmp.exe -llirc_client
  1288. /tmp/mpv-configure--20736/tmp.c:1:30: fatal error: lirc/lirc_client.h: No such file or directory
  1289. compilation terminated.
  1290.  
  1291.  
  1292. Result is: no
  1293. ##########################################
  1294.  
  1295. ============ Checking for lircc ============
  1296.  
  1297. #include <lirc/lircc.h>
  1298. int main(void) { return 0; }
  1299.  
  1300. i686-w64-mingw32-gcc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -pipe -ffast-math -fomit-frame-pointer -DPTW32_STATIC_LIB /tmp/mpv-configure--20736/tmp.c -I. -march=pentium3 -mtune=pentium3 -fno-common -DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234 -DBIG_ENDIAN=4321 -DFRIBIDI_ENTRY="" -I/usr/i686-w64-mingw32/include -I/usr/i686-w64-mingw32/include -I/usr/i686-w64-mingw32/include/fribidi -I/usr/i686-w64-mingw32/include/freetype2 -I/usr/i686-w64-mingw32/include/bs2b -I/home/qyot27/win32_build/include -I/home/qyot27/win32_build/include -static -Wl,--nxcompat -Wl,--no-seh -Wl,--dynamicbase -lwinmm -ffast-math -lws2_32 -liconv -L/usr/i686-w64-mingw32/lib -ldvdread -ldvdcss -L/usr/i686-w64-mingw32/lib -lass -lfontconfig -lexpat -lenca -lm -lfribidi -lfreetype -lz -lenca -lz -L/usr/i686-w64-mingw32/lib -lbs2b -lm -pthread -L/home/qyot27/win32_build/lib -L/usr/i686-w64-mingw32/lib -lavformat -lavcodec -lavicap32 -lole32 -lstrmiids -luuid -lws2_32 -lxvidcore -lvpx -lvorbisenc -lvorbis -lvo-aacenc -lutvideo -lstdc++ -ltwolame -ltheoraenc -ltheoradec -logg -lopus -lmp3lame -lavifil32 -lbz2 -lz -lpsapi -ladvapi32 -lshell32 -lswscale -lavutil -lm -L/home/qyot27/win32_build/lib -lpostproc -lavutil -lm -lpthreadGC2 -lws2_32 -lopengl32 -lgdi32 -o /tmp/mpv-configure--20736/tmp.exe -llircc
  1301. /tmp/mpv-configure--20736/tmp.c:1:24: fatal error: lirc/lircc.h: No such file or directory
  1302. compilation terminated.
  1303.  
  1304.  
  1305. Result is: no
  1306. ##########################################
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement