From 67ceb4e7f92ca08fc7546426f380907a6ce3afd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Kochma=C5=84ski?= Date: Fri, 9 Dec 2016 15:28:12 +0100 Subject: [PATCH] aclocal: fix cygwin and mingw --- src/aclocal.m4 | 4 +++- src/configure | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/aclocal.m4 b/src/aclocal.m4 index 880a6f346..0ca669420 100644 --- a/src/aclocal.m4 +++ b/src/aclocal.m4 @@ -363,8 +363,8 @@ case "${host_os}" in fi ;; cygwin*) - enable_threads='no' thehost='cygwin' + #enable_threads='no' shared='yes' THREAD_CFLAGS='-D_THREAD_SAFE' THREAD_LIBS='-lpthread' @@ -381,6 +381,8 @@ case "${host_os}" in ;; mingw*) thehost='mingw32' + dnl We disable fpe because ECL/MinGW has problems with FE_INEXACT + with_fpe='no' clibs='' shared='yes' enable_threads='yes' diff --git a/src/configure b/src/configure index a96afe1b8..251f1bb24 100755 --- a/src/configure +++ b/src/configure @@ -4993,8 +4993,8 @@ LSP_FEATURES="(cons :android ${LSP_FEATURES})" fi ;; cygwin*) - enable_threads='no' thehost='cygwin' + #enable_threads='no' shared='yes' THREAD_CFLAGS='-D_THREAD_SAFE' THREAD_LIBS='-lpthread' @@ -5011,6 +5011,7 @@ LSP_FEATURES="(cons :android ${LSP_FEATURES})" ;; mingw*) thehost='mingw32' + with_fpe='no' clibs='' shared='yes' enable_threads='yes'