aclocal: fix cygwin and mingw

This commit is contained in:
Daniel Kochmański 2016-12-09 15:28:12 +01:00
parent fb0359eda1
commit 67ceb4e7f9
2 changed files with 5 additions and 2 deletions

4
src/aclocal.m4 vendored
View file

@ -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'

3
src/configure vendored
View file

@ -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'