$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r51992 - in branches/release: boost/config/compiler libs/config/doc libs/config/test libs/config/test/all
From: andrey.semashev_at_[hidden]
Date: 2009-03-26 15:00:04
Author: andysem
Date: 2009-03-26 15:00:00 EDT (Thu, 26 Mar 2009)
New Revision: 51992
URL: http://svn.boost.org/trac/boost/changeset/51992
Log:
Added configuration macros BOOST_NO_AUTO_DECLARATIONS and BOOST_NO_AUTO_MULTIDECLARATIONS.
Added:
   branches/release/libs/config/test/boost_no_auto_declarations.ipp   (contents, props changed)
   branches/release/libs/config/test/boost_no_auto_multidecl.ipp   (contents, props changed)
   branches/release/libs/config/test/no_auto_declarations_fail.cpp   (contents, props changed)
   branches/release/libs/config/test/no_auto_declarations_pass.cpp   (contents, props changed)
   branches/release/libs/config/test/no_auto_multidecl_fail.cpp   (contents, props changed)
   branches/release/libs/config/test/no_auto_multidecl_pass.cpp   (contents, props changed)
Text files modified: 
   branches/release/boost/config/compiler/borland.hpp     |    42 ++++++++++++-----------                 
   branches/release/boost/config/compiler/codegear.hpp    |    70 ++++++++++++++++++++------------------- 
   branches/release/boost/config/compiler/common_edg.hpp  |    28 ++++++++-------                         
   branches/release/boost/config/compiler/digitalmars.hpp |    28 ++++++++-------                         
   branches/release/boost/config/compiler/gcc.hpp         |    29 +++++++++-------                        
   branches/release/boost/config/compiler/hp_acc.hpp      |    28 ++++++++-------                         
   branches/release/boost/config/compiler/intel.hpp       |    28 ++++++++-------                         
   branches/release/boost/config/compiler/metrowerks.hpp  |    26 ++++++++------                          
   branches/release/boost/config/compiler/mpw.hpp         |    28 ++++++++-------                         
   branches/release/boost/config/compiler/pgi.hpp         |    28 ++++++++-------                         
   branches/release/boost/config/compiler/sgi_mipspro.hpp |    28 ++++++++-------                         
   branches/release/boost/config/compiler/sunpro_cc.hpp   |    28 ++++++++-------                         
   branches/release/boost/config/compiler/vacpp.hpp       |    28 ++++++++-------                         
   branches/release/boost/config/compiler/visualc.hpp     |    34 +++++++++++--------                     
   branches/release/libs/config/doc/macro_reference.qbk   |     6 +++                                     
   branches/release/libs/config/test/all/Jamfile.v2       |     8 ++++                                    
   branches/release/libs/config/test/config_info.cpp      |     3 +                                       
   branches/release/libs/config/test/config_test.cpp      |    22 ++++++++++++                            
   18 files changed, 280 insertions(+), 212 deletions(-)
Modified: branches/release/boost/config/compiler/borland.hpp
==============================================================================
--- branches/release/boost/config/compiler/borland.hpp	(original)
+++ branches/release/boost/config/compiler/borland.hpp	2009-03-26 15:00:00 EDT (Thu, 26 Mar 2009)
@@ -151,31 +151,33 @@
 #  define BOOST_HAS_RVALUE_REFS
 #  define BOOST_HAS_STATIC_ASSERT
 
-#  define BOOST_NO_EXTERN_TEMPLATE                
-#  define BOOST_NO_SCOPED_ENUMS                   
+#  define BOOST_NO_EXTERN_TEMPLATE
+#  define BOOST_NO_SCOPED_ENUMS
 #  define BOOST_NO_VARIADIC_TEMPLATES
-#  define BOOST_NO_CONSTEXPR                      
-#  define BOOST_NO_DEFAULTED_FUNCTIONS              
-#  define BOOST_NO_DELETED_FUNCTIONS              
-#  define BOOST_NO_RAW_LITERALS                   
-#  define BOOST_NO_UNICODE_LITERALS       // UTF-8 still not supported        
+#  define BOOST_NO_CONSTEXPR
+#  define BOOST_NO_DEFAULTED_FUNCTIONS
+#  define BOOST_NO_DELETED_FUNCTIONS
+#  define BOOST_NO_RAW_LITERALS
+#  define BOOST_NO_UNICODE_LITERALS       // UTF-8 still not supported
 #else
-#  define BOOST_NO_CHAR16_T                       
-#  define BOOST_NO_CHAR32_T                       
-#  define BOOST_NO_DECLTYPE                       
-#  define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS 
-#  define BOOST_NO_EXTERN_TEMPLATE                
-#  define BOOST_NO_SCOPED_ENUMS                   
-#  define BOOST_NO_STATIC_ASSERT                  
-#  define BOOST_NO_RVALUE_REFERENCES              
+#  define BOOST_NO_CHAR16_T
+#  define BOOST_NO_CHAR32_T
+#  define BOOST_NO_DECLTYPE
+#  define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS
+#  define BOOST_NO_EXTERN_TEMPLATE
+#  define BOOST_NO_SCOPED_ENUMS
+#  define BOOST_NO_STATIC_ASSERT
+#  define BOOST_NO_RVALUE_REFERENCES
 #  define BOOST_NO_VARIADIC_TEMPLATES
-#  define BOOST_NO_CONSTEXPR                      
-#  define BOOST_NO_DEFAULTED_FUNCTIONS              
-#  define BOOST_NO_DELETED_FUNCTIONS              
-#  define BOOST_NO_RAW_LITERALS                   
-#  define BOOST_NO_UNICODE_LITERALS     
+#  define BOOST_NO_CONSTEXPR
+#  define BOOST_NO_DEFAULTED_FUNCTIONS
+#  define BOOST_NO_DELETED_FUNCTIONS
+#  define BOOST_NO_RAW_LITERALS
+#  define BOOST_NO_UNICODE_LITERALS
 #endif
 
+#define BOOST_NO_AUTO_DECLARATIONS
+#define BOOST_NO_AUTO_MULTIDECLARATIONS
 #define BOOST_NO_INITIALIZER_LISTS
 
 #if __BORLANDC__ >= 0x590
