echo " --disable-zlib disable zlib [default=no]"
echo " --disable-bzlib disable bzlib [default=no]"
echo " --disable-vhook disable video hooking support"
- echo " --disable-debug disable debugging symbols"
echo " --disable-mpegaudio-hp faster (but less accurate)"
echo " MPEG audio decoding [default=no]"
echo " --enable-gray enable full grayscale support (slower color)"
echo " --list-outdevs show all available output devices"
echo
echo "Developer options (useful when working on FFmpeg itself):"
+ echo " --disable-debug disable debugging symbols"
+ echo " --enable-debug=LEVEL set the debug level [$debuglevel]"
echo " --enable-gprof enable profiling with gprof [$gprof]"
echo " --disable-optimizations disable compiler optimizations"
echo " --enable-extra-warnings enable more compiler warnings"
"$@" < "$file" > "$file.tmp" && mv "$file.tmp" "$file" || rm "$file.tmp"
}
+# CONFIG_LIST contains configurable options, while HAVE_LIST is for
+# system-dependent things.
+
COMPONENT_LIST="
bsfs
decoders
$ARCH_EXT_LIST
$THREADS_LIST
altivec_h
- altivec_vector_braces
arpa_inet_h
bswap
byteswap_h
EOF
# check if our compiler supports braces for vector declarations
- check_cc <<EOF && enable altivec_vector_braces
+ check_cc <<EOF || die "You need a compiler that supports {} in AltiVec vector declarations."
$inc_altivec_h
-#define AVV(x...) {x}
-int main (void) { (vector int) AVV(1); return 0; }
+int main (void) { (vector int) {1}; return 0; }
EOF
fi
texi2html -version > /dev/null 2>&1 && enable texi2html || disable texi2html
-check_type sys/socket.h socklen_t
-
##########################################
# Network check
if enabled network; then
+ check_type sys/socket.h socklen_t
# Prefer arpa/inet.h over winsock2
if check_header arpa/inet.h ; then
check_func closesocket