From 6ad3669273c52e0354c874ee6b01dea7ce9c39c5 Mon Sep 17 00:00:00 2001 From: Allen Winter Date: Mon, 25 May 2015 17:12:46 -0400 Subject: cmake discovery for HAVE_SIGNAL and HAVE_ALARM --- config.h.cmake | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'config.h.cmake') diff --git a/config.h.cmake b/config.h.cmake index 5faed9e2..e6905125 100644 --- a/config.h.cmake +++ b/config.h.cmake @@ -129,6 +129,12 @@ /* Define to 1 if you have the `unsetenv' function. */ #cmakedefine HAVE_UNSETENV 1 +/* Define to 1 if you have the `alarm' function. */ +#cmakedefine HAVE_ALARM 1 + +/* Define to 1 if you have the `signal' function. */ +#cmakedefine HAVE_SIGNAL 1 + /* Define to 1 if you have the `waitpid' function. */ #cmakedefine HAVE_WAITPID 1 @@ -408,6 +414,16 @@ typedef ssize_t IO_SSIZE_T; #endif #endif +/* alarm - function to set and alarm for delivering a signal */ +#if defined(HAVE_ALARM) +#include +#endif + +/* signal - signal handling function */ +#if defined(HAVE_SIGNAL) +#include +#endif + /* waitpid - system function waiting on a process */ #if defined(HAVE_WAITPID) #include -- cgit v1.2.1