As mentioned previously, autoconf does a lot of the build-specific testing and configuration.
Parsing configuration arguments.
Testing for the existence of various files and functions.
Creating Makefile.in files for later processing by the configure script.
Creating the config.h file from autoheader's config.h.in template.