Difference between revisions of "VLC configure help"

From VideoLAN Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
 +
To launch get the current informations about this file:
  
<nowiki>
+
./configure --help
 +
 
 +
 
 +
<nowiki>
 
`configure' configures vlc 0.9.0-svn to adapt to many kinds of systems.
 
`configure' configures vlc 0.9.0-svn to adapt to many kinds of systems.
  

Revision as of 08:39, 5 June 2007

To launch get the current informations about this file:

./configure --help


`configure' configures vlc 0.9.0-svn to adapt to many kinds of systems.

Usage: ./configure [OPTION]... [VAR=VALUE]...

To assign environment variables (e.g., CC, CFLAGS...), specify them as
VAR=VALUE.  See below for descriptions of some of the useful variables.

Defaults for the options are specified in brackets.

Configuration:
  -h, --help              display this help and exit
      --help=short        display options specific to this package
      --help=recursive    display the short help of all the included packages
  -V, --version           display version information and exit
  -q, --quiet, --silent   do not print `checking...' messages
      --cache-file=FILE   cache test results in FILE [disabled]
  -C, --config-cache      alias for `--cache-file=config.cache'
  -n, --no-create         do not create output files
      --srcdir=DIR        find the sources in DIR [configure dir or `..']

Installation directories:
  --prefix=PREFIX         install architecture-independent files in PREFIX
			  [/usr/local]
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
			  [PREFIX]

