2 // Copyright (c) 2009-2011 Artyom Beilis (Tonkikh)
4 // Distributed under the Boost Software License, Version 1.0. (See
5 // accompanying file LICENSE_1_0.txt or copy at
6 // http://www.boost.org/LICENSE_1_0.txt)
8 #ifndef BOOST_LOCALE_CONFIG_HPP_INCLUDED
9 #define BOOST_LOCALE_CONFIG_HPP_INCLUDED
11 #include <boost/locale/definitions.hpp>
14 // Automatically link to the correct build variant where possible.
16 #if !defined(BOOST_ALL_NO_LIB) && !defined(BOOST_LOCALE_NO_LIB) && !defined(BOOST_LOCALE_SOURCE)
18 // Set the name of our library, this will get undef'ed by auto_link.hpp
19 // once it's done with it:
21 #define BOOST_LIB_NAME boost_locale
23 // If we're importing code from a dll, then tell auto_link.hpp about it:
25 #if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_LOCALE_DYN_LINK)
26 # define BOOST_DYN_LINK
29 // And include the header that does the work:
31 #include <boost/config/auto_link.hpp>
32 #endif // auto-linking disabled
35 #endif // boost/locale/config.hpp
36 // vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4