Mercurial > mplayer.hg
comparison configure @ 5777:578a48174545
add libmpdvdkit lib
author | pontscho |
---|---|
date | Sun, 21 Apr 2002 21:18:28 +0000 |
parents | 4593e6189c20 |
children | 6c453e75e78f |
comparison
equal
deleted
inserted
replaced
5776:1f320716fe92 | 5777:578a48174545 |
---|---|
143 --disable-new-input disable new input system [enable] | 143 --disable-new-input disable new input system [enable] |
144 --enable-joystick enable joystick support in new input [disable] | 144 --enable-joystick enable joystick support in new input [disable] |
145 --enable-i18n GNU internationalisation [disable] | 145 --enable-i18n GNU internationalisation [disable] |
146 --disable-runtime-cpudetection disable runtime CPU detection [enable] | 146 --disable-runtime-cpudetection disable runtime CPU detection [enable] |
147 --disable-dvdnav Disable dvdnav support [autodetect] | 147 --disable-dvdnav Disable dvdnav support [autodetect] |
148 --disable-dvdread Disable libdvdread support [autodetect] | |
149 --disable-mpdvdkit Disable mpdvdkit support [autodetect] | |
148 | 150 |
149 Video: | 151 Video: |
150 --enable-gl build with OpenGL render support [autodetect] | 152 --enable-gl build with OpenGL render support [autodetect] |
151 --enable-dga[=n] build with DGA [n in {1, 2} ] support [autodetect] | 153 --enable-dga[=n] build with DGA [n in {1, 2} ] support [autodetect] |
152 --enable-vesa build with VESA support [autodetect] | 154 --enable-vesa build with VESA support [autodetect] |
784 _vorbis=auto | 786 _vorbis=auto |
785 _faad=auto | 787 _faad=auto |
786 _css=auto | 788 _css=auto |
787 _dvdnav=yes | 789 _dvdnav=yes |
788 _dvdread=auto | 790 _dvdread=auto |
791 _dvdkit=auto | |
789 _xanim=auto | 792 _xanim=auto |
790 _xinerama=auto | 793 _xinerama=auto |
791 _mga=auto | 794 _mga=auto |
792 _xmga=auto | 795 _xmga=auto |
793 _vm=auto | 796 _vm=auto |
893 --disable-faad) _faad=no ;; | 896 --disable-faad) _faad=no ;; |
894 --enable-css) _css=yes ;; | 897 --enable-css) _css=yes ;; |
895 --disable-css) _css=no ;; | 898 --disable-css) _css=no ;; |
896 --enable-dvdread) _dvdread=yes ;; | 899 --enable-dvdread) _dvdread=yes ;; |
897 --disable-dvdread) _dvdread=no ;; | 900 --disable-dvdread) _dvdread=no ;; |
901 --enable-mpdvdkit) _dvdkit=yes ;; | |
902 --disable-mpdvdkit) _dvdkit=no ;; | |
898 --enable-dvdnav) _dvdnav=yes ;; | 903 --enable-dvdnav) _dvdnav=yes ;; |
899 --disable-dvdnav) _dvdnav=no ;; | 904 --disable-dvdnav) _dvdnav=no ;; |
900 --enable-xanim) _xanim=yes ;; | 905 --enable-xanim) _xanim=yes ;; |
901 --disable-xanim) _xanim=no ;; | 906 --disable-xanim) _xanim=no ;; |
902 --enable-xinerama) _xinerama=yes ;; | 907 --enable-xinerama) _xinerama=yes ;; |
2446 _def_vcd='#undef HAVE_VCD' | 2451 _def_vcd='#undef HAVE_VCD' |
2447 _noinputmodules="vcd $_noinputmodules" | 2452 _noinputmodules="vcd $_noinputmodules" |
2448 echores "not supported on this OS" | 2453 echores "not supported on this OS" |
2449 fi | 2454 fi |
2450 | 2455 |
2451 | 2456 echocheck "DVD support (libmpdvdkit)" |
2452 | 2457 if test "$_dvdkit" = auto ; then |
2458 _dvdkit=no | |
2459 test -f "./libmpdvdkit/Makefile" && _dvdkit=yes | |
2460 fi | |
2461 if test "$_dvdkit" = yes ; then | |
2462 echores "yes" | |
2463 _inputmodules="mpdvdkit $_inputmodules" | |
2464 _dvdread=included | |
2465 else | |
2466 echores "no" | |
2467 _noinputmodules="mpdvdkit $_noinputmodules" | |
2468 fi | |
2453 | 2469 |
2454 echocheck "DVD support (libcss - old style)" | 2470 echocheck "DVD support (libcss - old style)" |
2455 if test "$_css" = auto ; then | 2471 if test "$_css" = auto ; then |
2456 cat > $TMPC <<EOF | 2472 cat > $TMPC <<EOF |
2457 #include <sys/types.h> | 2473 #include <sys/types.h> |
2487 cc_check \ | 2503 cc_check \ |
2488 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -ldvdread $_ld_dl && \ | 2504 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -ldvdread $_ld_dl && \ |
2489 _dvdread=yes | 2505 _dvdread=yes |
2490 fi | 2506 fi |
2491 fi | 2507 fi |
2492 if test "$_dvdread" = yes ; then | 2508 case "$_dvdread" in |
2493 _largefiles=yes | 2509 yes) |
2494 _def_dvdread='#define USE_DVDREAD 1' | 2510 _largefiles=yes |
2495 _ld_css='-ldvdread' | 2511 _def_dvdread='#define USE_DVDREAD 1' |
2496 _inputmodules="dvdread $_inputmodules" | 2512 _ld_css='-ldvdread' |
2497 echores "yes" | 2513 _inputmodules="dvdread $_inputmodules" |
2498 else | 2514 echores "yes" |
2499 _def_dvdread='#undef USE_DVDREAD' | 2515 ;; |
2500 _noinputmodules="dvdread $_noinputmodules" | 2516 no) |
2501 echores "no" | 2517 _def_dvdread='#undef USE_DVDREAD' |
2502 fi | 2518 _noinputmodules="dvdread $_noinputmodules" |
2519 echores "no" | |
2520 ;; | |
2521 included) | |
2522 _largefiles=yes | |
2523 _def_dvdread='#define USE_DVDREAD 1' | |
2524 _ld_css='-Llibmpdvdkit -lmpdvdkit' | |
2525 _noinputmodules="dvdread $_noinputmodules" | |
2526 echores "disabled by libmpdvdkit" | |
2527 ;; | |
2528 esac | |
2503 | 2529 |
2504 echocheck "libdvdnav" | 2530 echocheck "libdvdnav" |
2505 if test "$_dvdnav" = yes ; then | 2531 if test "$_dvdnav" = yes ; then |
2506 cat > $TMPC <<EOF | 2532 cat > $TMPC <<EOF |
2507 #include <dvdnav.h> | 2533 #include <dvdnav.h> |
2508 int main(void) { dvdnav_t *dvd=0; return 0; } | 2534 int main(void) { dvdnav_t *dvd=0; return 0; } |
2509 EOF | 2535 EOF |
2510 _dvdnav=no | 2536 _dvdnav=no |
2511 if test -n "$_dvdnavdir" ; then | 2537 test -n "$_dvdnavdir" && _legal_dvdnavdir=-L$_dvdnavdir/.libs |
2512 _legal_dvdnavdir=-L$_dvdnavdir/.libs | 2538 _used_css= |
2513 fi | 2539 test "$_dvdkit" = no && _used_css=$_ld_css |
2514 cc_check $_inc_extra -I$_dvdnavdir $_legal_dvdnavdir -ldvdnav $_ld_css $_ld_dl && _dvdnav=yes | 2540 cc_check $_inc_extra -I$_dvdnavdir $_legal_dvdnavdir -ldvdnav $_used_css $_ld_dl && _dvdnav=yes |
2515 fi | 2541 fi |
2516 if test "$_dvdnav" = yes ; then | 2542 if test "$_dvdnav" = yes ; then |
2517 _largefiles=yes | 2543 _largefiles=yes |
2518 _def_dvdnav='#define USE_DVDNAV 1' | 2544 _def_dvdnav='#define USE_DVDNAV 1' |
2519 _ld_css="$_ld_css $_legal_dvdnavdir -ldvdnav" | 2545 _ld_css="$_ld_css $_legal_dvdnavdir -ldvdnav" |
3408 # input | 3434 # input |
3409 TERMCAP_LIB = $_ld_termcap | 3435 TERMCAP_LIB = $_ld_termcap |
3410 LIRC_LIB = $_ld_lirc | 3436 LIRC_LIB = $_ld_lirc |
3411 CSS_USE = $_css | 3437 CSS_USE = $_css |
3412 CSS_LIB = $_ld_css | 3438 CSS_LIB = $_ld_css |
3439 DVDKIT = $_dvdkit | |
3413 SDL_INC = $_inc_sdl | 3440 SDL_INC = $_inc_sdl |
3414 W32_DEP = $_dep_win32 | 3441 W32_DEP = $_dep_win32 |
3415 W32_LIB = $_ld_win32 | 3442 W32_LIB = $_ld_win32 |
3416 DS_DEP = $_dep_dshow | 3443 DS_DEP = $_dep_dshow |
3417 DS_LIB = $_ld_dshow | 3444 DS_LIB = $_ld_dshow |