Mercurial > mplayer.hg
changeset 26599:ebdaff17896e
cosmetics: Simplify altivec.h test.
author | diego |
---|---|
date | Thu, 01 May 2008 13:49:53 +0000 |
parents | ee15950f50a7 |
children | 914b1cee2a4f |
files | configure |
diffstat | 1 files changed, 4 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/configure Thu May 01 13:46:17 2008 +0000 +++ b/configure Thu May 01 13:49:53 2008 +0000 @@ -2497,19 +2497,15 @@ fi # check if <altivec.h> should be included - + echocheck "altivec.h" _def_altivec_h='#undef HAVE_ALTIVEC_H' - - echocheck "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