Chris@16: // Copyright (c) 2004 Hartmut Kaiser Chris@16: // Chris@16: // Use, modification and distribution is subject to the Boost Software Chris@16: // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at Chris@16: // http://www.boost.org/LICENSE_1_0.txt) Chris@16: Chris@16: #ifndef BOOST_PROGRAM_OPTIONS_CONFIG_HK_2004_01_11 Chris@16: #define BOOST_PROGRAM_OPTIONS_CONFIG_HK_2004_01_11 Chris@16: Chris@16: #include Chris@16: #include Chris@16: Chris@16: // Support for autolinking. Chris@16: #if BOOST_VERSION >= 103100 // works beginning from Boost V1.31.0 Chris@16: Chris@16: /////////////////////////////////////////////////////////////////////////////// Chris@16: // enable automatic library variant selection Chris@16: #if !defined(BOOST_PROGRAM_OPTIONS_SOURCE) && !defined(BOOST_ALL_NO_LIB) && \ Chris@16: !defined(BOOST_PROGRAM_OPTIONS_NO_LIB) Chris@16: Chris@16: // Set the name of our library, this will get undef'ed by auto_link.hpp Chris@16: // once it's done with it: Chris@16: #define BOOST_LIB_NAME boost_program_options Chris@16: // tell the auto-link code to select a dll when required: Chris@16: #if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_PROGRAM_OPTIONS_DYN_LINK) Chris@16: # define BOOST_DYN_LINK Chris@16: #endif Chris@16: Chris@16: // And include the header that does the work: Chris@16: #include Chris@16: Chris@16: #endif // auto-linking disabled Chris@16: Chris@16: #endif // BOOST_VERSION Chris@16: Chris@16: /////////////////////////////////////////////////////////////////////////////// Chris@16: #if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_PROGRAM_OPTIONS_DYN_LINK) Chris@16: // export if this is our own source, otherwise import: Chris@16: #ifdef BOOST_PROGRAM_OPTIONS_SOURCE Chris@16: # define BOOST_PROGRAM_OPTIONS_DECL BOOST_SYMBOL_EXPORT Chris@16: #else Chris@16: # define BOOST_PROGRAM_OPTIONS_DECL BOOST_SYMBOL_IMPORT Chris@16: #endif // BOOST_PROGRAM_OPTIONS_SOURCE Chris@16: #endif // DYN_LINK Chris@16: Chris@16: #ifndef BOOST_PROGRAM_OPTIONS_DECL Chris@16: #define BOOST_PROGRAM_OPTIONS_DECL Chris@16: #endif Chris@16: Chris@16: Chris@16: #endif // PROGRAM_OPTIONS_CONFIG_HK_2004_01_11 Chris@16: