]> git.sesse.net Git - vlc/blob - config.in
7ecd13e5534090795b75f0a30bfd49ce883203e1
[vlc] / config.in
1 #
2 # For a description of the syntax of this configuration file,
3 # see Documentation/kbuild/config-language.txt.
4 #
5 mainmenu_name "VLC Configuration"
6
7 choice 'Operating System' \
8    "Linux               CONFIG_LINUX \
9    MacOS_X              CONFIG_MAC \
10     Win32               CONFIG_WIN32" Linux
11
12 mainmenu_option next_comment
13 comment 'Interfaces'
14 bool 'Skins module' CONFIG_SKINS
15 bool 'Skins2 module' CONFIG_SKINS2
16 if [ "$CONFIG_SKINS2" = "y" ]; then
17   string 'xml2-config path' CONFIG_WITHXML2CONFIGPATH ""
18 fi
19 bool 'Familiar GTK+ support' CONFIG_FAMILIAR
20 # TODO: --enable-pda
21 bool 'wxWindows support' CONFIG_WXWINDOWS
22 if [ "$CONFIG_WXWINDOWS" = "y" ]; then
23   string 'wx-config path' CONFIG_WITHWXCONFIGPATH ""
24 fi
25 bool 'Qt embedded interface support' CONFIG_OPIE
26 if [ "$CONFIG_OPIE" = "y" ]; then
27   string 'Qt Embedded headers and libraries' CONFIG_WITHQTE ""
28 fi
29 if [ "$CONFIG_MAC" = "y" ]; then
30    bool 'MacOS X support' CONFIG_MACOSX
31 fi
32 bool 'QNX RTOS support' CONFIG_QNX
33 bool 'Ncurses interface support' CONFIG_NCURSES
34 bool 'xosd interface support' CONFIG_XOSD
35 bool 'Visualization plugin' CONFIG_VISUAL
36 bool 'Goom visualization plugin' CONFIG_GOOM
37 if [ "$CONFIG_GOOM" = "y" ]; then
38   string 'goom tree for static linking' CONFIG_WITHGOOMTREE ""
39 fi
40 bool 'GaLaktos visualization plugin' CONFIG_GALAKTOS
41 bool 'SLP service discovery support' CONFIG_SLP
42 if [ "$CONFIG_SLP" = "y" ]; then
43   string 'libslp headers and libraries' CONFIG_WITHSLP ""
44 fi
45 bool 'IR remote control support' CONFIG_LIRC
46 bool 'Joystick control' CONFIG_JOYSTICK
47 bool 'Corba interface support' CONFIG_CORBA
48 endmenu
49
50 mainmenu_option next_comment
51 comment 'Input plugins'
52 bool 'Live.com input plugin' CONFIG_LIVEDOTCOM
53 if [ "$CONFIG_LIVEDOTCOM" = "y" ]; then
54   string 'live.com tree for static linking' CONFIG_WITHLIVEDOTCOMTREE ""
55 fi
56 bool 'DVD support' CONFIG_DVD
57 if [ "$CONFIG_DVD" = "y" ]; then
58    bool '    dvdread input module' CONFIG_DVDREAD
59    if [ "$CONFIG_DVDREAD" = "y" ]; then
60       string '        libdvdread headers and libraries' CONFIG_WITHDVDREAD ""
61       string '        libdvdread tree for static linking' CONFIG_WITHDVDREADTREE ""
62    fi
63    bool '    dvdnav input module' CONFIG_DVDNAV
64    if [ "$CONFIG_DVDNAV" = "y" ]; then
65       string '        dvdnav-config path' CONFIG_WITHDVDNAVCONFIGPATH ""
66    fi
67 fi
68 boof 'Win32 DirectShow support' CONFIG_DSHOW
69 bool 'Dvbpsi ts mux and demux module' CONFIG_DVBPSI
70 if [ "$CONFIG_DVBPSI" = "y" ]; then
71    string '    libdvbpsi headers and libraries' CONFIG_WITHDVBPSI ""
72    string '    libdvbpsi tree for static linking' CONFIG_WITHDVBPSITREE ""
73 fi
74 bool 'Video for Linux (V4L) support' CONFIG_V4L
75 if [ "$CONFIG_V4L" = "y" ]; then
76    string '    path to a v4l-enabled kernel tree' CONFIG_WITHV4L
77 fi
78 bool 'PVR cards support' CONFIG_PVR
79 bool 'VCD support for Linux, FreeBSD, MacOS X and Win32' CONFIG_VCD
80 bool 'Satellite card support' CONFIG_SATELLITE
81 bool 'DVB-S/T/C cards support' CONFIG_DVB
82 if [ "$CONFIG_DVB" = "y" ]; then
83    string '    path to a dvb- and v4l2-enabled kernel tree' CONFIG_WITHDVB
84 fi
85 bool 'Ogg demux support' CONFIG_OGG
86 bool 'Matroska demux support' CONFIG_MKV
87 bool 'Mod demux support' CONFIG_MOD
88 bool 'CD input and control library (libcdio) support' CONFIG_CDIO
89 endmenu
90
91 mainmenu_option next_comment
92 comment 'Video plugins'
93 if [ "$CONFIG_LINUX" = "y" ]; then
94    bool 'X11 support' CONFIG_X11
95    bool 'XVideo support' CONFIG_XVIDEO
96    bool 'GLX support' CONFIG_GLX
97    bool 'Linux framebuffer support' CONFIG_FB
98    bool 'Linux kernel Matrox support' CONFIG_MGA
99 fi
100 bool 'SDL support' CONFIG_SDL
101 if [ "$CONFIG_SDL" = "y" ]; then
102    string '    SDL-config path' CONFIG_WITHSDLCONFIGPATH ""
103    string '    Path to libsdl' CONFIG_WITHSDLPREFIX ""
104 fi
105 bool 'freetype support' CONFIG_FREETYPE
106 if [ "$CONFIG_FREETYPE" = "y" ]; then
107    string '    Freetype-config path' CONFIG_WITHFREETYPECONFIGPATH ""
108 fi
109 bool 'Fribidi support' CONFIG_FRIBIDI
110 if [ "$CONFIG_FRIBIDI" = "y" ]; then
111    string '    Fribidi-config path' CONFIG_WITHFRIBIDICONFIGPATH ""
112 fi
113 bool 'SVG support' CONFIG_SVG
114 bool 'QT Embedded support' CONFIG_QTE
115 if [ "$CONFIG_QTE" = "y" ]; then
116    string '    Qt Embedded headers and libraries' CONFIG_WITHQTE ""
117 fi
118 bool 'HD1000 Video Output module' CONFIG_HD1000V
119 if [ "$CONFIG_WIN32" = "y" ]; then
120    bool 'Win32 DirectX support' CONFIG_DIRECTX
121    if [ "$CONFIG_DIRECTX" = "y" ]; then
122       string '    Win32 DirectX headers' CONFIG_WITHDIRECTX ""
123    fi
124    bool 'Win32 GDI module' CONFIG_WINGDI
125 fi
126 bool 'SVGAlib support' CONFIG_SVGALIB
127 bool 'GGI support' CONFIG_GGI
128 if [ "$CONFIG_GGI" = "y" ]; then
129    string '    Path to libggi' CONFIG_WITHGGI ""
130 fi
131 bool 'Glide (3dfx) support' CONFIG_GLIDE
132 if [ "$CONFIG_GLIDE" = "y" ]; then
133    string '    Path to libglide' CONFIG_WITHGLIDE ""
134 fi
135 bool 'aalib output' CONFIG_AA
136 bool 'cacalib output' CONFIG_CACA
137 if [ "$CONFIG_CACA" = "y" ]; then
138    string '    Caca-config path' CONFIG_WITHCACACONFIGPATH ""
139 fi
140 endmenu
141
142 mainmenu_option next_comment
143 comment 'Audio plugins'
144 if [ "$CONFIG_LINUX" = "y" ]; then
145    bool 'Linux OSS /dev/dsp support' CONFIG_OSS
146    bool 'Esound library support' CONFIG_ESD
147    bool 'aRts sound server' CONFIG_ARTS
148    bool 'ALSA sound support for Linux' CONFIG_ALSA
149 fi
150 if [ "$CONFIG_WIN32" = "y" ]; then
151    bool 'Win32 waveOut module' CONFIG_WAVEOUT
152 fi
153 if [ "$CONFIG_MAC" = "y" ]; then
154    bool 'CoreAudio module' CONFIG_COREAUDIO
155 fi
156 bool 'HD1000 audio module' CONFIG_HD1000A
157 endmenu
158
159 mainmenu_option next_comment
160 comment 'Codec plugins'
161 bool 'Libmad module' CONFIG_MAD
162 if [ "$CONFIG_MAD" = "y" ]; then
163    string '    Path to libmad' CONFIG_WITHMAD ""
164    string '    Mad tree for static linking' CONFIG_WITHMADTREE ""
165 fi
166 bool 'Ffmpeg codec' CONFIG_FFMPEG
167 if [ "$CONFIG_FFMPEG" = "y" ]; then
168    bool   '    Ffmpeg has been compiled with mp3lame support' CONFIG_WITHFFMPEGMP3LAME
169    bool   '    Ffmpeg has been compiled with faac support' CONFIG_WITHFFMPEGFAAC
170    string '    Ffmpeg tree for static linking' CONFIG_WITHFFMPEGTREE ""
171 fi
172 bool 'Faad codec' CONFIG_FAAD
173 if [ "$CONFIG_FAAD" = "y" ]; then
174    string '    Faad tree for static linking' CONFIG_WITHFAADTREE ""
175 fi
176 bool 'QuickTime module' CONFIG_QUICKTIME
177 bool 'A/52 support with liba52' CONFIG_A52
178 if [ "$CONFIG_A52" = "y" ]; then
179    string '    A52 headers and libraries' CONFIG_WITHA52 ""
180    string '    A52dec tree for static linking' CONFIG_WITHA52TREE ""
181 fi
182 bool 'DTS Coherent Acoustics support with libdts' CONFIG_DTS
183 if [ "$CONFIG_DTS" = "y" ]; then
184    string '    Libdts tree for static linking' CONFIG_WITHDTSTREE ""
185 fi
186 bool 'Flac decoder support' CONFIG_FLAC
187 bool 'Libmpeg2 decoder support' CONFIG_LIBMPEG2
188 if [ "$CONFIG_LIBMPEG2" = "y" ]; then
189    string '    Libmpeg2 tree for static linking' CONFIG_WITHLIBMPEG2TREE ""
190 fi
191 bool 'Vorbis decoder support' CONFIG_VORBIS
192 bool 'Tremor decoder support' CONFIG_TREMOR
193 bool 'Speex decoder support' CONFIG_SPEEX
194 bool 'Experimental tarkin codec' CONFIG_TARKIN
195 if [ "$CONFIG_TARKIN" = "y" ]; then
196    string '    Tarkin tree for static linking' CONFIG_WITHTARKINTREE ""
197 fi
198 bool 'Experimental theora codec' CONFIG_THEORA
199 bool 'CMML support' CONFIG_CMML
200 endmenu
201
202 mainmenu_option next_comment
203 comment 'Miscellaneous options'
204 bool 'UTF8 support' CONFIG_UTF8
205 bool 'GNU Portable Threads support' CONFIG_PTH
206 bool 'State threads support' CONFIG_ST
207 bool 'Gprof profiling' CONFIG_GPROF
208 bool 'Cprof profiling' CONFIG_CPROF
209 # TODO: change to a tristate choice
210 # bool 'Set endianness' CONFIG_ENDIANNESS
211 bool 'Mozilla plugin' CONFIG_MOZILLA
212 if [ "$CONFIG_MOZILLA" = "y" ]; then
213    string '    Path to win32 mozilla sdk' CONFIG_WITHMOZILLASDKPATH ""
214 fi
215 bool 'Build test modules' COFIG_TESTSUITE
216 # TODO: --disable-plugins
217 endmenu
218
219 mainmenu_option next_comment
220 comment 'Optimization options'
221 # TODO: add --with-tuning=ARCH
222 bool 'Compiler optimizations' CONFIG_OPTIMIZATIONS
223 if [ "$CONFIG_MAC" = "y" ]; then
224    bool 'AltiVec optimizations' CONFIG_ALTIVEC
225 fi
226 bool 'Debug mode' CONFIG_DEBUG
227 bool 'Extra optimizations' CONFIG_RELEASE
228 bool 'Stream output modules' CONFIG_SOUT
229 endmenu
230