[x264-devel] Minor cosmetics in configure

Yasuhiro Ikeda git at videolan.org
Mon Feb 7 06:31:30 CET 2011


x264 | branch: master | Yasuhiro Ikeda <wipple625 at gmail.com> | Thu Feb  3 10:54:44 2011 +0900| [53b229c5c0c508f34875ca4053225c1862fc4205] | committer: Jason Garrett-Glaser

Minor cosmetics in configure

> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=53b229c5c0c508f34875ca4053225c1862fc4205
---

 configure |   55 ++++++++++++++++++++++++++++---------------------------
 1 files changed, 28 insertions(+), 27 deletions(-)

diff --git a/configure b/configure
index 8c4cf3a..96544ce 100755
--- a/configure
+++ b/configure
@@ -1,34 +1,35 @@
 #!/bin/bash
 
 if test x"$1" = x"-h" -o x"$1" = x"--help" ; then
+cat <<EOF
+Usage: ./configure [options]
+
+available options:
+
+  --help                   print this message
+  --disable-avs            disables avisynth support (windows only)
+  --disable-lavf           disables libavformat support
+  --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)
+  --disable-swscale        disables swscale support
+  --disable-asm            disables platform-specific assembly optimizations
+  --enable-debug           adds -g, doesn't strip
+  --enable-gprof           adds -pg, doesn't strip
+  --enable-visualize       enables visualization (X11 only)
+  --enable-pic             build position-independent code
+  --enable-shared          build shared library
+  --bit-depth=BIT_DEPTH    sets output bit depth (8-10), default 8
+  --extra-asflags=EASFLAGS add EASFLAGS to ASFLAGS
+  --extra-cflags=ECFLAGS   add ECFLAGS to CFLAGS
+  --extra-ldflags=ELDFLAGS add ELDFLAGS to LDFLAGS
+  --host=HOST              build programs to run on HOST
+  --cross-prefix=PREFIX    use PREFIX for compilation tools
+  --sysroot=SYSROOT        root of cross-build tree
 
-echo "Usage: ./configure [options]"
-echo ""
-echo "available options:"
-echo ""
-echo "  --help                   print this message"
-echo "  --disable-avs            disables avisynth support (windows only)"
-echo "  --disable-lavf           disables libavformat support"
-echo "  --disable-ffms           disables ffmpegsource support"
-echo "  --disable-gpac           disables gpac support"
-echo "  --disable-gpl            disables GPL-only features"
-echo "  --disable-thread         disables multithreaded encoding"
-echo "  --enable-win32thread     use win32threads (windows only)"
-echo "  --disable-swscale        disables swscale support"
-echo "  --disable-asm            disables platform-specific assembly optimizations"
-echo "  --enable-debug           adds -g, doesn't strip"
-echo "  --enable-gprof           adds -pg, doesn't strip"
-echo "  --enable-visualize       enables visualization (X11 only)"
-echo "  --enable-pic             build position-independent code"
-echo "  --enable-shared          build libx264.so"
-echo "  --bit-depth=BIT_DEPTH    sets output bit depth (8-10), default 8"
-echo "  --extra-asflags=EASFLAGS add EASFLAGS to ASFLAGS"
-echo "  --extra-cflags=ECFLAGS   add ECFLAGS to CFLAGS"
-echo "  --extra-ldflags=ELDFLAGS add ELDFLAGS to LDFLAGS"
-echo "  --host=HOST              build programs to run on HOST"
-echo "  --cross-prefix=PREFIX    use PREFIX for compilation tools"
-echo "  --sysroot=SYSROOT        root of cross-build tree"
-echo ""
+EOF
 exit 1
 fi
 



More information about the x264-devel mailing list