Revision be449fca configure

View differences:

configure
448 448
    asm="$2"
449 449
    shift 2
450 450
    check_cc "$@" <<EOF && enable $name || disable $name
451
int foo(void){ asm volatile($asm); }
451
int foo(void){ __asm__ volatile($asm); }
452 452
EOF
453 453
}
454 454

  
......
1574 1574
    # base pointer is cleared in the inline assembly code.
1575 1575
    check_exec_crash <<EOF && enable ebp_available
1576 1576
    volatile int i=0;
1577
    asm volatile (
1577
    __asm__ volatile (
1578 1578
        "xorl %%ebp, %%ebp"
1579 1579
    ::: "%ebp");
1580 1580
    return i;
......
1934 1934
# Find out if the .align argument is a power of two or not.
1935 1935
if test $asmalign_pot = "unknown"; then
1936 1936
    disable asmalign_pot
1937
    echo 'asm (".align 3");' | check_cc && enable asmalign_pot
1937
    echo '__asm__ (".align 3");' | check_cc && enable asmalign_pot
1938 1938
fi
1939 1939

  
1940 1940
enabled_any $DECODER_LIST      && enable decoders

Also available in: Unified diff