projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
223e634
)
[runtime] Check for signal function in Autoconf.
author
João Matos
<joao@tritao.eu>
Fri, 24 Jul 2015 18:45:39 +0000
(19:45 +0100)
committer
João Matos
<joao@tritao.eu>
Fri, 24 Jul 2015 18:56:16 +0000
(19:56 +0100)
configure.ac
patch
|
blob
|
history
winconfig.h
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index 068b077d557ce7a98ca097152139d25116ba4354..41a76587a5640376cbb4f5d21a1f6b019297343b 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-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
diff --git
a/winconfig.h
b/winconfig.h
index af1960918fc45fc49caee3b49435361aef9e0a6d..27e774f066cf401299ef8f9e2b699ce92e12de44 100644
(file)
--- a/
winconfig.h
+++ b/
winconfig.h
@@
-365,6
+365,9
@@
/* Using the simple generational GC. */
/* #undef HAVE_SGEN_GC */
+ /* Have signal */
+#define HAVE_SIGNAL 1
+
/* Have signbit */
/* #undef HAVE_SIGNBIT */