Revision 154d432c configure

View differences:

configure
1366 1366

  
1367 1367
test -n "$cc_type" && enable $cc_type || echolog "Unknown C compiler $cc"
1368 1368

  
1369
if test -n "$sysroot"; then
1370
    case "$cc_type" in
1371
        gcc)
1372
            add_cflags  --sysroot="$sysroot"
1373
            add_ldflags --sysroot="$sysroot"
1374
        ;;
1375
    esac
1376
fi
1377

  
1369 1378
# compiler sanity check
1370 1379
check_exec <<EOF
1371 1380
int main(void){ return 0; }

Also available in: Unified diff