summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-03-07 10:39:43 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-03-07 10:39:43 +0000
commitcd3ee8b2b2d878b71fc7dfea6e74ed11ddba7631 (patch)
tree5b7ab81e3ab2e6948eece29fa5de932913185b88
parent8599bc5eb8036acbade097fae766c0d2e7e6921a (diff)
downloadmpv-cd3ee8b2b2d878b71fc7dfea6e74ed11ddba7631.tar.bz2
mpv-cd3ee8b2b2d878b71fc7dfea6e74ed11ddba7631.tar.xz
Add parentheses where necessary to fix || conditions to work as intended.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26190 b3059339-0415-0410-9bf9-f77b7e298cf2
-rwxr-xr-xconfigure10
1 files changed, 5 insertions, 5 deletions
diff --git a/configure b/configure
index d4839f594b..4c74978b34 100755
--- a/configure
+++ b/configure
@@ -4254,9 +4254,9 @@ _def_vidix_drv_unichrome='#undef CONFIG_VIDIX_DRV_UNICHROME'
_vidix_drv_unichrome=no
if test "$_vidix_internal" = auto ; then
_vidix_internal=no
- x86 && linux || freebsd || netbsd || openbsd || sunos || win32 \
+ x86 && (linux || freebsd || netbsd || openbsd || sunos || win32) \
&& _vidix_internal=yes
- ppc || alpha && linux && _vidix_internal=yes
+ (ppc || alpha) && linux && _vidix_internal=yes
fi
if test "$_vidix_internal" = yes; then
_res_comment="internal"
@@ -5389,10 +5389,10 @@ echores "$_vcd"
echocheck "dvdread"
if test "$_dvdread_internal" = auto ; then
_dvdread_internal=no
- if linux || freebsd || netbsd || darwin || openbsd || win32 || sunos || hpux && \
- test "$_dvd" = yes || test "$_cdrom" = yes || test "$_cdio" = yes || \
+ if (linux || freebsd || netbsd || darwin || openbsd || win32 || sunos || hpux) && \
+ (test "$_dvd" = yes || test "$_cdrom" = yes || test "$_cdio" = yes || \
test "$_dvdio" = yes || test "$_bsdi_dvd" = yes || \
- test "$_hpux_scsi_h" = yes ; then
+ test "$_hpux_scsi_h" = yes); then
_dvdread_internal=yes
_dvdread=yes
fi