Index: Include/asdl.h =================================================================== --- Include/asdl.h (revision 61974) +++ Include/asdl.h (working copy) @@ -6,8 +6,12 @@ typedef PyObject * object; #ifndef __cplusplus +#ifdef HAVE_STDBOOL_H +#include +#else typedef enum {false, true} bool; #endif +#endif /* It would be nice if the code generated by asdl_c.py was completely independent of Python, but it is a goal the requires too much work Index: configure.in =================================================================== --- configure.in (revision 61974) +++ configure.in (working copy) @@ -1097,6 +1097,7 @@ # checks for header files AC_HEADER_STDC +ACX_HEADER_STDBOOL AC_CHECK_HEADERS(asm/types.h conio.h curses.h direct.h dlfcn.h errno.h \ fcntl.h grp.h \ io.h langinfo.h libintl.h ncurses.h poll.h process.h pthread.h \ Index: pyconfig.h.in =================================================================== --- pyconfig.h.in (revision 61974) +++ pyconfig.h.in (working copy) @@ -574,6 +574,9 @@ void fprintf(FILE *, char *, ...);) *and* */ #undef HAVE_STDARG_PROTOTYPES +/* Define to 1 if you have the header file. */ +#undef HAVE_STDBOOL_H + /* Define to 1 if you have the header file. */ #undef HAVE_STDINT_H