Mercurial > mplayer.hg
comparison configure @ 19424:5df27eeec3bf
Rename gcc_checking variable to gcc_check.
author | diego |
---|---|
date | Thu, 17 Aug 2006 23:40:11 +0000 |
parents | c31ca009077a |
children | 4c2018ab7d45 |
comparison
equal
deleted
inserted
replaced
19423:25bd26d7e650 | 19424:5df27eeec3bf |
---|---|
460 _mtrr=auto | 460 _mtrr=auto |
461 _install=install | 461 _install=install |
462 _ranlib=ranlib | 462 _ranlib=ranlib |
463 _cc=cc | 463 _cc=cc |
464 test "$CC" && _cc="$CC" | 464 test "$CC" && _cc="$CC" |
465 _gcc_check=yes | |
465 _as=auto | 466 _as=auto |
466 _runtime_cpudetection=no | 467 _runtime_cpudetection=no |
467 _cross_compile=auto | 468 _cross_compile=auto |
468 for ac_option do | 469 for ac_option do |
469 case "$ac_option" in | 470 case "$ac_option" in |
478 ;; | 479 ;; |
479 --as=*) | 480 --as=*) |
480 _as=`echo $ac_option | cut -d '=' -f 2` | 481 _as=`echo $ac_option | cut -d '=' -f 2` |
481 ;; | 482 ;; |
482 --enable-gcc-checking) | 483 --enable-gcc-checking) |
483 _gcc_checking=yes | 484 _gcc_check=yes |
484 ;; | 485 ;; |
485 --disable-gcc-checking) | 486 --disable-gcc-checking) |
486 _gcc_checking=no | 487 _gcc_check=no |
487 ;; | 488 ;; |
488 --enable-static) | 489 --enable-static) |
489 _ld_static='-static' | 490 _ld_static='-static' |
490 ;; | 491 ;; |
491 --disable-static) | 492 --disable-static) |
671 else | 672 else |
672 _tail() { tail -n $1 2>/dev/null ; } | 673 _tail() { tail -n $1 2>/dev/null ; } |
673 fi | 674 fi |
674 | 675 |
675 # Checking CC version... | 676 # Checking CC version... |
676 if test "$_gcc_checking" != no ; then | 677 if test "$_gcc_check" = yes ; then |
677 # Intel C++ Compilers (no autoselect, use CC=/some/binary ./configure) | 678 # Intel C++ Compilers (no autoselect, use CC=/some/binary ./configure) |
678 if test "`basename $_cc`" = "icc" || test "`basename $_cc`" = "ecc"; then | 679 if test "`basename $_cc`" = "icc" || test "`basename $_cc`" = "ecc"; then |
679 echocheck "$_cc version" | 680 echocheck "$_cc version" |
680 cc_vendor=intel | 681 cc_vendor=intel |
681 cc_name=`$_cc -V 2>&1 | _head 1 | cut -d ',' -f 1` | 682 cc_name=`$_cc -V 2>&1 | _head 1 | cut -d ',' -f 1` |