Modified: branches/release/boost/config/compiler/codegear.hpp
==============================================================================
--- branches/release/boost/config/compiler/codegear.hpp	(original)
+++ branches/release/boost/config/compiler/codegear.hpp	2009-03-26 15:00:00 EDT (Thu, 26 Mar 2009)
@@ -62,44 +62,46 @@
 //
 // C++0x macros:
 //
-#  define BOOST_HAS_CHAR16_T
-#  define BOOST_HAS_CHAR32_T
-#  define BOOST_HAS_LONG_LONG
-//#  define BOOST_HAS_ALIGNOF
-#  define BOOST_HAS_DECLTYPE
-#  define BOOST_HAS_EXPLICIT_CONVERSION_OPS
-//#  define BOOST_HAS_RVALUE_REFS
-#  define BOOST_HAS_SCOPED_ENUM
-//#  define BOOST_HAS_STATIC_ASSERT
-#  define BOOST_HAS_STD_TYPE_TRAITS
-
-#  define BOOST_NO_EXTERN_TEMPLATE                
-#  define BOOST_NO_SCOPED_ENUMS                   
-#  define BOOST_NO_STATIC_ASSERT                  
-#  define BOOST_NO_RVALUE_REFERENCES              
-#  define BOOST_NO_VARIADIC_TEMPLATES
-#  define BOOST_NO_CONSTEXPR                      
-#  define BOOST_NO_DEFAULTED_FUNCTIONS              
-#  define BOOST_NO_DELETED_FUNCTIONS              
-#  define BOOST_NO_RAW_LITERALS                   
-#  define BOOST_NO_UNICODE_LITERALS     
+#define BOOST_HAS_CHAR16_T
+#define BOOST_HAS_CHAR32_T
+#define BOOST_HAS_LONG_LONG
+// #define BOOST_HAS_ALIGNOF
+#define BOOST_HAS_DECLTYPE
+#define BOOST_HAS_EXPLICIT_CONVERSION_OPS
+// #define BOOST_HAS_RVALUE_REFS
+#define BOOST_HAS_SCOPED_ENUM
+// #define BOOST_HAS_STATIC_ASSERT
+#define BOOST_HAS_STD_TYPE_TRAITS
+
+#define BOOST_NO_EXTERN_TEMPLATE
+#define BOOST_NO_SCOPED_ENUMS
+#define BOOST_NO_STATIC_ASSERT
+#define BOOST_NO_RVALUE_REFERENCES
+#define BOOST_NO_VARIADIC_TEMPLATES
+#define BOOST_NO_CONSTEXPR
+#define BOOST_NO_DEFAULTED_FUNCTIONS
+#define BOOST_NO_DELETED_FUNCTIONS
+#define BOOST_NO_RAW_LITERALS
+#define BOOST_NO_UNICODE_LITERALS
+#define BOOST_NO_AUTO_DECLARATIONS
+#define BOOST_NO_AUTO_MULTIDECLARATIONS
 
 //
 // TR1 macros:
 //
-#  define BOOST_HAS_TR1_HASH
-#  define BOOST_HAS_TR1_TYPE_TRAITS
-#  define BOOST_HAS_TR1_UNORDERED_MAP
-#  define BOOST_HAS_TR1_UNORDERED_SET
-
-#  define BOOST_HAS_MACRO_USE_FACET
-
-#  define BOOST_NO_INITIALIZER_LISTS
-
-   // On non-Win32 platforms let the platform config figure this out:
-# ifdef _WIN32
-#    define BOOST_HAS_STDINT_H
-# endif
+#define BOOST_HAS_TR1_HASH
+#define BOOST_HAS_TR1_TYPE_TRAITS
+#define BOOST_HAS_TR1_UNORDERED_MAP
+#define BOOST_HAS_TR1_UNORDERED_SET
+
+#define BOOST_HAS_MACRO_USE_FACET
+
+#define BOOST_NO_INITIALIZER_LISTS
+
+// On non-Win32 platforms let the platform config figure this out:
+#ifdef _WIN32
+#  define BOOST_HAS_STDINT_H
+#endif
 
 //
 // __int64:
Modified: branches/release/boost/config/compiler/common_edg.hpp
==============================================================================
--- branches/release/boost/config/compiler/common_edg.hpp	(original)
+++ branches/release/boost/config/compiler/common_edg.hpp	2009-03-26 15:00:00 EDT (Thu, 26 Mar 2009)
@@ -64,20 +64,22 @@
 //
 //   See above for BOOST_NO_LONG_LONG
 //
-#define BOOST_NO_CHAR16_T                       
-#define BOOST_NO_CHAR32_T                       
-#define BOOST_NO_CONSTEXPR                      
-#define BOOST_NO_DECLTYPE                       
-#define BOOST_NO_DEFAULTED_FUNCTIONS              
-#define BOOST_NO_DELETED_FUNCTIONS              
-#define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS 
-#define BOOST_NO_EXTERN_TEMPLATE                
-#define BOOST_NO_RAW_LITERALS                   
-#define BOOST_NO_RVALUE_REFERENCES              
-#define BOOST_NO_SCOPED_ENUMS                   
-#define BOOST_NO_STATIC_ASSERT                  
-#define BOOST_NO_UNICODE_LITERALS               
+#define BOOST_NO_CHAR16_T
+#define BOOST_NO_CHAR32_T
+#define BOOST_NO_CONSTEXPR
+#define BOOST_NO_DECLTYPE
+#define BOOST_NO_DEFAULTED_FUNCTIONS
+#define BOOST_NO_DELETED_FUNCTIONS
+#define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS
+#define BOOST_NO_EXTERN_TEMPLATE
+#define BOOST_NO_RAW_LITERALS
+#define BOOST_NO_RVALUE_REFERENCES
+#define BOOST_NO_SCOPED_ENUMS
+#define BOOST_NO_STATIC_ASSERT
+#define BOOST_NO_UNICODE_LITERALS
 #define BOOST_NO_VARIADIC_TEMPLATES
+#define BOOST_NO_AUTO_DECLARATIONS
+#define BOOST_NO_AUTO_MULTIDECLARATIONS
 #ifdef c_plusplus
 // EDG has "long long" in non-strict mode
 // However, some libraries have insufficient "long long" support
Modified: branches/release/boost/config/compiler/digitalmars.hpp
==============================================================================
--- branches/release/boost/config/compiler/digitalmars.hpp	(original)
+++ branches/release/boost/config/compiler/digitalmars.hpp	2009-03-26 15:00:00 EDT (Thu, 26 Mar 2009)
@@ -59,20 +59,22 @@
 //
 // C++0x features
 //
