source: trunk/yat/utility/config_public.h.in @ 3581

Last change on this file since 3581 was 3581, checked in by Peter, 6 years ago

refs #878

Make configure try to turn on compiler switches (such as -std=c++11),
so it supports rvalues. If found, #define YAT_HAVE_RVALUE, which can
be used both in source files and in header files. For header files,
<yat/utility/config_public.h> must be #included.

As detailed in README users can turn off cxx11 support when at
configure time of yat, or at compile time of user's package with
preprocessor definition YAT_WITHOUT_CXX.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
  • Property svndigest:ignore set to 1496
File size: 2.4 KB
Line 
1#ifndef _theplu_yat_utility_config_public_
2#define _theplu_yat_utility_config_public_
3
4// $Id: config_public.h.in 3581 2017-01-19 01:46:51Z peter $
5
6/*
7  Copyright (C) 2008 Jari Häkkinen, Peter Johansson
8  Copyright (C) 2009, 2011, 2013, 2014, 2015 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 you have the <bam/bam.h> header file.
32#undef YAT_HAVE_BAM_BAM_H
33
34/// Define to 1 if you have the <bam.h> header file.
35#undef YAT_HAVE_BAM_H
36
37/// Define to 1 if HTS is available
38#undef YAT_HAVE_HTSLIB
39
40/// Define to 1 if you have the <htslib/hts.h> header file.
41#undef YAT_HAVE_HTSLIB_HTS_H
42
43/// Define to 1 if you have the <hts.h> header file.
44#undef YAT_HAVE_HTS_H
45
46/// Define to 1 if yat is built with bam support
47#undef YAT_HAVE_LIBBAM
48
49/// Define to 1 if you have the <samtools/bam.h> header file.
50#undef YAT_HAVE_SAMTOOLS_BAM_H
51
52/// Define if compiler supports deprecated attribute, as in g++ 4.0
53#undef YAT_HAVE_GCC_DEPRECATED
54
55/// Define if compiler supports boost concept with constructor
56#undef YAT_HAVE_BOOST_CONCEPT_WITH_CONSTRUCTOR
57
58/// Don't turn on cxx11 features if user explicitely turned off cxx11.
59#ifndef YAT_WITHOUT_CXX11
60/// Define if compiler support rvalues */
61#undef YAT_HAVE_RVALUE
62#endif
63
64/// Define to 1 if boost::exception_ptr works
65#undef YAT_HAVE_WORKING_BOOST_EXCEPTION_PTR
66
67/// Define to 1 if boost::iterator_facade::operator-> works
68#undef YAT_HAVE_BOOST_ITERATOR_FACADE_PROXY_PTR
69
70/// Version of yat in string format
71#undef YAT_VERSION
72/// First digit in VERSION triplet
73#undef YAT_MAJOR_VERSION
74/// Second digit in VERSION triplet
75#undef YAT_MINOR_VERSION
76/// Third digit in VERSION triplet or zero if VERSION is MAJOR.MINOR
77#undef YAT_PATCH_VERSION
78/// true if dev build (version ends with pre
79#undef YAT_DEV_BUILD
80
81#endif
Note: See TracBrowser for help on using the repository browser.