Mercurial > mplayer.hg
comparison configure @ 34490:18e2bab60851
configure: Enable os2threads support on OS/2.
patch by KO Myung-Hun, komh78 gmail com
author | diego |
---|---|
date | Mon, 16 Jan 2012 09:15:40 +0000 |
parents | cbee80faf0aa |
children | 220e2f980b73 |
comparison
equal
deleted
inserted
replaced
34489:bdc9f135ac26 | 34490:18e2bab60851 |
---|---|
387 --disable-gethostbyname2 gethostbyname2 part of the C library [autodetect] | 387 --disable-gethostbyname2 gethostbyname2 part of the C library [autodetect] |
388 --disable-ftp disable FTP support [enabled] | 388 --disable-ftp disable FTP support [enabled] |
389 --disable-vstream disable TiVo vstream client support [autodetect] | 389 --disable-vstream disable TiVo vstream client support [autodetect] |
390 --disable-pthreads disable Posix threads support [autodetect] | 390 --disable-pthreads disable Posix threads support [autodetect] |
391 --disable-w32threads disable Win32 threads support [autodetect] | 391 --disable-w32threads disable Win32 threads support [autodetect] |
392 --disable-os2threads disable OS/2 threads support [autodetect] | |
392 --enable-ass-internal enable internal SSA/ASS subtitle support [autodetect] | 393 --enable-ass-internal enable internal SSA/ASS subtitle support [autodetect] |
393 --disable-ass disable SSA/ASS subtitle support [autodetect] | 394 --disable-ass disable SSA/ASS subtitle support [autodetect] |
394 --enable-rpath enable runtime linker path for extra libs [disabled] | 395 --enable-rpath enable runtime linker path for extra libs [disabled] |
395 | 396 |
396 Codecs: | 397 Codecs: |
856 _ftp=auto | 857 _ftp=auto |
857 _musepack=no | 858 _musepack=no |
858 _vstream=auto | 859 _vstream=auto |
859 _pthreads=auto | 860 _pthreads=auto |
860 _w32threads=auto | 861 _w32threads=auto |
862 _os2threads=auto | |
861 _ass=auto | 863 _ass=auto |
862 ass_internal=auto | 864 ass_internal=auto |
863 _rpath=no | 865 _rpath=no |
864 _asmalign_pot=auto | 866 _asmalign_pot=auto |
865 _stream_cache=yes | 867 _stream_cache=yes |
1349 --disable-vstream) _vstream=no ;; | 1351 --disable-vstream) _vstream=no ;; |
1350 --enable-pthreads) _pthreads=yes ;; | 1352 --enable-pthreads) _pthreads=yes ;; |
1351 --disable-pthreads) _pthreads=no ;; | 1353 --disable-pthreads) _pthreads=no ;; |
1352 --enable-w32threads) _w32threads=yes ;; | 1354 --enable-w32threads) _w32threads=yes ;; |
1353 --disable-w32threads) _w32threads=no ;; | 1355 --disable-w32threads) _w32threads=no ;; |
1356 --enable-os2threads) _os2threads=yes ;; | |
1357 --disable-os2threads) _os2threads=no ;; | |
1354 --enable-ass) _ass=yes ;; | 1358 --enable-ass) _ass=yes ;; |
1355 --disable-ass) _ass=no ;; | 1359 --disable-ass) _ass=no ;; |
1356 --enable-ass-internal) ass_internal=yes ;; | 1360 --enable-ass-internal) ass_internal=yes ;; |
1357 --disable-ass-internal) ass_internal=no ;; | 1361 --disable-ass-internal) ass_internal=no ;; |
1358 --enable-rpath) _rpath=yes ;; | 1362 --enable-rpath) _rpath=yes ;; |
3558 | 3562 |
3559 | 3563 |
3560 def_threads='#define HAVE_THREADS 0' | 3564 def_threads='#define HAVE_THREADS 0' |
3561 def_pthreads='#define HAVE_PTHREADS 0' | 3565 def_pthreads='#define HAVE_PTHREADS 0' |
3562 def_w32threads='#define HAVE_W32THREADS 0' | 3566 def_w32threads='#define HAVE_W32THREADS 0' |
3567 def_os2threads='#define HAVE_OS2THREADS 0' | |
3563 | 3568 |
3564 echocheck "pthread" | 3569 echocheck "pthread" |
3565 if linux ; then | 3570 if linux ; then |
3566 THREAD_CFLAGS=-D_REENTRANT | 3571 THREAD_CFLAGS=-D_REENTRANT |
3567 elif freebsd || netbsd || openbsd || bsdos ; then | 3572 elif freebsd || netbsd || openbsd || bsdos ; then |
3612 _w32threads=no | 3617 _w32threads=no |
3613 mingw32 && _w32threads=yes | 3618 mingw32 && _w32threads=yes |
3614 fi | 3619 fi |
3615 test "$_w32threads" = yes && def_threads='#define HAVE_THREADS 1' && def_w32threads='#define HAVE_W32THREADS 1' | 3620 test "$_w32threads" = yes && def_threads='#define HAVE_THREADS 1' && def_w32threads='#define HAVE_W32THREADS 1' |
3616 echores "$_w32threads" | 3621 echores "$_w32threads" |
3622 | |
3623 if os2 ; then | |
3624 echocheck "os2threads" | |
3625 if test "$_pthreads" = yes ; then | |
3626 res_comment="using pthread instead" | |
3627 _os2threads=no | |
3628 fi | |
3629 if test "$_os2threads" = auto ; then | |
3630 _os2threads=no | |
3631 os2 && _os2threads=yes | |
3632 fi | |
3633 test "$_os2threads" = yes && def_threads='#define HAVE_THREADS 1' && def_os2threads='#define HAVE_OS2THREADS 1' | |
3634 echores "$_os2threads" | |
3635 fi #if os2 | |
3617 | 3636 |
3618 echocheck "rpath" | 3637 echocheck "rpath" |
3619 if test "$_rpath" = yes ; then | 3638 if test "$_rpath" = yes ; then |
3620 for I in $(echo $extra_ldflags | sed 's/-L//g') ; do | 3639 for I in $(echo $extra_ldflags | sed 's/-L//g') ; do |
3621 tmp="$tmp $(echo $I | sed 's/.*/ -L& -Wl,-R&/')" | 3640 tmp="$tmp $(echo $I | sed 's/.*/ -L& -Wl,-R&/')" |
8198 CONFIG_VDPAU = $_vdpau | 8217 CONFIG_VDPAU = $_vdpau |
8199 CONFIG_XVMC = $_xvmc | 8218 CONFIG_XVMC = $_xvmc |
8200 CONFIG_ZLIB = $_zlib | 8219 CONFIG_ZLIB = $_zlib |
8201 | 8220 |
8202 HAVE_GNU_AS = $gnu_as | 8221 HAVE_GNU_AS = $gnu_as |
8222 HAVE_OS2THREADS = $_os2threads | |
8203 HAVE_PTHREADS = $_pthreads | 8223 HAVE_PTHREADS = $_pthreads |
8204 HAVE_SHM = $_shm | 8224 HAVE_SHM = $_shm |
8205 HAVE_W32THREADS = $_w32threads | 8225 HAVE_W32THREADS = $_w32threads |
8206 HAVE_YASM = $have_yasm | 8226 HAVE_YASM = $have_yasm |
8207 | 8227 |
8633 $def_lrintf | 8653 $def_lrintf |
8634 $def_mlib | 8654 $def_mlib |
8635 $def_mkstemp | 8655 $def_mkstemp |
8636 $def_mmap | 8656 $def_mmap |
8637 $def_network | 8657 $def_network |
8658 $def_os2threads | |
8638 $def_pic | 8659 $def_pic |
8639 $def_poll_h | 8660 $def_poll_h |
8640 $def_posix_memalign | 8661 $def_posix_memalign |
8641 $def_pthreads | 8662 $def_pthreads |
8642 $def_round | 8663 $def_round |
8675 #define HAVE_INLINE_ASM 1 | 8696 #define HAVE_INLINE_ASM 1 |
8676 #define HAVE_ISATTY 0 | 8697 #define HAVE_ISATTY 0 |
8677 #define HAVE_LDBRX 0 | 8698 #define HAVE_LDBRX 0 |
8678 #define HAVE_LOCALTIME_R 0 | 8699 #define HAVE_LOCALTIME_R 0 |
8679 #define HAVE_MAPVIEWOFFILE 0 | 8700 #define HAVE_MAPVIEWOFFILE 0 |
8680 #define HAVE_OS2THREADS 0 | |
8681 #define HAVE_PPC4XX 0 | 8701 #define HAVE_PPC4XX 0 |
8682 #define HAVE_STRERROR_R 0 | 8702 #define HAVE_STRERROR_R 0 |
8683 #define HAVE_STRPTIME 0 | 8703 #define HAVE_STRPTIME 0 |
8684 #define HAVE_SYMVER_ASM_LABEL 0 | 8704 #define HAVE_SYMVER_ASM_LABEL 0 |
8685 #define HAVE_SYMVER_GNU_ASM 0 | 8705 #define HAVE_SYMVER_GNU_ASM 0 |