By default, `make install' will install all the files in
`/usr/local/bin', `/usr/local/lib' etc.  You can specify
an installation prefix other than `/usr/local' using `--prefix',
for instance `--prefix=$HOME'.

For better control, use the options below.

Fine tuning of the installation directories:
  --bindir=DIR           user executables [EPREFIX/bin]
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
  --libexecdir=DIR       program executables [EPREFIX/libexec]
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
  --libdir=DIR           object code libraries [EPREFIX/lib]
  --includedir=DIR       C header files [PREFIX/include]
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
  --infodir=DIR          info documentation [DATAROOTDIR/info]
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
  --mandir=DIR           man documentation [DATAROOTDIR/man]
  --docdir=DIR           documentation root [DATAROOTDIR/doc/vlc]
  --htmldir=DIR          html documentation [DOCDIR]
  --dvidir=DIR           dvi documentation [DOCDIR]
  --pdfdir=DIR           pdf documentation [DOCDIR]
  --psdir=DIR            ps documentation [DOCDIR]

Program names:
  --program-prefix=PREFIX            prepend PREFIX to installed program names
  --program-suffix=SUFFIX            append SUFFIX to installed program names
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names

X features:
  --x-includes=DIR    X include files are in DIR
  --x-libraries=DIR   X library files are in DIR

System types:
  --build=BUILD     configure for building on BUILD [guessed]
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]

Optional Features:
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  --enable-maintainer-mode  enable make rules and dependencies not useful
			  (and sometimes confusing) to the casual installer
  --disable-dependency-tracking  speeds up one-time build
  --enable-dependency-tracking   do not reject slow dependency extractors
  --enable-macosx-defaults Build the default configuration on Mac OS X (default enabled)
  --enable-static[=PKGS]  build static libraries [default=no]
  --enable-shared[=PKGS]  build shared libraries [default=yes]
  --enable-fast-install[=PKGS]
                          optimize for fast installation [default=yes]
  --disable-libtool-lock  avoid locking (might break parallel builds)
  --enable-libtool        use libtool (default enabled)
  --disable-rpath         do not hardcode runtime library paths
  --disable-nls           do not use Native Language Support
  --enable-pth            GNU Pth support (default disabled)
  --enable-st             State Threads (default disabled)
  --enable-hal            Linux HAL services discovery (default enabled)
  --enable-dbus           Linux D-BUS message bus system (default enabled)
  --enable-old-dbus      Deprecated D-Bus support (default disabled)
  --enable-dbus-control   D-BUS control interface (default disabled)
  --enable-gprof          gprof profiling (default disabled)
  --enable-cprof          cprof profiling (default disabled)
  --enable-mostly-builtin most modules will be built-in (default disabled)
  --enable-optimize-memory      optimize memory usage over performance
  --disable-optimizations disable compiler optimizations (default enabled)
  --disable-altivec       disable AltiVec optimizations (default enabled on PPC)
  --enable-debug          debug mode (default disabled)
  --enable-coverage       build for test coverage (default disabled)
  --enable-release        activate extra optimizations (default disabled)
  --enable-sout           Stream output modules (default enabled)
  --enable-switcher       Stream-out switcher plugin (default disabled)
  --enable-shout          libshout output plugin (default disabled)
  --enable-lua            lua playlist demux plugin (default enabled)
  --enable-httpd          HTTP daemon (default enabled)
  --enable-vlm            VideoLAN manager (default enabled)
  --enable-growl          growl notification plugin (default enabled)
  --enable-notify         libnotify notification plugin (default enabled)
  --disable-audioscrobbler Last.fm submission plugin (default enabled)
  --enable-musicbrainz    MusicBrainz support (default disabled)
  --enable-taglib Taglib support (default disabled)
  --enable-live555        live555 RTSP input plugin (default enabled)
  --enable-dc1394       dc1394 access module (default disabled)
  --enable-dv             dv input module (default disabled)
  --enable-dvdread        dvdread input module (default disabled)
  --enable-dvdnav         dvdnav input module (default enabled)
  --enable-dshow          Win32 DirectShow support (default enabled on Win32)
  --enable-bda          Win32 DirectShow BDA support (default enabled on Win32)
  --enable-opencv            OpenCV (computer vision) filter (default disabled)
  --enable-smb            smb input module (default enabled)
  --enable-dvbpsi         dvbpsi ts mux and demux module (default enabled)
  --enable-v4l            Video4Linux input support (default disabled)
  --enable-v4l2            Video4Linux2 input support (default disabled)
  --enable-pvr            PVR cards access module (default disabled)
  --enable-gnomevfs       GnomeVFS access module (default disabled)
  --enable-libcdio        CD input and control library support (default enabled)
  --enable-cddax          audio CD plugin with CD Text and CD paranoia via libcdio (default disabled)
  --enable-libcddb        CDDB support for libcdio audio CD (default enabled)
  --enable-vcdx           VCD with navigation via libvcdinfo (default disabled)
  --enable-cdda           audio CD via built-in VCD (default enabled)
  --enable-vcd            built-in VCD (default enabled)
  --enable-dvb            DVB-S/T/C card support (default disabled)
  --enable-screen         Screen capture support (default enabled)
  --enable-ogg            Ogg demux support (default enabled)
  --enable-mkv            Matroska demux support (default enabled)
  --enable-mod            Mod demux support (default enabled)
  --enable-mpc            Mpc demux support (default enabled)
  --enable-gme            Game Music Emu demux support (default enabled)
  --enable-mad            libmad module (default enabled)
  --enable-ffmpeg         ffmpeg codec (default enabled)
  --enable-ffmpegaltivec  ffmpegaltivec codec (DO NOT USE)
  --enable-faad           faad codec (default disabled)
  --enable-twolame        twolame codec (default disabled)
  --enable-quicktime      QuickTime module (default enabled on MacOS X)
  --enable-real           Real audio module (default disabled)
  --enable-realrtsp       Real RTSP module (default disabled)
  --enable libtar support for skins2 (default enabled)
  --enable-a52            A/52 support with liba52 (default enabled)
  --enable-dca            DTS Coherent Acoustics support with libdca (default enabled)
  --enable-flac           libflac decoder/encoder support (default disabled)
  --enable-libmpeg2       libmpeg2 decoder support (default enabled)
  --enable-vorbis         Vorbis decoder support (default enabled)
  --enable-tremor         Tremor decoder support (default disabled)
  --enable-speex          Speex decoder support (default enabled)
  --enable-tarkin         experimental tarkin codec (default disabled)
  --enable-theora         experimental theora codec (default disabled)
  --enable-dirac          experimental dirac codec (default disabled)
  --enable-png            PNG support (default enabled)
  --enable-x264           H264 encoding support with libx264 (default enabled)
  --enable-cmml           CMML support (default enabled)
  --enable-x11            X11 support (default enabled)
  --enable-xvideo         XVideo support (default enabled)
  --enable-glx            X11 OpenGL (GLX) support (default enabled)
  --enable-xvmc            XVMC support (default disabled)
  --enable-xinerama       Xinerama support (default enabled)
  --enable-opengl         OpenGL support (default enabled)
  --enable-sdl            SDL support (default enabled)
  --enable-sdl-image            SDL image support (default enabled)
  --enable-freetype       freetype support (default enabled)
  --enable-fribidi        fribidi support (default enabled)
  --enable-libxml2        libxml2 support (default enabled)
  --enable-svg            SVG support (default disabled)
  --enable-snapshot       snapshot module (default disabled)
  --enable-qte            QT Embedded support (default disabled)
  --enable-hd1000v        HD1000 Video Output module (default enabled on HD1000)
  --enable-directx        Win32 DirectX support (default enabled on Win32)
  --enable-fb             Linux framebuffer support (default enabled on Linux)
  --enable-mga            Linux kernel Matrox support (default disabled)
  --enable-svgalib        SVGAlib support (default disabled)
  --enable-directfb       DirectFB support (default disabled)
  --enable-ggi            GGI support (default disabled)
  --enable-glide          Glide (3dfx) support (default disabled)
  --enable-aa             aalib output (default disabled)
  --enable-caca           libcaca output (default disabled)
  --enable-wingdi         Win32 GDI module (default enabled on Win32)
  --enable-oss            Linux OSS /dev/dsp support (enabled on Linux)
  --enable-esd            Esound library support (default disabled)
  --enable-portaudio      Portaudio library support (default disabled)
  --enable-arts           aRts sound server (default disabled)
  --enable-alsa           ALSA sound support for Linux (default enabled)
  --enable-waveout        Win32 waveOut module (default enabled on Win32)
  --enable-macosx-audio   Mac OS X audio module (default enabled on MacOS X)
  --enable-hd1000a        HD1000 audio module (default enabled on HD1000)
  --enable-jack           JACK audio I/O modules (default disabled)
  --enable-cyberlink      CyberLink for C++ UPnP stack (default disabled)
  --enable-upnp           Intel UPnP SDK (default auto)
  --enable-skins2         Skins2 interface module (default disabled)
  --enable-pda            PDA interface needs Gtk2 support (default disabled)
  --enable-wxwidgets      wxWidgets support (default disabled)
  --enable-qt4            QT 4 support (default enabled)
  --enable-opie           Qt embedded interface support (default disabled)
  --enable-macosx         MacOS X support (default enabled on MacOS X)
  --enable-qnx            QNX RTOS support (default enabled on QNX RTOS)
  --enable-ncurses        ncurses interface support (default disabled)
  --enable-xosd           xosd interface support (default disabled)
  --enable-visual         visualisation plugin (default enabled)
  --enable-galaktos       OpenGL visualisation plugin (default disabled)
  --enable-goom           goom visualisation plugin (default disabled)
  --enable-bonjour        Bonjour services discovery (default enabled)
  --enable-lirc           lirc support (default disabled)
  --enable-gnutls         gnutls TLS/SSL support (default enabled)
  --enable-loader         build DLL loader for ELF i386 platforms (default disabled)
  --enable-activex        build a vlc-based ActiveX control (default enabled on Win32)
  --enable-mozilla        build a vlc-based Firefox/Mozilla plugin (default disabled)
  --enable-python-bindings    Enable Python bindings (default disabled)
  --enable-java-bindings  Enable Java bindings (default disabled)
  --enable-testsuite      build test modules (default disabled)
  --disable-plugins       make all plugins built-in (default plugins enabled)

Optional Packages:
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  --without-contrib       do not use the libraries in extras/contrib
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
  --with-pic              try to use only PIC/non-PIC objects [default=use
                          both]
  --with-tags[=TAGS]      include additional configurations [automatic]
  --with-macosx-sdk       compile with the Mac OS X 10.4u SDK
  --with-gnu-ld           assume the C compiler uses GNU ld default=no
  --with-libiconv-prefix=DIR  search for libiconv in DIR/include and DIR/lib
  --without-libiconv-prefix     don't search for libiconv in includedir and libdir
  --with-included-gettext use the GNU gettext library included here
  --with-libintl-prefix=DIR  search for libintl in DIR/include and DIR/lib
  --without-libintl-prefix     don't search for libintl in includedir and libdir
  --with-x                use the X Window System

Optimization options:
  --with-tuning=ARCH      enable special tuning for an architecture
                          (default Pentium 2 on IA-32 and G4 on PPC)
Input plugins:
    --with-live555-tree=PATH live.com tree for static linking
    --with-dv-raw1394=PATH   libraw1394 headers and libraries
    --with-dv-raw1394=PATH   libraw1394 tree for static linking
    --with-dv-avc1394=PATH   libavc1394 headers and libraries
    --with-dv-avc1394=PATH   libavc1394 tree for static linking
    --with-dvdread=PATH   libdvdread headers and libraries
    --with-dvdread-tree=PATH libdvdread tree for static linking
    --with-dvdnav-config-path=PATH dvdnav-config path (default search in \$PATH)
    --with-opencv-tree=PATH opencv tree for linking
    --with-dvbpsi=PATH    libdvbpsi headers and libraries
    --with-dvbpsi-tree=PATH libdvbpsi tree for static linking
    --with-v4l=PATH       path to a v4l-enabled kernel tree
    --with-v4l2=PATH       path to a v4l2-enabled kernel tree
  --with-videodev2=FILE   Location of videodev2.h file (default /usr/include/linux/videodev2.h)
    --with-dvb=PATH       path to a dvb- and v4l2-enabled kernel tree
    --with-ogg-tree=PATH  ogg tree for static linking
    --with-mod-tree=PATH mod tree for static linking
    --with-gme-tree=PATH gme tree for static linking
Codec plugins:
    --with-mad=PATH       path to libmad
    --with-mad-tree=PATH   mad tree for static linking
    --with-ffmpeg-mp3lame specify if ffmpeg has been compiled with mp3lame support
    --with-ffmpeg-faac    specify if ffmpeg has been compiled with faac support
    --with-ffmpeg-dts     specify if ffmpeg has been compiled with dts support
    --with-ffmpeg-vorbis    specify if ffmpeg has been compiled with vorbis support
    --with-ffmpeg-theora    specify if ffmpeg has been compiled with theora support
    --with-ffmpeg-ogg    specify if ffmpeg has been compiled with ogg support
    --with-ffmpeg-zlib    specify if ffmpeg has been compiled with zlib support
    --with-ffmpeg-tree=PATH ffmpeg tree for static linking
    --with-ffmpeg-config-path=PATH ffmpeg-config path (default search in \$PATH)
    --with-faad-tree=PATH faad tree for static linking
    --with-twolame-tree=PATH twolame tree for static linking
    --with-a52=PATH       a52 headers and libraries
    --with-a52-tree=PATH  a52dec tree for static linking
    --with-a52-fixed      specify if liba52 has been compiled with fixed point support
    --with-dca-tree=PATH  libdca tree for static linking
    --with-flac-tree=PATH flac tree for static linking
    --with-libmpeg2-tree=PATH libmpeg2 tree for static linking
    --with-vorbis-tree=PATH vorbis tree for static linking
    --with-speex-tree=PATH speex tree for static linking
    --with-tarkin-tree=PATH tarkin tree for static linking
    --with-x264-tree=PATH x264 tree for static linking
Video plugins:
    --with-sdl-config-path=PATH sdl-config path (default search in \$PATH)
    --with-sdl-prefix=PATH path to libsdl (needed for cross-compiling),
                               e.g use as:
                               --with-sdl-prefix=/usr/local/arm/2.95.3/arm-linux/usr)
    --with-freetype-config-path=PATH freetype-config path (default search in \$PATH)
    --with-fribidi-config-path=PATH fribidi-config path (default search in \$PATH)
    --with-xml2-config-path=PATH xml2-config path (default search in \$PATH)
    --with-qte=PATH       Qt Embedded headers and libraries
    --with-directx=PATH   Win32 DirectX headers
    --with-directfb=PATH  path to directfb
    --with-ggi=PATH       path to libggi
    --with-glide=PATH     path to libglide
    --with-caca-config-path=PATH caca-config path (default search in \$PATH)
Audio plugins:
    --with-cyberlink-tree=PATH CyberLink for C++ tree for static linking
Interface plugins:
    --with-wx-config-path=PATH wx-config path (default search in \$PATH)
    --with-wx-config=INTL      wx-config name (default is wx-config)
    --with-goom-tree=PATH goom tree for static linking (required)
Misc options:
  --with-libgcrypt-prefix=PFX
                          prefix where LIBGCRYPT is installed (optional)
    --with-words=endianness set endianness (big or little)
    --with-wine-sdk-path=PATH path to wine sdk
    --with-mozilla-sdk-path=PATH path to mozilla sdk

Some influential environment variables:
  CC          C compiler command
  CFLAGS      C compiler flags
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
              nonstandard directory <lib dir>
  LIBS        libraries to pass to the linker, e.g. -l<library>
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
              you have headers in a nonstandard directory <include dir>
  CPP         C preprocessor
  CXX         C++ compiler command
  CXXFLAGS    C++ compiler flags
  OBJC        Objective C compiler command
  OBJCFLAGS   Objective C compiler flags
  CCAS        assembler compiler command (defaults to CC)
  CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
  CXXCPP      C++ preprocessor
  XMKMF       Path to xmkmf, Makefile generator for X Window System
  PKG_CONFIG  path to pkg-config utility
  HAL_CFLAGS  C compiler flags for HAL, overriding pkg-config
  HAL_LIBS    linker flags for HAL, overriding pkg-config
  DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
  DBUS_LIBS   linker flags for DBUS, overriding pkg-config
  SHOUT_CFLAGS
              C compiler flags for SHOUT, overriding pkg-config
  SHOUT_LIBS  linker flags for SHOUT, overriding pkg-config
  LUA_CFLAGS  C compiler flags for LUA, overriding pkg-config
  LUA_LIBS    linker flags for LUA, overriding pkg-config
  NOTIFY_CFLAGS
              C compiler flags for NOTIFY, overriding pkg-config
  NOTIFY_LIBS linker flags for NOTIFY, overriding pkg-config
  MUSICBRAINZ_CFLAGS
              C compiler flags for MUSICBRAINZ, overriding pkg-config
  MUSICBRAINZ_LIBS
              linker flags for MUSICBRAINZ, overriding pkg-config
  TAGLIB_CFLAGS
              C compiler flags for TAGLIB, overriding pkg-config
  TAGLIB_LIBS linker flags for TAGLIB, overriding pkg-config
  GNOMEVFS_CFLAGS
              C compiler flags for GNOMEVFS, overriding pkg-config
  GNOMEVFS_LIBS
              linker flags for GNOMEVFS, overriding pkg-config
  LIBCDIO_CFLAGS
              C compiler flags for LIBCDIO, overriding pkg-config
  LIBCDIO_LIBS
              linker flags for LIBCDIO, overriding pkg-config
  VCDINFO_CFLAGS
              C compiler flags for VCDINFO, overriding pkg-config
  VCDINFO_LIBS
              linker flags for VCDINFO, overriding pkg-config
  LIBCDIO_PARANOIA_CFLAGS
              C compiler flags for LIBCDIO_PARANOIA, overriding pkg-config
  LIBCDIO_PARANOIA_LIBS
              linker flags for LIBCDIO_PARANOIA, overriding pkg-config
  LIBCDDB_CFLAGS
              C compiler flags for LIBCDDB, overriding pkg-config
  LIBCDDB_LIBS
              linker flags for LIBCDDB, overriding pkg-config
  FFMPEG_CFLAGS
              C compiler flags for FFMPEG, overriding pkg-config
  FFMPEG_LIBS linker flags for FFMPEG, overriding pkg-config
  POSTPROC_CFLAGS
              C compiler flags for POSTPROC, overriding pkg-config
  POSTPROC_LIBS
              linker flags for POSTPROC, overriding pkg-config
  SWSCALE_CFLAGS
              C compiler flags for SWSCALE, overriding pkg-config
  SWSCALE_LIBS
              linker flags for SWSCALE, overriding pkg-config
  DCA_CFLAGS  C compiler flags for DCA, overriding pkg-config
  DCA_LIBS    linker flags for DCA, overriding pkg-config
  DIRAC_CFLAGS
              C compiler flags for DIRAC, overriding pkg-config
  DIRAC_LIBS  linker flags for DIRAC, overriding pkg-config
  SVG_CFLAGS  C compiler flags for SVG, overriding pkg-config
  SVG_LIBS    linker flags for SVG, overriding pkg-config
  GTK2_CFLAGS C compiler flags for GTK2, overriding pkg-config
  GTK2_LIBS   linker flags for GTK2, overriding pkg-config
  QT4_CFLAGS  C compiler flags for QT4, overriding pkg-config
  QT4_LIBS    linker flags for QT4, overriding pkg-config
  BONJOUR_CFLAGS
              C compiler flags for BONJOUR, overriding pkg-config
  BONJOUR_LIBS
              linker flags for BONJOUR, overriding pkg-config
  GNUTLS_CFLAGS
              C compiler flags for GNUTLS, overriding pkg-config
  GNUTLS_LIBS linker flags for GNUTLS, overriding pkg-config
  MIDL        Microsoft IDL compiler (Win32 platform only)
  WIDL        Wine IDL compiler (requires Wine SDK)
  FIREFOX_CFLAGS
              C compiler flags for FIREFOX, overriding pkg-config
  FIREFOX_LIBS
              linker flags for FIREFOX, overriding pkg-config
  FIREFOX_XPCOM_CFLAGS
              C compiler flags for FIREFOX_XPCOM, overriding pkg-config
  FIREFOX_XPCOM_LIBS
              linker flags for FIREFOX_XPCOM, overriding pkg-config
  MOZILLA_NSPR_CFLAGS
              C compiler flags for MOZILLA_NSPR, overriding pkg-config
  MOZILLA_NSPR_LIBS
              linker flags for MOZILLA_NSPR, overriding pkg-config
  NSPR_CFLAGS C compiler flags for NSPR, overriding pkg-config
  NSPR_LIBS   linker flags for NSPR, overriding pkg-config
  GLIB2_CFLAGS
              C compiler flags for GLIB2, overriding pkg-config
  GLIB2_LIBS  linker flags for GLIB2, overriding pkg-config

Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.