[MPlayer-cvslog] r31578 - trunk/configure

siretart subversion at mplayerhq.hu
Mon Jun 28 10:43:05 CEST 2010


Author: siretart
Date: Mon Jun 28 10:43:05 2010
New Revision: 31578

Log:
revert the previous to commits, but clarify the res_comment

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Mon Jun 28 10:26:14 2010	(r31577)
+++ trunk/configure	Mon Jun 28 10:43:05 2010	(r31578)
@@ -7577,7 +7577,10 @@ echores "$_libschroedinger_lavc"
 echocheck "libvpx"
 if test "$_libvpx_lavc" = auto; then
   _libvpx_lavc=no
-  cat > $TMPC << EOF
+  if test "$_libavcodec_a" != yes; then
+    res_comment="dynamic linking to libvpx is irrelevant when using dynamic libavcodec"
+  else
+    cat > $TMPC << EOF
 #include <vpx/vpx_encoder.h>
 #include <vpx/vpx_decoder.h>
 #include <vpx/vp8dx.h>
@@ -7589,7 +7592,8 @@ int main(void) {
   return 0;
 }
 EOF
-  cc_check -lvpx && _libvpx_lavc=yes && extra_ldflags="$extra_ldflags -lvpx"
+    cc_check -lvpx && _libvpx_lavc=yes && extra_ldflags="$extra_ldflags -lvpx"
+  fi
 fi
 if test "$_libvpx_lavc" = yes ; then
   def_libvpx_lavc='#define CONFIG_LIBVPX 1'


More information about the MPlayer-cvslog mailing list