Compare commits

...

9 Commits

Author SHA1 Message Date
nobody
476647be19 This commit was manufactured by cvs2svn to create tag
'Version_1_29_0'.

[SVN r15904]
2002-10-11 15:17:55 +00:00
John Maddock
fa088d0856 Fixed misleading comment.
[SVN r15820]
2002-10-09 11:10:43 +00:00
Markus Schöpflin
febdc45ced Reenabled BOOST_NO_INCLASS_MEMBER_INITIALIZATION and added
BOOST_NO_MEMBER_TEMPLATE_KEYWORD. Both are also defined on newer
versions unless BOOST_STRICT_CONFIG is defined.


[SVN r15531]
2002-09-27 15:48:01 +00:00
John Maddock
d9d56055d5 Patched for Aix which has <stdint.h>
[SVN r15505]
2002-09-25 11:10:30 +00:00
John Maddock
ba82286f2e Added AIX config fixes supplied by Markus Schoepflin.
[SVN r15504]
2002-09-25 11:05:41 +00:00
John Maddock
88ee7241f1 Fixed library checking routines
[SVN r15490]
2002-09-24 11:37:42 +00:00
John Maddock
04b254b41d Fixes for .NET 2003
[SVN r15482]
2002-09-23 11:14:31 +00:00
John Maddock
b1c80d61a2 Updates for .NET 2003 config:
[SVN r15480]
2002-09-23 11:12:21 +00:00
nobody
111b069c37 This commit was manufactured by cvs2svn to create branch 'RC_1_29_0'.
[SVN r15460]
2002-09-19 20:49:39 +00:00
10 changed files with 107 additions and 60 deletions

87
configure vendored
View File

@@ -1801,9 +1801,9 @@ fi
echo "$as_me:$LINENO: checking for main in -lpthread" >&5
echo $ECHO_N "checking for main in -lpthread... $ECHO_C" >&6
if test "${ac_cv_lib_pthread_main+set}" = set; then
echo "$as_me:$LINENO: checking for pthread_exit in -lpthread" >&5
echo $ECHO_N "checking for pthread_exit in -lpthread... $ECHO_C" >&6
if test "${ac_cv_lib_pthread_pthread_exit+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
@@ -1812,7 +1812,13 @@ cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char pthread_exit ();
#ifdef F77_DUMMY_MAIN
# ifdef __cplusplus
extern "C"
@@ -1822,7 +1828,7 @@ cat >conftest.$ac_ext <<_ACEOF
int
main ()
{
main ();
pthread_exit ();
;
return 0;
}
@@ -1839,18 +1845,18 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_lib_pthread_main=yes
ac_cv_lib_pthread_pthread_exit=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
ac_cv_lib_pthread_main=no
ac_cv_lib_pthread_pthread_exit=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_main" >&5
echo "${ECHO_T}$ac_cv_lib_pthread_main" >&6
if test $ac_cv_lib_pthread_main = yes; then
echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_exit" >&5
echo "${ECHO_T}$ac_cv_lib_pthread_pthread_exit" >&6
if test $ac_cv_lib_pthread_pthread_exit = yes; then
cat >>confdefs.h <<_ACEOF
#define HAVE_LIBPTHREAD 1
_ACEOF
@@ -1858,12 +1864,11 @@ _ACEOF
LIBS="-lpthread $LIBS"
fi
ac_cv_lib_pthread=ac_cv_lib_pthread_main
echo "$as_me:$LINENO: checking for main in -lm" >&5
echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
if test "${ac_cv_lib_m_main+set}" = set; then
echo "$as_me:$LINENO: checking for cos in -lm" >&5
echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6
if test "${ac_cv_lib_m_cos+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
@@ -1872,7 +1877,13 @@ cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char cos ();
#ifdef F77_DUMMY_MAIN
# ifdef __cplusplus
extern "C"
@@ -1882,7 +1893,7 @@ cat >conftest.$ac_ext <<_ACEOF
int
main ()
{
main ();
cos ();
;
return 0;
}
@@ -1899,18 +1910,18 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_lib_m_main=yes
ac_cv_lib_m_cos=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
ac_cv_lib_m_main=no
ac_cv_lib_m_cos=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
echo "${ECHO_T}$ac_cv_lib_m_main" >&6
if test $ac_cv_lib_m_main = yes; then
echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
echo "${ECHO_T}$ac_cv_lib_m_cos" >&6
if test $ac_cv_lib_m_cos = yes; then
cat >>confdefs.h <<_ACEOF
#define HAVE_LIBM 1
_ACEOF
@@ -1918,12 +1929,11 @@ _ACEOF
LIBS="-lm $LIBS"
fi
ac_cv_lib_m=ac_cv_lib_m_main
echo "$as_me:$LINENO: checking for main in -lrt" >&5
echo $ECHO_N "checking for main in -lrt... $ECHO_C" >&6
if test "${ac_cv_lib_rt_main+set}" = set; then
echo "$as_me:$LINENO: checking for clock in -lrt" >&5
echo $ECHO_N "checking for clock in -lrt... $ECHO_C" >&6
if test "${ac_cv_lib_rt_clock+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
@@ -1932,7 +1942,13 @@ cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char clock ();
#ifdef F77_DUMMY_MAIN
# ifdef __cplusplus
extern "C"
@@ -1942,7 +1958,7 @@ cat >conftest.$ac_ext <<_ACEOF
int
main ()
{
main ();
clock ();
;
return 0;
}
@@ -1959,18 +1975,18 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_lib_rt_main=yes
ac_cv_lib_rt_clock=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
ac_cv_lib_rt_main=no
ac_cv_lib_rt_clock=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_rt_main" >&5
echo "${ECHO_T}$ac_cv_lib_rt_main" >&6
if test $ac_cv_lib_rt_main = yes; then
echo "$as_me:$LINENO: result: $ac_cv_lib_rt_clock" >&5
echo "${ECHO_T}$ac_cv_lib_rt_clock" >&6
if test $ac_cv_lib_rt_clock = yes; then
cat >>confdefs.h <<_ACEOF
#define HAVE_LIBRT 1
_ACEOF
@@ -1978,7 +1994,6 @@ _ACEOF
LIBS="-lrt $LIBS"
fi
ac_cv_lib_rt=ac_cv_lib_rt_main
#
@@ -2369,7 +2384,9 @@ cat > user.hpp << EOF
// setup is fully ISO complient, and has no
// useful extentions, or for autoconf generated
// setups:
#define BOOST_NO_CONFIG
#ifndef BOOST_NO_CONFIG
# define BOOST_NO_CONFIG
#endif
// define if you want to disable threading support, even
@@ -3036,3 +3053,5 @@ fi