-#define BOOST_NO_CHAR16_T                       
-#define BOOST_NO_CHAR32_T                       
-#define BOOST_NO_CONSTEXPR                      
-#define BOOST_NO_DECLTYPE                       
-#define BOOST_NO_DEFAULTED_FUNCTIONS              
-#define BOOST_NO_DELETED_FUNCTIONS              
-#define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS 
-#define BOOST_NO_EXTERN_TEMPLATE                
-#define BOOST_NO_RAW_LITERALS                   
-#define BOOST_NO_RVALUE_REFERENCES              
-#define BOOST_NO_SCOPED_ENUMS                   
-#define BOOST_NO_STATIC_ASSERT                  
-#define BOOST_NO_UNICODE_LITERALS               
+#define BOOST_NO_CHAR16_T
+#define BOOST_NO_CHAR32_T
+#define BOOST_NO_CONSTEXPR
+#define BOOST_NO_DECLTYPE
+#define BOOST_NO_DEFAULTED_FUNCTIONS
+#define BOOST_NO_DELETED_FUNCTIONS
+#define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS
+#define BOOST_NO_EXTERN_TEMPLATE
+#define BOOST_NO_RAW_LITERALS
+#define BOOST_NO_RVALUE_REFERENCES
+#define BOOST_NO_SCOPED_ENUMS
+#define BOOST_NO_STATIC_ASSERT
+#define BOOST_NO_UNICODE_LITERALS
 #define BOOST_NO_VARIADIC_TEMPLATES
+#define BOOST_NO_AUTO_DECLARATIONS
+#define BOOST_NO_AUTO_MULTIDECLARATIONS
 #if __DMC__ < 0x800
 #error "Compiler not supported or configured - please reconfigure"
 #endif
Modified: branches/release/boost/config/compiler/gcc.hpp
==============================================================================
--- branches/release/boost/config/compiler/gcc.hpp	(original)
+++ branches/release/boost/config/compiler/gcc.hpp	2009-03-26 15:00:00 EDT (Thu, 26 Mar 2009)
@@ -105,16 +105,18 @@
 // C++0x features
 //
 
-#define BOOST_NO_CHAR16_T                       
-#define BOOST_NO_CHAR32_T                       
-#define BOOST_NO_CONSTEXPR                      
-#define BOOST_NO_DEFAULTED_FUNCTIONS              
-#define BOOST_NO_DELETED_FUNCTIONS              
-#define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS 
-#define BOOST_NO_EXTERN_TEMPLATE                
-#define BOOST_NO_RAW_LITERALS                   
-#define BOOST_NO_SCOPED_ENUMS                   
-#define BOOST_NO_UNICODE_LITERALS               
+#define BOOST_NO_CHAR16_T
+#define BOOST_NO_CHAR32_T
+#define BOOST_NO_CONSTEXPR
+#define BOOST_NO_DEFAULTED_FUNCTIONS
+#define BOOST_NO_DELETED_FUNCTIONS
+#define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS
+#define BOOST_NO_EXTERN_TEMPLATE
+#define BOOST_NO_RAW_LITERALS
+#define BOOST_NO_SCOPED_ENUMS
+#define BOOST_NO_UNICODE_LITERALS
+// See below for BOOST_NO_AUTO_DECLARATIONS
+#define BOOST_NO_AUTO_MULTIDECLARATIONS
 
 #if (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 2)) && defined(__GXX_EXPERIMENTAL_CXX0X__)
 // C++0x features are only enabled when -std=c++0x or -std=gnu++0x are
@@ -124,13 +126,14 @@
 #  define BOOST_HAS_RVALUE_REFS
 #  define BOOST_HAS_STATIC_ASSERT
 #else
-#  define BOOST_NO_DECLTYPE                       
-#  define BOOST_NO_RVALUE_REFERENCES              
-#  define BOOST_NO_STATIC_ASSERT                  
+#  define BOOST_NO_DECLTYPE
+#  define BOOST_NO_RVALUE_REFERENCES
+#  define BOOST_NO_STATIC_ASSERT
 #endif
 
 #if !defined(__GXX_EXPERIMENTAL_CXX0X__) || __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 4)
 #  define BOOST_NO_INITIALIZER_LISTS
+#  define BOOST_NO_AUTO_DECLARATIONS
 #endif
 
 // Variadic templates compiler: 
Modified: branches/release/boost/config/compiler/hp_acc.hpp
==============================================================================
--- branches/release/boost/config/compiler/hp_acc.hpp	(original)
+++ branches/release/boost/config/compiler/hp_acc.hpp	2009-03-26 15:00:00 EDT (Thu, 26 Mar 2009)
@@ -90,20 +90,22 @@
 //
 //   See boost\config\suffix.hpp for BOOST_NO_LONG_LONG
 //
-#define BOOST_NO_CHAR16_T                       
-#define BOOST_NO_CHAR32_T                       
-#define BOOST_NO_CONSTEXPR                      
-#define BOOST_NO_DECLTYPE                       
-#define BOOST_NO_DEFAULTED_FUNCTIONS              
-#define BOOST_NO_DELETED_FUNCTIONS              
-#define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS 
-#define BOOST_NO_EXTERN_TEMPLATE                
-#define BOOST_NO_RAW_LITERALS                   
-#define BOOST_NO_RVALUE_REFERENCES              
-#define BOOST_NO_SCOPED_ENUMS                   
-#define BOOST_NO_STATIC_ASSERT                  
-#define BOOST_NO_UNICODE_LITERALS               
+#define BOOST_NO_CHAR16_T
+#define BOOST_NO_CHAR32_T
+#define BOOST_NO_CONSTEXPR
+#define BOOST_NO_DECLTYPE
+#define BOOST_NO_DEFAULTED_FUNCTIONS
+#define BOOST_NO_DELETED_FUNCTIONS
+#define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS
+#define BOOST_NO_EXTERN_TEMPLATE
+#define BOOST_NO_RAW_LITERALS
+#define BOOST_NO_RVALUE_REFERENCES
+#define BOOST_NO_SCOPED_ENUMS
+#define BOOST_NO_STATIC_ASSERT
+#define BOOST_NO_UNICODE_LITERALS
 #define BOOST_NO_VARIADIC_TEMPLATES
