| 1 | /* |
| 2 | * |
| 3 | * Copyright (c) 1998-2004 |
| 4 | * John Maddock |
| 5 | * |
| 6 | * Use, modification and distribution are subject to the |
| 7 | * Boost Software License, Version 1.0. (See accompanying file |
| 8 | * LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) |
| 9 | * |
| 10 | */ |
| 11 | |
| 12 | /* |
| 13 | * LOCATION: see http://www.boost.org for most recent version. |
| 14 | * FILE: regex_debug.cpp |
| 15 | * VERSION: see <boost/version.hpp> |
| 16 | * DESCRIPTION: Misc. debugging helpers. |
| 17 | */ |
| 18 | |
| 19 | |
| 20 | #define BOOST_REGEX_SOURCE |
| 21 | |
| 22 | #include <boost/regex/config.hpp> |
| 23 | |
| 24 | |
| 25 | // |
| 26 | // regex configuration information: this prints out the settings used |
| 27 | // when the library was built - include in debugging builds only: |
| 28 | // |
| 29 | #ifdef BOOST_REGEX_CONFIG_INFO |
| 30 | |
| 31 | #define print_macro regex_lib_print_macro |
| 32 | #define print_expression regex_lib_print_expression |
| 33 | #define print_byte_order regex_lib_print_byte_order |
| 34 | #define print_sign regex_lib_print_sign |
| 35 | #define print_compiler_macros regex_lib_print_compiler_macros |
| 36 | #define print_stdlib_macros regex_lib_print_stdlib_macros |
| 37 | #define print_platform_macros regex_lib_print_platform_macros |
| 38 | #define print_boost_macros regex_lib_print_boost_macros |
| 39 | #define print_separator regex_lib_print_separator |
| 40 | #define OLD_MAIN regex_lib_main |
| 41 | #define NEW_MAIN regex_lib_main2 |
| 42 | #define NO_RECURSE |
| 43 | |
| 44 | #include <libs/regex/test/config_info/regex_config_info.cpp> |
| 45 | |
| 46 | BOOST_REGEX_DECL void BOOST_REGEX_CALL print_regex_library_info() |
| 47 | { |
| 48 | std::cout << "\n\n" ; |
| 49 | print_separator(); |
| 50 | std::cout << "Regex library build configuration:\n\n" ; |
| 51 | regex_lib_main2(); |
| 52 | } |
| 53 | |
| 54 | #endif |
| 55 | |
| 56 | |
| 57 | |
| 58 | |
| 59 | |
| 60 | |