[MPlayer-cvslog] r26631 - trunk/configure

diego subversion at mplayerhq.hu
Thu May 1 15:49:53 CEST 2008


Author: diego
Date: Thu May  1 15:49:53 2008
New Revision: 26631

Log:
cosmetics: Simplify altivec.h test.


Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	(original)
+++ trunk/configure	Thu May  1 15:49:53 2008
@@ -2497,19 +2497,15 @@ EOF
     fi
 
     # check if <altivec.h> should be included
-
-    _def_altivec_h='#undef HAVE_ALTIVEC_H'
-
     echocheck "altivec.h"
+    _def_altivec_h='#undef HAVE_ALTIVEC_H'
+    _have_altivec_h=no
     cat > $TMPC << EOF
 #include <altivec.h>
 int main(void) { return 0; }
 EOF
-    _have_altivec_h=no
-    cc_check $_altivec_gcc_flags && _have_altivec_h=yes
-    if test "$_have_altivec_h" = yes ; then
-        _def_altivec_h='#define HAVE_ALTIVEC_H 1'
-    fi
+    cc_check $_altivec_gcc_flags && _have_altivec_h=yes \
+        && _def_altivec_h='#define HAVE_ALTIVEC_H 1'
     echores "$_have_altivec_h"
 
     # disable runtime cpudetection if 



More information about the MPlayer-cvslog mailing list