Mercurial > mplayer.hg
changeset 26611:25d9f749e58c
cosmetics: Reindent after last commit and reformat comment.
author | diego |
---|---|
date | Thu, 01 May 2008 17:51:04 +0000 |
parents | fe9343c1e5f3 |
children | 87d096a58965 |
files | configure |
diffstat | 1 files changed, 29 insertions(+), 30 deletions(-) [+] |
line wrap: on
line diff
--- a/configure Thu May 01 17:48:38 2008 +0000 +++ b/configure Thu May 01 17:51:04 2008 +0000 @@ -2408,41 +2408,40 @@ _altivec_gcc_flags='' - echocheck "GCC altivec support" + echocheck "GCC altivec support" - p='' - cat > $TMPC << EOF + p='' + cat > $TMPC << EOF int main(void) { return 0; } EOF - FSF_flags='-maltivec -mabi=altivec' - Darwin_flags='-faltivec' - - # check for Darwin-style flags first, since - # gcc-3.3 (August Update from Apple) on MacOS 10.2.8 - # accepts but ignores FSF-style flags... - - if test -z "$p"; then - cc_check $Darwin_flags && p='Darwin' - fi - if test -z "$p"; then - cc_check $FSF_flags && p='FSF' - fi - - case $p in - FSF) _altivec_gcc_flags="$FSF_flags" _altivec=yes ;; - Darwin) _altivec_gcc_flags="$Darwin_flags" _altivec=yes ;; - *) _altivec=no ;; - esac - - if test -z "$p"; then - p=none - else - p="$p-style ($_altivec_gcc_flags)" - fi - - echores "$p" + FSF_flags='-maltivec -mabi=altivec' + Darwin_flags='-faltivec' + + # check for Darwin-style flags first, since gcc-3.3 (August Update + # from Apple) on MacOS 10.2.8 accepts but ignores FSF-style flags... + + if test -z "$p"; then + cc_check $Darwin_flags && p='Darwin' + fi + if test -z "$p"; then + cc_check $FSF_flags && p='FSF' + fi + + case $p in + FSF) _altivec_gcc_flags="$FSF_flags" _altivec=yes ;; + Darwin) _altivec_gcc_flags="$Darwin_flags" _altivec=yes ;; + *) _altivec=no ;; + esac + + if test -z "$p"; then + p=none + else + p="$p-style ($_altivec_gcc_flags)" + fi + + echores "$p" # check if <altivec.h> should be included echocheck "altivec.h"