]> granicus.if.org Git - gc/commitdiff
Fix commit 505b041 regarding configure THREAD_LOCAL_ALLOC (Win32)
authorIvan Maidanski <ivmai@mail.ru>
Fri, 23 Sep 2011 07:45:54 +0000 (11:45 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Fri, 23 Sep 2011 08:02:37 +0000 (12:02 +0400)
* 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).

configure.ac

index 89b97a2978f6060d76f6831c227d9890d29dce6d..86a4094fcaf39ede90146ba4b55e7ba02023b6f9 100644 (file)
@@ -266,7 +266,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