Revision 3155a644 configure

View differences:

configure
398 398
check_ld(){
399 399
    log check_ld "$@"
400 400
    check_cc || return
401
    check_cmd $cc $LDFLAGS "$@" -o $TMPE $TMPO $extralibs
401
    flags=''
402
    libs=''
403
    for f; do
404
        test "${f}" = "${f#-l}" && flags="$flags $f" || libs="$libs $f"
405
    done
406
    check_cmd $cc $LDFLAGS $flags -o $TMPE $TMPO $extralibs $libs
402 407
}
403 408

  
404 409
check_cflags(){

Also available in: Unified diff