comparison configure @ 23768:b555c8626c34

Use native Windows thread API when pthreads isn't available.
author zuxy
date Mon, 16 Jul 2007 06:34:51 +0000
parents cd8985396f48
children 28964958fb7b
comparison
equal deleted inserted replaced
23767:e9d6eda05f00 23768:b555c8626c34
268 --disable-inet6 disable IPv6 support [autodetect] 268 --disable-inet6 disable IPv6 support [autodetect]
269 --disable-gethostbyname2 gethostbyname2 part of the C library [autodetect] 269 --disable-gethostbyname2 gethostbyname2 part of the C library [autodetect]
270 --disable-ftp disable FTP support [enabled] 270 --disable-ftp disable FTP support [enabled]
271 --disable-vstream disable TiVo vstream client support [autodetect] 271 --disable-vstream disable TiVo vstream client support [autodetect]
272 --disable-pthreads disable Posix threads support [autodetect] 272 --disable-pthreads disable Posix threads support [autodetect]
273 --disable-w32threads disable Win32 threads support [autodetect]
273 --disable-ass disable internal SSA/ASS subtitle support [autodetect] 274 --disable-ass disable internal SSA/ASS subtitle support [autodetect]
274 --enable-rpath enable runtime linker path for extra libs [disabled] 275 --enable-rpath enable runtime linker path for extra libs [disabled]
275 276
276 Codecs: 277 Codecs:
277 --enable-gif enable GIF support [autodetect] 278 --enable-gif enable GIF support [autodetect]
642 _gethostbyname2=auto 643 _gethostbyname2=auto
643 _ftp=yes 644 _ftp=yes
644 _musepack=auto 645 _musepack=auto
645 _vstream=auto 646 _vstream=auto
646 _pthreads=auto 647 _pthreads=auto
648 _w32threads=auto
647 _ass=auto 649 _ass=auto
648 _rpath=no 650 _rpath=no
649 _asmalign_pot=auto 651 _asmalign_pot=auto
650 _color_console=no 652 _color_console=no
651 _stream_cache=yes 653 _stream_cache=yes
1059 --disable-ftp) _ftp=no ;; 1061 --disable-ftp) _ftp=no ;;
1060 --enable-vstream) _vstream=yes ;; 1062 --enable-vstream) _vstream=yes ;;
1061 --disable-vstream) _vstream=no ;; 1063 --disable-vstream) _vstream=no ;;
1062 --enable-pthreads) _pthreads=yes ;; 1064 --enable-pthreads) _pthreads=yes ;;
1063 --disable-pthreads) _pthreads=no ;; 1065 --disable-pthreads) _pthreads=no ;;
1066 --enable-w32threads) _w32threads=yes ;;
1067 --disable-w32threads) _w32threads=no ;;
1064 --enable-ass) _ass=yes ;; 1068 --enable-ass) _ass=yes ;;
1065 --disable-ass) _ass=no ;; 1069 --disable-ass) _ass=no ;;
1066 --enable-rpath) _rpath=yes ;; 1070 --enable-rpath) _rpath=yes ;;
1067 --disable-rpath) _rpath=no ;; 1071 --disable-rpath) _rpath=no ;;
1068 --enable-color-console) _color_console=yes ;; 1072 --enable-color-console) _color_console=yes ;;
3044 _win32dll=no 3048 _win32dll=no
3045 fi 3049 fi
3046 fi 3050 fi
3047 echores "$_pthreads" 3051 echores "$_pthreads"
3048 3052
3053 echocheck "w32threads"
3054 if test "$_pthreads" = yes ; then
3055 _res_comment="using pthread instead"
3056 _w32threads=no
3057 fi
3058 if test "$_w32threads" = auto ; then
3059 _w32threads=no
3060 mingw32 && _w32threads=yes
3061 fi
3062 test "$_w32threads" = yes && _def_threads='#define HAVE_THREADS 1'
3063 echores "$_w32threads"
3064
3049 echocheck "rpath" 3065 echocheck "rpath"
3050 netbsd &&_rpath=yes 3066 netbsd &&_rpath=yes
3051 if test "$_rpath" = yes ; then 3067 if test "$_rpath" = yes ; then
3052 for I in `echo $_ld_extra | sed 's/-L//g'` ; do 3068 for I in `echo $_ld_extra | sed 's/-L//g'` ; do
3053 tmp="$tmp ` echo $I | sed 's/.*/ -L& -Wl,-R&/'`" 3069 tmp="$tmp ` echo $I | sed 's/.*/ -L& -Wl,-R&/'`"
7401 EXTRALIBS_MPLAYER = $_libs_mplayer 7417 EXTRALIBS_MPLAYER = $_libs_mplayer
7402 EXTRALIBS_MENCODER = $_libs_mencoder 7418 EXTRALIBS_MENCODER = $_libs_mencoder
7403 7419
7404 HAVE_MLIB = $_mlib 7420 HAVE_MLIB = $_mlib
7405 HAVE_PTHREADS = $_pthreads 7421 HAVE_PTHREADS = $_pthreads
7422 HAVE_W32THREADS = $_w32threads
7406 7423
7407 HAVE_XVMC_ACCEL = $_xvmc 7424 HAVE_XVMC_ACCEL = $_xvmc
7408 7425
7409 HAVE_SYS_MMAN_H = $_mman 7426 HAVE_SYS_MMAN_H = $_mman
7410 HAVE_POSIX_SELECT = $_posix_select 7427 HAVE_POSIX_SELECT = $_posix_select