[runtime] Check for signal function in Autoconf.
authorJoão Matos <joao@tritao.eu>
Fri, 24 Jul 2015 18:45:39 +0000 (19:45 +0100)
committerJoão Matos <joao@tritao.eu>
Fri, 24 Jul 2015 18:56:16 +0000 (19:56 +0100)
configure.ac
winconfig.h

index 068b077d557ce7a98ca097152139d25116ba4354..41a76587a5640376cbb4f5d21a1f6b019297343b 100644 (file)
@@ -1100,6 +1100,7 @@ dnl *** Checks for signals
 dnl ***********************************
 AC_CHECK_HEADERS(signal.h)
 AC_CHECK_FUNCS(sigaction)
+AC_CHECK_FUNCS(signal)
 
 if test x$host_win32 = xno; then
 
index af1960918fc45fc49caee3b49435361aef9e0a6d..27e774f066cf401299ef8f9e2b699ce92e12de44 100644 (file)
 /* Using the simple generational GC. */
 /* #undef HAVE_SGEN_GC */
 
+ /* Have signal */
+#define HAVE_SIGNAL 1
+
 /* Have signbit */
 /* #undef HAVE_SIGNBIT */