diff options
author | João Matos <joao@tritao.eu> | 2015-01-23 19:40:07 +0300 |
---|---|---|
committer | João Matos <joao@tritao.eu> | 2015-01-23 19:40:07 +0300 |
commit | 73292633fcca8412e1f2a2a0097893f1afa374a4 (patch) | |
tree | ff3212ed29ced3f673aff2cb73b58d5463b404ab /configure.ac | |
parent | a09f7c6f7bcea9d64ad54df620de8d38fb5641b4 (diff) |
[runtime] Check for signal.h when targeting Win32.
This fixes Monodroid cross build, which broke with https://github.com/mono/mono/commit/adca49cdd28e7c7b0cc65073167c143cc5f52fdd.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac index 7b9f3fabe10..c7a5493ac80 100644 --- a/configure.ac +++ b/configure.ac @@ -1144,6 +1144,12 @@ AC_TRY_COMPILE([ AC_CHECK_HEADERS(nacl/nacl_dyncode.h) +dnl *********************************** +dnl *** Checks for signals +dnl *********************************** +AC_CHECK_HEADERS(signal.h) +AC_CHECK_FUNCS(sigaction) + if test x$target_win32 = xno; then dnl hires monotonic clock support @@ -1705,12 +1711,6 @@ if test x$target_win32 = xno; then AC_CHECK_FUNCS(pthread_get_stacksize_np pthread_get_stackaddr_np) dnl *********************************** - dnl *** Checks for signals - dnl *********************************** - AC_CHECK_HEADERS(signal.h) - AC_CHECK_FUNCS(sigaction) - - dnl *********************************** dnl *** Checks for working __thread *** dnl *********************************** AC_MSG_CHECKING(for working __thread) |