changeset 16015:af46277c0af8

libx264 compiled with visualization requirs xlib
author iive
date Tue, 19 Jul 2005 16:47:25 +0000
parents 67266a949b51
children a5d3b3b4bd4a
files configure
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Tue Jul 19 14:36:13 2005 +0000
+++ b/configure	Tue Jul 19 16:47:25 2005 +0000
@@ -6137,7 +6137,10 @@
 int main(void) { x264_encoder_open((void*)0); return 0; }
 EOF
 _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
   _def_x264='#define HAVE_X264 1'
   _codecmodules="x264 $_codecmodules"