cosmetics: Reindent after last commit and reformat comment.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26643 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2008-05-01 17:51:04 +00:00
parent 6ff2ac06fd
commit efd42817e4
1 changed files with 24 additions and 25 deletions

49
configure vendored
View File

@ -2408,41 +2408,40 @@ if ppc ; then
_altivec_gcc_flags='' _altivec_gcc_flags=''
echocheck "GCC altivec support" echocheck "GCC altivec support"
p='' p=''
cat > $TMPC << EOF cat > $TMPC << EOF
int main(void) { int main(void) {
return 0; return 0;
} }
EOF EOF
FSF_flags='-maltivec -mabi=altivec' FSF_flags='-maltivec -mabi=altivec'
Darwin_flags='-faltivec' Darwin_flags='-faltivec'
# check for Darwin-style flags first, since # check for Darwin-style flags first, since gcc-3.3 (August Update
# gcc-3.3 (August Update from Apple) on MacOS 10.2.8 # from Apple) on MacOS 10.2.8 accepts but ignores FSF-style flags...
# accepts but ignores FSF-style flags...
if test -z "$p"; then if test -z "$p"; then
cc_check $Darwin_flags && p='Darwin' cc_check $Darwin_flags && p='Darwin'
fi fi
if test -z "$p"; then if test -z "$p"; then
cc_check $FSF_flags && p='FSF' cc_check $FSF_flags && p='FSF'
fi fi
case $p in case $p in
FSF) _altivec_gcc_flags="$FSF_flags" _altivec=yes ;; FSF) _altivec_gcc_flags="$FSF_flags" _altivec=yes ;;
Darwin) _altivec_gcc_flags="$Darwin_flags" _altivec=yes ;; Darwin) _altivec_gcc_flags="$Darwin_flags" _altivec=yes ;;
*) _altivec=no ;; *) _altivec=no ;;
esac esac
if test -z "$p"; then if test -z "$p"; then
p=none p=none
else else
p="$p-style ($_altivec_gcc_flags)" p="$p-style ($_altivec_gcc_flags)"
fi fi
echores "$p" echores "$p"
# check if <altivec.h> should be included # check if <altivec.h> should be included
echocheck "altivec.h" echocheck "altivec.h"