mirror of https://git.ffmpeg.org/ffmpeg.git
configure: remove some useless comments
Originally committed as revision 19455 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
36904c4c9f
commit
980a75c5a5
|
@ -2037,16 +2037,11 @@ enabled vis && check_asm vis '"pdist %f0, %f0, %f0"' -mcpu=ultrasparc
|
||||||
|
|
||||||
enabled vis && add_cflags -mcpu=ultrasparc -mtune=ultrasparc
|
enabled vis && add_cflags -mcpu=ultrasparc -mtune=ultrasparc
|
||||||
|
|
||||||
# ---
|
|
||||||
# big/little-endian test
|
|
||||||
check_cc <<EOF || die "endian test failed"
|
check_cc <<EOF || die "endian test failed"
|
||||||
unsigned int endian = 'B' << 24 | 'I' << 16 | 'G' << 8 | 'E';
|
unsigned int endian = 'B' << 24 | 'I' << 16 | 'G' << 8 | 'E';
|
||||||
EOF
|
EOF
|
||||||
od -A n -t x1 $TMPO | grep -q '42 *49 *47 *45' && enable bigendian
|
od -A n -t x1 $TMPO | grep -q '42 *49 *47 *45' && enable bigendian
|
||||||
|
|
||||||
# ---
|
|
||||||
# check availability of some header files
|
|
||||||
|
|
||||||
if check_func dlopen; then
|
if check_func dlopen; then
|
||||||
ldl=
|
ldl=
|
||||||
elif check_func dlopen -ldl; then
|
elif check_func dlopen -ldl; then
|
||||||
|
@ -2170,9 +2165,6 @@ check_cc <<EOF && enable attribute_packed
|
||||||
struct { int x; } __attribute__((packed)) x;
|
struct { int x; } __attribute__((packed)) x;
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
##########################################
|
|
||||||
# SDL check
|
|
||||||
|
|
||||||
disable sdl_too_old
|
disable sdl_too_old
|
||||||
disable sdl
|
disable sdl
|
||||||
SDL_CONFIG="${cross_prefix}sdl-config"
|
SDL_CONFIG="${cross_prefix}sdl-config"
|
||||||
|
@ -2201,9 +2193,6 @@ fi
|
||||||
|
|
||||||
texi2html -version > /dev/null 2>&1 && enable texi2html || disable texi2html
|
texi2html -version > /dev/null 2>&1 && enable texi2html || disable texi2html
|
||||||
|
|
||||||
##########################################
|
|
||||||
# Network check
|
|
||||||
|
|
||||||
if enabled network; then
|
if enabled network; then
|
||||||
check_type "sys/types.h sys/socket.h" socklen_t
|
check_type "sys/types.h sys/socket.h" socklen_t
|
||||||
# Prefer arpa/inet.h over winsock2
|
# Prefer arpa/inet.h over winsock2
|
||||||
|
@ -2220,9 +2209,6 @@ if enabled network; then
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
##########################################
|
|
||||||
# IPv6 check
|
|
||||||
|
|
||||||
enabled network && enabled ipv6 && check_ld <<EOF && enable ipv6 || disable ipv6
|
enabled network && enabled ipv6 && check_ld <<EOF && enable ipv6 || disable ipv6
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
|
@ -2259,7 +2245,6 @@ enabled alsa_demuxer || enabled alsa_muxer && check_lib2 alsa/asoundlib.h snd_pc
|
||||||
|
|
||||||
enabled jack_demuxer && check_lib2 jack/jack.h jack_client_open -ljack
|
enabled jack_demuxer && check_lib2 jack/jack.h jack_client_open -ljack
|
||||||
|
|
||||||
# deal with the X11 frame grabber
|
|
||||||
enabled x11grab &&
|
enabled x11grab &&
|
||||||
check_header X11/Xlib.h &&
|
check_header X11/Xlib.h &&
|
||||||
check_header X11/extensions/XShm.h &&
|
check_header X11/extensions/XShm.h &&
|
||||||
|
@ -2304,7 +2289,6 @@ fi
|
||||||
check_cflags -fno-math-errno
|
check_cflags -fno-math-errno
|
||||||
check_cflags -fno-signed-zeros
|
check_cflags -fno-signed-zeros
|
||||||
|
|
||||||
# add some flags for Intel C Compiler
|
|
||||||
if enabled icc; then
|
if enabled icc; then
|
||||||
# Just warnings, no remarks
|
# Just warnings, no remarks
|
||||||
check_cflags -w1
|
check_cflags -w1
|
||||||
|
|
Loading…
Reference in New Issue