comparison configure @ 35945:a8baf85f7b6e

configure: Do a proper fallback from internal to external libdvdread.
author diego
date Fri, 22 Mar 2013 15:37:38 +0000
parents 4d83191b7218
children ebc74746041d
comparison
equal deleted inserted replaced
35944:132d5af113c8 35945:a8baf85f7b6e
6000 echores "$_bluray" 6000 echores "$_bluray"
6001 6001
6002 echocheck "dvdread" 6002 echocheck "dvdread"
6003 if test "$_dvdread_internal" = auto ; then 6003 if test "$_dvdread_internal" = auto ; then
6004 _dvdread_internal=no 6004 _dvdread_internal=no
6005 _dvdread=no
6006 if (linux || freebsd || netbsd || openbsd || dragonfly || sunos || hpux) && 6005 if (linux || freebsd || netbsd || openbsd || dragonfly || sunos || hpux) &&
6007 (test "$_dvd" = yes || test "$_cdrom" = yes || test "$_cdio" = yes || 6006 (test "$_dvd" = yes || test "$_cdrom" = yes || test "$_cdio" = yes ||
6008 test "$_dvdio" = yes || test "$_bsdi_dvd" = yes) || 6007 test "$_dvdio" = yes || test "$_bsdi_dvd" = yes) ||
6009 darwin || win32 || os2; then 6008 darwin || win32 || os2; then
6010 _dvdread_internal=yes 6009 _dvdread_internal=yes
6011 _dvdread=yes 6010 _dvdread=yes
6012 extra_cflags="-Ilibdvdread4 $extra_cflags" 6011 extra_cflags="-Ilibdvdread4 $extra_cflags"
6013 fi 6012 fi
6014 elif test "$_dvdread" = auto ; then 6013 fi
6014 if test "$_dvdread" = auto ; then
6015 _dvdread=no 6015 _dvdread=no
6016 if test "$_dl" = yes; then 6016 if test "$_dl" = yes; then
6017 _dvdreadcflags=$($_dvdreadconfig --cflags 2> /dev/null) 6017 _dvdreadcflags=$($_dvdreadconfig --cflags 2> /dev/null)
6018 _dvdreadlibs=$($_dvdreadconfig --libs 2> /dev/null) 6018 _dvdreadlibs=$($_dvdreadconfig --libs 2> /dev/null)
6019 if header_check dvdread/dvd_reader.h $_dvdreadcflags $_dvdreadlibs $ld_dl ; then 6019 if header_check dvdread/dvd_reader.h $_dvdreadcflags $_dvdreadlibs $ld_dl ; then