Configure
Jump to navigation
Jump to search
configure (also known as ./configure) is a BASH script used to gather information about your computer and select options on what to link to and how. Before running make (which compiles vlc), you should run configure.
If you are compiling source from CVS, then you should run bootstrap before running configure.
You can run configure like this:
./configure
Contents
Options
Below are some common options for configure:
option | meaning |
---|---|
--prefix=/home/user/vlc/ | Sets the location of where to install vlc |
--enable-flac | Turns on support for FLAC audio files |
--enable-ffmpeg | Links with ffmpeg |
--with-ffmpeg-tree=/home/user/ffmpeg | Location of ffmpeg source code |
See `./configure --help' for more information.
Examples
Linux
./configure --enable-x11 --enable-xvideo --disable-gtk \ --enable-sdl --enable-ffmpeg --with-ffmpeg-mp3lame \ --enable-mad --enable-libdvbpsi --enable-a52 --enable-dts \ --enable-libmpeg2 --enable-dvdnav --enable-faad \ --enable-vorbis --enable-ogg --enable-theora --enable-faac\ --enable-mkv --enable-freetype --enable-fribidi \ --enable-speex --enable-flac --enable-livedotcom \ --with-livedotcom-tree=/usr/lib/live --enable-caca \ --enable-skins --enable-skins2 --enable-alsa --disable-kde\ --disable-qt --enable-wxwindows --enable-ncurses \ --enable-release
Windows
From http://developers.videolan.org/vlc/vlc/INSTALL.win32
If you are cross-compiling from Debian, you can use something along those lines:
./bootstrap