Mercurial > mplayer.hg
comparison configure @ 4507:dcf46e65bd29
Added options to enable new input and joystick support
author | albeu |
---|---|
date | Sun, 03 Feb 2002 12:43:18 +0000 |
parents | 745cf5ba7117 |
children | 193cb24dca2b |
comparison
equal
deleted
inserted
replaced
4506:84e45c414ae9 | 4507:dcf46e65bd29 |
---|---|
131 --disable-mp1e disable libmp1e support | 131 --disable-mp1e disable libmp1e support |
132 (use this option if it does not compile) [enable] | 132 (use this option if it does not compile) [enable] |
133 --disable-streaming disable network streaming support | 133 --disable-streaming disable network streaming support |
134 (support for: http/mms/rtp) [enable] | 134 (support for: http/mms/rtp) [enable] |
135 --disable-vidix disable VIDIX stuff [enable] | 135 --disable-vidix disable VIDIX stuff [enable] |
136 --enable-new-input enable new input system [disable] | |
137 --enable-joystick enable joystick support in new input [disable] | |
136 Video: | 138 Video: |
137 --enable-gl build with OpenGL render support [autodetect] | 139 --enable-gl build with OpenGL render support [autodetect] |
138 --enable-dga[=n] build with DGA [n in {1, 2} ] support [autodetect] | 140 --enable-dga[=n] build with DGA [n in {1, 2} ] support [autodetect] |
139 --enable-svga build with SVGAlib support [autodetect] | 141 --enable-svga build with SVGAlib support [autodetect] |
140 --enable-sdl build with SDL render support [autodetect] | 142 --enable-sdl build with SDL render support [autodetect] |
741 _select=yes | 743 _select=yes |
742 _tv=yes | 744 _tv=yes |
743 _tv_v4l=auto | 745 _tv_v4l=auto |
744 _streaming=yes | 746 _streaming=yes |
745 _vidix=yes | 747 _vidix=yes |
748 _new_input=no | |
749 _joystick=no | |
746 _divx4linux=auto | 750 _divx4linux=auto |
747 _opendivx=yes | 751 _opendivx=yes |
748 _lirc=auto | 752 _lirc=auto |
749 _gui=no | 753 _gui=no |
750 _termcap=auto | 754 _termcap=auto |
842 --disable-fastmemcpy) _fastmemcpy=no ;; | 846 --disable-fastmemcpy) _fastmemcpy=no ;; |
843 --enable-streaming) _streaming=yes ;; | 847 --enable-streaming) _streaming=yes ;; |
844 --disable-streaming) _streaming=no ;; | 848 --disable-streaming) _streaming=no ;; |
845 --enable-vidix) _vidix=yes ;; | 849 --enable-vidix) _vidix=yes ;; |
846 --disable-vidix) _vidix=no ;; | 850 --disable-vidix) _vidix=no ;; |
851 --enable-new-input) _new_input=yes ;; | |
852 --disable-new-input) _new_input=no ;; | |
853 --enable-joystick) _joystick=yes ;; | |
854 --disable-joystick) _joystick=no ;; | |
847 --enable-divx4linux) _divx4linux=yes ;; | 855 --enable-divx4linux) _divx4linux=yes ;; |
848 --disable-divx4linux) _divx4linux=no ;; | 856 --disable-divx4linux) _divx4linux=no ;; |
849 --enable-opendivx) _opendivx=yes ;; | 857 --enable-opendivx) _opendivx=yes ;; |
850 --disable-opendivx) _opendivx=no ;; | 858 --disable-opendivx) _opendivx=no ;; |
851 --enable-lirc) _lirc=yes ;; | 859 --enable-lirc) _lirc=yes ;; |
2867 if test "$_vidix" = yes && test "$_x11" = yes; then | 2875 if test "$_vidix" = yes && test "$_x11" = yes; then |
2868 _vosrc="$_vosrc vo_xvidix.c" | 2876 _vosrc="$_vosrc vo_xvidix.c" |
2869 _vomodules="xvidix $_vomodules" | 2877 _vomodules="xvidix $_vomodules" |
2870 fi | 2878 fi |
2871 echo Checking for vidix ... "$_vidix" | 2879 echo Checking for vidix ... "$_vidix" |
2880 | |
2881 _def_new_input='#undef HAVE_NEW_INPUT' | |
2882 _def_joystick='#undef HAVE_JOYSTICK' | |
2883 echo Checking for new input ... "$_new_input" | |
2884 if test "$_new_input" = yes ; then | |
2885 _def_new_input='#define HAVE_NEW_INPUT 1' | |
2886 if test "$_joystick" = yes ; then | |
2887 if linux ; then | |
2888 # TODO add some check | |
2889 _def_joystick='#define HAVE_JOYSTICK 1' | |
2890 else | |
2891 _joystick="no (unsupported under $system_name)" | |
2892 fi | |
2893 fi | |
2894 echo Checking for joystick ... "$_joystick" | |
2895 fi | |
2896 | |
2872 ############################################################################# | 2897 ############################################################################# |
2873 echo "Creating config.mak" | 2898 echo "Creating config.mak" |
2874 cat > config.mak << EOF | 2899 cat > config.mak << EOF |
2875 # -------- Generated by configure ----------- | 2900 # -------- Generated by configure ----------- |
2876 | 2901 |
3190 /* enable streaming */ | 3215 /* enable streaming */ |
3191 $_def_streaming | 3216 $_def_streaming |
3192 | 3217 |
3193 /* enables / disables vidix usage */ | 3218 /* enables / disables vidix usage */ |
3194 $_def_vidix | 3219 $_def_vidix |
3220 | |
3221 /* enables / disables new input */ | |
3222 $_def_new_input | |
3223 | |
3224 /* enables / disables new input joystick support */ | |
3225 $_def_joystick | |
3195 | 3226 |
3196 /* Extension defines */ | 3227 /* Extension defines */ |
3197 $_def_3dnow // only define if you have 3DNOW (AMD k6-2, AMD Athlon, iDT WinChip, etc.) | 3228 $_def_3dnow // only define if you have 3DNOW (AMD k6-2, AMD Athlon, iDT WinChip, etc.) |
3198 $_def_3dnowex // only define if you have 3DNOWEX (AMD Athlon, etc.) | 3229 $_def_3dnowex // only define if you have 3DNOWEX (AMD Athlon, etc.) |
3199 $_def_mmx // only define if you have MMX (newer x86 chips, not P54C/PPro) | 3230 $_def_mmx // only define if you have MMX (newer x86 chips, not P54C/PPro) |