[MPlayer-cvslog] r37323 - trunk/configure

reimar subversion at mplayerhq.hu
Mon Nov 3 23:35:44 CET 2014


Author: reimar
Date: Mon Nov  3 23:35:43 2014
New Revision: 37323

Log:
configure: Improve dvdread and dvdnav detection.

Do not require libdl for dvdread and disable dvdnav
if dvdread is not available.

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Sun Nov  2 14:37:34 2014	(r37322)
+++ trunk/configure	Mon Nov  3 23:35:43 2014	(r37323)
@@ -6101,15 +6101,13 @@ echores "$_bluray"
 echocheck "dvdread"
 if test "$_dvdread" = auto ; then
   _dvdread=no
-  if test "$_dl" = yes; then
     _dvdreadcflags=$($_dvdreadconfig --cflags 2> /dev/null)
     _dvdreadlibs=$($_dvdreadconfig --libs 2> /dev/null)
-    if header_check dvdread/dvd_reader.h $_dvdreadcflags $_dvdreadlibs $ld_dl ; then
+    if header_check dvdread/dvd_reader.h $_dvdreadcflags $_dvdreadlibs ; then
       _dvdread=yes
       extra_cflags="$extra_cflags $_dvdreadcflags"
       extra_ldflags="$extra_ldflags $_dvdreadlibs"
     fi
-  fi
 fi
 
 if test "$_dvdread" = yes; then
@@ -6117,6 +6115,7 @@ if test "$_dvdread" = yes; then
   extra_ldflags="$extra_ldflags"
   inputmodules="dvdread $inputmodules"
 else
+  _dvdnav=no
   def_dvdread='#undef CONFIG_DVDREAD'
   noinputmodules="dvdread $noinputmodules"
 fi


More information about the MPlayer-cvslog mailing list