2003-05-12 21:15:49 +04:00
|
|
|
/*=========================================================================
|
|
|
|
|
|
|
|
Program: KWSys - Kitware System Library
|
|
|
|
Module: $RCSfile$
|
|
|
|
|
2003-12-16 00:30:46 +03:00
|
|
|
Copyright (c) Kitware, Inc., Insight Consortium. All rights reserved.
|
|
|
|
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
|
2003-05-12 21:15:49 +04:00
|
|
|
|
2003-12-16 00:30:46 +03:00
|
|
|
This software is distributed WITHOUT ANY WARRANTY; without even
|
|
|
|
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
2003-05-12 21:15:49 +04:00
|
|
|
PURPOSE. See the above copyright notices for more information.
|
|
|
|
|
|
|
|
=========================================================================*/
|
2003-04-08 21:10:44 +04:00
|
|
|
#ifndef @KWSYS_NAMESPACE@_Configure_hxx
|
|
|
|
#define @KWSYS_NAMESPACE@_Configure_hxx
|
|
|
|
|
2005-06-09 16:02:58 +04:00
|
|
|
/* Include C configuration. */
|
|
|
|
#include <@KWSYS_NAMESPACE@/Configure.h>
|
|
|
|
|
2003-12-23 19:03:33 +03:00
|
|
|
/* Whether ANSI C++ stream headers are to be used. */
|
2003-12-31 01:15:51 +03:00
|
|
|
#define @KWSYS_NAMESPACE@_IOS_USE_ANSI @KWSYS_IOS_USE_ANSI@
|
2003-06-20 02:57:11 +04:00
|
|
|
|
2003-12-23 19:03:33 +03:00
|
|
|
/* Whether ANSI C++ streams are in std namespace. */
|
|
|
|
#define @KWSYS_NAMESPACE@_IOS_HAVE_STD @KWSYS_IOS_HAVE_STD@
|
2003-04-08 21:10:44 +04:00
|
|
|
|
2003-12-23 19:03:33 +03:00
|
|
|
/* Whether ANSI C++ <sstream> header is to be used. */
|
2003-12-31 01:15:51 +03:00
|
|
|
#define @KWSYS_NAMESPACE@_IOS_USE_SSTREAM @KWSYS_IOS_USE_SSTREAM@
|
2003-12-23 19:03:33 +03:00
|
|
|
|
|
|
|
/* Whether old C++ <strstream.h> header is to be used. */
|
2003-12-31 01:15:51 +03:00
|
|
|
#define @KWSYS_NAMESPACE@_IOS_USE_STRSTREAM_H @KWSYS_IOS_USE_STRSTREAM_H@
|
2003-12-23 19:03:33 +03:00
|
|
|
|
|
|
|
/* Whether old C++ <strstrea.h> header is to be used. */
|
2003-12-31 01:15:51 +03:00
|
|
|
#define @KWSYS_NAMESPACE@_IOS_USE_STRSTREA_H @KWSYS_IOS_USE_STRSTREA_H@
|
2003-12-23 19:03:33 +03:00
|
|
|
|
|
|
|
/* Whether STL is in std namespace. */
|
|
|
|
#define @KWSYS_NAMESPACE@_STL_HAVE_STD @KWSYS_STL_HAVE_STD@
|
2003-06-20 02:57:11 +04:00
|
|
|
|
2005-03-29 17:20:08 +04:00
|
|
|
/* Whether the STL string has operator<< for ostream. */
|
|
|
|
#define @KWSYS_NAMESPACE@_STL_STRING_HAVE_OSTREAM @KWSYS_STL_STRING_HAVE_OSTREAM@
|
|
|
|
|
|
|
|
/* Whether the STL string has operator>> for istream. */
|
|
|
|
#define @KWSYS_NAMESPACE@_STL_STRING_HAVE_ISTREAM @KWSYS_STL_STRING_HAVE_ISTREAM@
|
|
|
|
|
2005-03-29 19:10:25 +04:00
|
|
|
/* Whether the STL string has operator!= for char*. */
|
|
|
|
#define @KWSYS_NAMESPACE@_STL_STRING_HAVE_NEQ_CHAR @KWSYS_STL_STRING_HAVE_NEQ_CHAR@
|
|
|
|
|
2003-12-23 19:03:33 +03:00
|
|
|
/* Define the stl namespace macro. */
|
|
|
|
#if @KWSYS_NAMESPACE@_STL_HAVE_STD
|
|
|
|
# define @KWSYS_NAMESPACE@_stl std
|
|
|
|
#else
|
|
|
|
# define @KWSYS_NAMESPACE@_stl
|
2003-05-12 21:43:03 +04:00
|
|
|
#endif
|
|
|
|
|
2003-12-23 19:03:33 +03:00
|
|
|
/* Define the ios namespace macro. */
|
|
|
|
#if @KWSYS_NAMESPACE@_IOS_HAVE_STD
|
|
|
|
# define @KWSYS_NAMESPACE@_ios_namespace std
|
|
|
|
#else
|
|
|
|
# define @KWSYS_NAMESPACE@_ios_namespace
|
|
|
|
#endif
|
2003-12-31 01:15:51 +03:00
|
|
|
#if @KWSYS_NAMESPACE@_IOS_USE_SSTREAM
|
2003-12-23 19:03:33 +03:00
|
|
|
# define @KWSYS_NAMESPACE@_ios @KWSYS_NAMESPACE@_ios_namespace
|
2003-05-08 22:46:23 +04:00
|
|
|
#else
|
2003-12-23 19:03:33 +03:00
|
|
|
# define @KWSYS_NAMESPACE@_ios @KWSYS_NAMESPACE@_ios
|
2003-06-20 02:57:11 +04:00
|
|
|
#endif
|
|
|
|
|
2005-04-16 00:00:44 +04:00
|
|
|
/* Whether the cstddef header is available. */
|
|
|
|
#define @KWSYS_NAMESPACE@_CXX_HAS_CSTDDEF @KWSYS_CXX_HAS_CSTDDEF@
|
|
|
|
|
2005-04-13 16:08:54 +04:00
|
|
|
/* Whether the compiler supports null template arguments. */
|
|
|
|
#define @KWSYS_NAMESPACE@_CXX_HAS_NULL_TEMPLATE_ARGS @KWSYS_CXX_HAS_NULL_TEMPLATE_ARGS@
|
|
|
|
|
|
|
|
/* Define the null template arguments macro. */
|
|
|
|
#if @KWSYS_NAMESPACE@_CXX_HAS_NULL_TEMPLATE_ARGS
|
|
|
|
# define @KWSYS_NAMESPACE@_CXX_NULL_TEMPLATE_ARGS <>
|
|
|
|
#else
|
|
|
|
# define @KWSYS_NAMESPACE@_CXX_NULL_TEMPLATE_ARGS
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/* Whether the compiler supports member templates. */
|
|
|
|
#define @KWSYS_NAMESPACE@_CXX_HAS_MEMBER_TEMPLATES @KWSYS_CXX_HAS_MEMBER_TEMPLATES@
|
|
|
|
|
2005-04-15 16:59:30 +04:00
|
|
|
/* Whether the compiler supports argument dependent lookup. */
|
|
|
|
#define @KWSYS_NAMESPACE@_CXX_HAS_ARGUMENT_DEPENDENT_LOOKUP @KWSYS_CXX_HAS_ARGUMENT_DEPENDENT_LOOKUP@
|
|
|
|
|
2005-04-13 16:08:54 +04:00
|
|
|
/* Whether the compiler supports standard full specialization syntax. */
|
|
|
|
#define @KWSYS_NAMESPACE@_CXX_HAS_FULL_SPECIALIZATION @KWSYS_CXX_HAS_FULL_SPECIALIZATION@
|
|
|
|
|
|
|
|
/* Define the specialization definition macro. */
|
|
|
|
#if @KWSYS_NAMESPACE@_CXX_HAS_FULL_SPECIALIZATION
|
|
|
|
# define @KWSYS_NAMESPACE@_CXX_DEFINE_SPECIALIZATION template <>
|
|
|
|
#else
|
|
|
|
# define @KWSYS_NAMESPACE@_CXX_DEFINE_SPECIALIZATION
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/* Define typename keyword macro for use in declarations. */
|
|
|
|
#if defined(_MSC_VER) && _MSC_VER < 1300
|
|
|
|
# define @KWSYS_NAMESPACE@_CXX_DECL_TYPENAME
|
|
|
|
#else
|
|
|
|
# define @KWSYS_NAMESPACE@_CXX_DECL_TYPENAME typename
|
|
|
|
#endif
|
|
|
|
|
2005-04-15 17:54:03 +04:00
|
|
|
/* Whether the stl has iterator_traits. */
|
|
|
|
#define @KWSYS_NAMESPACE@_STL_HAS_ITERATOR_TRAITS @KWSYS_STL_HAS_ITERATOR_TRAITS@
|
|
|
|
|
|
|
|
/* Whether the stl has iterator_category. */
|
|
|
|
#define @KWSYS_NAMESPACE@_STL_HAS_ITERATOR_CATEGORY @KWSYS_STL_HAS_ITERATOR_CATEGORY@
|
|
|
|
|
|
|
|
/* Whether the stl has __iterator_category. */
|
|
|
|
#define @KWSYS_NAMESPACE@_STL_HAS___ITERATOR_CATEGORY @KWSYS_STL_HAS___ITERATOR_CATEGORY@
|
|
|
|
|
2005-04-21 21:47:43 +04:00
|
|
|
/* Whether the stl allocator is the standard template. */
|
|
|
|
#define @KWSYS_NAMESPACE@_STL_HAS_ALLOCATOR_TEMPLATE @KWSYS_STL_HAS_ALLOCATOR_TEMPLATE@
|
|
|
|
|
2005-04-15 17:54:03 +04:00
|
|
|
/* Whether the stl allocator is not a template. */
|
|
|
|
#define @KWSYS_NAMESPACE@_STL_HAS_ALLOCATOR_NONTEMPLATE @KWSYS_STL_HAS_ALLOCATOR_NONTEMPLATE@
|
|
|
|
|
2005-04-13 16:08:54 +04:00
|
|
|
/* Whether the stl allocator has rebind. */
|
|
|
|
#define @KWSYS_NAMESPACE@_STL_HAS_ALLOCATOR_REBIND @KWSYS_STL_HAS_ALLOCATOR_REBIND@
|
|
|
|
|
2005-04-13 23:39:03 +04:00
|
|
|
/* Whether the stl allocator has a size argument for max_size. */
|
|
|
|
#define @KWSYS_NAMESPACE@_STL_HAS_ALLOCATOR_MAX_SIZE_ARGUMENT @KWSYS_STL_HAS_ALLOCATOR_MAX_SIZE_ARGUMENT@
|
|
|
|
|
2005-04-21 21:47:43 +04:00
|
|
|
/* Whether the stl containers support allocator objects. */
|
|
|
|
#define @KWSYS_NAMESPACE@_STL_HAS_ALLOCATOR_OBJECTS @KWSYS_STL_HAS_ALLOCATOR_OBJECTS@
|
|
|
|
|
2005-02-17 18:49:16 +03:00
|
|
|
/* Whether struct stat has the st_mtim member for high resolution times. */
|
|
|
|
#define @KWSYS_NAMESPACE@_STAT_HAS_ST_MTIM @KWSYS_STAT_HAS_ST_MTIM@
|
|
|
|
|
2003-06-20 02:57:11 +04:00
|
|
|
/* If building a C++ file in kwsys itself, give the source file
|
|
|
|
access to the macros without a configured namespace. */
|
|
|
|
#if defined(KWSYS_NAMESPACE)
|
2003-12-23 19:03:33 +03:00
|
|
|
# if !@KWSYS_NAMESPACE@_NAME_IS_KWSYS
|
|
|
|
# define kwsys_stl @KWSYS_NAMESPACE@_stl
|
|
|
|
# define kwsys_ios @KWSYS_NAMESPACE@_ios
|
2005-04-13 21:57:24 +04:00
|
|
|
# define kwsys @KWSYS_NAMESPACE@
|
2003-06-20 02:57:11 +04:00
|
|
|
# endif
|
2005-03-29 19:10:25 +04:00
|
|
|
# define KWSYS_NAME_IS_KWSYS @KWSYS_NAMESPACE@_NAME_IS_KWSYS
|
|
|
|
# define KWSYS_STL_HAVE_STD @KWSYS_NAMESPACE@_STL_HAVE_STD
|
|
|
|
# define KWSYS_IOS_HAVE_STD @KWSYS_NAMESPACE@_IOS_HAVE_STD
|
|
|
|
# define KWSYS_IOS_USE_ANSI @KWSYS_NAMESPACE@_IOS_USE_ANSI
|
|
|
|
# define KWSYS_IOS_USE_SSTREAM @KWSYS_NAMESPACE@_IOS_USE_SSTREAM
|
|
|
|
# define KWSYS_IOS_USE_STRSTREAM_H @KWSYS_NAMESPACE@_IOS_USE_STRSTREAM_H
|
|
|
|
# define KWSYS_IOS_USE_STRSTREA_H @KWSYS_NAMESPACE@_IOS_USE_STRSTREA_H
|
|
|
|
# define KWSYS_STAT_HAS_ST_MTIM @KWSYS_NAMESPACE@_STAT_HAS_ST_MTIM
|
2005-04-16 00:00:44 +04:00
|
|
|
# define KWSYS_CXX_HAS_CSTDDEF @KWSYS_NAMESPACE@_CXX_HAS_CSTDDEF
|
2005-03-29 19:10:25 +04:00
|
|
|
# define KWSYS_STL_STRING_HAVE_OSTREAM @KWSYS_NAMESPACE@_STL_STRING_HAVE_OSTREAM
|
|
|
|
# define KWSYS_STL_STRING_HAVE_ISTREAM @KWSYS_NAMESPACE@_STL_STRING_HAVE_ISTREAM
|
|
|
|
# define KWSYS_STL_STRING_HAVE_NEQ_CHAR @KWSYS_NAMESPACE@_STL_STRING_HAVE_NEQ_CHAR
|
2005-04-13 16:08:54 +04:00
|
|
|
# define KWSYS_CXX_NULL_TEMPLATE_ARGS @KWSYS_NAMESPACE@_CXX_NULL_TEMPLATE_ARGS
|
|
|
|
# define KWSYS_CXX_HAS_MEMBER_TEMPLATES @KWSYS_NAMESPACE@_CXX_HAS_MEMBER_TEMPLATES
|
|
|
|
# define KWSYS_CXX_HAS_FULL_SPECIALIZATION @KWSYS_NAMESPACE@_CXX_HAS_FULL_SPECIALIZATION
|
|
|
|
# define KWSYS_CXX_DEFINE_SPECIALIZATION @KWSYS_NAMESPACE@_CXX_DEFINE_SPECIALIZATION
|
|
|
|
# define KWSYS_CXX_DECL_TYPENAME @KWSYS_NAMESPACE@_CXX_DECL_TYPENAME
|
|
|
|
# define KWSYS_STL_HAS_ALLOCATOR_REBIND @KWSYS_NAMESPACE@_STL_HAS_ALLOCATOR_REBIND
|
2005-04-13 23:39:03 +04:00
|
|
|
# define KWSYS_STL_HAS_ALLOCATOR_MAX_SIZE_ARGUMENT @KWSYS_NAMESPACE@_STL_HAS_ALLOCATOR_MAX_SIZE_ARGUMENT
|
2005-04-15 16:59:30 +04:00
|
|
|
# define KWSYS_CXX_HAS_ARGUMENT_DEPENDENT_LOOKUP @KWSYS_NAMESPACE@_CXX_HAS_ARGUMENT_DEPENDENT_LOOKUP
|
2005-04-15 17:54:03 +04:00
|
|
|
# define KWSYS_STL_HAS_ITERATOR_TRAITS @KWSYS_NAMESPACE@_STL_HAS_ITERATOR_TRAITS
|
|
|
|
# define KWSYS_STL_HAS_ITERATOR_CATEGORY @KWSYS_NAMESPACE@_STL_HAS_ITERATOR_CATEGORY
|
|
|
|
# define KWSYS_STL_HAS___ITERATOR_CATEGORY @KWSYS_NAMESPACE@_STL_HAS___ITERATOR_CATEGORY
|
2005-04-21 21:47:43 +04:00
|
|
|
# define KWSYS_STL_HAS_ALLOCATOR_TEMPLATE @KWSYS_NAMESPACE@_STL_HAS_ALLOCATOR_TEMPLATE
|
2005-04-15 17:54:03 +04:00
|
|
|
# define KWSYS_STL_HAS_ALLOCATOR_NONTEMPLATE @KWSYS_NAMESPACE@_STL_HAS_ALLOCATOR_NONTEMPLATE
|
2005-04-21 21:47:43 +04:00
|
|
|
# define KWSYS_STL_HAS_ALLOCATOR_OBJECTS @KWSYS_NAMESPACE@_STL_HAS_ALLOCATOR_OBJECTS
|
2003-05-08 22:46:23 +04:00
|
|
|
#endif
|
|
|
|
|
2003-04-08 21:10:44 +04:00
|
|
|
#endif
|