$ CC=cc ./configure
$ make
...
make[1]: Entering directory `/local/Users/gwhite/NeXT/src/Python-1.0.0/Modules'
cc -O -I./../Include -I.. -DHAVE_CONFIG_H -c ./arraymodule.c
cc -O -I./../Include -I.. -DHAVE_CONFIG_H -c ./mathmodule.c
cc -O -I./../Include -I.. -DHAVE_CONFIG_H -c ./parsermodule.c
cc -O -I./../Include -I.. -DHAVE_CONFIG_H -c ./posixmodule.c
./posixmodule.c:889: undefined type, found `clock_t'
make[1]: *** [posixmodule.o] Error 1
make[1]: Leaving directory `/local/Users/gwhite/NeXT/src/Python-1.0.0/Modules'
make: *** [python] Error 1
$
Diagnosis and repair:
clock_t is defined in sys/time.h
add block for sys/time.h in Modules/posixmodule
$ diff -c posixmodule.c posixmodule.c.dist
*** posixmodule.c Sat Feb 5 15:20:43 1994
--- posixmodule.c.dist Sat Feb 5 15:19:01 1994
***************
*** 73,83 ****
#include <utime.h>
#endif
- #ifdef HAVE_SYS_TIME_H
- #include <sys/time.h>
- #endif
-
-
#ifdef HAVE_SYS_TIMES_H
#include <sys/times.h>
#endif
--- 73,78 ----
/George White <GWhite@BIOnet.BIO.DFO.ca> Bedford Inst. of Oceanography