comparison configure @ 31546:e7aa0fde4e34

cosmetics: Rename _warn_CFLAGS variable to warn_cflags.
author diego
date Thu, 01 Jul 2010 22:19:57 +0000
parents 8e5ba4ae7c36
children 05537cb15be6
comparison
equal deleted inserted replaced
31545:4500ce87a70c 31546:e7aa0fde4e34
2538 else 2538 else
2539 CFLAGS="-Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 $_march $_mcpu $_pipe -ffast-math -fomit-frame-pointer" 2539 CFLAGS="-Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 $_march $_mcpu $_pipe -ffast-math -fomit-frame-pointer"
2540 extra_ldflags="$extra_ldflags -ffast-math" 2540 extra_ldflags="$extra_ldflags -ffast-math"
2541 fi 2541 fi
2542 else 2542 else
2543 _warn_CFLAGS=yes 2543 warn_cflags=yes
2544 fi 2544 fi
2545 2545
2546 cat > $TMPC << EOF 2546 cat > $TMPC << EOF
2547 int main(void) { return 0; } 2547 int main(void) { return 0; }
2548 EOF 2548 EOF
2562 cc_check -MD -MP && CFLAGS="-MD -MP $CFLAGS" 2562 cc_check -MD -MP && CFLAGS="-MD -MP $CFLAGS"
2563 2563
2564 2564
2565 if test -n "$LDFLAGS" ; then 2565 if test -n "$LDFLAGS" ; then
2566 extra_ldflags="$extra_ldflags $LDFLAGS" 2566 extra_ldflags="$extra_ldflags $LDFLAGS"
2567 _warn_CFLAGS=yes 2567 warn_cflags=yes
2568 elif test "$cc_vendor" = "intel" ; then 2568 elif test "$cc_vendor" = "intel" ; then
2569 extra_ldflags="$extra_ldflags -i-static" 2569 extra_ldflags="$extra_ldflags -i-static"
2570 fi 2570 fi
2571 if test -n "$CPPFLAGS" ; then 2571 if test -n "$CPPFLAGS" ; then
2572 extra_cflags="$extra_cflags $CPPFLAGS" 2572 extra_cflags="$extra_cflags $CPPFLAGS"
2573 _warn_CFLAGS=yes 2573 warn_cflags=yes
2574 fi 2574 fi
2575 2575
2576 2576
2577 2577
2578 if x86_32 ; then 2578 if x86_32 ; then
2707 case "$objformat" in 2707 case "$objformat" in
2708 elf) test $_debug && YASMFLAGS="$YASMFLAGS -g dwarf2" ;; 2708 elf) test $_debug && YASMFLAGS="$YASMFLAGS -g dwarf2" ;;
2709 *) YASMFLAGS="$YASMFLAGS -DPREFIX" ;; 2709 *) YASMFLAGS="$YASMFLAGS -DPREFIX" ;;
2710 esac 2710 esac
2711 else 2711 else
2712 _warn_CFLAGS=yes 2712 warn_cflags=yes
2713 fi 2713 fi
2714 2714
2715 echo "pabsw xmm0, xmm0" > $TMPS 2715 echo "pabsw xmm0, xmm0" > $TMPS
2716 yasm_check || _yasm="" 2716 yasm_check || _yasm=""
2717 if test $_yasm ; then 2717 if test $_yasm ; then
9378 9378
9379 If you suspect a bug, please read DOCS/HTML/$doc_lang/bugreports.html. 9379 If you suspect a bug, please read DOCS/HTML/$doc_lang/bugreports.html.
9380 9380
9381 EOF 9381 EOF
9382 9382
9383 if test "$_warn_CFLAGS" = yes; then 9383 if test "$warn_cflags" = yes; then
9384 cat <<EOF 9384 cat <<EOF
9385 9385
9386 MPlayer compilation will use the CPPFLAGS/CFLAGS/LDFLAGS/YASMFLAGS set by you, 9386 MPlayer compilation will use the CPPFLAGS/CFLAGS/LDFLAGS/YASMFLAGS set by you,
9387 but: 9387 but:
9388 9388