Mercurial > mplayer.hg
comparison configure @ 22973:46597c69d843
added conditional vidix drivers compilation
author | ben |
---|---|
date | Sat, 14 Apr 2007 10:39:17 +0000 |
parents | bff0a6f9bfc0 |
children | 30341a2c2179 |
comparison
equal
deleted
inserted
replaced
22972:46593cc4aeba | 22973:46597c69d843 |
---|---|
332 --enable-muxer=MUXER enable specified FFmpeg muxer | 332 --enable-muxer=MUXER enable specified FFmpeg muxer |
333 | 333 |
334 Video output: | 334 Video output: |
335 --disable-vidix-internal disable internal VIDIX [for x86 *nix] | 335 --disable-vidix-internal disable internal VIDIX [for x86 *nix] |
336 --disable-vidix-external disable external VIDIX [for x86 *nix] | 336 --disable-vidix-external disable external VIDIX [for x86 *nix] |
337 --with-vidix-drivers[=*] list of VIDIX drivers to be compiled in | |
338 Available: all,cyberblade,mach64,mga,mga_crtc2, | |
339 nvidia,pm3,radeon,rage128,savage,sis,unichrome | |
337 --enable-gl enable OpenGL video output [autodetect] | 340 --enable-gl enable OpenGL video output [autodetect] |
338 --enable-dga[=n] enable DGA [n in {1, 2} ] support [autodetect] | 341 --enable-dga[=n] enable DGA [n in {1, 2} ] support [autodetect] |
339 --enable-vesa enable VESA video output [autodetect] | 342 --enable-vesa enable VESA video output [autodetect] |
340 --enable-svga enable SVGAlib video output [autodetect] | 343 --enable-svga enable SVGAlib video output [autodetect] |
341 --enable-sdl enable SDL video output [autodetect] | 344 --enable-sdl enable SDL video output [autodetect] |
586 _network=yes | 589 _network=yes |
587 _winsock2=auto | 590 _winsock2=auto |
588 _smbsupport=auto | 591 _smbsupport=auto |
589 _vidix_internal=auto | 592 _vidix_internal=auto |
590 _vidix_external=auto | 593 _vidix_external=auto |
594 _vidix_drivers="all" | |
591 _joystick=no | 595 _joystick=no |
592 _xvid=auto | 596 _xvid=auto |
593 _x264=auto | 597 _x264=auto |
594 _nut=auto | 598 _nut=auto |
595 _lirc=auto | 599 _lirc=auto |
953 --disable-smb) _smbsupport=no ;; | 957 --disable-smb) _smbsupport=no ;; |
954 --enable-vidix-internal) _vidix_internal=yes ;; | 958 --enable-vidix-internal) _vidix_internal=yes ;; |
955 --disable-vidix-internal) _vidix_internal=no ;; | 959 --disable-vidix-internal) _vidix_internal=no ;; |
956 --enable-vidix-external) _vidix_external=yes ;; | 960 --enable-vidix-external) _vidix_external=yes ;; |
957 --disable-vidix-external) _vidix_external=no ;; | 961 --disable-vidix-external) _vidix_external=no ;; |
962 --with-vidix-drivers=*) | |
963 _vidix_drivers=`echo $ac_option | cut -d '=' -f 2` | |
964 ;; | |
958 --enable-joystick) _joystick=yes ;; | 965 --enable-joystick) _joystick=yes ;; |
959 --disable-joystick) _joystick=no ;; | 966 --disable-joystick) _joystick=no ;; |
960 --enable-xvid) _xvid=yes ;; | 967 --enable-xvid) _xvid=yes ;; |
961 --disable-xvid) _xvid=no ;; | 968 --disable-xvid) _xvid=no ;; |
962 --enable-x264) _x264=yes ;; | 969 --enable-x264) _x264=yes ;; |
7316 _vidix=yes | 7323 _vidix=yes |
7317 _def_vidix='#define CONFIG_VIDIX 1' | 7324 _def_vidix='#define CONFIG_VIDIX 1' |
7318 else | 7325 else |
7319 _vidix=no | 7326 _vidix=no |
7320 _def_vidix='#undef CONFIG_VIDIX' | 7327 _def_vidix='#undef CONFIG_VIDIX' |
7328 fi | |
7329 | |
7330 if test "$_vidix" = yes ; then | |
7331 if test "$_vidix_drivers" = all || test `echo "$_vidix_drivers" | grep -e cyberblade`; then | |
7332 _def_vidix_drv_cyberblade='#define CONFIG_VIDIX_DRV_CYBERBLADE 1' | |
7333 _vidix_drv_cyberblade=yes | |
7334 else | |
7335 _def_vidix_drv_cyberblade='#undef CONFIG_VIDIX_DRV_CYBERBLADE' | |
7336 _vidix_drv_cyberblade=no | |
7337 fi | |
7338 if test "$_vidix_drivers" = all || test `echo "$_vidix_drivers" | grep -e mach64`; then | |
7339 _def_vidix_drv_mach64='#define CONFIG_VIDIX_DRV_MACH64 1' | |
7340 _vidix_drv_mach64=yes | |
7341 else | |
7342 _def_vidix_drv_mach64='#undef CONFIG_VIDIX_DRV_MACH64' | |
7343 _vidix_drv_mach64=no | |
7344 fi | |
7345 if test "$_vidix_drivers" = all || test `echo "$_vidix_drivers" | grep -e mga`; then | |
7346 _def_vidix_drv_mga='#define CONFIG_VIDIX_DRV_MGA 1' | |
7347 _vidix_drv_mga=yes | |
7348 else | |
7349 _def_vidix_drv_mga='#undef CONFIG_VIDIX_DRV_MGA' | |
7350 _vidix_drv_mga=no | |
7351 fi | |
7352 if test "$_vidix_drivers" = all || test `echo "$_vidix_drivers" | grep -e mga_crtc2`; then | |
7353 _def_vidix_drv_mga_crtc2='#define CONFIG_VIDIX_DRV_MGA_CRTC2 1' | |
7354 _vidix_drv_mga_crtc2=yes | |
7355 else | |
7356 _def_vidix_drv_mga_crtc2='#undef CONFIG_VIDIX_DRV_MGA_CRTC2' | |
7357 _vidix_drv_mga_crtc2=no | |
7358 fi | |
7359 if test "$_vidix_drivers" = all || test `echo "$_vidix_drivers" | grep -e nvidia`; then | |
7360 _def_vidix_drv_nvidia='#define CONFIG_VIDIX_DRV_NVIDIA 1' | |
7361 _vidix_drv_nvidia=yes | |
7362 else | |
7363 _def_vidix_drv_nvidia='#undef CONFIG_VIDIX_DRV_NVIDIA' | |
7364 _vidix_drv_nvidia=no | |
7365 fi | |
7366 if test "$_vidix_drivers" = all || test `echo "$_vidix_drivers" | grep -e pm3`; then | |
7367 _def_vidix_drv_pm3='#define CONFIG_VIDIX_DRV_PM3 1' | |
7368 _vidix_drv_pm3=yes | |
7369 else | |
7370 _def_vidix_drv_pm3='#undef CONFIG_VIDIX_DRV_PM3' | |
7371 _vidix_drv_pm3=no | |
7372 fi | |
7373 if test "$_vidix_drivers" = all || test `echo "$_vidix_drivers" | grep -e radeon`; then | |
7374 _def_vidix_drv_radeon='#define CONFIG_VIDIX_DRV_RADEON 1' | |
7375 _vidix_drv_radeon=yes | |
7376 else | |
7377 _def_vidix_drv_radeon='#undef CONFIG_VIDIX_DRV_RADEON' | |
7378 _vidix_drv_radeon=no | |
7379 fi | |
7380 if test "$_vidix_drivers" = all || test `echo "$_vidix_drivers" | grep -e rage128`; then | |
7381 _def_vidix_drv_rage128='#define CONFIG_VIDIX_DRV_RAGE128 1' | |
7382 _vidix_drv_rage128=yes | |
7383 else | |
7384 _def_vidix_drv_rage128='#undef CONFIG_VIDIX_DRV_RAGE128' | |
7385 _vidix_drv_rage128=no | |
7386 fi | |
7387 if test "$_vidix_drivers" = all || test `echo "$_vidix_drivers" | grep -e savage`; then | |
7388 _def_vidix_drv_savage='#define CONFIG_VIDIX_DRV_SAVAGE 1' | |
7389 _vidix_drv_savage=yes | |
7390 else | |
7391 _def_vidix_drv_savage='#undef CONFIG_VIDIX_DRV_SAVAGE' | |
7392 _vidix_drv_savage=no | |
7393 fi | |
7394 if test "$_vidix_drivers" = all || test `echo "$_vidix_drivers" | grep -e sis`; then | |
7395 _def_vidix_drv_sis='#define CONFIG_VIDIX_DRV_SIS 1' | |
7396 _vidix_drv_sis=yes | |
7397 else | |
7398 _def_vidix_drv_sis='#undef CONFIG_VIDIX_DRV_SIS' | |
7399 _vidix_drv_sis=no | |
7400 fi | |
7401 if test "$_vidix_drivers" = all || test `echo "$_vidix_drivers" | grep -e unichrome`; then | |
7402 _def_vidix_drv_unichrome='#define CONFIG_VIDIX_DRV_UNICHROME 1' | |
7403 _vidix_drv_unichrome=yes | |
7404 else | |
7405 _def_vidix_drv_unichrome='#undef CONFIG_VIDIX_DRV_UNICHROME' | |
7406 _vidix_drv_unichrome=no | |
7407 fi | |
7321 fi | 7408 fi |
7322 | 7409 |
7323 if test "$_vidix_internal" = yes ; then | 7410 if test "$_vidix_internal" = yes ; then |
7324 _def_vidix_pfx="#define MP_VIDIX_PFX \"$_libdir\" \"/mplayer/vidix/\" " | 7411 _def_vidix_pfx="#define MP_VIDIX_PFX \"$_libdir\" \"/mplayer/vidix/\" " |
7325 elif test "$_vidix_external" = yes ; then | 7412 elif test "$_vidix_external" = yes ; then |
7691 CONFIG_GPL=yes | 7778 CONFIG_GPL=yes |
7692 CONFIG_ENCODERS=$_mencoder | 7779 CONFIG_ENCODERS=$_mencoder |
7693 CONFIG_MUXERS=$_mencoder | 7780 CONFIG_MUXERS=$_mencoder |
7694 RADIO=$_radio | 7781 RADIO=$_radio |
7695 RADIO_CAPTURE=$_radio_capture | 7782 RADIO_CAPTURE=$_radio_capture |
7783 CONFIG_VIDIX_CYBERBLADE=$_vidix_drv_cyberblade | |
7784 CONFIG_VIDIX_MACH64=$_vidix_drv_mach64 | |
7785 CONFIG_VIDIX_MGA=$_vidix_drv_mga | |
7786 CONFIG_VIDIX_MGA_CRTC2=$_vidix_drv_mga_crtc2 | |
7787 CONFIG_VIDIX_NVIDIA=$_vidix_drv_nvidia | |
7788 CONFIG_VIDIX_PM3=$_vidix_drv_pm3 | |
7789 CONFIG_VIDIX_RADEON=$_vidix_drv_radeon | |
7790 CONFIG_VIDIX_RAGE128=$_vidix_drv_rage128 | |
7791 CONFIG_VIDIX_SAVAGE=$_vidix_drv_savage | |
7792 CONFIG_VIDIX_SIS=$_vidix_drv_sis | |
7793 CONFIG_VIDIX_UNICHROME=$_vidix_drv_unichrome | |
7696 | 7794 |
7697 # --- Some stuff for autoconfigure ---- | 7795 # --- Some stuff for autoconfigure ---- |
7698 $_target_arch | 7796 $_target_arch |
7699 $_target_arch_x86 | 7797 $_target_arch_x86 |
7700 $_confwin32 | 7798 $_confwin32 |
8365 $_def_cdparanoia | 8463 $_def_cdparanoia |
8366 $_def_cddb | 8464 $_def_cddb |
8367 | 8465 |
8368 /* enables / disables VIDIX usage */ | 8466 /* enables / disables VIDIX usage */ |
8369 $_def_vidix | 8467 $_def_vidix |
8468 $_def_vidix_drv_cyberblade | |
8469 $_def_vidix_drv_mach64 | |
8470 $_def_vidix_drv_mga | |
8471 $_def_vidix_drv_mga_crtc2 | |
8472 $_def_vidix_drv_nvidia | |
8473 $_def_vidix_drv_pm3 | |
8474 $_def_vidix_drv_radeon | |
8475 $_def_vidix_drv_rage128 | |
8476 $_def_vidix_drv_savage | |
8477 $_def_vidix_drv_sis | |
8478 $_def_vidix_drv_unichrome | |
8370 $_def_vidix_pfx | 8479 $_def_vidix_pfx |
8371 | 8480 |
8372 /* enables / disables new input joystick support */ | 8481 /* enables / disables new input joystick support */ |
8373 $_def_joystick | 8482 $_def_joystick |
8374 | 8483 |