This patch is orthogonal to the other one I sent yesterday, and is required on systems where ucontext.h depends on signal.h. With this, configure under FreeBSD completely works for the first time. :-) Gerald ChangeLog: Add check for signal.h and refine check for ucontext.h *** configure.ac-pre Sun Nov 10 23:37:58 2002 --- configure.ac Mon Nov 11 09:10:53 2002 *************** AC_CHECK_HEADERS(\ *** 993,998 **** --- 993,999 ---- pwd.h \ sched.h \ scsi/sg.h \ + signal.h \ socket.h \ stdint.h \ strings.h \ *************** AC_CHECK_HEADERS(\ *** 1031,1037 **** sys/wait.h \ syscall.h \ termios.h \ - ucontext.h \ unistd.h \ utime.h \ ) --- 1032,1037 ---- *************** AC_CHECK_HEADERS(resolv.h,,, *** 1066,1071 **** --- 1066,1076 ---- [#include <sys/types.h> #if HAVE_SYS_SOCKET_H # include <sys/socket.h> + #endif]) + + AC_CHECK_HEADERS(ucontext.h,,, + [#if HAVE_SIGNAL_H + # include <signal.h> #endif]) dnl **** Check for types ****