Compare commits

..

69 Commits

Author SHA1 Message Date
nobody
70e8f90f8f This commit was manufactured by cvs2svn to create tag
'Version_1_26_0'.

[SVN r11842]
2001-11-30 18:24:42 +00:00
Beman Dawes
5435b76457 release
[SVN r11840]
2001-11-30 18:03:58 +00:00
Jens Maurer
3b5fa98ad0 print BOOST_NO_DEPENDENT_NESTED_DERIVATIONS
[SVN r11773]
2001-11-22 22:16:11 +00:00
Jens Maurer
59dd992f5f better adjustment of compiler workarounds
[SVN r11772]
2001-11-22 22:07:47 +00:00
Jens Maurer
84c8b8180f print BOOST_NESTED_TEMPLATE
[SVN r11771]
2001-11-22 21:53:47 +00:00
Jens Maurer
906226607b adjust for version A.03.33
[SVN r11770]
2001-11-22 21:45:17 +00:00
Jens Maurer
7b623f0998 change tabs to spaces
[SVN r11738]
2001-11-19 22:13:04 +00:00
John Maddock
5390cbc736 Updated to prevent failures on Metrowerks compiler.
[SVN r11660]
2001-11-11 11:55:51 +00:00
John Maddock
279fff7821 Updated to prevent warnings when BOOST_HAS_WINTHREADS is defined.
[SVN r11648]
2001-11-10 12:14:59 +00:00
Darin Adler
96026e7152 Remove assumption that the compiler is always in multithreaded mode.
Instead, figure out when the library is in multithreaded mode, by
looking at _MWMT.


[SVN r11631]
2001-11-08 16:17:28 +00:00
Darin Adler
0a31cf05f6 Indicate the CodeWarrior is always in "multi-threaded mode".
[SVN r11629]
2001-11-08 06:21:39 +00:00
John Maddock
cdb0120c91 Added explicit qualifiers to mem_fun calls, as workaround for broken std libs that don't put code in namespace std.
[SVN r11624]
2001-11-07 12:36:55 +00:00
Jeremy Siek
817241d9c9 changed ordering to get VC++ pragma's (truncation) before <utility>
gets included (in select_stdlib_config.hpp)


[SVN r11615]
2001-11-06 16:56:22 +00:00
Toon Knapen
ec39a3ca36 removed define of BOOST_NO_INCLASS_MEMBER_INITIALIZATION
(tipped by Jens Maurer)


[SVN r11608]
2001-11-06 12:06:58 +00:00
Douglas Gregor
4f21fcf5da Removed forced usage of virtual function implementation in Boost.Function,
because it is no longer necessary.


