a bunch of files do:
the problem is that configure doesnt create this define. instead, the tcl.m4 file does:
AC_CHECK_HEADER(sys/wait.h, , [AC_DEFINE(NO_SYS_WAIT_H, 1, [Do we have <sys/wait.h>?])])
which means all of the source checks need to be inverted. quick fix:
sed -i 's:ifdef HAVE_SYS_WAIT_H:ifndef NO_SYS_WAIT_H:' *.c
Log in to post a comment.