+#define BOOST_NO_AUTO_DECLARATIONS
+#define BOOST_NO_AUTO_MULTIDECLARATIONS
 
 //
 // last known and checked version for HP-UX/ia64 is 61300
Modified: branches/release/boost/config/compiler/intel.hpp
==============================================================================
--- branches/release/boost/config/compiler/intel.hpp	(original)
+++ branches/release/boost/config/compiler/intel.hpp	2009-03-26 15:00:00 EDT (Thu, 26 Mar 2009)
@@ -162,20 +162,22 @@
 //
 //   See boost\config\suffix.hpp for BOOST_NO_LONG_LONG
 //
-#define BOOST_NO_CHAR16_T                       
-#define BOOST_NO_CHAR32_T                       
-#define BOOST_NO_CONSTEXPR                      
-#define BOOST_NO_DECLTYPE                       
-#define BOOST_NO_DEFAULTED_FUNCTIONS              
-#define BOOST_NO_DELETED_FUNCTIONS              
-#define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS 
-#define BOOST_NO_EXTERN_TEMPLATE                
-#define BOOST_NO_RAW_LITERALS                   
-#define BOOST_NO_RVALUE_REFERENCES              
-#define BOOST_NO_SCOPED_ENUMS                   
-#define BOOST_NO_STATIC_ASSERT                  
-#define BOOST_NO_UNICODE_LITERALS               
+#define BOOST_NO_CHAR16_T
+#define BOOST_NO_CHAR32_T
+#define BOOST_NO_CONSTEXPR
+#define BOOST_NO_DECLTYPE
+#define BOOST_NO_DEFAULTED_FUNCTIONS
+#define BOOST_NO_DELETED_FUNCTIONS
+#define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS
+#define BOOST_NO_EXTERN_TEMPLATE
+#define BOOST_NO_RAW_LITERALS
+#define BOOST_NO_RVALUE_REFERENCES
+#define BOOST_NO_SCOPED_ENUMS
+#define BOOST_NO_STATIC_ASSERT
+#define BOOST_NO_UNICODE_LITERALS
 #define BOOST_NO_VARIADIC_TEMPLATES
+#define BOOST_NO_AUTO_DECLARATIONS
+#define BOOST_NO_AUTO_MULTIDECLARATIONS
 
 //
 // last known and checked version:
Modified: branches/release/boost/config/compiler/metrowerks.hpp
==============================================================================
--- branches/release/boost/config/compiler/metrowerks.hpp	(original)
+++ branches/release/boost/config/compiler/metrowerks.hpp	2009-03-26 15:00:00 EDT (Thu, 26 Mar 2009)
@@ -91,19 +91,21 @@
 #else
 #  define BOOST_NO_RVALUE_REFERENCES              
 #endif
-#define BOOST_NO_CHAR16_T                       
-#define BOOST_NO_CHAR32_T                       
-#define BOOST_NO_CONSTEXPR                      
-#define BOOST_NO_DECLTYPE                       
-#define BOOST_NO_DEFAULTED_FUNCTIONS              
-#define BOOST_NO_DELETED_FUNCTIONS              
-#define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS 
-#define BOOST_NO_EXTERN_TEMPLATE                
-#define BOOST_NO_RAW_LITERALS                   
-#define BOOST_NO_SCOPED_ENUMS                   
-#define BOOST_NO_STATIC_ASSERT                  
-#define BOOST_NO_UNICODE_LITERALS               
+#define BOOST_NO_CHAR16_T
+#define BOOST_NO_CHAR32_T
+#define BOOST_NO_CONSTEXPR
+#define BOOST_NO_DECLTYPE
+#define BOOST_NO_DEFAULTED_FUNCTIONS
+#define BOOST_NO_DELETED_FUNCTIONS
+#define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS
+#define BOOST_NO_EXTERN_TEMPLATE
+#define BOOST_NO_RAW_LITERALS
+#define BOOST_NO_SCOPED_ENUMS
+#define BOOST_NO_STATIC_ASSERT
+#define BOOST_NO_UNICODE_LITERALS
 #define BOOST_NO_VARIADIC_TEMPLATES
+#define BOOST_NO_AUTO_DECLARATIONS
+#define BOOST_NO_AUTO_MULTIDECLARATIONS
 
 #define BOOST_COMPILER "Metrowerks CodeWarrior C++ version " BOOST_STRINGIZE(BOOST_COMPILER_VERSION)
 
Modified: branches/release/boost/config/compiler/mpw.hpp
==============================================================================
--- branches/release/boost/config/compiler/mpw.hpp	(original)
+++ branches/release/boost/config/compiler/mpw.hpp	2009-03-26 15:00:00 EDT (Thu, 26 Mar 2009)
@@ -41,20 +41,22 @@
 //
 //   See boost\config\suffix.hpp for BOOST_NO_LONG_LONG
 //
-#define BOOST_NO_CHAR16_T                       
-#define BOOST_NO_CHAR32_T                       
-#define BOOST_NO_CONSTEXPR                      
-#define BOOST_NO_DECLTYPE                       
-#define BOOST_NO_DEFAULTED_FUNCTIONS              
-#define BOOST_NO_DELETED_FUNCTIONS              
-#define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS 
-#define BOOST_NO_EXTERN_TEMPLATE                
-#define BOOST_NO_RAW_LITERALS                   
-#define BOOST_NO_RVALUE_REFERENCES              
-#define BOOST_NO_SCOPED_ENUMS                   
-#define BOOST_NO_STATIC_ASSERT                  
-#define BOOST_NO_UNICODE_LITERALS               
+#define BOOST_NO_CHAR16_T
+#define BOOST_NO_CHAR32_T
+#define BOOST_NO_CONSTEXPR
+#define BOOST_NO_DECLTYPE
+#define BOOST_NO_DEFAULTED_FUNCTIONS
+#define BOOST_NO_DELETED_FUNCTIONS
+#define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS
+#define BOOST_NO_EXTERN_TEMPLATE
+#define BOOST_NO_RAW_LITERALS
+#define BOOST_NO_RVALUE_REFERENCES
+#define BOOST_NO_SCOPED_ENUMS
+#define BOOST_NO_STATIC_ASSERT
+#define BOOST_NO_UNICODE_LITERALS
 #define BOOST_NO_VARIADIC_TEMPLATES
