changeset 35945:a8baf85f7b6e

configure: Do a proper fallback from internal to external libdvdread.
author diego
date Fri, 22 Mar 2013 15:37:38 +0000
parents 132d5af113c8
children ebc74746041d
files configure
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Thu Mar 21 18:10:22 2013 +0000
+++ b/configure	Fri Mar 22 15:37:38 2013 +0000
@@ -6002,7 +6002,6 @@
 echocheck "dvdread"
 if test "$_dvdread_internal" = auto ; then
   _dvdread_internal=no
-  _dvdread=no
   if (linux || freebsd || netbsd || openbsd || dragonfly || sunos || hpux) &&
      (test "$_dvd" = yes || test "$_cdrom" = yes || test "$_cdio" = yes ||
       test "$_dvdio" = yes || test "$_bsdi_dvd" = yes) ||
@@ -6011,7 +6010,8 @@
     _dvdread=yes
     extra_cflags="-Ilibdvdread4 $extra_cflags"
   fi
-elif test "$_dvdread" = auto ; then
+fi
+if test "$_dvdread" = auto ; then
   _dvdread=no
   if test "$_dl" = yes; then
     _dvdreadcflags=$($_dvdreadconfig --cflags 2> /dev/null)