comparison configure @ 26607:05b0039be9aa

Remove --disable-gcc-check option and related code.
author diego
date Thu, 01 May 2008 17:32:52 +0000
parents 921d501d924b
children 8bcfc2e6a65e
comparison
equal deleted inserted replaced
26606:921d501d924b 26607:05b0039be9aa
431 --enable-profile compile-in profiling information [disable] 431 --enable-profile compile-in profiling information [disable]
432 --disable-sighandler disable sighandler for crashes [enable] 432 --disable-sighandler disable sighandler for crashes [enable]
433 --enable-crash-debug enable automatic gdb attach on crash [disable] 433 --enable-crash-debug enable automatic gdb attach on crash [disable]
434 --enable-dynamic-plugins enable dynamic A/V plugins [disable] 434 --enable-dynamic-plugins enable dynamic A/V plugins [disable]
435 435
436 Hazardous options AKA "DO NOT REPORT ANY BUGS!"
437 --disable-gcc-check disable gcc version checking [enable]
438
439 Use these options if autodetection fails (Options marked with (*) accept 436 Use these options if autodetection fails (Options marked with (*) accept
440 multiple paths separated by ':'): 437 multiple paths separated by ':'):
441 --extra-libs=FLAGS extra linker flags 438 --extra-libs=FLAGS extra linker flags
442 --extra-libs-mplayer=FLAGS extra linker flags for MPlayer 439 --extra-libs-mplayer=FLAGS extra linker flags for MPlayer
443 --extra-libs-mencoder=FLAGS extra linker flags for MEncoder 440 --extra-libs-mencoder=FLAGS extra linker flags for MEncoder
482 _ranlib=ranlib 479 _ranlib=ranlib
483 _windres=windres 480 _windres=windres
484 _cc=cc 481 _cc=cc
485 _ar=ar 482 _ar=ar
486 test "$CC" && _cc="$CC" 483 test "$CC" && _cc="$CC"
487 _gcc_check=yes
488 _as=auto 484 _as=auto
489 _runtime_cpudetection=no 485 _runtime_cpudetection=no
490 _cross_compile=auto 486 _cross_compile=auto
491 _prefix="/usr/local" 487 _prefix="/usr/local"
492 _libavutil_a=auto 488 _libavutil_a=auto
804 _debug=`echo $_echo_n '-g'$_echo_c; echo $ac_option | cut -d '=' -f 2` 800 _debug=`echo $_echo_n '-g'$_echo_c; echo $ac_option | cut -d '=' -f 2`
805 ;; 801 ;;
806 --disable-debug) 802 --disable-debug)
807 _debug= 803 _debug=
808 ;; 804 ;;
809 --enable-gcc-check) _gcc_check=yes ;;
810 --disable-gcc-check) _gcc_check=no ;;
811 --enable-runtime-cpudetection) _runtime_cpudetection=yes ;; 805 --enable-runtime-cpudetection) _runtime_cpudetection=yes ;;
812 --disable-runtime-cpudetection) _runtime_cpudetection=no ;; 806 --disable-runtime-cpudetection) _runtime_cpudetection=no ;;
813 --enable-cross-compile) _cross_compile=yes ;; 807 --enable-cross-compile) _cross_compile=yes ;;
814 --disable-cross-compile) _cross_compile=no ;; 808 --disable-cross-compile) _cross_compile=no ;;
815 --enable-mencoder) _mencoder=yes ;; 809 --enable-mencoder) _mencoder=yes ;;
1407 else 1401 else
1408 _tail() { tail -n $1 2>/dev/null ; } 1402 _tail() { tail -n $1 2>/dev/null ; }
1409 fi 1403 fi
1410 1404
1411 # Checking CC version... 1405 # Checking CC version...
1412 if test "$_gcc_check" = yes ; then
1413 # Intel C++ Compilers (no autoselect, use CC=/some/binary ./configure) 1406 # Intel C++ Compilers (no autoselect, use CC=/some/binary ./configure)
1414 if test "`basename $_cc`" = "icc" || test "`basename $_cc`" = "ecc"; then 1407 if test "`basename $_cc`" = "icc" || test "`basename $_cc`" = "ecc"; then
1415 echocheck "$_cc version" 1408 echocheck "$_cc version"
1416 cc_vendor=intel 1409 cc_vendor=intel
1417 cc_name=`$_cc -V 2>&1 | _head 1 | cut -d ',' -f 1` 1410 cc_name=`$_cc -V 2>&1 | _head 1 | cut -d ',' -f 1`
1486 GCC 2.96 IS NOT AND WILL NOT BE SUPPORTED BY US ! 1479 GCC 2.96 IS NOT AND WILL NOT BE SUPPORTED BY US !
1487 1480
1488 EOF 1481 EOF
1489 die "Bad gcc version" 1482 die "Bad gcc version"
1490 fi 1483 fi
1491 else 1484
1492 cat <<EOF
1493
1494 ******************************************************************************
1495
1496 Hmm. You really want to compile MPlayer with an *UNSUPPORTED* C compiler?
1497 Ok. You know. Do it.
1498
1499 DO NOT SEND BUGREPORTS OR COMPLAIN, it's *YOUR* compiler's fault!
1500 Get ready for mysterious crashes, no-picture bugs, strange noises... REALLY!
1501 Lame which is used by mencoder produces weird errors, too.
1502
1503 If you have any problem, install a GCC 2.95.x or 3.x version and try again.
1504 If the problem _still_ exists, then read DOCS/HTML/en/bugreports.html !
1505
1506 *** DO NOT SEND BUG REPORTS OR COMPLAIN it's *YOUR* compiler's fault! ***
1507
1508 ******************************************************************************
1509
1510 EOF
1511
1512 read _answer
1513
1514 fi
1515 echocheck "host cc" 1485 echocheck "host cc"
1516 test "$_host_cc" || _host_cc=$_cc 1486 test "$_host_cc" || _host_cc=$_cc
1517 echores $_host_cc 1487 echores $_host_cc
1518 1488
1519 echocheck "cross compilation" 1489 echocheck "cross compilation"