Pass LDFLAGS to link tests in configure.

LDFLAGS may contain critical flags without which linking won't
succeed. Ensure that all configure tests involving link-time checks
use LDFLAGS along with CFLAGS so that the tests perform correctly.
Without this some tests may fail, resulting in incorrect configure
results.
1 file changed