Revision 44965991 configure

View differences:

configure
542 542
    bktr
543 543
    dc1394
544 544
    dv1394
545
    ebp_available
546
    ebx_available
545 547
    ffmpeg
546 548
    ffplay
547 549
    ffserver
......
1190 1192
ranlib="${cross_prefix}${ranlib}"
1191 1193
strip="${cross_prefix}${strip}"
1192 1194

  
1195
# Disable core dumps so that intentional execution of broken apps doesn't
1196
# pollute the current directory.
1197
ulimit -c 0
1198

  
1193 1199
# we need to build at least one lib type
1194 1200
if disabled_all static shared; then
1195 1201
    cat <<EOF
......
1391 1397
    die "C compiler test failed."
1392 1398
fi
1393 1399

  
1400
if test $arch = "x86_32" -o $arch = "x86_64"; then
1401
    if test "$targetos" = "mingw32" -o "$targetos" = "CYGWIN"; then
1402
        cat <<EOF
1403
WARNING: The following test might cause a testapp to crash (intentionally)
1404
resulting in the appearance of a dialog box. Please click "Don't send" and
1405
ignore it.
1406
EOF
1407
    fi
1408

  
1409
    # check whether EBP is available on x86
1410
    # As 'i' is stored on the stack, this program will crash
1411
    # if the base pointer is used to access it because the
1412
    # base pointer is cleared in the inline assembly code.
1413
    check_exec <<EOF && enable ebp_available
1414
int main(){
1415
    volatile int i=0;
1416
    asm volatile (
1417
        "xorl %%ebp, %%ebp"
1418
    ::: "%ebp");
1419
    return i;
1420
}
1421
EOF
1422

  
1423
    # check wether EBX is available on x86
1424
    check_cc <<EOF && enable ebx_available
1425
int main(){
1426
    asm volatile ("":::"%ebx");
1427
}
1428
EOF
1429
fi
1430

  
1394 1431
# check for assembler specific support
1395 1432

  
1396 1433
if test $arch = "powerpc"; then

Also available in: Unified diff