From: Ivan Maidanski Date: Fri, 23 Sep 2011 07:45:54 +0000 (+0400) Subject: Fix commit 505b041 regarding configure THREAD_LOCAL_ALLOC (Win32) X-Git-Tag: gc7_3alpha2~330 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b797e9f4b255ad8298e9e02b388766585e3ca245;p=gc Fix commit 505b041 regarding configure THREAD_LOCAL_ALLOC (Win32) * configure.ac (THREAD_LOCAL_ALLOC): Test enable_shared and enable_static values properly when setting THREAD_LOCAL_ALLOC in case PARALLEL_MARK is off (Win32 only). --- diff --git a/configure.ac b/configure.ac index 6cb6c7fa..6fa0f6f8 100644 --- a/configure.ac +++ b/configure.ac @@ -303,7 +303,7 @@ case "$THREADS" in AC_DEFINE(PARALLEL_MARK) AC_DEFINE(THREAD_LOCAL_ALLOC) else - if test "${enable_static}" == yes; then + if test "${enable_shared}" != yes || test "${enable_static}" != no; then # Imply THREAD_LOCAL_ALLOC unless GC_DLL. AC_DEFINE(THREAD_LOCAL_ALLOC) fi