1 | #ifndef _theplu_yat_utility_config_public_ |
---|
2 | #define _theplu_yat_utility_config_public_ |
---|
3 | |
---|
4 | // $Id: config_public.h.in 4102 2021-09-22 07:50:18Z peter $ |
---|
5 | |
---|
6 | /* |
---|
7 | Copyright (C) 2008 Jari Häkkinen, Peter Johansson |
---|
8 | Copyright (C) 2009, 2011, 2013, 2014, 2015, 2017, 2018, 2019, 2020 Peter Johansson |
---|
9 | |
---|
10 | This file is part of the yat library, http://dev.thep.lu.se/yat |
---|
11 | |
---|
12 | The yat library is free software; you can redistribute it and/or |
---|
13 | modify it under the terms of the GNU General Public License as |
---|
14 | published by the Free Software Foundation; either version 3 of the |
---|
15 | License, or (at your option) any later version. |
---|
16 | |
---|
17 | The yat library is distributed in the hope that it will be useful, |
---|
18 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
19 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
---|
20 | General Public License for more details. |
---|
21 | |
---|
22 | You should have received a copy of the GNU General Public License |
---|
23 | along with yat. If not, see <http://www.gnu.org/licenses/>. |
---|
24 | */ |
---|
25 | |
---|
26 | /// |
---|
27 | /// \file utility/config_public.h |
---|
28 | /// |
---|
29 | |
---|
30 | |
---|
31 | /// Define to 1 if htslib is available |
---|
32 | #undef YAT_HAVE_HTSLIB |
---|
33 | |
---|
34 | /// Define to 1 if you have the <htslib/hts.h> header file. |
---|
35 | #undef YAT_HAVE_HTSLIB_HTS_H |
---|
36 | |
---|
37 | /// This macro is deprated, left for backward compatibility with yat 0.17 |
---|
38 | #ifdef YAT_HAVE_HTSLIB |
---|
39 | #define YAT_HAVE_LIBBAM YAT_HAVE_HTSLIB |
---|
40 | #endif |
---|
41 | |
---|
42 | /// Define if compiler supports deprecated attribute, as in g++ 4.0 |
---|
43 | #undef YAT_HAVE_GCC_DEPRECATED |
---|
44 | |
---|
45 | /// Define if compiler supports boost concept with constructor |
---|
46 | #undef YAT_HAVE_BOOST_CONCEPT_WITH_CONSTRUCTOR |
---|
47 | |
---|
48 | /* Define if you have function std::string::contains */ |
---|
49 | #undef YAT_HAVE_FUNC_STRING_CONTAINS |
---|
50 | |
---|
51 | /* Define if you have function std::string::ends_with */ |
---|
52 | #undef YAT_HAVE_FUNC_STRING_ENDS_WITH |
---|
53 | |
---|
54 | /* Define if you have function std::string::starts_with */ |
---|
55 | #undef YAT_HAVE_FUNC_STRING_STARTS_WITH |
---|
56 | |
---|
57 | // macros below are always #defined, and only kept for backward |
---|
58 | // compatibility with yat 0.17 |
---|
59 | |
---|
60 | /// Define if compiler supports rvalues */ |
---|
61 | #define YAT_HAVE_RVALUE 1 |
---|
62 | /// Define if compiler supports atomic */ |
---|
63 | #define YAT_HAVE_ATOMIC 1 |
---|
64 | /// Define if std::log2 exists |
---|
65 | #define YAT_HAVE_LOG2 1 |
---|
66 | /// Define if std::throw_if_nested exists |
---|
67 | #define YAT_HAVE_THROW_IF_NESTED 1 |
---|
68 | |
---|
69 | /// Define to 1 if boost::exception_ptr works |
---|
70 | #undef YAT_HAVE_WORKING_BOOST_EXCEPTION_PTR |
---|
71 | |
---|
72 | /// Define to 1 if boost::iterator_facade::operator-> works |
---|
73 | #undef YAT_HAVE_BOOST_ITERATOR_FACADE_PROXY_PTR |
---|
74 | |
---|
75 | /// Version of yat in string format |
---|
76 | #undef YAT_VERSION |
---|
77 | /// First digit in VERSION triplet |
---|
78 | #undef YAT_MAJOR_VERSION |
---|
79 | /// Second digit in VERSION triplet |
---|
80 | #undef YAT_MINOR_VERSION |
---|
81 | /// Third digit in VERSION triplet or zero if VERSION is MAJOR.MINOR |
---|
82 | #undef YAT_PATCH_VERSION |
---|
83 | /// true if dev build (version ends with pre |
---|
84 | #undef YAT_DEV_BUILD |
---|
85 | |
---|
86 | #endif |
---|