On Nov 1, 2013, at 12:56 PM, Steve Ellcey <sell...@mips.com> wrote: >> You should report a bug to them and have them define clock_t. > > They are defining clock_t, but for some reason the GCC configure is not > seeing it (perhaps because of what header files get included).
Curious, do you have sys/time.h? If so, that's likely the cause, as system.h does this: # if HAVE_SYS_TIME_H # include <sys/time.h> # else # ifdef HAVE_TIME_H # include <time.h> # endif # endif thus cleverly avoiding even including time.h when it exists. I suspect TIME_WITH_SYS_TIME failed for some silly reason, though, can't guess why. autoconf is fun when it fails.