]> git.lyx.org Git - lyx.git/blob - 3rdparty/boost/boost/config/auto_link.hpp
Update to boost 1.81
[lyx.git] / 3rdparty / boost / boost / config / auto_link.hpp
1 //  (C) Copyright John Maddock 2003.
2 //  Use, modification and distribution are subject to the
3 //  Boost Software License, Version 1.0. (See accompanying file
4 //  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5
6  /*
7   *   LOCATION:    see http://www.boost.org for most recent version.
8   *   FILE         auto_link.hpp
9   *   VERSION      see <boost/version.hpp>
10   *   DESCRIPTION: Automatic library inclusion for Borland/Microsoft compilers.
11   */
12
13 /*************************************************************************
14
15 USAGE:
16 ~~~~~~
17
18 Before including this header you must define one or more of define the following macros:
19
20 BOOST_LIB_NAME:           Required: A string containing the basename of the library,
21                           for example boost_regex.
22 BOOST_LIB_TOOLSET:        Optional: the base name of the toolset.
23 BOOST_DYN_LINK:           Optional: when set link to dll rather than static library.
24 BOOST_LIB_DIAGNOSTIC:     Optional: when set the header will print out the name
25                           of the library selected (useful for debugging).
26 BOOST_AUTO_LINK_NOMANGLE: Specifies that we should link to BOOST_LIB_NAME.lib,
27                           rather than a mangled-name version.
28 BOOST_AUTO_LINK_TAGGED:   Specifies that we link to libraries built with the --layout=tagged option.
29                           This is essentially the same as the default name-mangled version, but without
30                           the compiler name and version, or the Boost version.  Just the build options.
31 BOOST_AUTO_LINK_SYSTEM:   Specifies that we link to libraries built with the --layout=system option.
32                           This is essentially the same as the non-name-mangled version, but with
33                           the prefix to differentiate static and dll builds
34
35 These macros will be undef'ed at the end of the header, further this header
36 has no include guards - so be sure to include it only once from your library!
37
38 Algorithm:
39 ~~~~~~~~~~
40
41 Libraries for Borland and Microsoft compilers are automatically
42 selected here, the name of the lib is selected according to the following
43 formula:
44
45 BOOST_LIB_PREFIX
46    + BOOST_LIB_NAME
47    + "_"
48    + BOOST_LIB_TOOLSET
49    + BOOST_LIB_THREAD_OPT
50    + BOOST_LIB_RT_OPT
51    + BOOST_LIB_ARCH_AND_MODEL_OPT
52    "-"
53    + BOOST_LIB_VERSION
54    + BOOST_LIB_SUFFIX
55
56 These are defined as:
57
58 BOOST_LIB_PREFIX:     "lib" for static libraries otherwise "".
59
60 BOOST_LIB_NAME:       The base name of the lib ( for example boost_regex).
61
62 BOOST_LIB_TOOLSET:    The compiler toolset name (vc6, vc7, bcb5 etc).
63
64 BOOST_LIB_THREAD_OPT: "-mt" for multithread builds, otherwise nothing.
65
66 BOOST_LIB_RT_OPT:     A suffix that indicates the runtime library used,
67                       contains one or more of the following letters after
68                       a hyphen:
69
70                       s      static runtime (dynamic if not present).
71                       g      debug/diagnostic runtime (release if not present).
72                       y      Python debug/diagnostic runtime (release if not present).
73                       d      debug build (release if not present).
74                       p      STLport build.
75                       n      STLport build without its IOStreams.
76
77 BOOST_LIB_ARCH_AND_MODEL_OPT: The architecture and address model
78                               (-x32 or -x64 for x86/32 and x86/64 respectively)
79
80 BOOST_LIB_VERSION:    The Boost version, in the form x_y, for Boost version x.y.
81
82 BOOST_LIB_SUFFIX:     Static/import libraries extension (".lib", ".a") for the compiler.
83
84 ***************************************************************************/
85
86 #ifdef __cplusplus
87 #  ifndef BOOST_CONFIG_HPP
88 #     include <boost/config.hpp>
89 #  endif
90 #elif defined(_MSC_VER) && !defined(__MWERKS__) && !defined(__EDG_VERSION__)
91 //
92 // C language compatability (no, honestly)
93 //
94 #  define BOOST_MSVC _MSC_VER
95 #  define BOOST_STRINGIZE(X) BOOST_DO_STRINGIZE(X)
96 #  define BOOST_DO_STRINGIZE(X) #X
97 #endif
98 //
99 // Only include what follows for known and supported compilers:
100 //
101 #if defined(BOOST_MSVC) \
102     || defined(BOOST_EMBTC_WINDOWS) \
103     || defined(BOOST_BORLANDC) \
104     || (defined(__MWERKS__) && defined(_WIN32) && (__MWERKS__ >= 0x3000)) \
105     || (defined(__ICL) && defined(_MSC_EXTENSIONS) && (_MSC_VER >= 1200)) \
106     || (defined(BOOST_CLANG) && defined(BOOST_WINDOWS) && defined(_MSC_VER) && (__clang_major__ >= 4))
107
108 #ifndef BOOST_VERSION_HPP
109 #  include <boost/version.hpp>
110 #endif
111
112 #ifndef BOOST_LIB_NAME
113 #  error "Macro BOOST_LIB_NAME not set (internal error)"
114 #endif
115
116 //
117 // error check:
118 //
119 #if defined(__MSVC_RUNTIME_CHECKS) && !defined(_DEBUG)
120 #  pragma message("Using the /RTC option without specifying a debug runtime will lead to linker errors")
121 #  pragma message("Hint: go to the code generation options and switch to one of the debugging runtimes")
122 #  error "Incompatible build options"
123 #endif
124 //
125 // select toolset if not defined already:
126 //
127 #ifndef BOOST_LIB_TOOLSET
128 #  if defined(BOOST_MSVC) && (BOOST_MSVC < 1200)
129     // Note: no compilers before 1200 are supported
130 #  elif defined(BOOST_MSVC) && (BOOST_MSVC < 1300)
131
132 #    ifdef UNDER_CE
133        // eVC4:
134 #      define BOOST_LIB_TOOLSET "evc4"
135 #    else
136        // vc6:
137 #      define BOOST_LIB_TOOLSET "vc6"
138 #    endif
139
140 #  elif defined(BOOST_MSVC) && (BOOST_MSVC < 1310)
141
142      // vc7:
143 #    define BOOST_LIB_TOOLSET "vc7"
144
145 #  elif defined(BOOST_MSVC) && (BOOST_MSVC < 1400)
146
147      // vc71:
148 #    define BOOST_LIB_TOOLSET "vc71"
149
150 #  elif defined(BOOST_MSVC) && (BOOST_MSVC < 1500)
151
152      // vc80:
153 #    define BOOST_LIB_TOOLSET "vc80"
154
155 #  elif defined(BOOST_MSVC) && (BOOST_MSVC < 1600)
156
157      // vc90:
158 #    define BOOST_LIB_TOOLSET "vc90"
159
160 #  elif defined(BOOST_MSVC) && (BOOST_MSVC < 1700)
161
162      // vc10:
163 #    define BOOST_LIB_TOOLSET "vc100"
164
165 #  elif defined(BOOST_MSVC) && (BOOST_MSVC < 1800)
166
167      // vc11:
168 #    define BOOST_LIB_TOOLSET "vc110"
169
170 #  elif defined(BOOST_MSVC) && (BOOST_MSVC < 1900)
171
172      // vc12:
173 #    define BOOST_LIB_TOOLSET "vc120"
174
175 #  elif defined(BOOST_MSVC) && (BOOST_MSVC < 1910)
176
177      // vc14:
178 #    define BOOST_LIB_TOOLSET "vc140"
179
180 #  elif defined(BOOST_MSVC) && (BOOST_MSVC < 1920)
181
182      // vc14.1:
183 #    define BOOST_LIB_TOOLSET "vc141"
184
185 #  elif defined(BOOST_MSVC) && (BOOST_MSVC < 1930)
186
187      // vc14.2:
188 #    define BOOST_LIB_TOOLSET "vc142"
189
190 #  elif defined(BOOST_MSVC)
191
192      // vc14.3:
193 #    define BOOST_LIB_TOOLSET "vc143"
194
195 #  elif defined(BOOST_EMBTC_WINDOWS)
196
197      // Embarcadero Clang based compilers:
198 #    define BOOST_LIB_TOOLSET "embtc"
199
200 #  elif defined(BOOST_BORLANDC)
201
202      // CBuilder 6:
203 #    define BOOST_LIB_TOOLSET "bcb"
204
205 #  elif defined(__ICL)
206
207      // Intel C++, no version number:
208 #    define BOOST_LIB_TOOLSET "iw"
209
210 #  elif defined(__MWERKS__) && (__MWERKS__ <= 0x31FF )
211
212      // Metrowerks CodeWarrior 8.x
213 #    define BOOST_LIB_TOOLSET "cw8"
214
215 #  elif defined(__MWERKS__) && (__MWERKS__ <= 0x32FF )
216
217      // Metrowerks CodeWarrior 9.x
218 #    define BOOST_LIB_TOOLSET "cw9"
219
220 #  elif defined(BOOST_CLANG) && defined(BOOST_WINDOWS) && defined(_MSC_VER) && (__clang_major__ >= 4)
221
222      // Clang on Windows
223 #    define BOOST_LIB_TOOLSET "clangw" BOOST_STRINGIZE(__clang_major__)
224
225 #  endif
226 #endif // BOOST_LIB_TOOLSET
227
228 //
229 // select thread opt:
230 //
231 #if defined(_MT) || defined(__MT__)
232 #  define BOOST_LIB_THREAD_OPT "-mt"
233 #else
234 #  define BOOST_LIB_THREAD_OPT
235 #endif
236
237 #if defined(_MSC_VER) || defined(__MWERKS__)
238
239 #  ifdef _DLL
240
241 #     if (defined(__SGI_STL_PORT) || defined(_STLPORT_VERSION)) && (defined(_STLP_OWN_IOSTREAMS) || defined(__STL_OWN_IOSTREAMS))
242
243 #        if defined(_DEBUG) && (defined(__STL_DEBUG) || defined(_STLP_DEBUG))\
244                && defined(BOOST_DEBUG_PYTHON) && defined(BOOST_LINKING_PYTHON)
245 #            define BOOST_LIB_RT_OPT "-gydp"
246 #        elif defined(_DEBUG) && (defined(__STL_DEBUG) || defined(_STLP_DEBUG))
247 #            define BOOST_LIB_RT_OPT "-gdp"
248 #        elif defined(_DEBUG)\
249                && defined(BOOST_DEBUG_PYTHON) && defined(BOOST_LINKING_PYTHON)
250 #            define BOOST_LIB_RT_OPT "-gydp"
251 #            pragma message("warning: STLport debug versions are built with /D_STLP_DEBUG=1")
252 #            error "Build options aren't compatible with pre-built libraries"
253 #        elif defined(_DEBUG)
254 #            define BOOST_LIB_RT_OPT "-gdp"
255 #            pragma message("warning: STLport debug versions are built with /D_STLP_DEBUG=1")
256 #            error "Build options aren't compatible with pre-built libraries"
257 #        else
258 #            define BOOST_LIB_RT_OPT "-p"
259 #        endif
260
261 #     elif defined(__SGI_STL_PORT) || defined(_STLPORT_VERSION)
262
263 #        if defined(_DEBUG) && (defined(__STL_DEBUG) || defined(_STLP_DEBUG))\
264                && defined(BOOST_DEBUG_PYTHON) && defined(BOOST_LINKING_PYTHON)
265 #            define BOOST_LIB_RT_OPT "-gydpn"
266 #        elif defined(_DEBUG) && (defined(__STL_DEBUG) || defined(_STLP_DEBUG))
267 #            define BOOST_LIB_RT_OPT "-gdpn"
268 #        elif defined(_DEBUG)\
269                && defined(BOOST_DEBUG_PYTHON) && defined(BOOST_LINKING_PYTHON)
270 #            define BOOST_LIB_RT_OPT "-gydpn"
271 #            pragma message("warning: STLport debug versions are built with /D_STLP_DEBUG=1")
272 #            error "Build options aren't compatible with pre-built libraries"
273 #        elif defined(_DEBUG)
274 #            define BOOST_LIB_RT_OPT "-gdpn"
275 #            pragma message("warning: STLport debug versions are built with /D_STLP_DEBUG=1")
276 #            error "Build options aren't compatible with pre-built libraries"
277 #        else
278 #            define BOOST_LIB_RT_OPT "-pn"
279 #        endif
280
281 #     else
282
283 #        if defined(_DEBUG) && defined(BOOST_DEBUG_PYTHON) && defined(BOOST_LINKING_PYTHON)
284 #            define BOOST_LIB_RT_OPT "-gyd"
285 #        elif defined(_DEBUG)
286 #            define BOOST_LIB_RT_OPT "-gd"
287 #        else
288 #            define BOOST_LIB_RT_OPT
289 #        endif
290
291 #     endif
292
293 #  else
294
295 #     if (defined(__SGI_STL_PORT) || defined(_STLPORT_VERSION)) && (defined(_STLP_OWN_IOSTREAMS) || defined(__STL_OWN_IOSTREAMS))
296
297 #        if defined(_DEBUG) && (defined(__STL_DEBUG) || defined(_STLP_DEBUG))\
298                && defined(BOOST_DEBUG_PYTHON) && defined(BOOST_LINKING_PYTHON)
299 #            define BOOST_LIB_RT_OPT "-sgydp"
300 #        elif defined(_DEBUG) && (defined(__STL_DEBUG) || defined(_STLP_DEBUG))
301 #            define BOOST_LIB_RT_OPT "-sgdp"
302 #        elif defined(_DEBUG)\
303                && defined(BOOST_DEBUG_PYTHON) && defined(BOOST_LINKING_PYTHON)
304 #             define BOOST_LIB_RT_OPT "-sgydp"
305 #            pragma message("warning: STLport debug versions are built with /D_STLP_DEBUG=1")
306 #            error "Build options aren't compatible with pre-built libraries"
307 #        elif defined(_DEBUG)
308 #             define BOOST_LIB_RT_OPT "-sgdp"
309 #            pragma message("warning: STLport debug versions are built with /D_STLP_DEBUG=1")
310 #            error "Build options aren't compatible with pre-built libraries"
311 #        else
312 #            define BOOST_LIB_RT_OPT "-sp"
313 #        endif
314
315 #     elif defined(__SGI_STL_PORT) || defined(_STLPORT_VERSION)
316
317 #        if defined(_DEBUG) && (defined(__STL_DEBUG) || defined(_STLP_DEBUG))\
318                && defined(BOOST_DEBUG_PYTHON) && defined(BOOST_LINKING_PYTHON)
319 #            define BOOST_LIB_RT_OPT "-sgydpn"
320 #        elif defined(_DEBUG) && (defined(__STL_DEBUG) || defined(_STLP_DEBUG))
321 #            define BOOST_LIB_RT_OPT "-sgdpn"
322 #        elif defined(_DEBUG)\
323                && defined(BOOST_DEBUG_PYTHON) && defined(BOOST_LINKING_PYTHON)
324 #             define BOOST_LIB_RT_OPT "-sgydpn"
325 #            pragma message("warning: STLport debug versions are built with /D_STLP_DEBUG=1")
326 #            error "Build options aren't compatible with pre-built libraries"
327 #        elif defined(_DEBUG)
328 #             define BOOST_LIB_RT_OPT "-sgdpn"
329 #            pragma message("warning: STLport debug versions are built with /D_STLP_DEBUG=1")
330 #            error "Build options aren't compatible with pre-built libraries"
331 #        else
332 #            define BOOST_LIB_RT_OPT "-spn"
333 #        endif
334
335 #     else
336
337 #        if defined(_DEBUG)\
338                && defined(BOOST_DEBUG_PYTHON) && defined(BOOST_LINKING_PYTHON)
339 #             define BOOST_LIB_RT_OPT "-sgyd"
340 #        elif defined(_DEBUG)
341 #             define BOOST_LIB_RT_OPT "-sgd"
342 #        else
343 #            define BOOST_LIB_RT_OPT "-s"
344 #        endif
345
346 #     endif
347
348 #  endif
349
350 #elif defined(BOOST_EMBTC_WINDOWS)
351
352 #  ifdef _RTLDLL
353
354 #     if defined(_DEBUG)
355 #         define BOOST_LIB_RT_OPT "-d"
356 #     else
357 #         define BOOST_LIB_RT_OPT
358 #     endif
359
360 #  else
361
362 #     if defined(_DEBUG)
363 #         define BOOST_LIB_RT_OPT "-sd"
364 #     else
365 #         define BOOST_LIB_RT_OPT "-s"
366 #     endif
367
368 #  endif
369
370 #elif defined(BOOST_BORLANDC)
371
372 //
373 // figure out whether we want the debug builds or not:
374 //
375 #if BOOST_BORLANDC > 0x561
376 #pragma defineonoption BOOST_BORLAND_DEBUG -v
377 #endif
378 //
379 // sanity check:
380 //
381 #if defined(__STL_DEBUG) || defined(_STLP_DEBUG)
382 #error "Pre-built versions of the Boost libraries are not provided in STLport-debug form"
383 #endif
384
385 #  ifdef _RTLDLL
386
387 #     if defined(BOOST_BORLAND_DEBUG)\
388                && defined(BOOST_DEBUG_PYTHON) && defined(BOOST_LINKING_PYTHON)
389 #         define BOOST_LIB_RT_OPT "-yd"
390 #     elif defined(BOOST_BORLAND_DEBUG)
391 #         define BOOST_LIB_RT_OPT "-d"
392 #     elif defined(BOOST_DEBUG_PYTHON) && defined(BOOST_LINKING_PYTHON)
393 #         define BOOST_LIB_RT_OPT "-y"
394 #     else
395 #         define BOOST_LIB_RT_OPT
396 #     endif
397
398 #  else
399
400 #     if defined(BOOST_BORLAND_DEBUG)\
401                && defined(BOOST_DEBUG_PYTHON) && defined(BOOST_LINKING_PYTHON)
402 #         define BOOST_LIB_RT_OPT "-syd"
403 #     elif defined(BOOST_BORLAND_DEBUG)
404 #         define BOOST_LIB_RT_OPT "-sd"
405 #     elif defined(BOOST_DEBUG_PYTHON) && defined(BOOST_LINKING_PYTHON)
406 #         define BOOST_LIB_RT_OPT "-sy"
407 #     else
408 #         define BOOST_LIB_RT_OPT "-s"
409 #     endif
410
411 #  endif
412
413 #endif
414
415 //
416 // BOOST_LIB_ARCH_AND_MODEL_OPT
417 //
418
419 #if defined( _M_IX86 )
420 #  define BOOST_LIB_ARCH_AND_MODEL_OPT "-x32"
421 #elif defined( _M_X64 )
422 #  define BOOST_LIB_ARCH_AND_MODEL_OPT "-x64"
423 #elif defined( _M_ARM )
424 #  define BOOST_LIB_ARCH_AND_MODEL_OPT "-a32"
425 #elif defined( _M_ARM64 )
426 #  define BOOST_LIB_ARCH_AND_MODEL_OPT "-a64"
427 #endif
428
429 //
430 // select linkage opt:
431 //
432 #if (defined(_DLL) || defined(_RTLDLL)) && defined(BOOST_DYN_LINK)
433 #  define BOOST_LIB_PREFIX
434 #elif defined(BOOST_DYN_LINK)
435 #  error "Mixing a dll boost library with a static runtime is a really bad idea..."
436 #else
437 #  define BOOST_LIB_PREFIX "lib"
438 #endif
439
440 //
441 // now include the lib:
442 //
443 #if defined(BOOST_LIB_NAME) \
444       && defined(BOOST_LIB_PREFIX) \
445       && defined(BOOST_LIB_TOOLSET) \
446       && defined(BOOST_LIB_THREAD_OPT) \
447       && defined(BOOST_LIB_RT_OPT) \
448       && defined(BOOST_LIB_ARCH_AND_MODEL_OPT) \
449       && defined(BOOST_LIB_VERSION)
450
451 #if defined(BOOST_EMBTC_WIN64)
452 #  define BOOST_LIB_SUFFIX ".a"
453 #else
454 #  define BOOST_LIB_SUFFIX ".lib"
455 #endif
456
457 #ifdef BOOST_AUTO_LINK_NOMANGLE
458 #  pragma comment(lib, BOOST_STRINGIZE(BOOST_LIB_NAME) BOOST_LIB_SUFFIX)
459 #  ifdef BOOST_LIB_DIAGNOSTIC
460 #     pragma message ("Linking to lib file: " BOOST_STRINGIZE(BOOST_LIB_NAME) BOOST_LIB_SUFFIX)
461 #  endif
462 #elif defined(BOOST_AUTO_LINK_TAGGED)
463 #  pragma comment(lib, BOOST_LIB_PREFIX BOOST_STRINGIZE(BOOST_LIB_NAME) BOOST_LIB_THREAD_OPT BOOST_LIB_RT_OPT BOOST_LIB_ARCH_AND_MODEL_OPT BOOST_LIB_SUFFIX)
464 #  ifdef BOOST_LIB_DIAGNOSTIC
465 #     pragma message ("Linking to lib file: " BOOST_LIB_PREFIX BOOST_STRINGIZE(BOOST_LIB_NAME) BOOST_LIB_THREAD_OPT BOOST_LIB_RT_OPT BOOST_LIB_ARCH_AND_MODEL_OPT BOOST_LIB_SUFFIX)
466 #  endif
467 #elif defined(BOOST_AUTO_LINK_SYSTEM)
468 #  pragma comment(lib, BOOST_LIB_PREFIX BOOST_STRINGIZE(BOOST_LIB_NAME) BOOST_LIB_SUFFIX)
469 #  ifdef BOOST_LIB_DIAGNOSTIC
470 #     pragma message ("Linking to lib file: " BOOST_LIB_PREFIX BOOST_STRINGIZE(BOOST_LIB_NAME) BOOST_LIB_SUFFIX)
471 #  endif
472 #elif defined(BOOST_LIB_BUILDID)
473 #  pragma comment(lib, BOOST_LIB_PREFIX BOOST_STRINGIZE(BOOST_LIB_NAME) "-" BOOST_LIB_TOOLSET BOOST_LIB_THREAD_OPT BOOST_LIB_RT_OPT BOOST_LIB_ARCH_AND_MODEL_OPT "-" BOOST_LIB_VERSION "-" BOOST_STRINGIZE(BOOST_LIB_BUILDID) BOOST_LIB_SUFFIX)
474 #  ifdef BOOST_LIB_DIAGNOSTIC
475 #     pragma message ("Linking to lib file: " BOOST_LIB_PREFIX BOOST_STRINGIZE(BOOST_LIB_NAME) "-" BOOST_LIB_TOOLSET BOOST_LIB_THREAD_OPT BOOST_LIB_RT_OPT BOOST_LIB_ARCH_AND_MODEL_OPT "-" BOOST_LIB_VERSION "-" BOOST_STRINGIZE(BOOST_LIB_BUILDID) BOOST_LIB_SUFFIX)
476 #  endif
477 #else
478 #  pragma comment(lib, BOOST_LIB_PREFIX BOOST_STRINGIZE(BOOST_LIB_NAME) "-" BOOST_LIB_TOOLSET BOOST_LIB_THREAD_OPT BOOST_LIB_RT_OPT BOOST_LIB_ARCH_AND_MODEL_OPT "-" BOOST_LIB_VERSION BOOST_LIB_SUFFIX)
479 #  ifdef BOOST_LIB_DIAGNOSTIC
480 #     pragma message ("Linking to lib file: " BOOST_LIB_PREFIX BOOST_STRINGIZE(BOOST_LIB_NAME) "-" BOOST_LIB_TOOLSET BOOST_LIB_THREAD_OPT BOOST_LIB_RT_OPT BOOST_LIB_ARCH_AND_MODEL_OPT "-" BOOST_LIB_VERSION BOOST_LIB_SUFFIX)
481 #  endif
482 #endif
483
484 #else
485 #  error "some required macros where not defined (internal logic error)."
486 #endif
487
488
489 #endif // _MSC_VER || __BORLANDC__
490
491 //
492 // finally undef any macros we may have set:
493 //
494 #ifdef BOOST_LIB_PREFIX
495 #  undef BOOST_LIB_PREFIX
496 #endif
497 #if defined(BOOST_LIB_NAME)
498 #  undef BOOST_LIB_NAME
499 #endif
500 // Don't undef this one: it can be set by the user and should be the 
501 // same for all libraries:
502 //#if defined(BOOST_LIB_TOOLSET)
503 //#  undef BOOST_LIB_TOOLSET
504 //#endif
505 #if defined(BOOST_LIB_THREAD_OPT)
506 #  undef BOOST_LIB_THREAD_OPT
507 #endif
508 #if defined(BOOST_LIB_RT_OPT)
509 #  undef BOOST_LIB_RT_OPT
510 #endif
511 #if defined(BOOST_LIB_ARCH_AND_MODEL_OPT)
512 #  undef BOOST_LIB_ARCH_AND_MODEL_OPT
513 #endif
514 #if defined(BOOST_LIB_LINK_OPT)
515 #  undef BOOST_LIB_LINK_OPT
516 #endif
517 #if defined(BOOST_LIB_DEBUG_OPT)
518 #  undef BOOST_LIB_DEBUG_OPT
519 #endif
520 #if defined(BOOST_DYN_LINK)
521 #  undef BOOST_DYN_LINK
522 #endif
523 #if defined(BOOST_LIB_SUFFIX)
524 #  undef BOOST_LIB_SUFFIX
525 #endif