support for GNU configure syntax
Correct prefix / CFG_PREFIX work in configure / install.mk
support for GNU configure syntax corrections: patch from brson
syntax: Forbid non-string literals in meta items. #623
auto merge of #10164 : brson/rust/configure, r=brson

Rebase of #9990
auto merge of #10166 : brson/rust/meta, r=alexcrichton

This doesn't fix #623 but works around it by limiting the grammar.
auto merge of #10180 : alexcrichton/rust/flush-default, r=brson

Closes #9126
Fix missing parenthesis in a previous substitution '$(PREFIX_ROOT)' to  '$(CFG_MANDIR' on 1c4a348b072a
auto merge of #10189 : alexcrichton/rust/inner-statics, r=cmr

Closes #9186
auto merge of #10193 : osaut/rust/Fix_install, r=huonw

Fix missing parentheses coming from a previous substitution '$(PREFIX_ROOT)' to  '$(CFG_MANDIR' on 1c4a348b072a
Stop propagating link arguments across crates

This is a fairly brittle modle that doesn't scale well across many crates. It's
unlikely that all of the downstream crates will have all of the original native
dependencies of all the upstream crates. In the case that FFI functions are
reachable, then it should be the responsibility of the downstream crate to link
against the correct library, or the upstream crate should prevent the functions
from being reachable.
Statically link sundown to librustdoc

Closes #10103
Statically link libuv to librustuv

Similarly to the previous commit, libuv is only used by this library, so there's
no need for it to be linked into librustrt and available to all crates by
default.