1 // Boost.TypeErasure library
2 //
3 // Copyright 2015 Steven Watanabe
4 //
5 // Distributed under the Boost Software License Version 1.0. (See
6 // accompanying file LICENSE_1_0.txt or copy at
7 // http://www.boost.org/LICENSE_1_0.txt)
8 //
9 // $Id$
10 
11 #ifndef BOOST_TYPE_ERASURE_DETAIL_AUTO_LINK_HPP_INCLUDED
12 #define BOOST_TYPE_ERASURE_DETAIL_AUTO_LINK_HPP_INCLUDED
13 
14 #include <boost/config.hpp>
15 
16 #if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_TYPE_ERASURE_DYN_LINK)
17     #ifdef BOOST_TYPE_ERASURE_SOURCE
18         #define BOOST_TYPE_ERASURE_DECL BOOST_SYMBOL_EXPORT
19     #else
20         #define BOOST_TYPE_ERASURE_DECL BOOST_SYMBOL_IMPORT
21     #endif
22 #else
23     #define BOOST_TYPE_ERASURE_DECL
24 #endif
25 
26 #if !defined(BOOST_ALL_NO_LIB) && !defined(BOOST_TYPE_ERASURE_NO_LIB) && !defined(BOOST_TYPE_ERASURE_SOURCE)
27 
28     #define BOOST_LIB_NAME boost_type_erasure
29 
30     #if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_TYPE_ERASURE_DYN_LINK)
31         #define BOOST_DYN_LINK
32     #endif
33 
34     #include <boost/config/auto_link.hpp>
35 
36 #endif
37 
38 #endif
39