+#define BOOST_NO_AUTO_DECLARATIONS
+#define BOOST_NO_AUTO_MULTIDECLARATIONS
 
 //
 // versions check:
Modified: branches/release/boost/config/compiler/pgi.hpp
==============================================================================
--- branches/release/boost/config/compiler/pgi.hpp	(original)
+++ branches/release/boost/config/compiler/pgi.hpp	2009-03-26 15:00:00 EDT (Thu, 26 Mar 2009)
@@ -33,20 +33,22 @@
 //
 //   See boost\config\suffix.hpp for BOOST_NO_LONG_LONG
 //
-#define BOOST_NO_CHAR16_T                       
-#define BOOST_NO_CHAR32_T                       
-#define BOOST_NO_CONSTEXPR                      
-#define BOOST_NO_DECLTYPE                       
-#define BOOST_NO_DEFAULTED_FUNCTIONS              
-#define BOOST_NO_DELETED_FUNCTIONS              
-#define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS 
-#define BOOST_NO_EXTERN_TEMPLATE                
-#define BOOST_NO_RAW_LITERALS                   
-#define BOOST_NO_RVALUE_REFERENCES              
-#define BOOST_NO_SCOPED_ENUMS                   
-#define BOOST_NO_STATIC_ASSERT                  
-#define BOOST_NO_UNICODE_LITERALS               
+#define BOOST_NO_CHAR16_T
+#define BOOST_NO_CHAR32_T
+#define BOOST_NO_CONSTEXPR
+#define BOOST_NO_DECLTYPE
+#define BOOST_NO_DEFAULTED_FUNCTIONS
+#define BOOST_NO_DELETED_FUNCTIONS
+#define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS
+#define BOOST_NO_EXTERN_TEMPLATE
+#define BOOST_NO_RAW_LITERALS
+#define BOOST_NO_RVALUE_REFERENCES
+#define BOOST_NO_SCOPED_ENUMS
+#define BOOST_NO_STATIC_ASSERT
+#define BOOST_NO_UNICODE_LITERALS
 #define BOOST_NO_VARIADIC_TEMPLATES
+#define BOOST_NO_AUTO_DECLARATIONS
+#define BOOST_NO_AUTO_MULTIDECLARATIONS
 
 //
 // version check:
Modified: branches/release/boost/config/compiler/sgi_mipspro.hpp
==============================================================================
--- branches/release/boost/config/compiler/sgi_mipspro.hpp	(original)
+++ branches/release/boost/config/compiler/sgi_mipspro.hpp	2009-03-26 15:00:00 EDT (Thu, 26 Mar 2009)
@@ -28,20 +28,22 @@
 //
 //   See boost\config\suffix.hpp for BOOST_NO_LONG_LONG
 //
-#define BOOST_NO_CHAR16_T                       
-#define BOOST_NO_CHAR32_T                       
-#define BOOST_NO_CONSTEXPR                      
-#define BOOST_NO_DECLTYPE                       
-#define BOOST_NO_DEFAULTED_FUNCTIONS              
-#define BOOST_NO_DELETED_FUNCTIONS              
-#define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS 
-#define BOOST_NO_EXTERN_TEMPLATE                
-#define BOOST_NO_RAW_LITERALS                   
-#define BOOST_NO_RVALUE_REFERENCES              
-#define BOOST_NO_SCOPED_ENUMS                   
-#define BOOST_NO_STATIC_ASSERT                  
-#define BOOST_NO_UNICODE_LITERALS               
+#define BOOST_NO_CHAR16_T
+#define BOOST_NO_CHAR32_T
+#define BOOST_NO_CONSTEXPR
+#define BOOST_NO_DECLTYPE
+#define BOOST_NO_DEFAULTED_FUNCTIONS
+#define BOOST_NO_DELETED_FUNCTIONS
+#define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS
+#define BOOST_NO_EXTERN_TEMPLATE
+#define BOOST_NO_RAW_LITERALS
+#define BOOST_NO_RVALUE_REFERENCES
+#define BOOST_NO_SCOPED_ENUMS
+#define BOOST_NO_STATIC_ASSERT
+#define BOOST_NO_UNICODE_LITERALS
 #define BOOST_NO_VARIADIC_TEMPLATES
+#define BOOST_NO_AUTO_DECLARATIONS
+#define BOOST_NO_AUTO_MULTIDECLARATIONS
 
 //
 // version check:
Modified: branches/release/boost/config/compiler/sunpro_cc.hpp
==============================================================================
--- branches/release/boost/config/compiler/sunpro_cc.hpp	(original)
+++ branches/release/boost/config/compiler/sunpro_cc.hpp	2009-03-26 15:00:00 EDT (Thu, 26 Mar 2009)
@@ -86,20 +86,22 @@
 #  define BOOST_NO_LONG_LONG
 #endif
 
-#define BOOST_NO_CHAR16_T                       
-#define BOOST_NO_CHAR32_T                       
-#define BOOST_NO_CONSTEXPR                      
-#define BOOST_NO_DECLTYPE                       
-#define BOOST_NO_DEFAULTED_FUNCTIONS              
-#define BOOST_NO_DELETED_FUNCTIONS              
-#define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS 
-#define BOOST_NO_EXTERN_TEMPLATE                
-#define BOOST_NO_RAW_LITERALS                   
-#define BOOST_NO_RVALUE_REFERENCES              
-#define BOOST_NO_SCOPED_ENUMS                   
-#define BOOST_NO_STATIC_ASSERT                  
-#define BOOST_NO_UNICODE_LITERALS               
+#define BOOST_NO_CHAR16_T
+#define BOOST_NO_CHAR32_T
+#define BOOST_NO_CONSTEXPR
+#define BOOST_NO_DECLTYPE
+#define BOOST_NO_DEFAULTED_FUNCTIONS
+#define BOOST_NO_DELETED_FUNCTIONS
+#define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS
+#define BOOST_NO_EXTERN_TEMPLATE
+#define BOOST_NO_RAW_LITERALS
+#define BOOST_NO_RVALUE_REFERENCES
+#define BOOST_NO_SCOPED_ENUMS
+#define BOOST_NO_STATIC_ASSERT
+#define BOOST_NO_UNICODE_LITERALS
 #define BOOST_NO_VARIADIC_TEMPLATES
