]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | // |
2 | // Copyright (c) 2009-2011 Artyom Beilis (Tonkikh) | |
3 | // | |
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) | |
7 | // | |
8 | #ifndef BOOST_LOCALE_CONFIG_HPP_INCLUDED | |
9 | #define BOOST_LOCALE_CONFIG_HPP_INCLUDED | |
10 | ||
11 | #include <boost/locale/definitions.hpp> | |
12 | ||
13 | // | |
14 | // Automatically link to the correct build variant where possible. | |
15 | // | |
16 | #if !defined(BOOST_ALL_NO_LIB) && !defined(BOOST_LOCALE_NO_LIB) && !defined(BOOST_LOCALE_SOURCE) | |
17 | // | |
18 | // Set the name of our library, this will get undef'ed by auto_link.hpp | |
19 | // once it's done with it: | |
20 | // | |
21 | #define BOOST_LIB_NAME boost_locale | |
22 | // | |
23 | // If we're importing code from a dll, then tell auto_link.hpp about it: | |
24 | // | |
25 | #if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_LOCALE_DYN_LINK) | |
26 | # define BOOST_DYN_LINK | |
27 | #endif | |
28 | // | |
29 | // And include the header that does the work: | |
30 | // | |
31 | #include <boost/config/auto_link.hpp> | |
32 | #endif // auto-linking disabled | |
33 | ||
34 | ||
35 | #endif // boost/locale/config.hpp | |
36 | // vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4 | |
37 |