]> git.lyx.org Git - lyx.git/blob - boost/boost/re_detail/regex_library_include.hpp
cvsignore ++
[lyx.git] / boost / boost / re_detail / regex_library_include.hpp
1 /*
2  *
3  * Copyright (c) 1998-2000
4  * Dr John Maddock
5  *
6  * Permission to use, copy, modify, distribute and sell this software
7  * and its documentation for any purpose is hereby granted without fee,
8  * provided that the above copyright notice appear in all copies and
9  * that both that copyright notice and this permission notice appear
10  * in supporting documentation.  Dr John Maddock makes no representations
11  * about the suitability of this software for any purpose.  
12  * It is provided "as is" without express or implied warranty.
13  *
14  */
15  
16  /*
17   *   LOCATION:    see http://www.boost.org for most recent version.
18   *   FILE         regex_libary_include.hpp
19   *   VERSION      3.03
20   *   DESCRIPTION: Automatic library inclusion for Borland/Microsoft compilers.
21   *                Note this is an internal header file included
22   *                by regex.hpp, do not include on its own.
23   */
24
25
26 #ifndef BOOST_REGEX_LIBRARY_INCLUDE_HPP
27 #define BOOST_REGEX_LIBRARY_INCLUDE_HPP
28 #ifndef BOOST_RE_NO_LIB
29
30 #if defined(BOOST_MSVC) && !defined(BOOST_RE_BUILD_DLL)
31 #ifdef __SGI_STL_PORT
32    #ifdef _DLL
33       #if defined(_DEBUG) && defined(__STL_DEBUG)
34          #pragma comment(lib, "vc6-stlport-re300ddl.lib")
35       #elif defined(_DEBUG)
36          #pragma comment(lib, "vc6-stlport-re300dl.lib")
37       #else // DEBUG
38          #pragma comment(lib, "vc6-stlport-re300l.lib")
39       #endif // _DEBUG
40    #else // _DLL
41       #ifdef _MT
42          #if defined(_DEBUG) && defined(__STL_DEBUG)
43             #pragma comment(lib, "vc6-stlport-re300ddm.lib")
44          #elif defined(_DEBUG)
45             #pragma comment(lib, "vc6-stlport-re300dm.lib")
46          #else //_DEBUG
47             #pragma comment(lib, "vc6-stlport-re300m.lib")
48          #endif //_DEBUG
49       #else //_MT
50          // STLPort does not support single threaded builds:
51          #error STLPort does not support single threaded builds
52       #endif //_MT
53    #endif //_DLL
54 #else
55    #ifdef _DLL
56       #ifdef _DEBUG
57          #pragma comment(lib, "vc6-re300dl.lib")
58       #else // DEBUG
59          #pragma comment(lib, "vc6-re300l.lib")
60       #endif // _DEBUG
61    #else // _DLL
62       #ifdef _MT
63          #ifdef _DEBUG
64             #pragma comment(lib, "vc6-re300dm.lib")
65          #else //_DEBUG
66             #pragma comment(lib, "vc6-re300m.lib")
67          #endif //_DEBUG
68       #else //_MT
69          #ifdef _DEBUG
70             #pragma comment(lib, "vc6-re300d.lib")
71          #else //_DEBUG
72             #pragma comment(lib, "vc6-re300.lib")
73          #endif //_DEBUG
74       #endif //_MT
75    #endif //_DLL
76 #endif // __SGI_STL_PORT
77 #endif //BOOST_MSVC
78
79
80 #if defined(__BORLANDC__) && !defined(BOOST_RE_BUILD_DLL)
81    
82    #if __BORLANDC__ < 0x550
83    
84    #ifdef BOOST_RE_USE_VCL
85    
86       #ifdef _RTLDLL
87          #pragma comment(lib, "bcb4re300lv.lib")
88       #else
89          #pragma comment(lib, "bcb4re300v.lib")
90       #endif
91    
92    #else // VCL
93    
94    #ifdef _RTLDLL
95       #ifdef __MT__
96          #pragma comment(lib, "bcb4re300lm.lib")
97       #else // __MT__
98          #pragma comment(lib, "bcb4re300l.lib")
99       #endif // __MT__
100    #else //_RTLDLL
101       #ifdef __MT__
102          #pragma comment(lib, "bcb4re300m.lib")
103       #else // __MT__
104          #pragma comment(lib, "bcb4re300.lib")
105       #endif // __MT__
106    #endif // _RTLDLL
107    
108    #endif // VCL
109    
110    #else // C++ Builder 5:
111
112    #ifdef BOOST_RE_USE_VCL
113    
114       #ifdef _RTLDLL
115          #pragma comment(lib, "bcb5re300lv.lib")
116       #else
117          #pragma comment(lib, "bcb5re300v.lib")
118       #endif
119    
120    #else // VCL
121    
122    #ifdef _RTLDLL
123       #ifdef __MT__
124          #pragma comment(lib, "bcb5re300lm.lib")
125       #else // __MT__
126          #pragma comment(lib, "bcb5re300l.lib")
127       #endif // __MT__
128    #else //_RTLDLL
129       #ifdef __MT__
130          #pragma comment(lib, "bcb5re300m.lib")
131       #else // __MT__
132          #pragma comment(lib, "bcb5re300.lib")
133       #endif // __MT__
134    #endif // _RTLDLL
135    
136    #endif // VCL
137    
138    #endif   
139    
140 #endif //__BORLANDC__
141
142 #endif //BOOST_RE_NO_LIB
143
144 #endif // BOOST_REGEX_LIBRARY_INCLUDE_HPP
145
146
147
148