diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-12-23 15:18:39 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-12-23 15:18:39 +0000 |
commit | 1b231d2d490ceb7a65ee8e16f25867b50cdf3689 (patch) | |
tree | 5068cf849a19b44f1ecba0ac9231cfb30e567e15 /configure | |
parent | aa5f7dea07d8d737730d56a9548b1ea23b4f7514 (diff) | |
download | mpv-1b231d2d490ceb7a65ee8e16f25867b50cdf3689.tar.bz2 mpv-1b231d2d490ceb7a65ee8e16f25867b50cdf3689.tar.xz |
When setting HAVE_PTHREADS, set HAVE_THREADS also to avoid linking problems with lavc (because utils.c defines a stub otherwise)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14226 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -2668,6 +2668,7 @@ echores "$_dynamic_plugins" #fi #echores "using $_ld_dl_dynamic" +_def_threads='#undef HAVE_THREADS' echocheck "pthread" cat > $TMPC << EOF @@ -2703,6 +2704,7 @@ if test "$_ld_pthread" != '' ; then echores "yes (using $_ld_pthread)" _pthreads='yes' _def_pthreads='#define HAVE_PTHREADS 1' + _def_threads='#define HAVE_THREADS 1' else echores "no" _pthreads='' @@ -6944,6 +6946,9 @@ $_def_glob /* Define this if your system has pthreads */ $_def_pthreads +/* Define this if you enabled thread support for libavcodec */ +$_def_threads + /* LIRC (remote control, see www.lirc.org) support: */ $_def_lirc |