$NetBSD: patch-ab,v 1.2 2004/06/07 04:45:11 tv Exp $

--- boost/config.hpp.orig	Mon Jun  7 00:05:59 2004
+++ boost/config.hpp
@@ -19,7 +19,11 @@
 
 // if we don't have a user config, then use the default location:
 #if !defined(BOOST_USER_CONFIG) && !defined(BOOST_NO_USER_CONFIG)
-#  define BOOST_USER_CONFIG <boost/config/user.hpp>
+#  if defined(_REENTRANT) || defined(_PTHREADS)
+#    define BOOST_USER_CONFIG <boost/config/thread_user.hpp>
+#  else
+#    define BOOST_USER_CONFIG <boost/config/user.hpp>
+#  endif
 #endif
 // include it first:
 #ifdef BOOST_USER_CONFIG
