Revision 2a194acd

View differences:

configure
601 601

  
602 602
check_ld(){
603 603
    log check_ld "$@"
604
    check_cc || return
605 604
    flags=''
606 605
    libs=''
607 606
    for f; do
608 607
        test "${f}" = "${f#-l}" && flags="$flags $f" || libs="$libs $f"
609 608
    done
609
    check_cc $($filter_cflags $flags) || return
610 610
    check_cmd $ld $LDFLAGS $flags -o $TMPE $TMPO $extralibs $libs
611 611
}
612 612

  

Also available in: Unified diff