Two trivial patches which make it a little easier to look at config.log and figure out what's going on.
The next step down this road would probably be something like test_start() { echo "# Checking for $1..." >> config.log } and then lots of: test_start "zlib" in the relevant places. Peter Maydell (2): configure: Include #define name in check_define compiler error configure: Print a banner comment at the top of config.log configure | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-)