mirror of https://github.com/mpv-player/mpv
libx264 compiled with visualization requirs xlib
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16016 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
f8f3683a37
commit
1bf700a093
|
@ -6137,7 +6137,10 @@ cat > $TMPC << EOF
|
||||||
int main(void) { x264_encoder_open((void*)0); return 0; }
|
int main(void) { x264_encoder_open((void*)0); return 0; }
|
||||||
EOF
|
EOF
|
||||||
_ld_x264="$_ld_x264 -lx264 $_ld_lm $_ld_pthread"
|
_ld_x264="$_ld_x264 -lx264 $_ld_lm $_ld_pthread"
|
||||||
if test "$_x264" != no && cc_check $_inc_x264 $_ld_x264 ; then
|
if test "$_x264" != no && \
|
||||||
|
( cc_check $_inc_x264 $_ld_x264 || \
|
||||||
|
( test "$_x11" = yes && cc_check $_inc_x264 $_inc_x11 $_ld_x264 $_ld_x11 )) ; \
|
||||||
|
then
|
||||||
_x264=yes
|
_x264=yes
|
||||||
_def_x264='#define HAVE_X264 1'
|
_def_x264='#define HAVE_X264 1'
|
||||||
_codecmodules="x264 $_codecmodules"
|
_codecmodules="x264 $_codecmodules"
|
||||||
|
|
Loading…
Reference in New Issue