DylpConfig.h
Go to the documentation of this file.
1 /*
2  This file is part of the support library for the Dylp LP distribution.
3 
4  Copyright (C) 2005 -- 2007 Lou Hafer
5 
6  School of Computing Science
7  Simon Fraser University
8  Burnaby, B.C., V5A 1S6, Canada
9  lou@cs.sfu.ca
10 
11  This code is licensed under the terms of the Common Public License (CPL).
12 
13  Include file for the configuration of Dylp.
14 
15  On systems where the code is configured with the configure script (i.e.,
16  compilation is always done with HAVE_CONFIG_H defined), this header file
17  includes the automatically generated header file config_dylp.h, then
18  undefines macros that might configure with other ProjConfig.h files.
19 
20  On systems where the code is built using some other approach (e.g., Windows
21  with MS Visual Studio), the header file configall_system.h is included to
22  define those macros that depend on the operating system and the compiler,
23  followed by the defines used for configuration of dylp. A user can modify
24  the default settings by editing this file.
25 */
26 
27 #ifndef __DYLPCONFIG_H__
28 #define __DYLPCONFIG_H__
29 
30 #ifdef HAVE_CONFIG_H
31 #include "config_dylp.h"
32 
33 /*
34  Undefine macros that could conflict with those in other config.h files
35 */
36 
37 #undef PACKAGE
38 #undef PACKAGE_BUGREPORT
39 #undef PACKAGE_NAME
40 #undef PACKAGE_STRING
41 #undef PACKAGE_TARNAME
42 #undef PACKAGE_VERSION
43 #undef VERSION
44 
45 #else /* HAVE_CONFIG_H */
46 
47 /*
48  Include the COIN-wide system specific configure header (usually in
49  BuildTools/inc).
50 */
51 
52 #include "configall_system.h"
53 
54 /*
55  Defines specific to dylp.
56 */
57 
58 /*
59  Define to the C type corresponding to the C++ bool type. `char' is
60  correct on many systems. The next most likely choice is int.
61 */
62 #define BOOL char
63 
64 /*
65  Define to the debug sanity check level (0 is no test)
66 */
67 #define COIN_DYLP_CHECKLEVEL 0
68 
69 /*
70  But dylp was developed long before COIN came into being, so if you really
71  want the paranoid checks, define DYLP_PARANOIA. The value isn't important.
72 */
73 /* #define DYLP_PARANOIA 1 */
74 
75 /*
76  Define to the debug verbosity level (0 is no output)
77 */
78 #define COIN_DYLP_VERBOSITY 0
79 /*
80  But dylp was developed long before COIN came into being, so if you
81  want informational printing, DO NOT define DYLP_NDEBUG. The value isn't
82  important.
83 */
84 /* #undef DYLP_NDEBUG 1 */
85 
86 /*
87  Define this variable to enable dylp's statistics collection features.
88 */
89 #define DYLP_STATISTICS 1
90 
91 /*
92  Define to 1 if the DyLP package is available.
93 */
94 #define COIN_HAS_DYLP 1
95 
96 /*
97  Set to the full path directory name for the location of the error text
98  message file dy_errmsgs.txt. This file is distributed with dylp source and
99  not normally installed elsewhere. An absolute path to DyLP/src/Dylp/ is
100  appropriate. The string should end with a directory separator ("/" or "\",
101  depending on your system). The surrounding quotes are part of the
102  definition. There is no good default; the value given here will work from
103  the examples directory, on a windows system, which seems the most likely
104  environment to be using this part of DylpConfig.h.
105 */
106 /* #define DYLP_ERRMSGDIR "..\\src\\Dylp\\" */
107 
108 /*
109  Define this symbol if your system is `big-endian', i.e., the most significant
110  byte of a multibyte quantity is stored in the lowest byte address. Intel x86
111  systems are little-endian. SPARC and Motorola are big-endian.
112 */
113 /* #define WORDS_BIGENDIAN 1 */
114 
115 /*
116  Define this symbol if the quiet_nan function exists. This function should
117  return the bit pattern for IEEE quiet NaN.
118 */
119 /* #define DYLP_HAS_QUIET_NAN 1 */
120 
121 /*
122  Define to be the name of the C function used to check that an IEEE floating
123  point value is finite. Common possibilities are finite, _finite, and
124  isfinite.
125 */
126 #define DYLP_ISFINITE finite
127 
128 /*
129  Define to be the name of the C function used to check that an IEEE floating
130  point value is NaN. Common possibilities are isnan and _isnan.
131 */
132 #define DYLP_ISNAN isnan
133 
134 /*
135  Define to 1 if sunmath.h exists. As you might guess, define this only on a
136  Sun/Solaris system. And really, if you're building on Sun, why are you
137  using this part of the configuration file? Run configure!
138 */
139 /* #define HAVE_SUNMATH_H 1 */
140 
141 /*
142  Dylp version number.
143 */
144 #define DYLP_VERSION "1.6.0"
145 
146 
147 #endif /* HAVE_CONFIG_H */
148 
149 #endif /*__DYLPCONFIG_H__*/