605c593
Save and restore LDFLAGS while performing tests Save and restore LDFLAGS around tests that involve linking in configure, alongside CFLAGS and LIBS, which we were already doing.