configure.ac added many more standard checks.

As per title.