changeset 21607:092f4f92223f

Compilation fix hacks: disable libavformat X11 grabber and move -L flags from _libs_mplayer to _ld_extra
author reimar
date Fri, 15 Dec 2006 09:41:39 +0000
parents ee21c7dff35f
children d64b282f8e2f
files configure
diffstat 1 files changed, 17 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Fri Dec 15 08:20:05 2006 +0000
+++ b/configure	Fri Dec 15 09:41:39 2006 +0000
@@ -7357,6 +7357,18 @@
 fi
 echores "$_color_console"
 
+# linker paths should be the same for mencoder and mplayer
+_ld_tmp=""
+for I in $_libs_mplayer ; do
+  _tmp=`echo $I | sed -e s/^-L.*$//`
+  if test -z $_tmp ; then
+    _ld_extra="$I $_ld_extra"
+  else
+    _ld_tmp="$_ld_tmp $I"
+  fi
+done
+_libs_mplayer=$_ld_tmp
+
 #############################################################################
 echo "Creating config.mak"
 cat > config.mak << EOF
@@ -7501,6 +7513,7 @@
 `echo $_libavparsers | tr '[a-z] ' '[A-Z]\n' | sed 's/^/CONFIG_/;s/$/=yes/'`
 `echo $_libavdemuxers | tr '[a-z] ' '[A-Z]\n' | sed 's/^/CONFIG_/;s/$/=yes/'`
 `echo $_libavmuxers | tr '[a-z] ' '[A-Z]\n' | sed 's/^/CONFIG_/;s/$/=yes/'`
+CONFIG_X11_GRAB_DEVICE_DEMUXER=no
 CONFIG_FAAC=$_lavc_faac
 CONFIG_MP3LAME=$_lavc_mp3lame
 CONFIG_XVID=$_lavc_xvid
@@ -7892,6 +7905,10 @@
      echo $part | tr '[a-z] ' '[A-Z]' | sed 's/^/#define ENABLE_/;s/$/ 0/'
    fi
  done`
+// HACK: disable x11 demuxer for now
+#undef CONFIG_X11_GRAB_DEVICE_DEMUXER
+#undef ENABLE_X11_GRAB_DEVICE_DEMUXER
+#define ENABLE_X11_GRAB_DEVICE_DEMUXER 0
 
 $_def_lavc_faac
 $_def_lavc_xvid