+#define BOOST_NO_AUTO_DECLARATIONS
+#define BOOST_NO_AUTO_MULTIDECLARATIONS
 
 //
 // Version
Modified: branches/release/boost/config/compiler/vacpp.hpp
==============================================================================
--- branches/release/boost/config/compiler/vacpp.hpp	(original)
+++ branches/release/boost/config/compiler/vacpp.hpp	2009-03-26 15:00:00 EDT (Thu, 26 Mar 2009)
@@ -61,20 +61,22 @@
 //
 //   See boost\config\suffix.hpp for BOOST_NO_LONG_LONG
 //
-#define BOOST_NO_CHAR16_T                       
-#define BOOST_NO_CHAR32_T                       
-#define BOOST_NO_CONSTEXPR                      
-#define BOOST_NO_DECLTYPE                       
-#define BOOST_NO_DEFAULTED_FUNCTIONS              
-#define BOOST_NO_DELETED_FUNCTIONS              
-#define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS 
-#define BOOST_NO_EXTERN_TEMPLATE                
-#define BOOST_NO_RAW_LITERALS                   
-#define BOOST_NO_RVALUE_REFERENCES              
-#define BOOST_NO_SCOPED_ENUMS                   
-#define BOOST_NO_STATIC_ASSERT                  
-#define BOOST_NO_UNICODE_LITERALS               
+#define BOOST_NO_CHAR16_T
+#define BOOST_NO_CHAR32_T
+#define BOOST_NO_CONSTEXPR
+#define BOOST_NO_DECLTYPE
+#define BOOST_NO_DEFAULTED_FUNCTIONS
+#define BOOST_NO_DELETED_FUNCTIONS
+#define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS
+#define BOOST_NO_EXTERN_TEMPLATE
+#define BOOST_NO_RAW_LITERALS
+#define BOOST_NO_RVALUE_REFERENCES
+#define BOOST_NO_SCOPED_ENUMS
+#define BOOST_NO_STATIC_ASSERT
+#define BOOST_NO_UNICODE_LITERALS
 #define BOOST_NO_VARIADIC_TEMPLATES
+#define BOOST_NO_AUTO_DECLARATIONS
+#define BOOST_NO_AUTO_MULTIDECLARATIONS
 
 
 
Modified: branches/release/boost/config/compiler/visualc.hpp
==============================================================================
--- branches/release/boost/config/compiler/visualc.hpp	(original)
+++ branches/release/boost/config/compiler/visualc.hpp	2009-03-26 15:00:00 EDT (Thu, 26 Mar 2009)
@@ -146,21 +146,27 @@
 // C++0x features
 //
 //   See above for BOOST_NO_LONG_LONG
+#define BOOST_NO_CHAR16_T
+#define BOOST_NO_CHAR32_T
+#define BOOST_NO_CONSTEXPR
+#define BOOST_NO_DECLTYPE
+#define BOOST_NO_DEFAULTED_FUNCTIONS
+#define BOOST_NO_DELETED_FUNCTIONS
+#define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS
+#define BOOST_NO_EXTERN_TEMPLATE
+#define BOOST_NO_RAW_LITERALS
+#define BOOST_NO_SCOPED_ENUMS
+#define BOOST_NO_UNICODE_LITERALS
+#define BOOST_NO_VARIADIC_TEMPLATES
+
+// MSVC 2010 CTP has some support for C++0x, but we still disable it until the compiler release
+// #if _MSC_VER < 1600
+#define BOOST_NO_RVALUE_REFERENCES
+#define BOOST_NO_STATIC_ASSERT
+#define BOOST_NO_AUTO_DECLARATIONS
+#define BOOST_NO_AUTO_MULTIDECLARATIONS
+// #endif // _MSC_VER < 1600
 
-#define BOOST_NO_CHAR16_T                       
-#define BOOST_NO_CHAR32_T                       
-#define BOOST_NO_CONSTEXPR                      
-#define BOOST_NO_DECLTYPE                       
-#define BOOST_NO_DEFAULTED_FUNCTIONS              
-#define BOOST_NO_DELETED_FUNCTIONS              
-#define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS 
-#define BOOST_NO_EXTERN_TEMPLATE                
-#define BOOST_NO_RAW_LITERALS                   
-#define BOOST_NO_RVALUE_REFERENCES              
-#define BOOST_NO_SCOPED_ENUMS                   
-#define BOOST_NO_STATIC_ASSERT                  
-#define BOOST_NO_UNICODE_LITERALS               
-#define BOOST_NO_VARIADIC_TEMPLATES             
 //
 // prefix and suffix headers:
 //
