config.hpp 1.0 KB

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