Use gsed instead of sed if available (if gsed exists then plain sed is probably not GNU's sed. Check that pkg-config is available, required to build iw. Removed the cygwin hack with prepending prefixes with '/.' and fixed it properly instead. Added some workarounds to make build-time tools included in linux source build on non-GNU/linux systems. Added mirrors for all source. Fixed texinfo issues (which would have appeared if building on a system with recent texinfo installed) Added some workarounds for build-time tools included in glibc to build on non-GNU hosts. Updated the workarounds for case-insensitive filesystems. Keep cross-compiled gnutls from trying to link to libtasn1 on the buildhost. Added SSL/TLS CA-certificates for thawte, godaddy, starfieldtech and cybertrust. Add an extra newline between each certificate, in case they don't include it themselves, which in previous versions resulted in some certificates not working.