Dear Mike,
If it isn't too much trouble, please do the following two tests:
1. Call configure (
without --disable-reentrant) but before running make, add to config.h the following: #define __WOE__
This is a more blunt version of Heinrich's suggestion, to see if we can make it work.
2. Call the attached modified configure (again without
--disable-reentrant).This checks for gmtime_r and strtok_r and disables re-entrancy if not found.