comparison configure @ 19082:a2f20562aac3

Remove support for obsolete and non-free divx4/odivx libraries.
author diego
date Fri, 14 Jul 2006 17:14:16 +0000
parents b508e7ef1ea8
children 9b4f87f86bec
comparison
equal deleted inserted replaced
19081:273bdef43012 19082:a2f20562aac3
258 --disable-qtx disable Quicktime codecs [autodetect] 258 --disable-qtx disable Quicktime codecs [autodetect]
259 --disable-xanim disable XAnim DLL support [autodetect] 259 --disable-xanim disable XAnim DLL support [autodetect]
260 --disable-real disable RealPlayer DLL support [autodetect] 260 --disable-real disable RealPlayer DLL support [autodetect]
261 --disable-xvid disable XviD codec [autodetect] 261 --disable-xvid disable XviD codec [autodetect]
262 --disable-x264 disable H.264 encoder [autodetect] 262 --disable-x264 disable H.264 encoder [autodetect]
263 --disable-divx4linux disable DivX4linux/Divx5linux codec [autodetect]
264 --enable-opendivx enable _old_ OpenDivx codec [disable]
265 --disable-libavutil disable libavutil [autodetect] 263 --disable-libavutil disable libavutil [autodetect]
266 --disable-libavcodec disable libavcodec [autodetect] 264 --disable-libavcodec disable libavcodec [autodetect]
267 --disable-libavformat disable libavformat [autodetect] 265 --disable-libavformat disable libavformat [autodetect]
268 --disable-libpostproc disable libpostproc [autodetect] 266 --disable-libpostproc disable libpostproc [autodetect]
269 --disable-libavutil_so disable shared libavutil [autodetect] 267 --disable-libavutil_so disable shared libavutil [autodetect]
1659 _vidix_internal=auto 1657 _vidix_internal=auto
1660 _vidix_external=auto 1658 _vidix_external=auto
1661 _joystick=no 1659 _joystick=no
1662 _xvid=auto 1660 _xvid=auto
1663 _x264=auto 1661 _x264=auto
1664 _divx4linux=auto
1665 _opendivx=no
1666 _lirc=auto 1662 _lirc=auto
1667 _lircc=auto 1663 _lircc=auto
1668 _gui=no 1664 _gui=no
1669 _gtk1=no 1665 _gtk1=no
1670 _termcap=auto 1666 _termcap=auto
1906 --disable-joystick) _joystick=no ;; 1902 --disable-joystick) _joystick=no ;;
1907 --enable-xvid) _xvid=yes ;; 1903 --enable-xvid) _xvid=yes ;;
1908 --disable-xvid) _xvid=no ;; 1904 --disable-xvid) _xvid=no ;;
1909 --enable-x264) _x264=yes ;; 1905 --enable-x264) _x264=yes ;;
1910 --disable-x264) _x264=no ;; 1906 --disable-x264) _x264=no ;;
1911 --enable-divx4linux) _divx4linux=yes ;;
1912 --disable-divx4linux) _divx4linux=no ;;
1913 --enable-opendivx) _opendivx=yes ;;
1914 --disable-opendivx) _opendivx=no ;;
1915 --enable-libavutil) _libavutil=yes ;; 1907 --enable-libavutil) _libavutil=yes ;;
1916 --disable-libavutil) _libavutil=no ;; 1908 --disable-libavutil) _libavutil=no ;;
1917 --enable-libavutil_so) _libavutil_so=yes ;; 1909 --enable-libavutil_so) _libavutil_so=yes ;;
1918 --disable-libavutil_so) _libavutil_so=no ;; 1910 --disable-libavutil_so) _libavutil_so=no ;;
1919 --enable-libavcodec) _libavcodec=yes ;; 1911 --enable-libavcodec) _libavcodec=yes ;;
6557 _def_lavc_x264='#undef CONFIG_X264' 6549 _def_lavc_x264='#undef CONFIG_X264'
6558 _nocodecmodules="x264 $_nocodecmodules" 6550 _nocodecmodules="x264 $_nocodecmodules"
6559 fi 6551 fi
6560 echores "$_x264" 6552 echores "$_x264"
6561 6553
6562 echocheck "DivX4linux/DivX5linux/OpenDivX decore" 6554
6563 # DivX5: DEC_OPT_MEMORY_REQS - DivX4: DEC_OPT_FRAME_311 6555 # mencoder requires (optional) those libs: libmp3lame
6564 cat > $TMPC << EOF
6565 #include <decore.h>
6566 int main(void) { (void) decore(0, 0, 0, 0); return DEC_OPT_FRAME_311; }
6567 EOF
6568 if test "$_divx4linux" != no && cc_check $_ld_lm -ldivxdecore ; then
6569 _divx=yes
6570 _opendivx=no
6571 _ld_decore='-ldivxdecore'
6572 _def_decore='#define NEW_DECORE 1'
6573 _def_divx='#define USE_DIVX'
6574 _def_divx5='#undef DECORE_DIVX5'
6575 _def_odivx_postprocess='#undef HAVE_ODIVX_POSTPROCESS'
6576 _codecmodules="divx4linux $_codecmodules"
6577 _res_comment="DivX4linux - with libdivxdecore.so"
6578 else
6579 # if test "$_divx4linux" != no ; then
6580 # DivX5 check
6581 # OdivxPP disabled because of:
6582 # ld: Warning: type of symbol `dering' changed from 1 to 2 in opendivx/postprocess.o
6583 cat > $TMPC << EOF
6584 #include <decore.h>
6585 int main(void) { (void) decore(0, 0, 0, 0); return DEC_OPT_INIT; }
6586 EOF
6587 if test "$_divx4linux" != no && cc_check $_ld_lm -ldivxdecore ; then
6588 _divx=yes
6589 _opendivx=no
6590 # _ld_decore='-ldivxdecore opendivx/postprocess.o'
6591 _ld_decore='-ldivxdecore'
6592 _def_decore='#define NEW_DECORE 1'
6593 _def_divx='#define USE_DIVX'
6594 _def_divx5='#define DECORE_DIVX5 1'
6595 # _def_odivx_postprocess='#define HAVE_ODIVX_POSTPROCESS 1'
6596 _def_odivx_postprocess='#undef HAVE_ODIVX_POSTPROCESS'
6597 _codecmodules="divx5linux $_codecmodules"
6598 _nocodecmodules="divx4linux $_nocodecmodules"
6599 _res_comment="DivX5linux - with libdivxdecore.so"
6600 elif test "$_opendivx" != no ; then
6601 _divx=yes
6602 _opendivx=yes
6603 _ld_decore='opendivx/libdecore.a'
6604 _def_decore='#undef NEW_DECORE'
6605 _def_divx='#define USE_DIVX'
6606 _def_divx5='#undef DECORE_DIVX5'
6607 _def_odivx_postprocess='#define HAVE_ODIVX_POSTPROCESS 1'
6608 _codecmodules="opendivx $_codecmodules"
6609 _nocodecmodules="divx5linux $_nocodecmodules"
6610 _res_comment="OpenDivX"
6611 elif test "$_xvidcompat" = yes ; then
6612 _divx=yes
6613 _opendivx=no
6614 _ld_decore=''
6615 _def_decore='#define NEW_DECORE 1'
6616 _def_divx='#define USE_DIVX 1'
6617 _def_divx5='#undef DECORE_DIVX5'
6618 _def_decore_xvid='#define DECORE_XVID 1'
6619 _def_odivx_postprocess='#undef HAVE_ODIVX_POSTPROCESS'
6620 _nocodecmodules="opendivx divx5linux divx4linux $_nocodecmodules"
6621 _res_comment="XviD compat."
6622 else
6623 _divx=no
6624 _opendivx=no
6625 _ld_decore=''
6626 _def_decore='#undef NEW_DECORE'
6627 _def_divx='#undef USE_DIVX'
6628 _def_divx5='#undef DECORE_DIVX5'
6629 _def_odivx_postprocess='#undef HAVE_ODIVX_POSTPROCESS'
6630 _nocodecmodules="opendivx $_nocodecmodules"
6631 fi # DivX5 check
6632 fi
6633 echores "$_divx"
6634
6635
6636 # mencoder requires (optional) those libs: libmp3lame and divx4linux encore
6637 if test "$_mencoder" != no ; then 6556 if test "$_mencoder" != no ; then
6638 6557
6639 echocheck "libmp3lame (for mencoder)" 6558 echocheck "libmp3lame (for mencoder)"
6640 _mp3lame=no 6559 _mp3lame=no
6641 _def_mp3lame_preset='#undef HAVE_MP3LAME_PRESET' 6560 _def_mp3lame_preset='#undef HAVE_MP3LAME_PRESET'
6662 cc_check $_ld_mp3lame $_ld_lm && _def_mp3lame_preset_medium="#define HAVE_MP3LAME_PRESET_MEDIUM" 6581 cc_check $_ld_mp3lame $_ld_lm && _def_mp3lame_preset_medium="#define HAVE_MP3LAME_PRESET_MEDIUM"
6663 else 6582 else
6664 _def_mp3lame='#undef HAVE_MP3LAME' 6583 _def_mp3lame='#undef HAVE_MP3LAME'
6665 fi 6584 fi
6666 echores "$_mp3lame" 6585 echores "$_mp3lame"
6667
6668
6669 echocheck "DivX4linux encore (for mencoder)"
6670 cat > $TMPC << EOF
6671 #include <encore2.h>
6672 int main(void) { (void) encore(0, 0, 0, 0); return 0; }
6673 EOF
6674 if test "$_divx4linux" != no && cc_check -ldivxencore $_ld_lm ; then
6675 _divx_encore=yes
6676 _def_encore='#define HAVE_DIVX4ENCORE 1'
6677 _ld_encore='-ldivxencore'
6678 _res_comment="DivX4linux - with libdivxencore.so"
6679 elif test "$_xvidcompat" = yes ; then
6680 _divx_encore=yes
6681 _def_encore='#define HAVE_DIVX4ENCORE 1'
6682 _ld_encore=''
6683 _def_encore_xvid='#define ENCORE_XVID 1'
6684 _res_comment="XviD compatibility"
6685 else
6686 _divx_encore=no
6687 _def_encore='#undef HAVE_DIVX4ENCORE'
6688 fi
6689 echores "$_divx_encore"
6690 6586
6691 fi 6587 fi
6692 6588
6693 echocheck "mencoder" 6589 echocheck "mencoder"
6694 _mencoder_flag='#undef HAVE_MENCODER' 6590 _mencoder_flag='#undef HAVE_MENCODER'
7432 EXTERNAL_VIDIX = $_vidix_external 7328 EXTERNAL_VIDIX = $_vidix_external
7433 EXTERNAL_VIDIX_LIB = $_ld_vidix_external 7329 EXTERNAL_VIDIX_LIB = $_ld_vidix_external
7434 CONFIG_PP = yes 7330 CONFIG_PP = yes
7435 CONFIG_MP3LAME = $_mp3lame 7331 CONFIG_MP3LAME = $_mp3lame
7436 LIBMENU = $_menu 7332 LIBMENU = $_menu
7437
7438 DIVX = $_divx
7439 OPENDIVX = $_opendivx
7440 DIVX4ENCORE = $_divx_encore
7441 7333
7442 MP3LIB = $_mp3lib 7334 MP3LIB = $_mp3lib
7443 LIBA52 = $_liba52 7335 LIBA52 = $_liba52
7444 LIBMPEG2 = $_libmpeg2 7336 LIBMPEG2 = $_libmpeg2
7445 TREMOR = $_tremor_internal 7337 TREMOR = $_tremor_internal
7556 X264 = $_x264 7448 X264 = $_x264
7557 X264_INC = $_inc_x264 7449 X264_INC = $_inc_x264
7558 X264_LIB = $_ld_x264 7450 X264_LIB = $_ld_x264
7559 CONFIG_DTS = $_libdts 7451 CONFIG_DTS = $_libdts
7560 DTS_LIB = $_ld_libdts 7452 DTS_LIB = $_ld_libdts
7561 DECORE_LIB = $_ld_decore $_ld_mp3lame 7453 DECORE_LIB = $_ld_mp3lame
7562 MENCODER = $_mencoder 7454 MENCODER = $_mencoder
7563 ENCORE_LIB = $_ld_encore $_ld_mp3lame 7455 ENCORE_LIB = $_ld_mp3lame
7564 DIRECTFB_INC = $_inc_directfb 7456 DIRECTFB_INC = $_inc_directfb
7565 DIRECTFB_LIB = $_ld_directfb 7457 DIRECTFB_LIB = $_ld_directfb
7566 CDDA = $_cdda 7458 CDDA = $_cdda
7567 CDPARANOIA_INC = $_inc_cdparanoia 7459 CDPARANOIA_INC = $_inc_cdparanoia
7568 CDPARANOIA_LIB = $_ld_cdparanoia 7460 CDPARANOIA_LIB = $_ld_cdparanoia
7741 7633
7742 /* Define this to compile stream-caching support, it can be enabled via 7634 /* Define this to compile stream-caching support, it can be enabled via
7743 -cache <kilobytes> */ 7635 -cache <kilobytes> */
7744 #define USE_STREAM_CACHE 1 7636 #define USE_STREAM_CACHE 1
7745 7637
7746 /* Define to include support for XviD/Divx4Linux/OpenDivx */
7747 $_def_divx
7748
7749 /* Define to use the new XviD/DivX4Linux library instead of open source OpenDivX */
7750 /* You have to change DECORE_LIBS in config.mak, too! */
7751 $_def_decore
7752
7753 /* Define if you are using DivX5Linux Decore library */
7754 $_def_divx5
7755
7756 /* Define if you are using XviD library */ 7638 /* Define if you are using XviD library */
7757 $_def_xvid3 7639 $_def_xvid3
7758 $_def_xvid4 7640 $_def_xvid4
7759 $_def_decore_xvid 7641 $_def_decore_xvid
7760 $_def_encore_xvid 7642 $_def_encore_xvid
7765 /* Define to include support for libdv-0.9.5 */ 7647 /* Define to include support for libdv-0.9.5 */
7766 $_def_libdv 7648 $_def_libdv
7767 7649
7768 /* If build mencoder */ 7650 /* If build mencoder */
7769 $_mencoder_flag 7651 $_mencoder_flag
7770
7771 /* Indicates if XviD/Divx4linux encore is available
7772 Note: for mencoder */
7773 $_def_encore
7774 7652
7775 /* Indicates if libmp3lame is available 7653 /* Indicates if libmp3lame is available
7776 Note: for mencoder */ 7654 Note: for mencoder */
7777 $_def_mp3lame 7655 $_def_mp3lame
7778 $_def_mp3lame_preset 7656 $_def_mp3lame_preset
7938 #define MPEG12_POSTPROC 1 7816 #define MPEG12_POSTPROC 1
7939 7817
7940 /* Define this to enable image postprocessing in libavcodec (requires a FAST CPU!) */ 7818 /* Define this to enable image postprocessing in libavcodec (requires a FAST CPU!) */
7941 $_def_libpostproc 7819 $_def_libpostproc
7942 $_def_libpostproc_so 7820 $_def_libpostproc_so
7943
7944 /* Define to include support for OpenDivx postprocessing */
7945 $_def_odivx_postprocess
7946 7821
7947 /* Win32 DLL support */ 7822 /* Win32 DLL support */
7948 $_def_win32 7823 $_def_win32
7949 #define WIN32_PATH "$_win32libdir" 7824 #define WIN32_PATH "$_win32libdir"
7950 7825