Commit 3ef68d34 authored by Yasuhiro Ikeda's avatar Yasuhiro Ikeda Committed by Fiona Glaser
Browse files

Improve configure help

parent 9dd3e96e
...@@ -4,36 +4,52 @@ if test x"$1" = x"-h" -o x"$1" = x"--help" ; then ...@@ -4,36 +4,52 @@ if test x"$1" = x"-h" -o x"$1" = x"--help" ; then
cat <<EOF cat <<EOF
Usage: ./configure [options] Usage: ./configure [options]
available options: Help:
-h, --help print this message
Standard options:
--prefix=PREFIX install architecture-independent files in PREFIX
[/usr/local]
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
[PREFIX]
--bindir=DIR install binaries in DIR [EPREFIX/bin]
--libdir=DIR install libs in DIR [EPREFIX/lib]
--includedir=DIR install includes in DIR [PREFIX/include]
--extra-asflags=EASFLAGS add EASFLAGS to ASFLAGS
--extra-cflags=ECFLAGS add ECFLAGS to CFLAGS
--extra-ldflags=ELDFLAGS add ELDFLAGS to LDFLAGS
--help print this message Configuration options:
--disable-cli disables cli --disable-cli disable cli
--system-libx264 use system libx264 instead of internal --system-libx264 use system libx264 instead of internal
--enable-shared build shared library --enable-shared build shared library
--enable-static build static library --enable-static build static library
--disable-avs disables avisynth support (windows only) --disable-gpl disable GPL-only features
--disable-lavf disables libavformat support --disable-thread disable multithreaded encoding
--disable-ffms disables ffmpegsource support
--disable-gpac disables gpac support
--disable-gpl disables GPL-only features
--disable-thread disables multithreaded encoding
--enable-win32thread use win32threads (windows only) --enable-win32thread use win32threads (windows only)
--disable-swscale disables swscale support --disable-interlaced disable interlaced encoding support
--disable-asm disables platform-specific assembly optimizations --enable-visualize enable visualization (X11 only)
--disable-interlaced disables interlaced encoding support --bit-depth=BIT_DEPTH set output bit depth (8-10) [8]
--enable-debug adds -g
--enable-gprof adds -pg Advanced options:
--enable-strip adds -s --disable-asm disable platform-specific assembly optimizations
--enable-visualize enables visualization (X11 only) --enable-debug add -g
--enable-gprof add -pg
--enable-strip add -s
--enable-pic build position-independent code --enable-pic build position-independent code
--bit-depth=BIT_DEPTH sets output bit depth (8-10), default 8
--extra-asflags=EASFLAGS add EASFLAGS to ASFLAGS Cross-compilation:
--extra-cflags=ECFLAGS add ECFLAGS to CFLAGS
--extra-ldflags=ELDFLAGS add ELDFLAGS to LDFLAGS
--host=HOST build programs to run on HOST --host=HOST build programs to run on HOST
--cross-prefix=PREFIX use PREFIX for compilation tools --cross-prefix=PREFIX use PREFIX for compilation tools
--sysroot=SYSROOT root of cross-build tree --sysroot=SYSROOT root of cross-build tree
External library support:
--disable-avs disable avisynth support (windows only)
--disable-swscale disable swscale support
--disable-lavf disable libavformat support
--disable-ffms disable ffmpegsource support
--disable-gpac disable gpac support
EOF EOF
exit 1 exit 1
fi fi
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment