Mercurial > mplayer.hg
comparison configure @ 34491:220e2f980b73
configure: Only test for Win32 threads on Windows.
author | diego |
---|---|
date | Thu, 19 Jan 2012 14:36:11 +0000 |
parents | 18e2bab60851 |
children | e421fb9bb0b9 |
comparison
equal
deleted
inserted
replaced
34490:18e2bab60851 | 34491:220e2f980b73 |
---|---|
3606 _stream_cache=no | 3606 _stream_cache=no |
3607 def_stream_cache="#undef CONFIG_STREAM_CACHE" | 3607 def_stream_cache="#undef CONFIG_STREAM_CACHE" |
3608 fi | 3608 fi |
3609 fi | 3609 fi |
3610 | 3610 |
3611 | |
3612 if win32; then | |
3611 echocheck "w32threads" | 3613 echocheck "w32threads" |
3612 if test "$_pthreads" = yes ; then | 3614 if test "$_pthreads" = yes ; then |
3613 res_comment="using pthread instead" | 3615 res_comment="using pthread instead" |
3614 _w32threads=no | 3616 _w32threads=no |
3615 fi | 3617 fi |
3617 _w32threads=no | 3619 _w32threads=no |
3618 mingw32 && _w32threads=yes | 3620 mingw32 && _w32threads=yes |
3619 fi | 3621 fi |
3620 test "$_w32threads" = yes && def_threads='#define HAVE_THREADS 1' && def_w32threads='#define HAVE_W32THREADS 1' | 3622 test "$_w32threads" = yes && def_threads='#define HAVE_THREADS 1' && def_w32threads='#define HAVE_W32THREADS 1' |
3621 echores "$_w32threads" | 3623 echores "$_w32threads" |
3624 fi #if win32; then | |
3625 | |
3622 | 3626 |
3623 if os2 ; then | 3627 if os2 ; then |
3624 echocheck "os2threads" | 3628 echocheck "os2threads" |
3625 if test "$_pthreads" = yes ; then | 3629 if test "$_pthreads" = yes ; then |
3626 res_comment="using pthread instead" | 3630 res_comment="using pthread instead" |