Branch: Tag:

2015-10-17

2015-10-17 20:44:57 by Martin Nilsson <nilsson@fastmail.com>

No need to check for signal.h. It's part of C89 and we don't use HAVE_SIGNAL_H everywhere.

3211:    thread.h dlfcn.h dld.h dl.h sys/times.h sched.h \    sys/procfs.h sys/socket.h sys/uio.h fcntl.h \    malloc.h netinet/in.h sys/wait.h windows.h grp.h pwd.h \ -  passwd.h group.h winsock.h signal.h sys/file.h poll.h \ +  passwd.h group.h winsock.h sys/file.h poll.h \    sys/poll.h socket.h ieeefp.h fp_class.h floatingpoint.h \    sys/priocntl.h sys/sched.h winbase.h \    stddef.h sys/termio.h sys/termios.h \
6053:   AC_CACHE_VAL(ac_cv_type_sig_atomic_t,   [    AC_EGREP_CPP(sig_atomic_t, [ - #ifdef HAVE_SIGNAL_H +    #include <signal.h> - #endif +    #ifdef HAVE_CRT_SIGNAL_H   #include <crt/signal.h>   #endif
6077:   AC_CACHE_VAL(pike_cv_sys_signal_oneshot,   [    AC_TRY_RUN([ - #ifdef HAVE_SIGNAL_H +    #include <signal.h> - #endif +    #include <sys/types.h>   #if STDC_HEADERS   #include <stdlib.h>