GAMSlinks  0.4
GAMSlinksConfig.h
Go to the documentation of this file.
1 /*
2  * Include file for the configuration of GAMSlinks.
3  *
4  * On systems where the code is configured with the configure script
5  * (i.e., compilation is always done with HAVE_CONFIG_H defined), this
6  * header file includes the automatically generated header file, and
7  * undefines macros that might configure with other Config.h files.
8  *
9  * On systems that are compiled in other ways (e.g., with the
10  * Developer Studio), a header files is included to define those
11  * macros that depend on the operating system and the compiler. The
12  * macros that define the configuration of the particular user setting
13  * (e.g., presence of other COIN packages or third party code) are set
14  * here. The project maintainer needs to remember to update this file
15  * and choose reasonable defines. A user can modify the default
16  * setting by editing this file here.
17  *
18  */
19 
20 #ifndef __GAMSLINKSCONFIG_H__
21 #define __GAMSLINKSCONFIG_H__
22 
23 #if defined(_MSC_VER)
24 #include <windows.h>
25 #endif
26 
27 #ifdef HAVE_CONFIG_H
28 #include "config_gamslinks.h"
29 
30 #ifndef HAVE_SNPRINTF
31 #ifdef HAVE__SNPRINTF
32 #define snprintf _snprintf
33 #else
34 #error "Do not have snprintf of _snprintf."
35 #endif
36 #endif
37 
38 /* undefine macros that could conflict with those in other config.h
39  files */
40 #undef PACKAGE
41 #undef PACKAGE_BUGREPORT
42 #undef PACKAGE_NAME
43 #undef PACKAGE_STRING
44 #undef PACKAGE_TARNAME
45 #undef PACKAGE_VERSION
46 #undef F77_DUMMY_MAIN
47 #undef F77_FUNC
48 #undef F77_FUNC_
49 #undef FC_DUMMY_MAIN_EQ_F77
50 
51 #undef VERSION
52 
53 #else /* HAVE_CONFIG_H */
54 
55 /* include the COIN-wide system specific configure header */
56 #include "configall_system.h"
57 
58 /***************************************************************************/
59 /* HERE DEFINE THE CONFIGURATION SPECIFIC MACROS */
60 /***************************************************************************/
61 
62 /* Define to the debug sanity check level (0 is no test) */
63 #define COIN_GAMSLINKS_CHECKLEVEL 0
64 
65 /* Define to the debug verbosity level (0 is no output) */
66 #define COIN_GAMSLINKS_VERBOSITY 0
67 
68 /* If defined, the Ampl Solver Library is available. */
69 #define COIN_HAS_CBC 1
70 
71 /* If defined, the BLAS Library is available. */
72 #define COIN_HAS_CGL 1
73 
74 /* Define to 1 if the Ipopt package is used */
75 #define COIN_HAS_CLP 1
76 
77 /* If defined, the LAPACK Library is available. */
78 #define COIN_HAS_COINUTILS 1
79 
80 /* Define to 1 if the CoinUtils package is used */
81 #define COIN_HAS_COINUTILS 1
82 
83 /* If defined, the GAMS I/O Library is available. */
84 #define COIN_HAS_GAMSIO 1
85 
86 /* Define to 1 if the GAMSlinks package is used */
87 #define COIN_HAS_GAMSLINKS 1
88 
89 /* Define to 1 if the Osi package is used */
90 #define COIN_HAS_OSI 1
91 
92 #endif /* HAVE_CONFIG_H */
93 
94 #endif /*__GAMSLINKSCONFIG_H__*/