PLplot: plConfig.h Source File

PLplot 5.10.0

- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
plConfig.h
Go to the documentation of this file.
1 // -*-C-*-
2 // $Id: plConfig.h.in 12914 2013-12-29 20:11:07Z airwin $
3 //
4 // Maurice LeBrun
5 // IFS, University of Texas at Austin
6 // 18-Jul-1994
7 //
8 // Copyright (C) 2004-2013 Alan W. Irwin
9 // Copyright (C) 2004 Rafael Laboissiere
10 // Copyright (C) 2004 Joao Cardoso
11 //
12 // This file is part of PLplot.
13 //
14 // PLplot is free software; you can redistribute it and/or modify
15 // it under the terms of the GNU Library General Public License as published
16 // by the Free Software Foundation; either version 2 of the License, or
17 // (at your option) any later version.
18 //
19 // PLplot is distributed in the hope that it will be useful,
20 // but WITHOUT ANY WARRANTY; without even the implied warranty of
21 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 // GNU Library General Public License for more details.
23 //
24 // You should have received a copy of the GNU Library General Public License
25 // along with PLplot; if not, write to the Free Software
26 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
27
28 // Configured (by CMake) macros for PLplot that are required for the
29 // core build and the build of the installed examples (and presumably
30 // any user applications). Therefore, the configured plConfig.h
31 // should be installed. In contrast, plplot_config.h.in (note,
32 // plConfig.h #includes plplot_config.h for the core build because
33 // HAVE_CONFIG_H is #defined in that case) contains configured macros
34 // that are only required for the core build. Therefore, in contrast
35 // to plConfig.h, plplot_config.h should not be installed.
36 //
37 // Maintenance issue: in makes no sense to configure duplicate macros
38 // for both plplot_config.h and plConfig.h. Therefore, when adding a macro
39 // decide which file to put it in depending on whether the result is
40 // needed for the installed examples build or not. Furthermore, move
41 // configured macros from one file to the other as needed depending on
42 // that criterion, but do not copy them.
43
44 #ifndef __PLCONFIG_H__
45 #define __PLCONFIG_H__
46
47 #ifdef HAVE_CONFIG_H
48 # include <plplot_config.h>
49 #endif
50
51 // Define if you have c++ accessible stdint.h
52 #define PL_HAVE_CXX_STDINT_H
53
54 // Define if snprintf is available
55 #ifndef PL_HAVE_SNPRINTF
56 #define PL_HAVE_SNPRINTF
57 #endif
58
59 // Define if _snprintf is available
60 #ifndef _PL_HAVE_SNPRINTF
61 /* #undef _PL_HAVE_SNPRINTF */
62 #endif
63
64 // Define if isfinite is available
65 #define PL_HAVE_ISFINITE
66
67 // Define if finite is available
68 /* #undef PL_HAVE_FINITE */
69
70 // Define if _finite is available
71 /* #undef PL__HAVE_FINITE */
72
73 // Define if isinf is available
74 #define PL_HAVE_ISINF
75
76 // Define if _isinf is available
77 /* #undef PL__HAVE_ISINF */
78
79 // Define if isnan is available
80 #define PL_HAVE_ISNAN
81
82 // Define if _isnan is available
83 /* #undef PL__HAVE_ISNAN */
84
85 // Define to 1 if you have the <stdint.h> header file.
86 #define PL_HAVE_STDINT_H 1
87
88 // Define to 1 if you have the <unistd.h> header file.
89 #define PL_HAVE_UNISTD_H 1
90
91 // Define if nanosleep is available
92 #define PL_HAVE_NANOSLEEP
93
94 // Define if you want PLplot's float type to be double
95 #define PL_DOUBLE
96
97 // Define if C++ compiler accepts using namespace
98 #define PL_USE_NAMESPACE
99
100 // Define if isnan is present in <math.h> but not in <cmath>
101 // - broken Mac OSX systems
102 /* #undef PL_BROKEN_ISNAN_CXX */
103
104 #endif // __PLCONFIG_H__