Mercurial > mplayer.hg
comparison configure @ 28014:e54712304c3e
Move PTHREAD_CACHE define logic to configure.
author | reimar |
---|---|
date | Fri, 28 Nov 2008 17:04:36 +0000 |
parents | 17d25dc5818d |
children | 4ac70bd6acac |
comparison
equal
deleted
inserted
replaced
28013:57a075738b24 | 28014:e54712304c3e |
---|---|
713 _ass=auto | 713 _ass=auto |
714 _rpath=no | 714 _rpath=no |
715 _asmalign_pot=auto | 715 _asmalign_pot=auto |
716 _stream_cache=yes | 716 _stream_cache=yes |
717 _def_stream_cache="#define CONFIG_STREAM_CACHE 1" | 717 _def_stream_cache="#define CONFIG_STREAM_CACHE 1" |
718 _def_pthread_cache="#undef PTHREAD_CACHE" | |
718 _need_shmem=yes | 719 _need_shmem=yes |
719 for ac_option do | 720 for ac_option do |
720 case "$ac_option" in | 721 case "$ac_option" in |
721 --help|-help|-h) | 722 --help|-help|-h) |
722 show_help | 723 show_help |
3134 _nas=no ; _tv_v4l1=no ; _tv_v4l2=no | 3135 _nas=no ; _tv_v4l1=no ; _tv_v4l2=no |
3135 mingw32 || _win32dll=no | 3136 mingw32 || _win32dll=no |
3136 fi | 3137 fi |
3137 echores "$_pthreads" | 3138 echores "$_pthreads" |
3138 | 3139 |
3140 if cygwin ; then | |
3141 if test "$_pthreads" = yes ; then | |
3142 _def_pthread_cache="#define PTHREAD_CACHE 1" | |
3143 else | |
3144 _stream_cache=no | |
3145 _def_stream_cache="#undef CONFIG_STREAM_CACHE" | |
3146 fi | |
3147 fi | |
3148 | |
3139 echocheck "w32threads" | 3149 echocheck "w32threads" |
3140 if test "$_pthreads" = yes ; then | 3150 if test "$_pthreads" = yes ; then |
3141 _res_comment="using pthread instead" | 3151 _res_comment="using pthread instead" |
3142 _w32threads=no | 3152 _w32threads=no |
3143 fi | 3153 fi |