View File

@@ -103,7 +103,7 @@
# error "Compiler not supported or configured - please reconfigure"
#endif
//
// last known and checked version is 5.6:
// last known and checked version is 5.7 (Kylix 3):
#if (__BORLANDC__ > 0x570)
# if defined(BOOST_ASSERT_CONFIG)
# error "Unknown compiler version - please run the configure tests and report the results"
@@ -116,3 +116,4 @@

View File

@@ -7,9 +7,21 @@
// Visual Age (IBM) C++ compiler setup:
#define BOOST_NO_MEMBER_TEMPLATE_FRIENDS
#define BOOST_NO_INCLASS_MEMBER_INITIALIZATION
#define BOOST_NO_MEMBER_FUNCTION_SPECIALIZATIONS
#if __IBMCPP__ <= 501
# define BOOST_NO_MEMBER_TEMPLATE_FRIENDS
# define BOOST_NO_MEMBER_FUNCTION_SPECIALIZATIONS
#endif
#if (__IBMCPP__ <= 502) || !defined(BOOST_STRICT_CONFIG)
// Actually the compiler supports inclass member initialization but it
// requires a definition for the class member and it doesn't recognize
// it as an integral constant expression when used as a template argument.
# define BOOST_NO_INCLASS_MEMBER_INITIALIZATION
# define BOOST_NO_MEMBER_TEMPLATE_KEYWORD
# define BOOST_NO_INTEGRAL_INT64_T
#endif
//
// On AIX thread support seems to be indicated by _THREAD_SAFE:
//

View File

@@ -52,7 +52,7 @@
#endif
#if _MSC_VER <= 1310
#if _MSC_VER < 1310
# define BOOST_NO_SWPRINTF
#endif

View File

