+
+if test x"$1" = x"-h" -o x"$1" = x"--help" ; then
+cat << EOF
+
+Usage: configure [options]
+Options: [defaults in brackets after descriptions]
+
+EOF
+echo "Standard options:"
+echo " --help print this message"
+echo " --prefix=PREFIX install in PREFIX [$prefix]"
+echo " --mandir=DIR man documentation in DIR [PREFIX/man]"
+echo " --enable-mp3lame enable mp3 encoding via libmp3lame [default=no]"
+echo " --enable-vorbis enable vorbis support via libvorbisenc [default=no]"
+echo " --enable-faad enable faad support via libfaad [default=no]"
+echo " --enable-faadbin build faad support with runtime linking [default=no]"
+echo " --enable-faac enable faac support via libfaac [default=no]"
+echo " --enable-mingw32 enable mingw32 native/cross windows compile"
+echo " --enable-a52 enable GPL'ed A52 support [default=no]"
+echo " --enable-a52bin open liba52.so.0 at runtime [default=no]"
+echo " --enable-pp enable GPL'ed post processing support [default=no]"
+echo " --enable-shared-pp use libpostproc.so [default=no]"
+echo " --enable-shared build shared libraries [default=no]"
+echo " --enable-amr_nb enable amr_nb float audio codec"
+echo " --enable-amr_nb-fixed use fixed point for amr-nb codec"
+echo " --enable-amr_wb enable amr_wb float audio codec"
+echo " --enable-sunmlib use Sun medialib [default=no]"
+echo " --enable-pthreads use pthreads [default=no]"
+echo ""
+echo "Advanced options (experts only):"
+echo " --source-path=PATH path of source code [$source_path]"
+echo " --cross-prefix=PREFIX use PREFIX for compile tools [$cross_prefix]"
+echo " --cc=CC use C compiler CC [$cc]"
+echo " --make=MAKE use specified make [$make]"
+echo " --extra-cflags=ECFLAGS add ECFLAGS to CFLAGS [$CFLAGS]"
+echo " --extra-ldflags=ELDFLAGS add ELDFLAGS to LDFLAGS [$LDFLAGS]"
+echo " --extra-libs=ELIBS add ELIBS [$ELIBS]"
+echo " --cpu=CPU force cpu to CPU [$cpu]"
+echo " --tune=PROCESSOR tune code for a particular CPU (may fails or misperforms on other CPUs)"
+echo " --powerpc-perf-enable enable performance report on PPC (requires enabling PMC)"
+echo " --disable-mmx disable mmx usage"
+echo " --disable-altivec disable AltiVec usage"
+echo " --disable-audio-oss disable OSS audio support [default=no]"
+echo " --disable-audio-beos disable BeOS audio support [default=no]"
+echo " --disable-v4l disable video4linux grabbing [default=no]"
+echo " --disable-dv1394 disable DV1394 grabbing [default=no]"
+echo " --disable-network disable network support [default=no]"
+echo " --disable-zlib disable zlib [default=no]"
+echo " --disable-simple_idct disable simple IDCT routines [default=no]"
+echo " --disable-vhook disable video hooking support"
+echo " --enable-gprof enable profiling with gprof [$gprof]"
+echo " --disable-debug disable debugging symbols"
+echo " --disable-opts disable compiler optimizations"
+echo " --disable-mpegaudio-hp faster (but less accurate)"
+echo " mpegaudio decoding [default=no]"
+echo " --disable-ffserver disable ffserver build"
+echo " --disable-ffplay disable ffplay build"
+echo " --disable-risky disables patent encumbered codecs"
+echo " --enable-small optimize for size instead of speed"
+echo ""
+echo "NOTE: The object files are build at the place where configure is launched"
+exit 1
+fi
+