Revision 980a75c5

View differences:

configure
2037 2037

  
2038 2038
enabled vis && add_cflags -mcpu=ultrasparc -mtune=ultrasparc
2039 2039

  
2040
# ---
2041
# big/little-endian test
2042 2040
check_cc <<EOF || die "endian test failed"
2043 2041
unsigned int endian = 'B' << 24 | 'I' << 16 | 'G' << 8 | 'E';
2044 2042
EOF
2045 2043
od -A n -t x1 $TMPO | grep -q '42 *49 *47 *45' && enable bigendian
2046 2044

  
2047
# ---
2048
# check availability of some header files
2049

  
2050 2045
if check_func dlopen; then
2051 2046
    ldl=
2052 2047
elif check_func dlopen -ldl; then
......
2170 2165
struct { int x; } __attribute__((packed)) x;
2171 2166
EOF
2172 2167

  
2173
##########################################
2174
# SDL check
2175

  
2176 2168
disable sdl_too_old
2177 2169
disable sdl
2178 2170
SDL_CONFIG="${cross_prefix}sdl-config"
......
2201 2193

  
2202 2194
texi2html -version > /dev/null 2>&1 && enable texi2html || disable texi2html
2203 2195

  
2204
##########################################
2205
# Network check
2206

  
2207 2196
if enabled network; then
2208 2197
    check_type "sys/types.h sys/socket.h" socklen_t
2209 2198
    # Prefer arpa/inet.h over winsock2
......
2220 2209
    fi
2221 2210
fi
2222 2211

  
2223
##########################################
2224
# IPv6 check
2225

  
2226 2212
enabled network && enabled ipv6 && check_ld <<EOF && enable ipv6 || disable ipv6
2227 2213
#include <sys/types.h>
2228 2214
#include <sys/socket.h>
......
2259 2245

  
2260 2246
enabled jack_demuxer && check_lib2 jack/jack.h jack_client_open -ljack
2261 2247

  
2262
# deal with the X11 frame grabber
2263 2248
enabled x11grab                         &&
2264 2249
check_header X11/Xlib.h                 &&
2265 2250
check_header X11/extensions/XShm.h      &&
......
2304 2289
check_cflags -fno-math-errno
2305 2290
check_cflags -fno-signed-zeros
2306 2291

  
2307
# add some flags for Intel C Compiler
2308 2292
if enabled icc; then
2309 2293
    # Just warnings, no remarks
2310 2294
    check_cflags -w1

Also available in: Unified diff