Branch: Tag:

2004-08-31

2004-08-31 20:25:40 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Added support for more variants of setjmp() et al to avoid excessive system calls on BSDs. Thanks to Dan Nelson for the suggestion.

Rev: src/configure.in:1.838
Rev: src/error.c:1.131
Rev: src/pike_error.h:1.34

1: - AC_REVISION("$Id: configure.in,v 1.837 2004/08/23 14:47:56 grubba Exp $") + AC_REVISION("$Id: configure.in,v 1.838 2004/08/31 20:25:40 grubba Exp $")   AC_INIT(interpret.c)   AC_CONFIG_HEADER(machine.h)   
2610:    sys/prctl.h sys/ioctl.h mach/task_info.h mach/task.h \    mach/mach_init.h syscall.h sys/syscall.h)    + # Setjmp. + # + # POSIX defines sigsetjmp(). + # BSD defines both _setjmp() and setjmp(), where setjmp() + # saves the signal mask. + # SVID explicitly defines setjmp() not to save the signal mask. + AC_CHECK_FUNCS(sigsetjmp setjmp _setjmp siglongjmp longjmp _longjmp) +    # Make it possible to disable use of /dev/poll.   if test "x$with_devpoll" = "xno"; then :; else    AC_CHECK_HEADERS(sys/devpoll.h sys/event.h sys/epoll.h)