support for GNU configure syntax
Correct prefix / CFG_PREFIX work in configure / install.mk
support for GNU configure syntax corrections: patch from brson
auto merge of #10164 : brson/rust/configure, r=brson

Rebase of #9990