Modified: branches/release/libs/config/doc/macro_reference.qbk
==============================================================================
--- branches/release/libs/config/doc/macro_reference.qbk	(original)
+++ branches/release/libs/config/doc/macro_reference.qbk	2009-03-26 15:00:00 EDT (Thu, 26 Mar 2009)
@@ -524,6 +524,12 @@
 [table
 [[Macro     ][Description     ]]
 
+[[`BOOST_NO_AUTO_DECLARATIONS`][The compiler does not support
+type deduction for variables declared with the `auto` keyword (`auto var = ...;`).
+]]                       
+[[`BOOST_NO_AUTO_MULTIDECLARATIONS`][The compiler does not support
+type deduction for multiple variables declared with the `auto` keyword (`auto var = ..., *ptr = ...;`).
+]]                       
 [[`BOOST_NO_CHAR16_T`][The compiler does not support
 type `char16_t`. 
 ]]                       
Modified: branches/release/libs/config/test/all/Jamfile.v2
==============================================================================
--- branches/release/libs/config/test/all/Jamfile.v2	(original)
+++ branches/release/libs/config/test/all/Jamfile.v2	2009-03-26 15:00:00 EDT (Thu, 26 Mar 2009)
@@ -1,7 +1,7 @@
 #
 # Regression test Jamfile for boost configuration setup.
 # *** DO NOT EDIT THIS FILE BY HAND ***
-# This file was automatically generated on Fri Feb 20 21:15:18 2009
+# This file was automatically generated on Sat Mar 21 15:13:32 2009
 #  by libs/config/tools/generate.cpp
 # Copyright John Maddock.
 # Use, modification and distribution are subject to the 
@@ -184,6 +184,12 @@
 test-suite "BOOST_NO_ARRAY_TYPE_SPECIALIZATIONS" : 
 [ run ../no_array_type_spec_pass.cpp ]
 [ compile-fail ../no_array_type_spec_fail.cpp ] ;
+test-suite "BOOST_NO_AUTO_DECLARATIONS" : 
+[ run ../no_auto_declarations_pass.cpp ]
+[ compile-fail ../no_auto_declarations_fail.cpp ] ;
+test-suite "BOOST_NO_AUTO_MULTIDECLARATIONS" : 
+[ run ../no_auto_multidecl_pass.cpp ]
+[ compile-fail ../no_auto_multidecl_fail.cpp ] ;
 test-suite "BOOST_NO_AUTO_PTR" : 
 [ run ../no_auto_ptr_pass.cpp ]
 [ compile-fail ../no_auto_ptr_fail.cpp ] ;
Added: branches/release/libs/config/test/boost_no_auto_declarations.ipp
==============================================================================
--- (empty file)
+++ branches/release/libs/config/test/boost_no_auto_declarations.ipp	2009-03-26 15:00:00 EDT (Thu, 26 Mar 2009)
@@ -0,0 +1,25 @@
+//  Copyright (C) 2009 Andrey Semashev
+//  Use, modification and distribution are subject to the
+//  Boost Software License, Version 1.0. (See accompanying file
+//  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+
+//  See http://www.boost.org/libs/config for most recent version.
+
+//  MACRO:         BOOST_NO_AUTO_DECLARATIONS
+//  TITLE:         C++0x auto declarators unavailable
+//  DESCRIPTION:   The compiler does not support C++0x declarations of variables with automatically deduced type
+
+namespace boost_no_auto_declarations {
+
+void check(int& x)
+{
+}
+
+int test()
+{
+   auto x = 10;
+   check(x);
+   return 0;
+}
+
+}
Added: branches/release/libs/config/test/boost_no_auto_multidecl.ipp
==============================================================================
--- (empty file)
+++ branches/release/libs/config/test/boost_no_auto_multidecl.ipp	2009-03-26 15:00:00 EDT (Thu, 26 Mar 2009)
@@ -0,0 +1,25 @@
+//  Copyright (C) 2009 Andrey Semashev
+//  Use, modification and distribution are subject to the
+//  Boost Software License, Version 1.0. (See accompanying file
+//  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+
+//  See http://www.boost.org/libs/config for most recent version.
+
+//  MACRO:         BOOST_NO_AUTO_MULTIDECLARATIONS
+//  TITLE:         C++0x auto multideclarators unavailable
+//  DESCRIPTION:   The compiler does not support C++0x declarations of series of variables with automatically deduced type
+
+namespace boost_no_auto_multideclarations {
+
+void check(int& x, int*& y)
+{
+}
+
+int test()
+{
+   auto x = 10, *y = &x;
+   check(x, y);
+   return 0;
+}
+
+}
Modified: branches/release/libs/config/test/config_info.cpp
==============================================================================
--- branches/release/libs/config/test/config_info.cpp	(original)
+++ branches/release/libs/config/test/config_info.cpp	2009-03-26 15:00:00 EDT (Thu, 26 Mar 2009)
@@ -955,6 +955,8 @@
    PRINT_MACRO(BOOST_NO_ADL_BARRIER);
    PRINT_MACRO(BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP);
    PRINT_MACRO(BOOST_NO_ARRAY_TYPE_SPECIALIZATIONS);
+   PRINT_MACRO(BOOST_NO_AUTO_DECLARATIONS);
+   PRINT_MACRO(BOOST_NO_AUTO_MULTIDECLARATIONS);
    PRINT_MACRO(BOOST_NO_AUTO_PTR);
    PRINT_MACRO(BOOST_NO_CHAR16_T);
    PRINT_MACRO(BOOST_NO_CHAR32_T);
@@ -1034,6 +1036,7 @@
    PRINT_MACRO(BOOST_NO_VARIADIC_TEMPLATES);
    PRINT_MACRO(BOOST_NO_VOID_RETURNS);
 
+
    // END GENERATED BLOCK
 
    PRINT_MACRO(BOOST_INTEL);
Modified: branches/release/libs/config/test/config_test.cpp
==============================================================================
--- branches/release/libs/config/test/config_test.cpp	(original)
+++ branches/release/libs/config/test/config_test.cpp	2009-03-26 15:00:00 EDT (Thu, 26 Mar 2009)
@@ -1,4 +1,4 @@
-//  This file was automatically generated on Fri Feb 20 21:15:18 2009
+//  This file was automatically generated on Sat Mar 21 15:13:32 2009
 //  by libs/config/tools/generate.cpp
 //  Copyright John Maddock 2002-4.
 //  Use, modification and distribution are subject to the 
@@ -37,6 +37,16 @@
 #else
 namespace boost_no_array_type_specializations = empty_boost;
 #endif
+#ifndef BOOST_NO_AUTO_DECLARATIONS
+#include "boost_no_auto_declarations.ipp"
+#else
+namespace boost_no_auto_declarations = empty_boost;
+#endif
+#ifndef BOOST_NO_AUTO_MULTIDECLARATIONS
+#include "boost_no_auto_multidecl.ipp"
+#else
+namespace boost_no_auto_multideclarations = empty_boost;
+#endif
 #ifndef BOOST_NO_AUTO_PTR
 #include "boost_no_auto_ptr.ipp"
 #else
@@ -971,6 +981,16 @@
       std::cerr << "Failed test for BOOST_NO_ARRAY_TYPE_SPECIALIZATIONS at: " << __FILE__ << ":" << __LINE__ << std::endl;
       ++error_count;
    }
