]> granicus.if.org Git - gc/commitdiff
Fix configure to compile win32_threads.c for MinGW pthreads-w32 target
authorIvan Maidanski <ivmai@mail.ru>
Sat, 25 Feb 2012 16:51:20 +0000 (20:51 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Sat, 25 Feb 2012 16:59:37 +0000 (20:59 +0400)
* configure.ac (win32_threads): Set variable for "mingw" target
(causing definition of "WIN32_THREADS" AM conditional which, in turn,
causes win32_threads.c to be compiled and put to libgc.a).

configure.ac

index e435c7ea174d6b012014e1e08caa6912f0254722..bdc02d26b2d8197f751b8076f36773374eebaeef 100644 (file)
@@ -224,6 +224,7 @@ case "$THREADS" in
         fi
         AC_DEFINE(THREAD_LOCAL_ALLOC)
         THREADDLLIBS="-lpthread"
+        win32_threads=true
         ;;
      *-*-darwin*)
         AC_DEFINE(GC_DARWIN_THREADS)