configure: check for --as-needed support early
authorMans Rullgard <mans@mansr.com>
Sun, 6 Mar 2011 13:57:34 +0000 (13:57 +0000)
committerMans Rullgard <mans@mansr.com>
Thu, 24 Mar 2011 20:42:22 +0000 (20:42 +0000)
commit4a7e068b8fb15b646c465d360ee478e02d100ca4
treebd3a2d36ff514e13feaad8d6f2ff36bd9adc536f
parent2d3b21ffb91610f806a6c550dc142520d7a11e50
configure: check for --as-needed support early

This moves the check for --as-needed linker support before all
library tests, ensuring consistent behaviour between the checks
and the actual link step.

Signed-off-by: Mans Rullgard <mans@mansr.com>
configure