[SVN r11606]
2001-11-06 02:26:46 +00:00
Jens Maurer
b520cf5d9f unofficial GCC 2.96 (shipped with RedHat 7.1) doesn't have <sstream>
(hopefully fixes SF bug #471205)


[SVN r11605]
2001-11-05 21:37:59 +00:00
Beman Dawes
0bbfde6d71 1.25.1 runup
[SVN r11595]
2001-11-05 19:34:38 +00:00
Jens Maurer
2131184c6e SunPro 5.3 doesn't have enough partial specialization to compile shared_ptr.
[SVN r11574]
2001-11-04 22:16:45 +00:00
Jens Maurer
0d7929b698 BOOST_HAS_LONG_LONG is intricately intertwined with library support. Avoid.
[SVN r11495]
2001-10-31 19:37:26 +00:00
Jens Maurer
e440678d4e library may lack support for "long long"
[SVN r11494]
2001-10-31 19:36:49 +00:00
John Maddock
673f4590cd Added test support for BOOST_HAS_SGI_TYPE_TRAITS, added test for -lrt in configure script.
[SVN r11488]
2001-10-31 13:06:25 +00:00
John Maddock
c02d987546 Added BOOST_HAS_SGI_TYPE_TRAITS
[SVN r11485]
2001-10-31 13:02:05 +00:00
Jens Maurer
ac6e44953b HP aCC A.03.33 appears to have a conforming std::allocator
[SVN r11481]
2001-10-30 22:35:41 +00:00
Jens Maurer
91548127fd yes, gcc has "long long"
[SVN r11480]
2001-10-30 22:34:48 +00:00
Jens Maurer
fe476f7923 gettimeofday is always available
[SVN r11479]
2001-10-30 22:33:31 +00:00
Jens Maurer
824fccf457 aCC 03.31 has been checked
[SVN r11477]
2001-10-30 22:30:53 +00:00
Jens Maurer
57683a3a42 add _HPACC_ macro
[SVN r11476]
2001-10-30 22:30:16 +00:00
Jens Maurer
31daafada8 no integral int64_t on HP aCC for now
[SVN r11467]
2001-10-29 19:45:07 +00:00
Jens Maurer
26b772c3cc no integral int64_t with EDG <= 2.38 (e.g. IRIX MIPSpro)
[SVN r11466]
2001-10-29 19:39:59 +00:00
Jens Maurer
188e522fc9 EDG has "long long" in non-strict mode
[SVN r11465]
2001-10-29 19:35:57 +00:00
Jens Maurer
c3024d2a6c check for c_plusplus macro (indicates EDG non-strict mode)
[SVN r11464]
2001-10-29 19:34:34 +00:00
Jens Maurer
ecd63c5809 fix condition for broken std::messages
[SVN r11460]
2001-10-28 14:47:49 +00:00
John Maddock
6221145c0a Added BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE support.
[SVN r11459]
2001-10-28 11:57:47 +00:00
John Maddock
951e46f0f0 Added needed BOOST_HAS_UNISTD_H define (only needed because of recent reorganisation).
[SVN r11454]
2001-10-27 11:12:54 +00:00
John Maddock
d449ccb591 Updated bsd threading config.
[SVN r11453]
2001-10-27 11:06:25 +00:00
John Maddock
26783c6679 Fixed cygwin threading config.
[SVN r11452]
2001-10-27 10:56:36 +00:00
John Maddock
4a52042c75 Fixed bad namespace name in test.
[SVN r11451]
2001-10-27 10:55:53 +00:00
John Maddock
10b5a8cc1c Updated POSIX feature detection code (moved file inclusion to individual platform configs and out of suffix.hpp)
[SVN r11448]
2001-10-26 11:58:23 +00:00
John Maddock
003fceb582 Added BOOST_MSVC docs
[SVN r11440]
2001-10-25 11:49:58 +00:00
John Maddock
8126210523 removed unneeded BOOST_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS for icl 6
[SVN r11439]
2001-10-25 11:47:17 +00:00
Jens Maurer
382bb3cc08 avoid the messages facet on SGI (with MIPSpro compiler)
[SVN r11437]
2001-10-25 05:16:02 +00:00
Jens Maurer
c2ed94bee0 add comment how to enable new-style for scoping on Intel for Win32
[SVN r11433]
2001-10-24 15:58:01 +00:00
Jens Maurer
c7ba2a0704 remove "unused variable" warnings
[SVN r11426]
2001-10-23 19:45:36 +00:00
John Maddock
8e577f1e8b set version check for old broken sgi std::messages facet.
[SVN r11421]
2001-10-23 11:12:12 +00:00
John Maddock
07d86e9ca1 Added gettimeofday support
[SVN r11414]
2001-10-21 12:01:02 +00:00
John Maddock
2b77c9bfb5 Added pthread config options
[SVN r11413]
2001-10-21 11:46:46 +00:00
John Maddock
3f58e08292 Minor config tweek
[SVN r11412]
2001-10-21 11:01:10 +00:00
John Maddock
e899c77505 Added BOOST_HAS_LONG_LONG printout
[SVN r11410]
2001-10-20 10:14:12 +00:00
John Maddock
3c9f7b61fe Fixed _XOPEN_REALTIME usage (was too liberal).
[SVN r11409]
2001-10-20 10:13:24 +00:00
John Maddock
4ca0738b27 Fixed buggy comments.
[SVN r11408]
2001-10-19 11:58:53 +00:00
John Maddock
ebc4ba8796 Updated test to check open/close interfaces.
[SVN r11407]
2001-10-19 11:38:26 +00:00
John Maddock
2069d5ad13 renamed test procedure to avoid conflict with C++ Builder
[SVN r11406]
2001-10-19 11:37:52 +00:00
John Maddock
4f01724912 Native SGI streams appear to have non-standard std::messages.
[SVN r11405]
2001-10-19 11:36:32 +00:00
John Maddock
bb18d81860 Tidied up POSIX feature tests, added support for REALTIME feature test.
[SVN r11404]
2001-10-19 11:35:41 +00:00
John Maddock
780d8dcb95 Updated BOOST_HAS_NANOSLEEP tests.
[SVN r11398]
2001-10-18 10:18:37 +00:00
John Maddock
7b544cc9c3 Updated int64 tests.
[SVN r11397]
2001-10-18 10:16:32 +00:00
John Maddock
b70903dca0 Added BOOST_HAS_LONG_LONG config option.
[SVN r11392]
2001-10-16 11:40:19 +00:00
John Maddock
5e28fcc6ab Fixed nanosleep function sig test.
[SVN r11389]
2001-10-16 11:34:30 +00:00
John Maddock
f49ba073ca Added fixes for compilers with broken using declaration support that are not using the SGI streams classes.
[SVN r11382]
2001-10-13 10:20:42 +00:00
John Maddock
a4073dbdc2 Added BOOST_HAS_GETTIMEOFDAY
[SVN r11381]
2001-10-13 10:19:42 +00:00
John Maddock
5698a3da9c Added thread lib config options
[SVN r11374]
2001-10-11 12:16:21 +00:00
John Maddock
bb8bb5fb72 removed erronious const qualifier
[SVN r11370]
2001-10-09 11:29:03 +00:00
John Maddock
8a851846ce Minor update for sun C++ 5.0
[SVN r11367]
2001-10-09 11:24:11 +00:00
John Maddock
2570b3ba7f Minor tweek for sunpro 5.3
[SVN r11353]
2001-10-08 11:30:05 +00:00
John Maddock
d8e8bfc667 Modified behaviour of BOOST_NO_CWCHAR definition
[SVN r11352]
2001-10-08 11:29:42 +00:00
John Maddock
41747deb59 Added sunpro 5.3 options
[SVN r11351]
2001-10-08 11:28:39 +00:00
John Maddock
67bc121441 Fixed use_facet usage for Sunpro 5.3
[SVN r11350]
2001-10-08 11:28:08 +00:00
John Maddock
f85f7eead2 Fixed broken tests by regenerating.
[SVN r11344]
2001-10-05 11:15:38 +00:00
Peter Dimov
30fb4ad5fa Avoid NOMINMAX redefinition
[SVN r11339]
2001-10-04 20:14:37 +00:00
73 changed files with 3281 additions and 876 deletions

View File

@@ -5,13 +5,14 @@
content="text/html; charset=iso-8859-1">
<meta name="Template"
content="C:\PROGRAM FILES\MICROSOFT OFFICE\OFFICE\html.dot">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="GENERATOR" content="Microsoft FrontPage Express 2.0">
<title></title>
</head>
<body bgcolor="#FFFFFF" link="#0000FF" vlink="#800080">
<p align="left"><img src="../../c++boost.gif" width="277" height="86"></p>
<p align="left"><img src="../../c++boost.gif" width="277"
height="86"></p>
<h1 align="center">Boost Configuration Reference</h1>
@@ -41,29 +42,35 @@ content="C:\PROGRAM FILES\MICROSOFT OFFICE\OFFICE\html.dot">
<h4><a name="default_config"></a>Using the default boost
configuration</h4>
<p>Boost is comes already configured
for most common compilers and platforms; you should be able to use boost &quot;as
is&quot;. Since the compiler is
configured separately from the standard library, the default configuration
should work even if you replace the compiler's standard
library with a third-party standard library (like <a href="http://www.stlport.org"> STLport</a>). </p>
<p>Boost is comes already configured for most common compilers
and platforms; you should be able to use boost &quot;as is&quot;.
Since the compiler is configured separately from the standard
library, the default configuration should work even if you
replace the compiler's standard library with a third-party
standard library (like <a href="http://www.stlport.org">STLport</a>).
</p>
<p>Using boost &quot;as is&quot; without trying to reconfigure is the recommended method
for using boost. You can, however, run the configure script if you want to, and there are regression tests
<p>Using boost &quot;as is&quot; without trying to reconfigure is
the recommended method for using boost. You can, however, run the
configure script if you want to, and there are regression tests
provided that allow you to test the current boost configuration
with your particular compiler setup.</p>
<p>Boost library users can request support for additional compilers or platforms
by visiting our <a href="http://sourceforge.net/tracker/?group_id=7586">
Tracker</a> and submitting a support request. </p>
<p>Boost library users can request support for additional
compilers or platforms by visiting our <a
href="http://sourceforge.net/tracker/?group_id=7586">Tracker</a>
and submitting a support request. </p>
<h4>The <a href="../../boost/config.hpp">&lt;boost/config.hpp&gt;</a> <a name="header">header</a></h4>
<h4>The <a href="../../boost/config.hpp">&lt;boost/config.hpp&gt;</a>
<a name="header">header</a></h4>
<p>Boost library implementations access configuration macros via <code> #include &lt;boost/config.hpp&gt;</code>. </p>
<p>Boost library implementations access configuration macros via <code>#include
&lt;boost/config.hpp&gt;</code>. </p>
<p>Boost library users are never required to <code> #include &lt;boost/config.hpp&gt;</code>,
and are discouraged from doing so on their own. It is an implementation detail
which is subject to change, and thus should not be depended upon by users. </p>
<p>Boost library users are never required to <code>#include
&lt;boost/config.hpp&gt;</code>, and are discouraged from doing
so on their own. It is an implementation detail which is subject
to change, and thus should not be depended upon by users. </p>
<h4><a name="config_script">Using the configure script</a></h4>
@@ -484,8 +491,9 @@ the standard.</p>
<td valign="top" width="51%">BOOST_NO_CTYPE_FUNCTIONS</td>
<td valign="top" width="16%">Platform</td>
<td valign="top" width="33%">The Platform does not
provide functions for the character-classifying operations
&lt;ctype.h&gt; and &lt;cctype&gt;, only macros.</td>
provide functions for the character-classifying
operations &lt;ctype.h&gt; and &lt;cctype&gt;, only
macros.</td>
</tr>
<tr>
<td valign="top" width="51%">BOOST_NO_CV_SPECIALIZATIONS</td>
@@ -734,10 +742,9 @@ f(&amp;bar); // should choose #2.</pre>
<tr>
<td valign="top" width="51%">BOOST_NO_VOID_RETURNS</td>
<td valign="top" width="16%">Compiler</td>
<td valign="top" width="33%">The compiler does not
allow a void function to return the result of calling
another void function.
<pre>void f() {}
<td valign="top" width="33%">The compiler does not allow
a void function to return the result of calling another
void function. <pre>void f() {}
void g() { return f(); }</pre>
</td>
</tr>
@@ -970,6 +977,13 @@ user code.</p>
defined by &lt;boost/cstdint.hpp&gt; is not usable in
integral constant expressions.</td>
</tr>
<tr>
<td valign="top">BOOST_MSVC</td>
<td valign="top">&lt;boost/config.hpp&gt;</td>
<td valign="top">Defined if the compiler is really
Microsoft Visual C++, as opposed to one of the many other
compilers that also define _MSC_VER.</td>
</tr>
<tr>
<td valign="top" width="33%">BOOST_NO_WREGEX</td>
<td valign="top" width="33%">&lt;boost/regex.hpp&gt;</td>

2382
configure vendored

File diff suppressed because it is too large Load Diff

View File

@@ -30,24 +30,24 @@
#if !defined(BOOST_COMPILER_CONFIG) && !defined(BOOST_NO_COMPILER_CONFIG) && !defined(BOOST_NO_CONFIG)
# include <boost/config/select_compiler_config.hpp>
#endif
// if we don't have a std library config set, try and find one:
#if !defined(BOOST_STDLIB_CONFIG) && !defined(BOOST_NO_STDLIB_CONFIG) && !defined(BOOST_NO_CONFIG)
# include <boost/config/select_stdlib_config.hpp>
#endif
// if we don't have a platform config set, try and find one:
#if !defined(BOOST_PLATFORM_CONFIG) && !defined(BOOST_NO_PLATFORM_CONFIG) && !defined(BOOST_NO_CONFIG)
# include <boost/config/select_platform_config.hpp>
#endif
// if we have a compiler config, include it now:
#ifdef BOOST_COMPILER_CONFIG
# include BOOST_COMPILER_CONFIG
#endif
// if we don't have a std library config set, try and find one:
#if !defined(BOOST_STDLIB_CONFIG) && !defined(BOOST_NO_STDLIB_CONFIG) && !defined(BOOST_NO_CONFIG)
# include <boost/config/select_stdlib_config.hpp>
#endif
// if we have a std library config, include it now:
#ifdef BOOST_STDLIB_CONFIG
# include BOOST_STDLIB_CONFIG
#endif
// if we don't have a platform config set, try and find one:
#if !defined(BOOST_PLATFORM_CONFIG) && !defined(BOOST_NO_PLATFORM_CONFIG) && !defined(BOOST_NO_CONFIG)
# include <boost/config/select_platform_config.hpp>
#endif
// if we have a platform config, include it now:
#ifdef BOOST_PLATFORM_CONFIG
# include BOOST_PLATFORM_CONFIG

View File

@@ -10,7 +10,6 @@
#include "boost/config/compiler/common_edg.hpp"
#if (__COMO_VERSION__ <= 4245) || !defined(BOOST_STRICT_CONFIG)
# define BOOST_FUNCTION_USE_VIRTUAL_FUNCTIONS
# if defined(_MSC_VER) && _MSC_VER <= 1300
# define BOOST_NO_STDC_NAMESPACE
# define BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP

View File

@@ -16,10 +16,16 @@
#if (__EDG_VERSION__ <= 238)
# define BOOST_NO_VOID_RETURNS
# define BOOST_NO_INTEGRAL_INT64_T
#endif
#if (__EDG_VERSION__ <= 241) && !defined(BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP)
# define BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP
#endif
#ifdef c_plusplus
// EDG has "long long" in non-strict mode
// However, some libraries have insufficient "long long" support
// #define BOOST_HAS_LONG_LONG
#endif

View File

@@ -35,6 +35,11 @@
//
#define BOOST_HAS_THREADS
//
// gcc has "long long"
//
#define BOOST_HAS_LONG_LONG
#define BOOST_COMPILER "GNU C++ version " BOOST_STRINGIZE(__GNUC__) "." BOOST_STRINGIZE(__GNUC_MINOR__)
//

View File

@@ -7,9 +7,8 @@
// HP aCC C++ compiler setup:
// THIS FILE IS INCOMPLETE: WE NEED THE CORRECT VERSION CHECKS ADDING!!!
#if (__HP_aCC <= 0) || !defined(BOOST_STRICT_CONFIG)
# define BOOST_NO_DEPENDENT_TYPES_IN_TEMPLATE_VALUE_PARAMETERS
#if (__HP_aCC <= 33100)
# define BOOST_NO_INTEGRAL_INT64_T
# define BOOST_NO_OPERATORS_IN_NAMESPACE
# if !defined(_NAMESPACE_STD)
# define BOOST_NO_STD_LOCALE
@@ -17,18 +16,24 @@
# endif
#endif
#if (__HP_aCC <= 33300) || !defined(BOOST_STRICT_CONFIG)
// member templates are sufficiently broken that we disable them for now
# define BOOST_NO_MEMBER_TEMPLATES
# define BOOST_NO_DEPENDENT_NESTED_DERIVATIONS
# define BOOST_NO_DEPENDENT_TYPES_IN_TEMPLATE_VALUE_PARAMETERS
#endif
#define BOOST_COMPILER "HP aCC version " BOOST_STRINGIZE(__HP_aCC)
//
// versions check:
// we don't support HP aCC prior to version 0:
#if __HP_aCC < 0
#if __HP_aCC < 33000
# error "Compiler not supported or configured - please reconfigure"
#endif
//
// last known and checked version is 0:
#if (__HP_aCC > 0)
#if (__HP_aCC > 33300)
# if defined(BOOST_ASSERT_CONFIG)
# error "Unknown compiler version - please run the configure tests and report the results"
# endif

View File

@@ -17,17 +17,23 @@
# define BOOST_INTEL_CXX_VERSION __ICC
#endif
#if (BOOST_INTEL_CXX_VERSION <= 500) && defined(_MSC_VER)
# define BOOST_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS
#endif
#if (BOOST_INTEL_CXX_VERSION <= 600) || !defined(BOOST_STRICT_CONFIG)
# if defined(_MSC_VER)
// Intel C++ 5.0.1 uses EDG 2.45, but fails to activate Koenig lookup
// in the frontend even in "strict" mode. (reported by Kirk Klobe)
// in the frontend even in "strict" mode, unless you use
// -Qoption,cpp,--arg_dep_lookup. (reported by Kirk Klobe & Thomas Witt)
// Similarly, -Qoption,cpp,--new_for_init enables new-style "for" loop
// variable scoping. (reported by Thomas Witt)
// Intel C++ 6.0 (currently in Beta test) doesn't have any front-end
// changes at all. (reported by Kirk Klobe)
# ifndef BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP
# define BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP
# endif
# define BOOST_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS
# define BOOST_NO_SWPRINTF
# define BOOST_NO_INCLASS_MEMBER_INITIALIZATION
# endif
@@ -59,3 +65,5 @@
#endif

View File

@@ -7,29 +7,35 @@
// Sun C++ compiler setup:
# if __SUNPRO_CC >= 0x520
# if __SUNPRO_CC <= 0x500
# define BOOST_NO_MEMBER_TEMPLATES
# define BOOST_NO_FUNCTION_TEMPLATE_ORDERING
# endif
# if (__SUNPRO_CC <= 0x520)
//
// Sunpro 5.1 and later:
// Sunpro 5.2 and earler:
//
// although sunpro 5.1 supports the syntax for
// although sunpro 5.2 supports the syntax for
// inline initialization it often gets the value
// wrong, especially where the value is computed
// from other constants (J Maddock 6th May 2001)
# define BOOST_NO_INCLASS_MEMBER_INITIALIZATION
// although sunpro 5.1 supports the syntax for
# endif
# if (__SUNPRO_CC <= 0x530) || !defined(BOOST_STRICT_CONFIG)
// Although sunpro 5.2 supports the syntax for
// partial specialization, it often seems to
// bind to the wrong specialization. Better
// to disable it until suppport becomes more stable
// (J Maddock 6th May 2001).
// SunPro 5.3 has better support for partial specialization,
// but breaks when compiling std::less<shared_ptr<T> >
// (Jens Maurer 4 Nov 2001).
# define BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
// integral constant expressions with 64 bit numbers fail
# define BOOST_NO_INTEGRAL_INT64_T
# endif
# if __SUNPRO_CC <= 0x500
# define BOOST_NO_MEMBER_TEMPLATES
# define BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
# endif
#define BOOST_COMPILER "Sun compiler version " BOOST_STRINGIZE(__SUNPRO_CC)
@@ -40,11 +46,13 @@
#error "Compiler not supported or configured - please reconfigure"
#endif
//
// last known and checked version is 0x520:
#if (__SUNPRO_CC > 0x520)
// last known and checked version is 0x530:
#if (__SUNPRO_CC > 0x530)
# if defined(BOOST_ASSERT_CONFIG)
# error "Unknown compiler version - please run the configure tests and report the results"
# endif
#endif

View File

@@ -8,7 +8,6 @@
// Visual Age (IBM) C++ compiler setup:
#define BOOST_NO_MEMBER_TEMPLATE_FRIENDS
#define BOOST_NO_INCLASS_MEMBER_INITIALIZATION
//
// On AIX thread support seems to be indicated by _THREAD_SAFE:

View File

@@ -49,7 +49,9 @@
# endif
// disable min/max macro defines on vc6:
//
# define NOMINMAX
# ifndef NOMINMAX
# define NOMINMAX
# endif
#endif
#ifndef _NATIVE_WCHAR_T_DEFINED

View File

@@ -17,4 +17,8 @@
#define BOOST_HAS_PTHREAD_DELAY_NP
#define BOOST_HAS_PTHREAD_YIELD
// boilerplate code:
#include <boost/config/posix_features.hpp>

View File

@@ -19,5 +19,7 @@
# define BOOST_HAS_THREADS
#endif
// boilerplate code:
#include <boost/config/posix_features.hpp>

View File

@@ -37,3 +37,17 @@
// The BSD <ctype.h> has macros only, no functions:
//
#define BOOST_NO_CTYPE_FUNCTIONS
//
// thread API's not auto detected:
//
#define BOOST_HAS_SCHED_YIELD
#define BOOST_HAS_NANOSLEEP
#define BOOST_HAS_GETTIMEOFDAY
#define BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE
// boilerplate code:
#define BOOST_HAS_UNISTD_H
#include <boost/config/posix_features.hpp>

View File

@@ -16,15 +16,22 @@
// Threading API:
// See if we have POSIX threads, if we do use them, otherwise
// revert to native Win threads.
#define BOOST_HAS_UNISTD_H
#include <unistd.h>
#if defined(_POSIX_THREADS) && (_POSIX_THREADS+0 >= 0) && !defined(BOOST_HAS_WINTHREADS)
# define BOOST_HAS_PTHREADS
# define BOOST_HAS_SCHED_YIELD
# define BOOST_HAS_GETTIMEOFDAY
# define BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE
#else
# define BOOST_HAS_WINTHREADS
# if !defined(BOOST_HAS_WINTHREADS)
# define BOOST_HAS_WINTHREADS
# endif
# define BOOST_HAS_FTIME
#endif
// boilerplate code:
#include <boost/config/posix_features.hpp>

View File

@@ -17,3 +17,12 @@
#define BOOST_NO_SWPRINTF
#define BOOST_NO_CWCTYPE
// boilerplate code:
#define BOOST_HAS_UNISTD_H
#include <boost/config/posix_features.hpp>
#ifndef BOOST_HAS_GETTIMEOFDAY
// gettimeofday is always available
#define BOOST_HAS_GETTIMEOFDAY
#endif

View File

@@ -11,3 +11,7 @@
#define BOOST_NO_SWPRINTF
// boilerplate code:
#define BOOST_HAS_UNISTD_H
#include <boost/config/posix_features.hpp>

View File

@@ -25,6 +25,18 @@
# endif
#endif
//
// If glibc is past version 2 then we definitely have
// gettimeofday, earlier versions may or may not have it:
//
#if defined(__GLIBC__) && (__GLIBC__ >= 2)
# define BOOST_HAS_GETTIMEOFDAY
#endif
#ifdef __USE_POSIX199309
# define BOOST_HAS_NANOSLEEP
#endif
#if defined(__GLIBC__) && defined(__GLIBC_PREREQ)
// __GLIBC_PREREQ is available since 2.1.2
@@ -36,6 +48,10 @@
# define BOOST_NO_SWPRINTF
#endif
// boilerplate code:
#define BOOST_HAS_UNISTD_H
#include <boost/config/posix_features.hpp>
#ifndef __GNUC__
//
// if the compiler is not gcc we still need to be able to parse

View File

@@ -17,10 +17,20 @@
# ifndef BOOST_HAS_UNISTD_H
# define BOOST_HAS_UNISTD_H
# endif
// boilerplate code:
# include <boost/config/posix_features.hpp>
# ifndef BOOST_HAS_STDINT_H
# define BOOST_HAS_STDINT_H
# endif
//
// BSD runtime has pthreads, sched_yield and gettimeofday,
// of these only pthreads are advertised in <unistd.h>, so set the
// other options explicitly:
//
# define BOOST_HAS_SCHED_YIELD
# define BOOST_HAS_GETTIMEOFDAY
# ifndef __APPLE_CC__
// GCC strange "ignore std" mode works better if you pretend everything
@@ -30,3 +40,4 @@
# endif
#endif

View File

@@ -9,5 +9,11 @@
#define BOOST_PLATFORM "sun"
#define BOOST_HAS_GETTIMEOFDAY
// boilerplate code:
#define BOOST_HAS_UNISTD_H
#include <boost/config/posix_features.hpp>

View File

@@ -31,18 +31,26 @@
# endif
// BOOST_HAS_NANOSLEEP:
// This is predicated on _POSIX_TIMERS:
# if defined(_POSIX_TIMERS) && (_POSIX_TIMERS+0 >= 0)
// This is predicated on _POSIX_TIMERS or _XOPEN_REALTIME:
# if (defined(_POSIX_TIMERS) && (_POSIX_TIMERS+0 >= 0)) \
|| (defined(_XOPEN_REALTIME) && (_XOPEN_REALTIME+0 >= 0))
# define BOOST_HAS_NANOSLEEP
# endif
// BOOST_HAS_CLOCK_GETTIME:
// This is predicated on _POSIX_TIMERS (also on _XOPEN_REALTIME
// but at least one platform - linux - defines that flag without
// defining clock_gettime):
# if (defined(_POSIX_TIMERS) && (_POSIX_TIMERS+0 >= 0))
# define BOOST_HAS_CLOCK_GETTIME
# endif
// BOOST_HAS_SCHED_YIELD:
// This is predicated on _POSIX_PRIORITY_SCHEDULING or
// on _POSIX_THREAD_PRIORITY_SCHEDULING.
# if defined(_POSIX_PRIORITY_SCHEDULING) && (_POSIX_PRIORITY_SCHEDULING+0 > 0)
# define BOOST_HAS_SCHED_YIELD
# endif
# if defined(_POSIX_THREAD_PRIORITY_SCHEDULING) && (_POSIX_THREAD_PRIORITY_SCHEDULING+0 > 0)
// on _POSIX_THREAD_PRIORITY_SCHEDULING or on _XOPEN_REALTIME.
# if defined(_POSIX_PRIORITY_SCHEDULING) && (_POSIX_PRIORITY_SCHEDULING+0 > 0)\
|| (defined(_POSIX_THREAD_PRIORITY_SCHEDULING) && (_POSIX_THREAD_PRIORITY_SCHEDULING+0 > 0))\
|| (defined(_XOPEN_REALTIME) && (_XOPEN_REALTIME+0 >= 0))
# define BOOST_HAS_SCHED_YIELD
# endif
@@ -55,11 +63,4 @@
# define BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE
# endif
// BOOST_HAS_CLOCK_GETTIME:
// This is predicated on _POSIX_TIMERS.
# if defined(_POSIX_TIMERS) && (_POSIX_TIMERS+0 > 0)
# define BOOST_HAS_CLOCK_GETTIME
# endif
# endif

View File

@@ -52,10 +52,28 @@
// IBM
# define BOOST_PLATFORM_CONFIG "boost/config/platform/aix.hpp"
#elif defined (BOOST_ASSERT_CONFIG)
// this must come last - generate an error if we don't
// recognise the platform:
# error "Unknown platform - please configure and report the results to boost.org"
#else
# if defined(unix) \
|| defined(__unix) \
|| defined(_XOPEN_SOURCE) \
|| defined(_POSIX_SOURCE)
// generic unix platform:
# ifndef BOOST_HAS_UNISTD_H
# define BOOST_HAS_UNISTD_H
# endif
# include <boost/config/posix_features.hpp>
# endif
# if defined (BOOST_ASSERT_CONFIG)
// this must come last - generate an error if we don't
// recognise the platform:
# error "Unknown platform - please configure and report the results to boost.org"
# endif
#endif

View File

@@ -16,5 +16,9 @@
# define BOOST_NO_STD_WSTRING
#endif
#ifndef _GLIBCPP_USE_LONG_LONG
// May have been set by compiler/*.hpp, but "long long" without library
// support is useless.
# undef BOOST_HAS_LONG_LONG
#endif

View File

@@ -30,6 +30,12 @@
#if defined(__MSL__) && (__MSL__ >= 0x5000)
# define BOOST_HAS_STDINT_H
# define BOOST_HAS_UNISTD_H
// boilerplate code:
# include <boost/config/posix_features.hpp>
#endif
#if _MWMT
# define BOOST_HAS_THREADS
#endif

View File

@@ -76,7 +76,7 @@
// (the or _HPACC_ part is a hack - the library seems to define _RWSTD_ALLOCATOR
// on HP aCC systems even though the allocator is in fact broken):
//
#if !defined(_RWSTD_ALLOCATOR) || defined(_HPACC_) || defined(__HP_aCC)
#if !defined(_RWSTD_ALLOCATOR) || (defined(__HP_aCC) && __HP_aCC <= 33100)
# define BOOST_NO_STD_ALLOCATOR
#endif
@@ -104,3 +104,4 @@
# define BOOST_NO_STD_OUTPUT_ITERATOR_ASSIGN
#endif

View File

@@ -24,12 +24,17 @@
//
// No std::stringstream with gcc < 3
//
#if defined(__GNUC__) && (__GNUC__ < 3) && (__GNUC_MINOR__ < 95) && !defined(__STL_USE_NEW_IOSTREAMS) || defined(__APPLE_CC__)
// Note that we only set this for gnu C++ prior to 2.95 since the
#if defined(__GNUC__) && (__GNUC__ < 3) && \
((__GNUC_MINOR__ < 95) || (__GNUC_MINOR__ == 96)) && \
!defined(__STL_USE_NEW_IOSTREAMS) || \
defined(__APPLE_CC__)
// Note that we only set this for GNU C++ prior to 2.95 since the
// latest patches for that release do contain a minimal <sstream>
// If you are running a 2.95 release prior to 2.95.3 then this will need
// setting, but there is no way to detect that automatically (other
// than by running the configure script).
// Also, the unofficial GNU C++ 2.96 included in RedHat 7.1 doesn't
// have <sstream>.
# define BOOST_NO_STRINGSTREAM
#endif
@@ -41,6 +46,20 @@
# define BOOST_NO_STD_LOCALE
#endif
//
// Original native SGI streams have non-standard std::messages facet:
//
#if defined(__sgi) && (_COMPILER_VERSION <= 650) && !defined(__SGI_STL_OWN_IOSTREAMS)
# define BOOST_NO_STD_LOCALE
#endif
//
// SGI's new iostreams have missing "const" in messages<>::open
//
#if defined(__sgi) && (_COMPILER_VERSION <= 730) && defined(__STL_USE_NEW_IOSTREAMS)
# define BOOST_NO_STD_MESSAGES
#endif
//
// No template iterator constructors, or std::allocator
// without member templates:
@@ -74,4 +93,13 @@
# define BOOST_NO_STD_ITERATOR
#endif
//
// Intrinsic type_traits support.
// The SGI STL has it's own __type_traits class, which
// has intrinsic compiler support with SGI's compilers.
// Whatever map SGI style type traits to boost equivalents:
//
#define BOOST_HAS_SGI_TYPE_TRAITS
#define BOOST_STDLIB "SGI standard library"

View File

@@ -45,6 +45,17 @@
# define BOOST_NO_STRINGSTREAM
#endif
//
// If the streams are not native, and we have a "using ::x" compiler bug
// then the io stream facets are not available in namespace std::
//
#if !defined(_STLP_OWN_IOSTREAMS) && defined(_STLP_USE_NAMESPACES) && defined(BOOST_NO_USING_TEMPLATE)
# define BOOST_NO_STD_LOCALE
#endif
#if !defined(__SGI_STL_OWN_IOSTREAMS) && defined(__STL_USE_NAMESPACES) && defined(BOOST_NO_USING_TEMPLATE)
# define BOOST_NO_STD_LOCALE
#endif
//
// Without member template support enabled, their are no template
// iterate constructors, and no std::allocator:
@@ -92,9 +103,11 @@
#endif
//
// If STLport thinks there are no wide functions, <cwchar> etc. is not working.
// If STLport thinks there are no wide functions, <cwchar> etc. is not working; but
// only if BOOST_NO_STDC_NAMESPACE is not defined (if it is then we do the import
// into std:: ourselves).
//
#if defined(_STLP_NO_NATIVE_WIDE_FUNCTIONS)
#if defined(_STLP_NO_NATIVE_WIDE_FUNCTIONS) && !defined(BOOST_NO_STDC_NAMESPACE)
# define BOOST_NO_CWCHAR
# define BOOST_NO_CWTYPE
#endif
@@ -103,3 +116,4 @@
#define BOOST_STDLIB "STLPort standard library version " BOOST_STRINGIZE(__SGI_STL_PORT)

View File

@@ -21,6 +21,18 @@
# define BOOST_DECL // default for compilers not needing this decoration.
# endif
//
// look for long long by looking for the appropriate macros in <limits.h>.
// Note that we use limits.h rather than climits for maximal portability,
// remember that since these just declare a bunch of macros, there should be
// no namespace issues from this.
//
#include <limits.h>
# if !defined(BOOST_MSVC) && !defined(__BORLANDC__) \
&& (defined(ULLONG_MAX) || defined(ULONG_LONG_MAX) || defined(ULONGLONG_MAX))
# define BOOST_HAS_LONG_LONG
#endif
//
// Assume any extensions are in namespace std:: unless stated otherwise:
//
@@ -110,26 +122,6 @@
# define BOOST_NO_SWPRINTF
# endif
//
// If the platform claims to be Unix, then it had better behave like Unix!
//
# if defined(unix) \
|| defined(__unix) \
|| defined(_XOPEN_SOURCE) \
|| defined(_POSIX_SOURCE)
# ifndef BOOST_HAS_UNISTD_H
# define BOOST_HAS_UNISTD_H
# endif
# endif
//
// If we have a <unistd.h> then some options can be deduced from it:
//
# ifdef BOOST_HAS_UNISTD_H
# include <boost/config/posix_features.hpp>
# endif
//
// Turn on threading support if the compiler thinks that it's in
// multithreaded mode. We put this here because there are only a
@@ -240,7 +232,7 @@ namespace std {
#if defined(BOOST_NO_STD_USE_FACET)
# ifdef BOOST_HAS_TWO_ARG_USE_FACET
# define BOOST_USE_FACET(Type, loc) std::use_facet(loc, static_cast<Type const*>(0))
# define BOOST_USE_FACET(Type, loc) std::use_facet(loc, static_cast<Type*>(0))
# elif defined(BOOST_HAS_MACRO_USE_FACET)
# define BOOST_USE_FACET(Type, loc) std::_USE(loc, Type)
# elif defined(BOOST_HAS_STLP_USE_FACET)

View File

@@ -33,7 +33,7 @@
* 5 Apr 2001:
* Added sparc (big endian) processor support (John Maddock).
* Initial sub:
* Modified by Jens Maurer for gcc 2.95 on x86.
* Modified by Jens Maurer for gcc 2.95 on x86.
*/
#ifndef BOOST_SGI_CPP_LIMITS
@@ -194,7 +194,7 @@ public:
const unsigned int _S_word[4] = { 0, 0, 0, Word };
return *reinterpret_cast<const Number*>(
reinterpret_cast<const char *>(&_S_word)+16-
(sizeof(Number) == 12 ? 10 : sizeof(Number)));
(sizeof(Number) == 12 ? 10 : sizeof(Number)));
}
};