+   if(0 != boost_no_auto_declarations::test())
+   {
+      std::cerr << "Failed test for BOOST_NO_AUTO_DECLARATIONS at: " << __FILE__ << ":" << __LINE__ << std::endl;
+      ++error_count;
+   }
+   if(0 != boost_no_auto_multideclarations::test())
+   {
+      std::cerr << "Failed test for BOOST_NO_AUTO_MULTIDECLARATIONS at: " << __FILE__ << ":" << __LINE__ << std::endl;
+      ++error_count;
+   }
    if(0 != boost_no_auto_ptr::test())
    {
       std::cerr << "Failed test for BOOST_NO_AUTO_PTR at: " << __FILE__ << ":" << __LINE__ << std::endl;
Added: branches/release/libs/config/test/no_auto_declarations_fail.cpp
==============================================================================
--- (empty file)
+++ branches/release/libs/config/test/no_auto_declarations_fail.cpp	2009-03-26 15:00:00 EDT (Thu, 26 Mar 2009)
@@ -0,0 +1,37 @@
+//  This file was automatically generated on Thu Mar 12 17:32:04 2009
+//  by libs/config/tools/generate.cpp
+//  Copyright John Maddock 2002-4.
+//  Use, modification and distribution are subject to the 
+//  Boost Software License, Version 1.0. (See accompanying file 
+//  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+
+//  See http://www.boost.org/libs/config for the most recent version.//
+//  Revision $Id$
+//
+
+
+// Test file for macro BOOST_NO_AUTO_DECLARATIONS
+// This file should not compile, if it does then
+// BOOST_NO_AUTO_DECLARATIONS should not be defined.
+// See file boost_no_auto_declarations.ipp for details
+
+// Must not have BOOST_ASSERT_CONFIG set; it defeats
+// the objective of this file:
+#ifdef BOOST_ASSERT_CONFIG
+#  undef BOOST_ASSERT_CONFIG
+#endif
+
+#include <boost/config.hpp>
+#include "test.hpp"
+
+#ifdef BOOST_NO_AUTO_DECLARATIONS
+#include "boost_no_auto_declarations.ipp"
+#else
+#error "this file should not compile"
+#endif
+
+int main( int, char *[] )
+{
+   return boost_no_auto_declarations::test();
+}
+
Added: branches/release/libs/config/test/no_auto_declarations_pass.cpp
==============================================================================
--- (empty file)
+++ branches/release/libs/config/test/no_auto_declarations_pass.cpp	2009-03-26 15:00:00 EDT (Thu, 26 Mar 2009)
@@ -0,0 +1,37 @@
+//  This file was automatically generated on Thu Mar 12 17:32:04 2009
+//  by libs/config/tools/generate.cpp
+//  Copyright John Maddock 2002-4.
+//  Use, modification and distribution are subject to the 
+//  Boost Software License, Version 1.0. (See accompanying file 
+//  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+
+//  See http://www.boost.org/libs/config for the most recent version.//
+//  Revision $Id$
+//
+
+
+// Test file for macro BOOST_NO_AUTO_DECLARATIONS
+// This file should compile, if it does not then
+// BOOST_NO_AUTO_DECLARATIONS should be defined.
+// See file boost_no_auto_declarations.ipp for details
+
+// Must not have BOOST_ASSERT_CONFIG set; it defeats
+// the objective of this file:
+#ifdef BOOST_ASSERT_CONFIG
+#  undef BOOST_ASSERT_CONFIG
+#endif
+
+#include <boost/config.hpp>
+#include "test.hpp"
+
+#ifndef BOOST_NO_AUTO_DECLARATIONS
+#include "boost_no_auto_declarations.ipp"
+#else
+namespace boost_no_auto_declarations = empty_boost;
+#endif
+
+int main( int, char *[] )
+{
+   return boost_no_auto_declarations::test();
+}
+
Added: branches/release/libs/config/test/no_auto_multidecl_fail.cpp
==============================================================================
--- (empty file)
+++ branches/release/libs/config/test/no_auto_multidecl_fail.cpp	2009-03-26 15:00:00 EDT (Thu, 26 Mar 2009)
@@ -0,0 +1,37 @@
+//  This file was automatically generated on Thu Mar 12 17:32:04 2009
+//  by libs/config/tools/generate.cpp
+//  Copyright John Maddock 2002-4.
+//  Use, modification and distribution are subject to the 
+//  Boost Software License, Version 1.0. (See accompanying file 
+//  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+
+//  See http://www.boost.org/libs/config for the most recent version.//
+//  Revision $Id$
+//
+
+
+// Test file for macro BOOST_NO_AUTO_MULTIDECLARATIONS
+// This file should not compile, if it does then
+// BOOST_NO_AUTO_MULTIDECLARATIONS should not be defined.
+// See file boost_no_auto_multidecl.ipp for details
+
+// Must not have BOOST_ASSERT_CONFIG set; it defeats
+// the objective of this file:
+#ifdef BOOST_ASSERT_CONFIG
+#  undef BOOST_ASSERT_CONFIG
+#endif
+
+#include <boost/config.hpp>
+#include "test.hpp"
+
+#ifdef BOOST_NO_AUTO_MULTIDECLARATIONS
+#include "boost_no_auto_multidecl.ipp"
+#else
+#error "this file should not compile"
+#endif
+
+int main( int, char *[] )
+{
+   return boost_no_auto_multideclarations::test();
+}
+
Added: branches/release/libs/config/test/no_auto_multidecl_pass.cpp
==============================================================================
--- (empty file)
+++ branches/release/libs/config/test/no_auto_multidecl_pass.cpp	2009-03-26 15:00:00 EDT (Thu, 26 Mar 2009)
@@ -0,0 +1,37 @@
+//  This file was automatically generated on Thu Mar 12 17:32:04 2009
+//  by libs/config/tools/generate.cpp
+//  Copyright John Maddock 2002-4.
+//  Use, modification and distribution are subject to the 
+//  Boost Software License, Version 1.0. (See accompanying file 
+//  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+
+//  See http://www.boost.org/libs/config for the most recent version.//
+//  Revision $Id$
+//
+
+
+// Test file for macro BOOST_NO_AUTO_MULTIDECLARATIONS
+// This file should compile, if it does not then
+// BOOST_NO_AUTO_MULTIDECLARATIONS should be defined.
+// See file boost_no_auto_multidecl.ipp for details
+
+// Must not have BOOST_ASSERT_CONFIG set; it defeats
+// the objective of this file:
+#ifdef BOOST_ASSERT_CONFIG
+#  undef BOOST_ASSERT_CONFIG
+#endif
+
+#include <boost/config.hpp>
+#include "test.hpp"
+
+#ifndef BOOST_NO_AUTO_MULTIDECLARATIONS
+#include "boost_no_auto_multidecl.ipp"
+#else
+namespace boost_no_auto_multideclarations = empty_boost;
+#endif
+
+int main( int, char *[] )
+{
+   return boost_no_auto_multideclarations::test();
+}
+