Browse Source

rename shell variable _altivec_h to altivec_h

Originally committed as revision 7022 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Måns Rullgård 19 years ago
parent
commit
6e7a01e471
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      configure

+ 3
- 3
configure View File

@@ -1208,11 +1208,11 @@ if test $arch = "powerpc"; then
fi fi
fi fi


check_header altivec.h && _altivec_h=yes || _altivec_h=no
check_header altivec.h && altivec_h=yes || altivec_h=no


# check if our compiler supports Motorola AltiVec C API # check if our compiler supports Motorola AltiVec C API
if test $altivec = "yes"; then if test $altivec = "yes"; then
if test $_altivec_h = "yes"; then
if test $altivec_h = "yes"; then
inc_altivec_h="#include <altivec.h>" inc_altivec_h="#include <altivec.h>"
else else
inc_altivec_h= inc_altivec_h=
@@ -1813,7 +1813,7 @@ fi
if test "$altivec" = "yes" ; then if test "$altivec" = "yes" ; then
echo "TARGET_ALTIVEC=yes" >> config.mak echo "TARGET_ALTIVEC=yes" >> config.mak
echo "#define HAVE_ALTIVEC 1" >> $TMPH echo "#define HAVE_ALTIVEC 1" >> $TMPH
if test "$_altivec_h" = "yes" ; then
if test "$altivec_h" = "yes" ; then
echo "#define HAVE_ALTIVEC_H 1" >> $TMPH echo "#define HAVE_ALTIVEC_H 1" >> $TMPH
else else
echo "#undef HAVE_ALTIVEC_H" >> $TMPH echo "#undef HAVE_ALTIVEC_H" >> $TMPH


Loading…
Cancel
Save