View File

@@ -20,7 +20,7 @@
// BOOST_VERSION / 100 % 1000 is the minor version
// BOOST_VERSION / 100000 is the major version
#define BOOST_VERSION 102500
#define BOOST_VERSION 102600
#endif

View File

@@ -17,7 +17,7 @@ namespace boost_has_two_arg_use_facet{
int test()
{
std::locale l;
const std::ctype<char>& ct = std::use_facet(l, (const std::ctype<char>*)0);
const std::ctype<char>& ct = std::use_facet(l, (std::ctype<char>*)0);
return 0;
}
@@ -26,3 +26,4 @@ int test()

View File

@@ -0,0 +1,32 @@
// (C) Copyright John Maddock 2001. Permission to copy, use, modify, sell and
// distribute this software is granted provided this copyright notice appears
// in all copies. This software is provided "as is" without express or implied
// warranty, and with no claim as to its suitability for any purpose.
// MACRO: BOOST_HAS_CLOCK_GETTIME
// TITLE: clock_gettime
// DESCRIPTION: The platform supports POSIX standard API clock_gettime.
#include <time.h>
namespace boost_has_clock_gettime{
void f()
{
// this is never called, it just has to compile:
timespec tp;
int res = clock_gettime(CLOCK_REALTIME, &tp);
(void) &res;
}
int test()
{
return 0;
}
}

31
test/boost_has_ftime.ipp Normal file
View File

@@ -0,0 +1,31 @@
// (C) Copyright John Maddock 2001. Permission to copy, use, modify, sell and
// distribute this software is granted provided this copyright notice appears
// in all copies. This software is provided "as is" without express or implied
// warranty, and with no claim as to its suitability for any purpose.
// MACRO: BOOST_HAS_FTIME
// TITLE: GetSystemTimeAsFileTime
// DESCRIPTION: The platform supports Win32 API GetSystemTimeAsFileTime.
#include <windows.h>
namespace boost_has_ftime{
void f()
{
// this is never called, it just has to compile:
FILETIME ft;
GetSystemTimeAsFileTime(&ft);
}
int test()
{
return 0;
}
}

View File

@@ -0,0 +1,32 @@
// (C) Copyright John Maddock 2001. Permission to copy, use, modify, sell and
// distribute this software is granted provided this copyright notice appears
// in all copies. This software is provided "as is" without express or implied
// warranty, and with no claim as to its suitability for any purpose.
// MACRO: BOOST_HAS_GETTIMEOFDAY
// TITLE: gettimeofday
// DESCRIPTION: The platform supports POSIX standard API gettimeofday.
#include <sys/time.h>
namespace boost_has_gettimeofday{
void f()
{
// this is never called, it just has to compile:
timeval tp;
int res = gettimeofday(&tp, 0);
(void) &res;
}
int test()
{
return 0;
}
}

View File

@@ -0,0 +1,28 @@
// (C) Copyright John Maddock 2001. Permission to copy, use, modify, sell and
// distribute this software is granted provided this copyright notice appears
// in all copies. This software is provided "as is" without express or implied
// warranty, and with no claim as to its suitability for any purpose.
// MACRO: BOOST_HAS_LONG_LONG
// TITLE: long long
// DESCRIPTION: The platform supports long long.
#include <cstdlib>
namespace boost_has_long_long{
int test()
{
long long int lli = 0LL;
unsigned long long int ulli = 0uLL;
(void)lli;
(void)ulli;
return 0;
}
}

View File

@@ -0,0 +1,33 @@
// (C) Copyright John Maddock 2001. Permission to copy, use, modify, sell and
// distribute this software is granted provided this copyright notice appears
// in all copies. This software is provided "as is" without express or implied
// warranty, and with no claim as to its suitability for any purpose.
// MACRO: BOOST_HAS_NANOSLEEP
// TITLE: nanosleep
// DESCRIPTION: The platform supports POSIX API nanosleep.
#include <time.h>
namespace boost_has_nanosleep{
void f()
{
// this is never called, it just has to compile:
timespec ts = {0, 0};
timespec rm;
int res = nanosleep(&ts, &rm);
(void) &res;
}
int test()
{
return 0;
}
}

View File

@@ -0,0 +1,32 @@
// (C) Copyright John Maddock 2001. Permission to copy, use, modify, sell and
// distribute this software is granted provided this copyright notice appears
// in all copies. This software is provided "as is" without express or implied
// warranty, and with no claim as to its suitability for any purpose.
// MACRO: BOOST_HAS_PTHREAD_DELAY_NP
// TITLE: pthread_delay_np
// DESCRIPTION: The platform supports non-standard pthread_delay_np API.
#include <pthread.h>
#include <time.h>
namespace boost_has_pthread_delay_np{
void f()
{
// this is never called, it just has to compile:
timespec ts;
int res = pthread_delay_np(&ts);
}
int test()
{
return 0;
}
}

View File

@@ -0,0 +1,34 @@
// (C) Copyright John Maddock 2001. Permission to copy, use, modify, sell and
// distribute this software is granted provided this copyright notice appears
// in all copies. This software is provided "as is" without express or implied
// warranty, and with no claim as to its suitability for any purpose.
// MACRO: BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE
// TITLE: pthread_mutexattr_gettype
// DESCRIPTION: The platform supports POSIX API pthread_mutexattr_gettype.
#include <pthread.h>
namespace boost_has_pthread_mutexattr_settype{
void f()
{
// this is never called, it just has to compile:
pthread_mutexattr_t attr;
pthread_mutexattr_init(&attr);
int type;
pthread_mutexattr_gettype(&attr, &type);
}
int test()
{
return 0;
}
}

View File

@@ -0,0 +1,30 @@
// (C) Copyright John Maddock 2001. Permission to copy, use, modify, sell and
// distribute this software is granted provided this copyright notice appears
// in all copies. This software is provided "as is" without express or implied
// warranty, and with no claim as to its suitability for any purpose.
// MACRO: BOOST_HAS_PTHREAD_YIELD
// TITLE: pthread_yield
// DESCRIPTION: The platform supports non standard API pthread_yield.
#include <pthread.h>
namespace boost_has_pthread_yield{
void f()
{
// this is never called, it just has to compile:
int res = pthread_yield();
}
int test()
{
return 0;
}
}

View File

@@ -0,0 +1,31 @@
// (C) Copyright John Maddock 2001. Permission to copy, use, modify, sell and
// distribute this software is granted provided this copyright notice appears
// in all copies. This software is provided "as is" without express or implied
// warranty, and with no claim as to its suitability for any purpose.
// MACRO: BOOST_HAS_SCHED_YIELD
// TITLE: sched_yield
// DESCRIPTION: The platform supports POSIX standard API sched_yield.
#include <pthread.h>
namespace boost_has_sched_yield{
void f()
{
// this is never called, it just has to compile:
int res = sched_yield();
(void) &res;
}
int test()
{
return 0;
}
}

View File

@@ -0,0 +1,34 @@
// (C) Copyright John Maddock 2001. Permission to copy, use, modify, sell and
// distribute this software is granted provided this copyright notice appears
// in all copies. This software is provided "as is" without express or implied
// warranty, and with no claim as to its suitability for any purpose.
// MACRO: BOOST_HAS_SGI_TYPE_TRAITS
// TITLE: SGI style <type_traits.h>
// DESCRIPTION: The standard library has it's own type_traits implementation.
#include <type_traits.h>
namespace boost_has_sgi_type_traits{
struct foo_type{};
int test()
{
::__true_type t;
::__false_type f;
typedef ::__type_traits<int>::has_trivial_destructor td;
typedef ::__type_traits<double>::has_trivial_assignment_operator ta;
typedef ::__type_traits<float>::has_trivial_copy_constructor tc;
typedef ::__type_traits<char>::has_trivial_default_constructor tdc;
typedef ::__type_traits<foo_type>::is_POD_type isp;
return 0;
}
}

View File

@@ -0,0 +1,44 @@
// (C) Copyright John Maddock 2001. Permission to copy, use, modify, sell and
// distribute this software is granted provided this copyright notice appears
// in all copies. This software is provided "as is" without express or implied
// warranty, and with no claim as to its suitability for any purpose.
// MACRO: BOOST_NO_INTEGRAL_INT64_T
// TITLE: long long and integral constant expressions
// DESCRIPTION: The platform supports long long in integral constant expressions.
#include <cstdlib>
namespace boost_no_integral_int64_t{
#ifdef BOOST_NO_INCLASS_MEMBER_INITIALIZATION
enum{ mask = 1uLL << 50 };
template <unsigned long long m>
struct llt
{
enum{ value = m };
};
#else
static const unsigned long long mask = 1uLL << 50;
template <unsigned long long m>
struct llt
{
static const unsigned long long value = m;
};
#endif
int test()
{
llt<mask> m;
(void)m;
return 0;
}
}

View File

@@ -80,8 +80,8 @@ public:
int test()
{
mem_fun(&tester::foo1);
mem_fun(&tester::foo2);
boost_no_pointer_to_member_const::mem_fun(&tester::foo1);
boost_no_pointer_to_member_const::mem_fun(&tester::foo2);
return 0;
}

View File

@@ -17,7 +17,7 @@
namespace boost_no_std_allocator{
template <class T>
int foo(const T& i)
int test_allocator(const T& i)
{
typedef std::allocator<int> alloc1_t;
typedef typename alloc1_t::size_type size_type;
@@ -57,7 +57,7 @@ int foo(const T& i)
int test()
{
return foo(0);
return test_allocator(0);
}
}

View File

@@ -12,6 +12,16 @@
namespace boost_no_std_messages{
//
// this just has to complile, not run:
//
void test_messages(const std::messages<char>& m)
{
static const std::locale l;
static const std::string name("foobar");
m.close(m.open(name, l));
}
int test()
{
const std::messages<char>* pmf = 0;

View File

@@ -175,6 +175,7 @@ void print_compiler_macros()
PRINT_MACRO(__hppa);
// HP aCC:
PRINT_MACRO(__HP_aCC);
PRINT_MACRO(_HPACC_);
PRINT_MACRO(__LP64__);
PRINT_MACRO(__RISC2_0__);
PRINT_MACRO(__STDCPP__);
@@ -241,6 +242,7 @@ void print_compiler_macros()
// EDG
PRINT_MACRO(__EDG__);
PRINT_MACRO(__EDG_VERSION__);
PRINT_MACRO(c_plusplus); // indication for strict mode
PRINT_MACRO(_BOOL);
PRINT_MACRO(_EXPLICIT);
PRINT_MACRO(__SIGNED_CHARS__);
@@ -821,10 +823,21 @@ void print_boost_macros()
std::cout << "Boost version " << BOOST_STRINGIZE(BOOST_VERSION) << std::endl;
PRINT_MACRO(BOOST_DECL);
PRINT_MACRO(BOOST_HAS_BETHREADS);
PRINT_MACRO(BOOST_HAS_CLOCK_GETTIME);
PRINT_MACRO(BOOST_HAS_FTIME);
PRINT_MACRO(BOOST_HAS_GETTIMEOFDAY);
PRINT_MACRO(BOOST_HAS_HASH);
PRINT_MACRO(BOOST_HAS_LONG_LONG);
PRINT_MACRO(BOOST_HAS_MACRO_USE_FACET);
PRINT_MACRO(BOOST_HAS_NANOSLEEP);
PRINT_MACRO(BOOST_HAS_NL_TYPES_H);
PRINT_MACRO(BOOST_HAS_PTHREAD_DELAY_NP);
PRINT_MACRO(BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE);
PRINT_MACRO(BOOST_HAS_PTHREAD_YIELD);
PRINT_MACRO(BOOST_HAS_PTHREADS);
PRINT_MACRO(BOOST_HAS_SCHED_YIELD);
PRINT_MACRO(BOOST_HAS_SGI_TYPE_TRAITS);
PRINT_MACRO(BOOST_HAS_STDINT_H);
PRINT_MACRO(BOOST_HAS_SLIST);
PRINT_MACRO(BOOST_HAS_STLP_USE_FACET);
PRINT_MACRO(BOOST_HAS_THREADS);
@@ -834,6 +847,7 @@ void print_boost_macros()
PRINT_MACRO(BOOST_MSVC);
PRINT_MACRO(BOOST_MSVC_STD_ITERATOR);
PRINT_MACRO(BOOST_MSVC6_MEMBER_TEMPLATES);
PRINT_MACRO(BOOST_NESTED_TEMPLATE);
PRINT_MACRO(BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP);
PRINT_MACRO(BOOST_NO_AUTO_PTR);
PRINT_MACRO(BOOST_NO_CTYPE_FUNCTIONS);
@@ -841,6 +855,7 @@ void print_boost_macros()
PRINT_MACRO(BOOST_NO_CV_VOID_SPECIALIZATIONS);
PRINT_MACRO(BOOST_NO_CWCHAR);
PRINT_MACRO(BOOST_NO_CWCTYPE);
PRINT_MACRO(BOOST_NO_DEPENDENT_NESTED_DERIVATIONS);
PRINT_MACRO(BOOST_NO_DEPENDENT_TYPES_IN_TEMPLATE_VALUE_PARAMETERS);
PRINT_MACRO(BOOST_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS);
PRINT_MACRO(BOOST_NO_FUNCTION_TEMPLATE_ORDERING);
@@ -874,7 +889,6 @@ void print_boost_macros()
PRINT_MACRO(BOOST_NO_USING_TEMPLATE);
PRINT_MACRO(BOOST_NO_VOID_RETURNS);
PRINT_MACRO(BOOST_STD_EXTENSION_NAMESPACE);
PRINT_MACRO(BOOST_HAS_STDINT_H);
}
void print_separator()

View File

@@ -10,7 +10,7 @@
// Do not edit this file, it was generated automatically by
// ../tools/generate from boost_*.cxx on
// Wed Sep 26 15:19:31 EEST 2001
// Wed Oct 31 12:19:39 2001
#include <boost/config.hpp>
#define BOOST_INCLUDE_MAIN
@@ -77,36 +77,41 @@ namespace boost_no_function_template_ordering = empty_boost;
#else
namespace boost_no_inclass_member_initialization = empty_boost;
#endif
#ifndef BOOST_NO_INTEGRAL_INT64_T
#include "boost_no_integral_int64_t.cxx"
#else
namespace boost_no_integral_int64_t = empty_boost;
#endif
#ifndef BOOST_NO_TEMPLATED_ITERATOR_CONSTRUCTORS
#include "boost_no_iter_construct.cxx"
#else
namespace boost_no_templated_iterator_constructors = empty_boost;
#endif
#ifndef BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS
#include "boost_no_limits_const_exp.cxx"
#else
namespace boost_no_limits_compile_time_constants = empty_boost;
#endif
#ifndef BOOST_NO_LIMITS
#include "boost_no_limits.cxx"
#else
namespace boost_no_limits = empty_boost;
#endif
#ifndef BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS
#include "boost_no_limits_const_exp.cxx"
#else
namespace boost_no_limits_compile_time_constants = empty_boost;
#endif
#ifndef BOOST_NO_MEMBER_TEMPLATE_KEYWORD
#include "boost_no_mem_tem_keyword.cxx"
#else
namespace boost_no_member_template_keyword = empty_boost;
#endif
#ifndef BOOST_NO_MEMBER_TEMPLATES
#include "boost_no_mem_templates.cxx"
#else
namespace boost_no_member_templates = empty_boost;
#endif
#ifndef BOOST_NO_MEMBER_TEMPLATE_FRIENDS
#include "boost_no_mem_templ_frnds.cxx"
#else
namespace boost_no_member_template_friends = empty_boost;
#endif
#ifndef BOOST_NO_MEMBER_TEMPLATES
#include "boost_no_mem_templates.cxx"
#else
namespace boost_no_member_templates = empty_boost;
#endif
#ifndef BOOST_NO_OPERATORS_IN_NAMESPACE
#include "boost_no_ops_in_namespace.cxx"
#else
@@ -137,26 +142,21 @@ namespace boost_no_stringstream = empty_boost;
#else
namespace boost_no_std_allocator = empty_boost;
#endif
#ifndef BOOST_NO_STDC_NAMESPACE
#include "boost_no_stdc_namespace.cxx"
#else
namespace boost_no_stdc_namespace = empty_boost;
#endif
#ifndef BOOST_NO_STD_DISTANCE
#include "boost_no_std_distance.cxx"
#else
namespace boost_no_std_distance = empty_boost;
#endif
#ifndef BOOST_NO_STD_ITERATOR
#include "boost_no_std_iterator.cxx"
#else
namespace boost_no_std_iterator = empty_boost;
#endif
#ifndef BOOST_NO_STD_ITERATOR_TRAITS
#include "boost_no_std_iter_traits.cxx"
#else
namespace boost_no_std_iterator_traits = empty_boost;
#endif
#ifndef BOOST_NO_STD_ITERATOR
#include "boost_no_std_iterator.cxx"
#else
namespace boost_no_std_iterator = empty_boost;
#endif
#ifndef BOOST_NO_STD_LOCALE
#include "boost_no_std_locale.cxx"
#else
@@ -187,6 +187,11 @@ namespace boost_no_std_use_facet = empty_boost;
#else
namespace boost_no_std_wstring = empty_boost;
#endif
#ifndef BOOST_NO_STDC_NAMESPACE
#include "boost_no_stdc_namespace.cxx"
#else
namespace boost_no_stdc_namespace = empty_boost;
#endif
#ifndef BOOST_NO_SWPRINTF
#include "boost_no_swprintf.cxx"
#else
@@ -217,26 +222,76 @@ namespace boost_has_two_arg_use_facet = empty_boost;
#else
namespace boost_has_bethreads = empty_boost;
#endif
#ifdef BOOST_HAS_CLOCK_GETTIME
#include "boost_has_clock_gettime.cxx"
#else
namespace boost_has_clock_gettime = empty_boost;
#endif
#ifdef BOOST_HAS_FTIME
#include "boost_has_ftime.cxx"
#else
namespace boost_has_ftime = empty_boost;
#endif
#ifdef BOOST_HAS_GETTIMEOFDAY
#include "boost_has_gettimeofday.cxx"
#else
namespace boost_has_gettimeofday = empty_boost;
#endif
#ifdef BOOST_HAS_HASH
#include "boost_has_hash.cxx"
#else
namespace boost_has_hash = empty_boost;
#endif
#ifdef BOOST_HAS_LONG_LONG
#include "boost_has_long_long.cxx"
#else
namespace boost_has_long_long = empty_boost;
#endif
#ifdef BOOST_HAS_MACRO_USE_FACET
#include "boost_has_macro_use_facet.cxx"
#else
namespace boost_has_macro_use_facet = empty_boost;
#endif
#ifdef BOOST_HAS_NANOSLEEP
#include "boost_has_nanosleep.cxx"
#else
namespace boost_has_nanosleep = empty_boost;
#endif
#ifdef BOOST_HAS_NL_TYPES_H
#include "boost_has_nl_types_h.cxx"
#else
namespace boost_has_nl_types_h = empty_boost;
#endif
#ifdef BOOST_HAS_PTHREAD_DELAY_NP
#include "boost_has_pthread_delay_np.cxx"
#else
namespace boost_has_pthread_delay_np = empty_boost;
#endif
#ifdef BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE
#include "boost_has_pthread_ma_gt.cxx"
#else
namespace boost_has_pthread_mutexattr_settype = empty_boost;
#endif
#ifdef BOOST_HAS_PTHREAD_YIELD
#include "boost_has_pthread_yield.cxx"
#else
namespace boost_has_pthread_yield = empty_boost;
#endif
#ifdef BOOST_HAS_PTHREADS
#include "boost_has_pthreads.cxx"
#else
namespace boost_has_pthreads = empty_boost;
#endif
#ifdef BOOST_HAS_SCHED_YIELD
#include "boost_has_sched_yield.cxx"
#else
namespace boost_has_sched_yield = empty_boost;
#endif
#ifdef BOOST_HAS_SGI_TYPE_TRAITS
#include "boost_has_sgi_type_traits.cxx"
#else
namespace boost_has_sgi_type_traits = empty_boost;
#endif
#ifdef BOOST_HAS_SLIST
#include "boost_has_slist.cxx"
#else
@@ -279,28 +334,29 @@ int test_main( int, char *[] )
BOOST_TEST(0 == boost_no_void_returns::test());
BOOST_TEST(0 == boost_no_using_template::test());
BOOST_TEST(0 == boost_no_swprintf::test());
BOOST_TEST(0 == boost_no_stdc_namespace::test());
BOOST_TEST(0 == boost_no_std_wstring::test());
BOOST_TEST(0 == boost_no_std_use_facet::test());
BOOST_TEST(0 == boost_no_std_output_iterator_assign::test());
BOOST_TEST(0 == boost_no_std_min_max::test());
BOOST_TEST(0 == boost_no_std_messages::test());
BOOST_TEST(0 == boost_no_std_locale::test());
BOOST_TEST(0 == boost_no_std_iterator_traits::test());
BOOST_TEST(0 == boost_no_std_iterator::test());
BOOST_TEST(0 == boost_no_std_iterator_traits::test());
BOOST_TEST(0 == boost_no_std_distance::test());
BOOST_TEST(0 == boost_no_stdc_namespace::test());
BOOST_TEST(0 == boost_no_std_allocator::test());
BOOST_TEST(0 == boost_no_stringstream::test());
BOOST_TEST(0 == boost_no_pointer_to_member_const::test());
BOOST_TEST(0 == boost_no_private_in_aggregate::test());
BOOST_TEST(0 == boost_no_template_partial_specialization::test());
BOOST_TEST(0 == boost_no_operators_in_namespace::test());
BOOST_TEST(0 == boost_no_member_template_friends::test());
BOOST_TEST(0 == boost_no_member_templates::test());
BOOST_TEST(0 == boost_no_member_template_friends::test());
BOOST_TEST(0 == boost_no_member_template_keyword::test());
BOOST_TEST(0 == boost_no_limits::test());
BOOST_TEST(0 == boost_no_limits_compile_time_constants::test());
BOOST_TEST(0 == boost_no_limits::test());
BOOST_TEST(0 == boost_no_templated_iterator_constructors::test());
BOOST_TEST(0 == boost_no_integral_int64_t::test());
BOOST_TEST(0 == boost_no_inclass_member_initialization::test());
BOOST_TEST(0 == boost_no_function_template_ordering::test());
BOOST_TEST(0 == boost_no_explicit_function_template_arguments::test());
@@ -320,10 +376,20 @@ int test_main( int, char *[] )
BOOST_TEST(0 == boost_has_stlp_use_facet::test());
BOOST_TEST(0 == boost_has_stdint_h::test());
BOOST_TEST(0 == boost_has_slist::test());
BOOST_TEST(0 == boost_has_sgi_type_traits::test());
BOOST_TEST(0 == boost_has_sched_yield::test());
BOOST_TEST(0 == boost_has_pthreads::test());
BOOST_TEST(0 == boost_has_pthread_yield::test());
BOOST_TEST(0 == boost_has_pthread_mutexattr_settype::test());
BOOST_TEST(0 == boost_has_pthread_delay_np::test());
BOOST_TEST(0 == boost_has_nl_types_h::test());
BOOST_TEST(0 == boost_has_nanosleep::test());
BOOST_TEST(0 == boost_has_macro_use_facet::test());
BOOST_TEST(0 == boost_has_long_long::test());
BOOST_TEST(0 == boost_has_hash::test());
BOOST_TEST(0 == boost_has_gettimeofday::test());
BOOST_TEST(0 == boost_has_ftime::test());
BOOST_TEST(0 == boost_has_clock_gettime::test());
BOOST_TEST(0 == boost_has_bethreads::test());
BOOST_TEST(0 == boost_has_two_arg_use_facet::test());
return 0;

View File

@@ -0,0 +1,36 @@
// (C) Copyright Boost.org 1999. Permission to copy, use, modify, sell and
// distribute this software is granted provided this copyright notice appears
// in all copies. This software is provided "as is" without express or implied
// warranty, and with no claim as to its suitability for any purpose.
// Test file for macro BOOST_HAS_CLOCK_GETTIME
// This file should not compile, if it does then
// BOOST_HAS_CLOCK_GETTIME may be defined.
// see boost_has_clock_gettime.cxx for more details
// Do not edit this file, it was generated automatically by
// ../tools/generate from boost_has_clock_gettime.cxx on
// Thu Oct 11 12:24:39 2001
// 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 <boost/test/cpp_main.cpp>
#include "test.hpp"
#ifndef BOOST_HAS_CLOCK_GETTIME
#include "boost_has_clock_gettime.cxx"
#else
#error "this file should not compile"
#endif
int cpp_main( int, char *[] )
{
return boost_has_clock_gettime::test();
}

View File

@@ -0,0 +1,36 @@
// (C) Copyright Boost.org 1999. Permission to copy, use, modify, sell and
// distribute this software is granted provided this copyright notice appears
// in all copies. This software is provided "as is" without express or implied
// warranty, and with no claim as to its suitability for any purpose.
// Test file for macro BOOST_HAS_CLOCK_GETTIME
// This file should compile, if it does not then
// BOOST_HAS_CLOCK_GETTIME should not be defined.
// see boost_has_clock_gettime.cxx for more details
// Do not edit this file, it was generated automatically by
// ../tools/generate from boost_has_clock_gettime.cxx on
// Thu Oct 11 12:24:39 2001
// 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 <boost/test/cpp_main.cpp>
#include "test.hpp"
#ifdef BOOST_HAS_CLOCK_GETTIME
#include "boost_has_clock_gettime.cxx"
#else
namespace boost_has_clock_gettime = empty_boost;
#endif
int cpp_main( int, char *[] )
{
return boost_has_clock_gettime::test();
}

36
test/has_ftime_fail.cpp Normal file
View File

@@ -0,0 +1,36 @@
// (C) Copyright Boost.org 1999. Permission to copy, use, modify, sell and
// distribute this software is granted provided this copyright notice appears
// in all copies. This software is provided "as is" without express or implied
// warranty, and with no claim as to its suitability for any purpose.
// Test file for macro BOOST_HAS_FTIME
// This file should not compile, if it does then
// BOOST_HAS_FTIME may be defined.
// see boost_has_ftime.cxx for more details
// Do not edit this file, it was generated automatically by
// ../tools/generate from boost_has_ftime.cxx on
// Thu Oct 11 12:24:39 2001
// 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 <boost/test/cpp_main.cpp>
#include "test.hpp"
#ifndef BOOST_HAS_FTIME
#include "boost_has_ftime.cxx"
#else
#error "this file should not compile"
#endif
int cpp_main( int, char *[] )
{
return boost_has_ftime::test();
}

36
test/has_ftime_pass.cpp Normal file
View File

@@ -0,0 +1,36 @@
// (C) Copyright Boost.org 1999. Permission to copy, use, modify, sell and
// distribute this software is granted provided this copyright notice appears
// in all copies. This software is provided "as is" without express or implied
// warranty, and with no claim as to its suitability for any purpose.
// Test file for macro BOOST_HAS_FTIME
// This file should compile, if it does not then
// BOOST_HAS_FTIME should not be defined.
// see boost_has_ftime.cxx for more details
// Do not edit this file, it was generated automatically by
// ../tools/generate from boost_has_ftime.cxx on
// Thu Oct 11 12:24:39 2001
// 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 <boost/test/cpp_main.cpp>
#include "test.hpp"
#ifdef BOOST_HAS_FTIME
#include "boost_has_ftime.cxx"
#else
namespace boost_has_ftime = empty_boost;
#endif
int cpp_main( int, char *[] )
{
return boost_has_ftime::test();
}

View File

@@ -0,0 +1,36 @@
// (C) Copyright Boost.org 1999. Permission to copy, use, modify, sell and
// distribute this software is granted provided this copyright notice appears
// in all copies. This software is provided "as is" without express or implied
// warranty, and with no claim as to its suitability for any purpose.
// Test file for macro BOOST_HAS_GETTIMEOFDAY
// This file should not compile, if it does then
// BOOST_HAS_GETTIMEOFDAY may be defined.
// see boost_has_gettimeofday.cxx for more details
// Do not edit this file, it was generated automatically by
// ../tools/generate from boost_has_gettimeofday.cxx on
// Thu Oct 11 12:24:39 2001
// 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 <boost/test/cpp_main.cpp>
#include "test.hpp"
#ifndef BOOST_HAS_GETTIMEOFDAY
#include "boost_has_gettimeofday.cxx"
#else
#error "this file should not compile"
#endif
int cpp_main( int, char *[] )
{
return boost_has_gettimeofday::test();
}

View File

@@ -0,0 +1,36 @@
// (C) Copyright Boost.org 1999. Permission to copy, use, modify, sell and
// distribute this software is granted provided this copyright notice appears
// in all copies. This software is provided "as is" without express or implied
// warranty, and with no claim as to its suitability for any purpose.
// Test file for macro BOOST_HAS_GETTIMEOFDAY
// This file should compile, if it does not then
// BOOST_HAS_GETTIMEOFDAY should not be defined.
// see boost_has_gettimeofday.cxx for more details
// Do not edit this file, it was generated automatically by
// ../tools/generate from boost_has_gettimeofday.cxx on
// Thu Oct 11 12:24:39 2001
// 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 <boost/test/cpp_main.cpp>
#include "test.hpp"
#ifdef BOOST_HAS_GETTIMEOFDAY
#include "boost_has_gettimeofday.cxx"
#else
namespace boost_has_gettimeofday = empty_boost;
#endif
int cpp_main( int, char *[] )
{
return boost_has_gettimeofday::test();
}

View File

@@ -0,0 +1,36 @@
// (C) Copyright Boost.org 1999. Permission to copy, use, modify, sell and
// distribute this software is granted provided this copyright notice appears
// in all copies. This software is provided "as is" without express or implied
// warranty, and with no claim as to its suitability for any purpose.
// Test file for macro BOOST_HAS_LONG_LONG
// This file should not compile, if it does then
// BOOST_HAS_LONG_LONG may be defined.
// see boost_has_long_long.cxx for more details
// Do not edit this file, it was generated automatically by
// ../tools/generate from boost_has_long_long.cxx on
// Tue Oct 16 12:34:33 2001
// 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 <boost/test/cpp_main.cpp>
#include "test.hpp"
#ifndef BOOST_HAS_LONG_LONG
#include "boost_has_long_long.cxx"
#else
#error "this file should not compile"
#endif
int cpp_main( int, char *[] )
{
return boost_has_long_long::test();
}

View File

@@ -0,0 +1,36 @@
// (C) Copyright Boost.org 1999. Permission to copy, use, modify, sell and
// distribute this software is granted provided this copyright notice appears
// in all copies. This software is provided "as is" without express or implied
// warranty, and with no claim as to its suitability for any purpose.
// Test file for macro BOOST_HAS_LONG_LONG
// This file should compile, if it does not then
// BOOST_HAS_LONG_LONG should not be defined.
// see boost_has_long_long.cxx for more details
// Do not edit this file, it was generated automatically by
// ../tools/generate from boost_has_long_long.cxx on
// Tue Oct 16 12:34:33 2001
// 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 <boost/test/cpp_main.cpp>
#include "test.hpp"
#ifdef BOOST_HAS_LONG_LONG
#include "boost_has_long_long.cxx"
#else
namespace boost_has_long_long = empty_boost;
#endif
int cpp_main( int, char *[] )
{
return boost_has_long_long::test();
}

View File

@@ -0,0 +1,36 @@
// (C) Copyright Boost.org 1999. Permission to copy, use, modify, sell and
// distribute this software is granted provided this copyright notice appears
// in all copies. This software is provided "as is" without express or implied
// warranty, and with no claim as to its suitability for any purpose.
// Test file for macro BOOST_HAS_NANOSLEEP
// This file should not compile, if it does then
// BOOST_HAS_NANOSLEEP may be defined.
// see boost_has_nanosleep.cxx for more details
// Do not edit this file, it was generated automatically by
// ../tools/generate from boost_has_nanosleep.cxx on
// Thu Oct 11 12:24:39 2001
// 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 <boost/test/cpp_main.cpp>
#include "test.hpp"
#ifndef BOOST_HAS_NANOSLEEP
#include "boost_has_nanosleep.cxx"
#else
#error "this file should not compile"
#endif
int cpp_main( int, char *[] )
{
return boost_has_nanosleep::test();
}

View File

@@ -0,0 +1,36 @@
// (C) Copyright Boost.org 1999. Permission to copy, use, modify, sell and
// distribute this software is granted provided this copyright notice appears
// in all copies. This software is provided "as is" without express or implied
// warranty, and with no claim as to its suitability for any purpose.
// Test file for macro BOOST_HAS_NANOSLEEP
// This file should compile, if it does not then
// BOOST_HAS_NANOSLEEP should not be defined.
// see boost_has_nanosleep.cxx for more details
// Do not edit this file, it was generated automatically by
// ../tools/generate from boost_has_nanosleep.cxx on
// Thu Oct 11 12:24:39 2001
// 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 <boost/test/cpp_main.cpp>
#include "test.hpp"
#ifdef BOOST_HAS_NANOSLEEP
#include "boost_has_nanosleep.cxx"
#else
namespace boost_has_nanosleep = empty_boost;
#endif
int cpp_main( int, char *[] )
{
return boost_has_nanosleep::test();
}

View File

@@ -0,0 +1,36 @@
// (C) Copyright Boost.org 1999. Permission to copy, use, modify, sell and
// distribute this software is granted provided this copyright notice appears
// in all copies. This software is provided "as is" without express or implied
// warranty, and with no claim as to its suitability for any purpose.
// Test file for macro BOOST_HAS_PTHREAD_DELAY_NP
// This file should not compile, if it does then
// BOOST_HAS_PTHREAD_DELAY_NP may be defined.
// see boost_has_pthread_delay_np.cxx for more details
// Do not edit this file, it was generated automatically by
// ../tools/generate from boost_has_pthread_delay_np.cxx on
// Thu Oct 11 12:24:39 2001
// 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 <boost/test/cpp_main.cpp>
#include "test.hpp"
#ifndef BOOST_HAS_PTHREAD_DELAY_NP
#include "boost_has_pthread_delay_np.cxx"
#else
#error "this file should not compile"
#endif
int cpp_main( int, char *[] )
{
return boost_has_pthread_delay_np::test();
}

View File

@@ -0,0 +1,36 @@
// (C) Copyright Boost.org 1999. Permission to copy, use, modify, sell and
// distribute this software is granted provided this copyright notice appears
// in all copies. This software is provided "as is" without express or implied
// warranty, and with no claim as to its suitability for any purpose.
// Test file for macro BOOST_HAS_PTHREAD_DELAY_NP
// This file should compile, if it does not then
// BOOST_HAS_PTHREAD_DELAY_NP should not be defined.
// see boost_has_pthread_delay_np.cxx for more details
// Do not edit this file, it was generated automatically by
// ../tools/generate from boost_has_pthread_delay_np.cxx on
// Thu Oct 11 12:24:39 2001
// 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 <boost/test/cpp_main.cpp>
#include "test.hpp"
#ifdef BOOST_HAS_PTHREAD_DELAY_NP
#include "boost_has_pthread_delay_np.cxx"
#else
namespace boost_has_pthread_delay_np = empty_boost;
#endif
int cpp_main( int, char *[] )
{
return boost_has_pthread_delay_np::test();
}

View File

@@ -0,0 +1,36 @@
// (C) Copyright Boost.org 1999. Permission to copy, use, modify, sell and
// distribute this software is granted provided this copyright notice appears
// in all copies. This software is provided "as is" without express or implied
// warranty, and with no claim as to its suitability for any purpose.
// Test file for macro BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE
// This file should not compile, if it does then
// BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE may be defined.
// see boost_has_pthread_ma_gt.cxx for more details
// Do not edit this file, it was generated automatically by
// ../tools/generate from boost_has_pthread_ma_gt.cxx on
// Thu Oct 11 12:24:39 2001
// 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 <boost/test/cpp_main.cpp>
#include "test.hpp"
#ifndef BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE
#include "boost_has_pthread_ma_gt.cxx"
#else
#error "this file should not compile"
#endif
int cpp_main( int, char *[] )
{
return boost_has_pthread_mutexattr_settype::test();
}

View File

@@ -0,0 +1,36 @@
// (C) Copyright Boost.org 1999. Permission to copy, use, modify, sell and
// distribute this software is granted provided this copyright notice appears
// in all copies. This software is provided "as is" without express or implied
// warranty, and with no claim as to its suitability for any purpose.
// Test file for macro BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE
// This file should compile, if it does not then
// BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE should not be defined.
// see boost_has_pthread_ma_gt.cxx for more details
// Do not edit this file, it was generated automatically by
// ../tools/generate from boost_has_pthread_ma_gt.cxx on
// Thu Oct 11 12:24:39 2001
// 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 <boost/test/cpp_main.cpp>
#include "test.hpp"
#ifdef BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE
#include "boost_has_pthread_ma_gt.cxx"
#else
namespace boost_has_pthread_mutexattr_settype = empty_boost;
#endif
int cpp_main( int, char *[] )
{
return boost_has_pthread_mutexattr_settype::test();
}

View File

@@ -0,0 +1,36 @@
// (C) Copyright Boost.org 1999. Permission to copy, use, modify, sell and
// distribute this software is granted provided this copyright notice appears
// in all copies. This software is provided "as is" without express or implied
// warranty, and with no claim as to its suitability for any purpose.
// Test file for macro BOOST_HAS_PTHREAD_YIELD
// This file should not compile, if it does then
// BOOST_HAS_PTHREAD_YIELD may be defined.
// see boost_has_pthread_yield.cxx for more details
// Do not edit this file, it was generated automatically by
// ../tools/generate from boost_has_pthread_yield.cxx on
// Thu Oct 11 12:24:39 2001
// 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 <boost/test/cpp_main.cpp>
#include "test.hpp"
#ifndef BOOST_HAS_PTHREAD_YIELD
#include "boost_has_pthread_yield.cxx"
#else
#error "this file should not compile"
#endif
int cpp_main( int, char *[] )
{
return boost_has_pthread_yield::test();
}

View File

@@ -0,0 +1,36 @@
// (C) Copyright Boost.org 1999. Permission to copy, use, modify, sell and
// distribute this software is granted provided this copyright notice appears
// in all copies. This software is provided "as is" without express or implied
// warranty, and with no claim as to its suitability for any purpose.
// Test file for macro BOOST_HAS_PTHREAD_YIELD
// This file should compile, if it does not then
// BOOST_HAS_PTHREAD_YIELD should not be defined.
// see boost_has_pthread_yield.cxx for more details
// Do not edit this file, it was generated automatically by
// ../tools/generate from boost_has_pthread_yield.cxx on
// Thu Oct 11 12:24:39 2001
// 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 <boost/test/cpp_main.cpp>
#include "test.hpp"
#ifdef BOOST_HAS_PTHREAD_YIELD
#include "boost_has_pthread_yield.cxx"
#else
namespace boost_has_pthread_yield = empty_boost;
#endif
int cpp_main( int, char *[] )
{
return boost_has_pthread_yield::test();
}

View File

@@ -0,0 +1,36 @@
// (C) Copyright Boost.org 1999. Permission to copy, use, modify, sell and
// distribute this software is granted provided this copyright notice appears
// in all copies. This software is provided "as is" without express or implied
// warranty, and with no claim as to its suitability for any purpose.
// Test file for macro BOOST_HAS_SCHED_YIELD
// This file should not compile, if it does then
// BOOST_HAS_SCHED_YIELD may be defined.
// see boost_has_sched_yield.cxx for more details
// Do not edit this file, it was generated automatically by
// ../tools/generate from boost_has_sched_yield.cxx on
// Thu Oct 11 12:24:39 2001
// 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 <boost/test/cpp_main.cpp>
#include "test.hpp"
#ifndef BOOST_HAS_SCHED_YIELD
#include "boost_has_sched_yield.cxx"
#else
#error "this file should not compile"
#endif
int cpp_main( int, char *[] )
{
return boost_has_sched_yield::test();
}

View File

@@ -0,0 +1,36 @@
// (C) Copyright Boost.org 1999. Permission to copy, use, modify, sell and
// distribute this software is granted provided this copyright notice appears
// in all copies. This software is provided "as is" without express or implied
// warranty, and with no claim as to its suitability for any purpose.
// Test file for macro BOOST_HAS_SCHED_YIELD
// This file should compile, if it does not then
// BOOST_HAS_SCHED_YIELD should not be defined.
// see boost_has_sched_yield.cxx for more details
// Do not edit this file, it was generated automatically by
// ../tools/generate from boost_has_sched_yield.cxx on
// Thu Oct 11 12:24:39 2001
// 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 <boost/test/cpp_main.cpp>
#include "test.hpp"
#ifdef BOOST_HAS_SCHED_YIELD
#include "boost_has_sched_yield.cxx"
#else
namespace boost_has_sched_yield = empty_boost;
#endif
int cpp_main( int, char *[] )
{
return boost_has_sched_yield::test();
}

View File

@@ -0,0 +1,36 @@
// (C) Copyright Boost.org 1999. Permission to copy, use, modify, sell and
// distribute this software is granted provided this copyright notice appears
// in all copies. This software is provided "as is" without express or implied
// warranty, and with no claim as to its suitability for any purpose.
// Test file for macro BOOST_HAS_SGI_TYPE_TRAITS
// This file should not compile, if it does then
// BOOST_HAS_SGI_TYPE_TRAITS may be defined.
// see boost_has_sgi_type_traits.cxx for more details
// Do not edit this file, it was generated automatically by
// ../tools/generate from boost_has_sgi_type_traits.cxx on
// Wed Oct 31 12:19:39 2001
// 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 <boost/test/cpp_main.cpp>
#include "test.hpp"
#ifndef BOOST_HAS_SGI_TYPE_TRAITS
#include "boost_has_sgi_type_traits.cxx"
#else
#error "this file should not compile"
#endif
int cpp_main( int, char *[] )
{
return boost_has_sgi_type_traits::test();
}

View File

@@ -0,0 +1,36 @@
// (C) Copyright Boost.org 1999. Permission to copy, use, modify, sell and
// distribute this software is granted provided this copyright notice appears
// in all copies. This software is provided "as is" without express or implied
// warranty, and with no claim as to its suitability for any purpose.
// Test file for macro BOOST_HAS_SGI_TYPE_TRAITS
// This file should compile, if it does not then
// BOOST_HAS_SGI_TYPE_TRAITS should not be defined.
// see boost_has_sgi_type_traits.cxx for more details
// Do not edit this file, it was generated automatically by
// ../tools/generate from boost_has_sgi_type_traits.cxx on
// Wed Oct 31 12:19:39 2001
// 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 <boost/test/cpp_main.cpp>
#include "test.hpp"
#ifdef BOOST_HAS_SGI_TYPE_TRAITS
#include "boost_has_sgi_type_traits.cxx"
#else
namespace boost_has_sgi_type_traits = empty_boost;
#endif
int cpp_main( int, char *[] )
{
return boost_has_sgi_type_traits::test();
}

View File

@@ -4,14 +4,14 @@
// in all copies. This software is provided "as is" without express or implied
// warranty, and with no claim as to its suitability for any purpose.
// Test file for macro BOOST_WEAK_FUNCTION_TEMPLATE_ORDERING
// Test file for macro BOOST_NO_FUNCTION_TEMPLATE_ORDERING
// This file should not compile, if it does then
// BOOST_WEAK_FUNCTION_TEMPLATE_ORDERING need not be defined.
// BOOST_NO_FUNCTION_TEMPLATE_ORDERING need not be defined.
// see boost_no_func_tmp_order.cxx for more details
// Do not edit this file, it was generated automatically by
// ../tools/generate from boost_no_func_tmp_order.cxx on
// Mon Sep 10 12:18:12 2001
// Wed Oct 3 13:47:21 2001
// Must not have BOOST_ASSERT_CONFIG set; it defeats
// the objective of this file:
@@ -23,7 +23,7 @@
#include <boost/test/cpp_main.cpp>
#include "test.hpp"
#ifdef BOOST_WEAK_FUNCTION_TEMPLATE_ORDERING
#ifdef BOOST_NO_FUNCTION_TEMPLATE_ORDERING
#include "boost_no_func_tmp_order.cxx"
#else
#error "this file should not compile"
@@ -31,6 +31,6 @@
int cpp_main( int, char *[] )
{
return boost_weak_function_template_ordering::test();
return boost_no_function_template_ordering::test();
}

View File

@@ -4,14 +4,14 @@
// in all copies. This software is provided "as is" without express or implied
// warranty, and with no claim as to its suitability for any purpose.
// Test file for macro BOOST_WEAK_FUNCTION_TEMPLATE_ORDERING
// Test file for macro BOOST_NO_FUNCTION_TEMPLATE_ORDERING
// This file should compile, if it does not then
// BOOST_WEAK_FUNCTION_TEMPLATE_ORDERING needs to be defined.
// BOOST_NO_FUNCTION_TEMPLATE_ORDERING needs to be defined.
// see boost_no_func_tmp_order.cxx for more details
// Do not edit this file, it was generated automatically by
// ../tools/generate from boost_no_func_tmp_order.cxx on
// Mon Sep 10 12:18:12 2001
// Wed Oct 3 13:47:21 2001
// Must not have BOOST_ASSERT_CONFIG set; it defeats
// the objective of this file:
@@ -23,14 +23,14 @@
#include <boost/test/cpp_main.cpp>
#include "test.hpp"
#ifndef BOOST_WEAK_FUNCTION_TEMPLATE_ORDERING
#ifndef BOOST_NO_FUNCTION_TEMPLATE_ORDERING
#include "boost_no_func_tmp_order.cxx"
#else
namespace boost_weak_function_template_ordering = empty_boost;
namespace boost_no_function_template_ordering = empty_boost;
#endif
int cpp_main( int, char *[] )
{
return boost_weak_function_template_ordering::test();
return boost_no_function_template_ordering::test();
}

View File

@@ -0,0 +1,36 @@
// (C) Copyright Boost.org 1999. Permission to copy, use, modify, sell and
// distribute this software is granted provided this copyright notice appears
// in all copies. This software is provided "as is" without express or implied
// warranty, and with no claim as to its suitability for any purpose.
// Test file for macro BOOST_NO_INTEGRAL_INT64_T
// This file should not compile, if it does then
// BOOST_NO_INTEGRAL_INT64_T need not be defined.
// see boost_no_integral_int64_t.cxx for more details
// Do not edit this file, it was generated automatically by
// ../tools/generate from boost_no_integral_int64_t.cxx on
// Wed Oct 17 12:10:00 2001
// 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 <boost/test/cpp_main.cpp>
#include "test.hpp"
#ifdef BOOST_NO_INTEGRAL_INT64_T
#include "boost_no_integral_int64_t.cxx"
#else
#error "this file should not compile"
#endif
int cpp_main( int, char *[] )
{
return boost_no_integral_int64_t::test();
}

View File

@@ -0,0 +1,36 @@
// (C) Copyright Boost.org 1999. Permission to copy, use, modify, sell and
// distribute this software is granted provided this copyright notice appears
// in all copies. This software is provided "as is" without express or implied
// warranty, and with no claim as to its suitability for any purpose.
// Test file for macro BOOST_NO_INTEGRAL_INT64_T
// This file should compile, if it does not then
// BOOST_NO_INTEGRAL_INT64_T needs to be defined.
// see boost_no_integral_int64_t.cxx for more details
// Do not edit this file, it was generated automatically by
// ../tools/generate from boost_no_integral_int64_t.cxx on
// Wed Oct 17 12:10:00 2001
// 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 <boost/test/cpp_main.cpp>
#include "test.hpp"
#ifndef BOOST_NO_INTEGRAL_INT64_T
#include "boost_no_integral_int64_t.cxx"
#else
namespace boost_no_integral_int64_t = empty_boost;
#endif
int cpp_main( int, char *[] )
{
return boost_no_integral_int64_t::test();
}

View File

@@ -29,18 +29,20 @@ run libs/config/test/no_func_tmp_order_pass.cpp
link-fail libs/config/test/no_func_tmp_order_fail.cpp
run libs/config/test/no_inline_memb_init_pass.cpp
link-fail libs/config/test/no_inline_memb_init_fail.cpp
run libs/config/test/no_integral_int64_t_pass.cpp
link-fail libs/config/test/no_integral_int64_t_fail.cpp
run libs/config/test/no_iter_construct_pass.cpp
link-fail libs/config/test/no_iter_construct_fail.cpp
run libs/config/test/no_limits_const_exp_pass.cpp
link-fail libs/config/test/no_limits_const_exp_fail.cpp
run libs/config/test/no_limits_pass.cpp
link-fail libs/config/test/no_limits_fail.cpp
run libs/config/test/no_limits_const_exp_pass.cpp
link-fail libs/config/test/no_limits_const_exp_fail.cpp
run libs/config/test/no_mem_tem_keyword_pass.cpp
link-fail libs/config/test/no_mem_tem_keyword_fail.cpp
run libs/config/test/no_mem_templates_pass.cpp
link-fail libs/config/test/no_mem_templates_fail.cpp
run libs/config/test/no_mem_templ_frnds_pass.cpp
link-fail libs/config/test/no_mem_templ_frnds_fail.cpp
run libs/config/test/no_mem_templates_pass.cpp
link-fail libs/config/test/no_mem_templates_fail.cpp
run libs/config/test/no_ops_in_namespace_pass.cpp
link-fail libs/config/test/no_ops_in_namespace_fail.cpp
run libs/config/test/no_partial_spec_pass.cpp
@@ -53,14 +55,12 @@ run libs/config/test/no_sstream_pass.cpp
link-fail libs/config/test/no_sstream_fail.cpp
run libs/config/test/no_std_allocator_pass.cpp
link-fail libs/config/test/no_std_allocator_fail.cpp
run libs/config/test/no_stdc_namespace_pass.cpp
link-fail libs/config/test/no_stdc_namespace_fail.cpp
run libs/config/test/no_std_distance_pass.cpp
link-fail libs/config/test/no_std_distance_fail.cpp
run libs/config/test/no_std_iterator_pass.cpp
link-fail libs/config/test/no_std_iterator_fail.cpp
run libs/config/test/no_std_iter_traits_pass.cpp
link-fail libs/config/test/no_std_iter_traits_fail.cpp
run libs/config/test/no_std_iterator_pass.cpp
link-fail libs/config/test/no_std_iterator_fail.cpp
run libs/config/test/no_std_locale_pass.cpp
link-fail libs/config/test/no_std_locale_fail.cpp
run libs/config/test/no_std_messages_pass.cpp
@@ -73,6 +73,8 @@ run libs/config/test/no_std_use_facet_pass.cpp
link-fail libs/config/test/no_std_use_facet_fail.cpp
run libs/config/test/no_std_wstring_pass.cpp
link-fail libs/config/test/no_std_wstring_fail.cpp
run libs/config/test/no_stdc_namespace_pass.cpp
link-fail libs/config/test/no_stdc_namespace_fail.cpp
run libs/config/test/no_swprintf_pass.cpp
link-fail libs/config/test/no_swprintf_fail.cpp
run libs/config/test/no_using_template_pass.cpp
@@ -85,14 +87,34 @@ run libs/config/test/has_2arg_use_facet_pass.cpp
link-fail libs/config/test/has_2arg_use_facet_fail.cpp
run libs/config/test/has_bethreads_pass.cpp
link-fail libs/config/test/has_bethreads_fail.cpp
run libs/config/test/has_clock_gettime_pass.cpp
link-fail libs/config/test/has_clock_gettime_fail.cpp
run libs/config/test/has_ftime_pass.cpp
link-fail libs/config/test/has_ftime_fail.cpp
run libs/config/test/has_gettimeofday_pass.cpp
link-fail libs/config/test/has_gettimeofday_fail.cpp
run libs/config/test/has_hash_pass.cpp
link-fail libs/config/test/has_hash_fail.cpp
run libs/config/test/has_long_long_pass.cpp
link-fail libs/config/test/has_long_long_fail.cpp
run libs/config/test/has_macro_use_facet_pass.cpp
link-fail libs/config/test/has_macro_use_facet_fail.cpp
run libs/config/test/has_nanosleep_pass.cpp
link-fail libs/config/test/has_nanosleep_fail.cpp
run libs/config/test/has_nl_types_h_pass.cpp
link-fail libs/config/test/has_nl_types_h_fail.cpp
run libs/config/test/has_pthread_delay_np_pass.cpp
link-fail libs/config/test/has_pthread_delay_np_fail.cpp
run libs/config/test/has_pthread_ma_gt_pass.cpp
link-fail libs/config/test/has_pthread_ma_gt_fail.cpp
run libs/config/test/has_pthread_yield_pass.cpp
link-fail libs/config/test/has_pthread_yield_fail.cpp
run libs/config/test/has_pthreads_pass.cpp
link-fail libs/config/test/has_pthreads_fail.cpp
run libs/config/test/has_sched_yield_pass.cpp
link-fail libs/config/test/has_sched_yield_fail.cpp
run libs/config/test/has_sgi_type_traits_pass.cpp
link-fail libs/config/test/has_sgi_type_traits_fail.cpp
run libs/config/test/has_slist_pass.cpp
link-fail libs/config/test/has_slist_fail.cpp
run libs/config/test/has_stdint_h_pass.cpp

View File

@@ -85,6 +85,7 @@ dnl without these some of the tests may fail:
AC_HAVE_LIBRARY(pthread)
AC_HAVE_LIBRARY(m)
AC_HAVE_LIBRARY(rt)
#
# enumerate test files and test each one:
@@ -351,22 +352,8 @@ for name in $required_defs; do
echo '#define '"$name" >> user.hpp
done
cat << EOF
Adjustments to boost configuration have been written to
user.hpp, copy this to boost/config/user.hpp to use "as is",
or define BOOST_SITE_CONFIG to point to its location.
TREAT THIS FILE WITH CARE.
Autoconf generated options are not infallible!
EOF
cat_conts=`cat user.hpp`
fi
AC_OUTPUT(
[],
[
@@ -389,6 +376,9 @@ cat_conts="$cat_conts"
]
)
fi