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