]> git.saurik.com Git - wxWidgets.git/blobdiff - configure.in
Michael Fieldings patch 598106 applied in part
[wxWidgets.git] / configure.in
index 6252daa5e11054b36b164c8aa9f8e9177d056716..98e2594220f41c9f7e767d2b597cc1c9b70eb215 100644 (file)
@@ -3201,7 +3201,6 @@ dnl ---------------------------------------------------------------------------
 
 dnl under MSW (except mingw32) we always have thread support
 CPP_MT_FLAG=
-COMMON_THREADCPPFLAGS=
 if test "$TOOLKIT" != "MSW"; then
 
     dnl the code below:
@@ -3463,7 +3462,7 @@ else
         *-*-mingw32* )
         CFLAGS="$CFLAGS -mthreads"
         CXXFLAGS="$CXXFLAGS -mthreads"
-        COMMON_THREADCPPFLAGS="-mthreads"
+        TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
         LDFLAGS="$LDFLAGS -mthreads"
         ;;
       esac
@@ -5051,7 +5050,6 @@ AC_SUBST(GUIDIST)
 AC_SUBST(PORT_FILES)
 AC_SUBST(DISTDIR)
 
-AC_SUBST(COMMON_THREADCPPFLAGS)
 dnl additional subdirectories where we will build
 AC_SUBST(SAMPLES_SUBDIRS)