There is a rather common method of using -DHAVE_CONFIG_H on the command line compil to specify the config.h file exists.
right now it's:
#ifndef _WIN32
#include <config.h>
#endif /* _WIN32 */
And it's too bad, because if I want to compile using codewarrior on OSX, I don't have a config.h file, and it's also not _WIN32 :-)
Those should be replaced by:
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif /* HAVE_CONFIG_H */
And have the configure script add the -DHAVE_CONFIG_H to the compile line...