diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-05-10 13:40:36 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-05-10 13:40:36 +0000 |
commit | 26f561576260616c4f1f4d7b0a93337bc23f3470 (patch) | |
tree | 4331ff6fe29bf8dd9889a05dc6bf78ba9fb9e03a /configure | |
parent | 3f747ea3a7c4bce7915b6964a51d5d6a17fac3a9 (diff) | |
download | mpv-26f561576260616c4f1f4d7b0a93337bc23f3470.tar.bz2 mpv-26f561576260616c4f1f4d7b0a93337bc23f3470.tar.xz |
Replace some if constructs with && in the AltiVec test.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26716 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 14 |
1 files changed, 5 insertions, 9 deletions
@@ -2457,19 +2457,15 @@ EOF # Disable runtime cpudetection if we cannot generate AltiVec code or # AltiVec is disabled by the user. - if test "$_runtime_cpudetection" = yes -a "$_altivec" = no ; then - _runtime_cpudetection=no - fi + test "$_runtime_cpudetection" = yes && test "$_altivec" = no \ + && _runtime_cpudetection=no # Show that we are optimizing for AltiVec (if enabled and supported). - if test "$_runtime_cpudetection" = no -a "$_altivec" = yes ; then - _optimizing="$_optimizing altivec" - fi + test "$_runtime_cpudetection" = no && test "$_altivec" = yes \ + && _optimizing="$_optimizing altivec" # If AltiVec is enabled, make sure the correct flags turn up in CFLAGS. - if test "$_altivec" = yes ; then - CFLAGS="$CFLAGS $_altivec_gcc_flags" - fi + test "$_altivec" = yes && CFLAGS="$CFLAGS $_altivec_gcc_flags" fi if arm ; then |