]> git.sesse.net Git - vlc/blob - config.in
* Fix the Mac OS X Resources MAKE_DIST (untested)
[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 'User Interfaces'
14 bool 'wxWidgets interface' CONFIG_WXWIDGETS
15 if [ "$CONFIG_WXWIDGETS" = "y" ]; then
16   string 'wx-config path' CONFIG_WITHWXCONFIGPATH ""
17   string 'wx-config name' CONFIG_WITHWXCONFIG ""
18 fi
19 bool 'Skins interface' CONFIG_SKINS
20 if [ "$CONFIG_SKINS" = "y" ]; then
21   string 'xml2-config path' CONFIG_WITHXML2CONFIGPATH ""
22 fi
23 bool 'PDA interface (via Gtk2) support' CONFIG_PDA
24 bool 'Qt embedded interface support (opie)' 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 'GaLaktos visualization plugin' CONFIG_GALAKTOS
40 bool 'IR remote control support' CONFIG_LIRC
41 bool 'Corba interface support' CONFIG_CORBA
42 endmenu
43
44 mainmenu_option next_comment
45 comment 'Input plugins'
46 bool 'Live.com input plugin' CONFIG_LIVEDOTCOM
47 if [ "$CONFIG_LIVEDOTCOM" = "y" ]; then
48   string 'live.com tree for static linking' CONFIG_WITHLIVEDOTCOMTREE ""
49 fi
50 bool 'DVD support' CONFIG_DVD
51 if [ "$CONFIG_DVD" = "y" ]; then
52    bool '    dvdread input module' CONFIG_DVDREAD
53    if [ "$CONFIG_DVDREAD" = "y" ]; then
54       string '        libdvdread headers and libraries' CONFIG_WITHDVDREAD ""
55       string '        libdvdread tree for static linking' CONFIG_WITHDVDREADTREE ""
56    fi
57    bool '    dvdnav input module' CONFIG_DVDNAV
58    if [ "$CONFIG_DVDNAV" = "y" ]; then
59       string '        dvdnav-config path' CONFIG_WITHDVDNAVCONFIGPATH ""
60    fi
61 fi
62 bool 'Win32 DirectShow support' CONFIG_DSHOW
63 bool 'Dvbpsi ts mux and demux module' CONFIG_DVBPSI
64 if [ "$CONFIG_DVBPSI" = "y" ]; then
65    string '    libdvbpsi headers and libraries' CONFIG_WITHDVBPSI ""
66    string '    libdvbpsi tree for static linking' CONFIG_WITHDVBPSITREE ""
67 fi
68 bool 'Video for Linux (V4L) support' CONFIG_V4L
69 if [ "$CONFIG_V4L" = "y" ]; then
70    string '    path to a v4l-enabled kernel tree' CONFIG_WITHV4L
71 fi
72 bool 'PVR cards support' CONFIG_PVR
73 bool 'built-in VCD and audio CD support' CONFIG_VCD
74 bool 'Satellite card support' CONFIG_SATELLITE
75 bool 'DVB-S/T/C cards support' CONFIG_DVB
76 if [ "$CONFIG_DVB" = "y" ]; then
77    string '    path to a dvb- and v4l2-enabled kernel tree' CONFIG_WITHDVB
78 fi
79 bool 'Ogg demux support' CONFIG_OGG
80 bool 'Matroska demux support' CONFIG_MKV
81 bool 'Mod demux support' CONFIG_MOD
82 bool 'CD input and control library (libcdio) support' CONFIG_CDIO
83 if [ "$CONFIG_CDIO" = "y" ]; then
84    bool '    audio CD module with CD-Text & CD-Paranoia (via libcdio)' CONFIG_CDDAX
85    bool '    CDDB lookups (via libcddb) for audio CD' CONFIG_CDDB
86    bool '    VCD module with navigation (via libcdio and libvcdinfo)' CONFIG_VCDX
87 fi
88 endmenu
89
90 mainmenu_option next_comment
91 comment 'Video plugins'
92 if [ "$CONFIG_LINUX" = "y" ]; then
93    bool 'X11 support' CONFIG_X11
94    bool 'XVideo support' CONFIG_XVIDEO
95    bool 'GLX support' CONFIG_GLX
96    bool 'Linux framebuffer support' CONFIG_FB
97    bool 'Linux kernel Matrox support' CONFIG_MGA
98 fi
99 bool 'SDL support' CONFIG_SDL
100 if [ "$CONFIG_SDL" = "y" ]; then
101    string '    SDL-config path' CONFIG_WITHSDLCONFIGPATH ""
102    string '    Path to libsdl' CONFIG_WITHSDLPREFIX ""
103 fi
104 bool 'freetype support' CONFIG_FREETYPE
105 if [ "$CONFIG_FREETYPE" = "y" ]; then
106    string '    Freetype-config path' CONFIG_WITHFREETYPECONFIGPATH ""
107 fi
108 bool 'Fribidi support' CONFIG_FRIBIDI
109 if [ "$CONFIG_FRIBIDI" = "y" ]; then
110    string '    Fribidi-config path' CONFIG_WITHFRIBIDICONFIGPATH ""
111 fi
112 bool 'SVG support' CONFIG_SVG
113 bool 'QT Embedded support' CONFIG_QTE
114 if [ "$CONFIG_QTE" = "y" ]; then
115    string '    Qt Embedded headers and libraries' CONFIG_WITHQTE ""
116 fi
117 bool 'HD1000 Video Output module' CONFIG_HD1000V
118 if [ "$CONFIG_WIN32" = "y" ]; then
119    bool 'Win32 DirectX support' CONFIG_DIRECTX
120    if [ "$CONFIG_DIRECTX" = "y" ]; then
121       string '    Win32 DirectX headers' CONFIG_WITHDIRECTX ""
122    fi
123    bool 'Win32 GDI module' CONFIG_WINGDI
124 fi
125 bool 'SVGAlib support' CONFIG_SVGALIB
126 bool 'GGI support' CONFIG_GGI
127 if [ "$CONFIG_GGI" = "y" ]; then
128    string '    Path to libggi' CONFIG_WITHGGI ""
129 fi
130 bool 'Glide (3dfx) support' CONFIG_GLIDE
131 if [ "$CONFIG_GLIDE" = "y" ]; then
132    string '    Path to libglide' CONFIG_WITHGLIDE ""
133 fi
134 bool 'aalib output' CONFIG_AA
135 bool 'cacalib output' CONFIG_CACA
136 if [ "$CONFIG_CACA" = "y" ]; then
137    string '    Caca-config path' CONFIG_WITHCACACONFIGPATH ""
138 fi
139 endmenu
140
141 mainmenu_option next_comment
142 comment 'Audio plugins'
143 if [ "$CONFIG_LINUX" = "y" ]; then
144    bool 'Linux OSS /dev/dsp support' CONFIG_OSS
145    bool 'Esound library support' CONFIG_ESD
146    bool 'aRts sound server' CONFIG_ARTS
147    bool 'ALSA sound support for Linux' CONFIG_ALSA
148 fi
149 if [ "$CONFIG_WIN32" = "y" ]; then
150    bool 'Win32 waveOut module' CONFIG_WAVEOUT
151 fi
152 if [ "$CONFIG_MAC" = "y" ]; then
153    bool 'CoreAudio module' CONFIG_COREAUDIO
154 fi
155 bool 'HD1000 audio module' CONFIG_HD1000A
156 endmenu
157
158 mainmenu_option next_comment
159 comment 'Codec plugins'
160 bool 'Libmad module' CONFIG_MAD
161 if [ "$CONFIG_MAD" = "y" ]; then
162    string '    Path to libmad' CONFIG_WITHMAD ""
163    string '    Mad tree for static linking' CONFIG_WITHMADTREE ""
164 fi
165 bool 'Ffmpeg codec' CONFIG_FFMPEG
166 if [ "$CONFIG_FFMPEG" = "y" ]; then
167    bool   '    Ffmpeg has been compiled with mp3lame support' CONFIG_WITHFFMPEGMP3LAME
168    bool   '    Ffmpeg has been compiled with faac support' CONFIG_WITHFFMPEGFAAC
169    string '    Ffmpeg tree for static linking' CONFIG_WITHFFMPEGTREE ""
170 fi
171 bool 'Faad codec' CONFIG_FAAD
172 if [ "$CONFIG_FAAD" = "y" ]; then
173    string '    Faad tree for static linking' CONFIG_WITHFAADTREE ""
174 fi
175 bool 'QuickTime module' CONFIG_QUICKTIME
176 bool 'A/52 support with liba52' CONFIG_A52
177 if [ "$CONFIG_A52" = "y" ]; then
178    string '    A52 headers and libraries' CONFIG_WITHA52 ""
179    string '    A52dec tree for static linking' CONFIG_WITHA52TREE ""
180 fi
181 bool 'DTS Coherent Acoustics support with libdts' CONFIG_DTS
182 if [ "$CONFIG_DTS" = "y" ]; then
183    string '    Libdts tree for static linking' CONFIG_WITHDTSTREE ""
184 fi
185 bool 'Flac decoder support' CONFIG_FLAC
186 bool 'Libmpeg2 decoder support' CONFIG_LIBMPEG2
187 if [ "$CONFIG_LIBMPEG2" = "y" ]; then
188    string '    Libmpeg2 tree for static linking' CONFIG_WITHLIBMPEG2TREE ""
189 fi
190 bool 'Vorbis decoder support' CONFIG_VORBIS
191 bool 'Tremor decoder support' CONFIG_TREMOR
192 bool 'Speex decoder support' CONFIG_SPEEX
193 bool 'Experimental tarkin codec' CONFIG_TARKIN
194 if [ "$CONFIG_TARKIN" = "y" ]; then
195    string '    Tarkin tree for static linking' CONFIG_WITHTARKINTREE ""
196 fi
197 bool 'Experimental theora codec' CONFIG_THEORA
198 bool 'CMML support' CONFIG_CMML
199 endmenu
200
201 mainmenu_option next_comment
202 comment 'Miscellaneous options'
203 bool 'UTF8 support' CONFIG_UTF8
204 bool 'GNU Portable Threads (Pth) support' CONFIG_PTH
205 bool 'State threads (st) support' CONFIG_ST
206 bool 'Gprof profiling' CONFIG_GPROF
207 bool 'Cprof profiling' CONFIG_CPROF
208 # TODO: change to a tristate choice
209 # bool 'Set endianness' CONFIG_ENDIANNESS
210 bool 'Mozilla plugin' CONFIG_MOZILLA
211 if [ "$CONFIG_MOZILLA" = "y" ]; then
212    string '    Path to win32 mozilla sdk' CONFIG_WITHMOZILLASDKPATH ""
213 fi
214 bool 'Build test modules' CONFIG_TESTSUITE
215 bool 'Enable http daemon' CONFIG_HTTPD
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