sl@0: // boost/config/user.hpp ---------------------------------------------------// sl@0: sl@0: // (C) Copyright John Maddock 2001. sl@0: // Use, modification and distribution are subject to the sl@0: // Boost Software License, Version 1.0. (See accompanying file sl@0: // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) sl@0: sl@0: // Do not check in modified versions of this file, sl@0: // This file may be customized by the end user, but not by boost. sl@0: sl@0: // sl@0: // Use this file to define a site and compiler specific sl@0: // configuration policy: sl@0: // sl@0: sl@0: // define this to locate a compiler config file: sl@0: // #define BOOST_COMPILER_CONFIG sl@0: sl@0: // define this to locate a stdlib config file: sl@0: // #define BOOST_STDLIB_CONFIG sl@0: sl@0: // define this to locate a platform config file: sl@0: // #define BOOST_PLATFORM_CONFIG sl@0: sl@0: // define this to disable compiler config, sl@0: // use if your compiler config has nothing to set: sl@0: // #define BOOST_NO_COMPILER_CONFIG sl@0: sl@0: // define this to disable stdlib config, sl@0: // use if your stdlib config has nothing to set: sl@0: // #define BOOST_NO_STDLIB_CONFIG sl@0: sl@0: // define this to disable platform config, sl@0: // use if your platform config has nothing to set: sl@0: // #define BOOST_NO_PLATFORM_CONFIG sl@0: sl@0: // define this to disable all config options, sl@0: // excluding the user config. Use if your sl@0: // setup is fully ISO compliant, and has no sl@0: // useful extensions, or for autoconf generated sl@0: // setups: sl@0: // #define BOOST_NO_CONFIG sl@0: sl@0: // define this to make the config "optimistic" sl@0: // about unknown compiler versions. Normally sl@0: // unknown compiler versions are assumed to have sl@0: // all the defects of the last known version, however sl@0: // setting this flag, causes the config to assume sl@0: // that unknown compiler versions are fully conformant sl@0: // with the standard: sl@0: // #define BOOST_STRICT_CONFIG sl@0: sl@0: // define this to cause the config to halt compilation sl@0: // with an #error if it encounters anything unknown -- sl@0: // either an unknown compiler version or an unknown sl@0: // compiler/platform/library: sl@0: // #define BOOST_ASSERT_CONFIG sl@0: sl@0: sl@0: // define if you want to disable threading support, even sl@0: // when available: sl@0: // #define BOOST_DISABLE_THREADS sl@0: sl@0: // define when you want to disable Win32 specific features sl@0: // even when available: sl@0: // #define BOOST_DISABLE_WIN32 sl@0: sl@0: // BOOST_DISABLE_ABI_HEADERS: Stops boost headers from including any sl@0: // prefix/suffix headers that normally control things like struct sl@0: // packing and alignment. sl@0: // #define BOOST_DISABLE_ABI_HEADERS sl@0: sl@0: // BOOST_ABI_PREFIX: A prefix header to include in place of whatever sl@0: // boost.config would normally select, any replacement should set up sl@0: // struct packing and alignment options as required. sl@0: // #define BOOST_ABI_PREFIX my-header-name sl@0: sl@0: // BOOST_ABI_SUFFIX: A suffix header to include in place of whatever sl@0: // boost.config would normally select, any replacement should undo sl@0: // the effects of the prefix header. sl@0: // #define BOOST_ABI_SUFFIX my-header-name sl@0: sl@0: // BOOST_ALL_DYN_LINK: Forces all libraries that have separate source, sl@0: // to be linked as dll's rather than static libraries on Microsoft Windows sl@0: // (this macro is used to turn on __declspec(dllimport) modifiers, so that sl@0: // the compiler knows which symbols to look for in a dll rather than in a sl@0: // static library). Note that there may be some libraries that can only sl@0: // be statically linked (Boost.Test for example) and others which may only sl@0: // be dynamically linked (Boost.Threads for example), in these cases this sl@0: // macro has no effect. sl@0: // #define BOOST_ALL_DYN_LINK sl@0: sl@0: // BOOST_WHATEVER_DYN_LINK: Forces library "whatever" to be linked as a dll sl@0: // rather than a static library on Microsoft Windows: replace the WHATEVER sl@0: // part of the macro name with the name of the library that you want to sl@0: // dynamically link to, for example use BOOST_DATE_TIME_DYN_LINK or sl@0: // BOOST_REGEX_DYN_LINK etc (this macro is used to turn on __declspec(dllimport) sl@0: // modifiers, so that the compiler knows which symbols to look for in a dll sl@0: // rather than in a static library). sl@0: // Note that there may be some libraries that can only be statically linked sl@0: // (Boost.Test for example) and others which may only be dynamically linked sl@0: // (Boost.Threads for example), in these cases this macro is unsupported. sl@0: // #define BOOST_WHATEVER_DYN_LINK sl@0: sl@0: // BOOST_ALL_NO_LIB: Tells the config system not to automatically select sl@0: // which libraries to link against. sl@0: // Normally if a compiler supports #pragma lib, then the correct library sl@0: // build variant will be automatically selected and linked against, sl@0: // simply by the act of including one of that library's headers. sl@0: // This macro turns that feature off. sl@0: // #define BOOST_ALL_NO_LIB sl@0: sl@0: // BOOST_WHATEVER_NO_LIB: Tells the config system not to automatically sl@0: // select which library to link against for library "whatever", sl@0: // replace WHATEVER in the macro name with the name of the library; sl@0: // for example BOOST_DATE_TIME_NO_LIB or BOOST_REGEX_NO_LIB. sl@0: // Normally if a compiler supports #pragma lib, then the correct library sl@0: // build variant will be automatically selected and linked against, simply sl@0: // by the act of including one of that library's headers. This macro turns sl@0: // that feature off. sl@0: // #define BOOST_WHATEVER_NO_LIB