@@ -10,12 +10,20 @@
#define BOOST_PLATFORM "IBM Aix"
#define BOOST_HAS_UNISTD_H
#define BOOST_HAS_PTHREADS
#define BOOST_HAS_NL_TYPES_H
#define BOOST_HAS_NANOSLEEP
#define BOOST_HAS_CLOCK_GETTIME
// This needs support in "boost/cstdint.hpp" exactly like FreeBSD.
// This platform has header named <inttypes.h> which includes all
// the things needed.
#define BOOST_HAS_STDINT_H
// Threading API's:
#define BOOST_HAS_PTHREADS
#define BOOST_HAS_PTHREAD_DELAY_NP
#define BOOST_HAS_PTHREAD_YIELD
#define BOOST_HAS_SCHED_YIELD
//#define BOOST_HAS_PTHREAD_YIELD
// boilerplate code:
#include <boost/config/posix_features.hpp>

View File

@@ -21,7 +21,7 @@
# if !(defined(_GLOBAL_USING) && (_GLOBAL_USING+0 > 0)) && !defined(_STD) // can be defined in yvals.h
# define BOOST_NO_STDC_NAMESPACE
# endif
# if !(defined(_HAS_MEMBER_TEMPLATES_REBIND) && (_HAS_MEMBER_TEMPLATES_REBIND+0 > 0) && !(defined(_MSC_VER) && (_MSC_VER > 1300)))
# if !(defined(_HAS_MEMBER_TEMPLATES_REBIND) && (_HAS_MEMBER_TEMPLATES_REBIND+0 > 0)) && !(defined(_MSC_VER) && (_MSC_VER > 1300))
# define BOOST_NO_STD_ALLOCATOR
# endif
# if defined(_MSC_VER) && (_MSC_VER < 1300)

View File

@@ -5,8 +5,11 @@
// See http://www.boost.org for most recent version.
#if __IBMCPP__ <= 501
# define BOOST_NO_STD_ALLOCATOR
#endif
#define BOOST_HAS_MACRO_USE_FACET
#define BOOST_NO_STD_ALLOCATOR
#define BOOST_STDLIB "Visual Age default standard library"

View File

@@ -14,8 +14,8 @@ namespace boost_has_long_long{
int test()
{
long long int lli = 0LL;
unsigned long long int ulli = 0uLL;
long long lli = 0LL;
unsigned long long ulli = 0uLL;
(void)lli;
(void)ulli;
return 0;

View File

@@ -18,18 +18,18 @@
namespace boost_no_intrinsic_wchar_t{
template <class T>
struct is_int{};
struct is_int{ int i; };
template <> struct is_int<unsigned char>{};
template <> struct is_int<signed char>{};
template <> struct is_int<char>{};
template <> struct is_int<unsigned short>{};
template <> struct is_int<short>{};
template <> struct is_int<unsigned int>{};
template <> struct is_int<int>{};
template <> struct is_int<unsigned long>{};
template <> struct is_int<long>{};
template <> struct is_int<wchar_t>{};
template <> struct is_int<unsigned char>{ int i; };
template <> struct is_int<signed char>{ int i; };
template <> struct is_int<char>{ int i; };
template <> struct is_int<unsigned short>{ int i; };
template <> struct is_int<short>{ int i; };
template <> struct is_int<unsigned int>{ int i; };
template <> struct is_int<int>{ int i; };
template <> struct is_int<unsigned long>{ int i; };
template <> struct is_int<long>{ int i; };
template <> struct is_int<wchar_t>{ int i; };
int test()
{

View File

@@ -129,9 +129,9 @@ fi
dnl check for some standard libraries
dnl without these some of the tests may fail:
AC_HAVE_LIBRARY(pthread)
AC_HAVE_LIBRARY(m)
AC_HAVE_LIBRARY(rt)
AC_CHECK_LIB(pthread, pthread_exit)
AC_CHECK_LIB(m, cos)
AC_CHECK_LIB(rt, clock)
#
# enumerate test files and test each one:
@@ -345,7 +345,9 @@ cat > user.hpp << EOF
// setup is fully ISO complient, and has no
// useful extentions, or for autoconf generated
// setups:
#define BOOST_NO_CONFIG
#ifndef BOOST_NO_CONFIG
# define BOOST_NO_CONFIG
#endif
// define if you want to disable threading support, even
@@ -413,3 +415,5 @@ fi