00001 /* 00002 * Include file for the configuration of GAMSlinks. 00003 * 00004 * On systems where the code is configured with the configure script 00005 * (i.e., compilation is always done with HAVE_CONFIG_H defined), this 00006 * header file includes the automatically generated header file, and 00007 * undefines macros that might configure with other Config.h files. 00008 * 00009 * On systems that are compiled in other ways (e.g., with the 00010 * Developer Studio), a header files is included to define those 00011 * macros that depend on the operating system and the compiler. The 00012 * macros that define the configuration of the particular user setting 00013 * (e.g., presence of other COIN packages or third party code) are set 00014 * here. The project maintainer needs to remember to update this file 00015 * and choose reasonable defines. A user can modify the default 00016 * setting by editing this file here. 00017 * 00018 */ 00019 00020 #ifndef __GAMSLINKSCONFIG_H__ 00021 #define __GAMSLINKSCONFIG_H__ 00022 00023 #if defined(_MSC_VER) 00024 #include <windows.h> 00025 #endif 00026 00027 #ifdef HAVE_CONFIG_H 00028 #include "config_gamslinks.h" 00029 00030 #ifndef HAVE_SNPRINTF 00031 #ifdef HAVE__SNPRINTF 00032 #define snprintf _snprintf 00033 #else 00034 #error "Do not have snprintf of _snprintf." 00035 #endif 00036 #endif 00037 00038 /* undefine macros that could conflict with those in other config.h 00039 files */ 00040 #undef PACKAGE 00041 #undef PACKAGE_BUGREPORT 00042 #undef PACKAGE_NAME 00043 #undef PACKAGE_STRING 00044 #undef PACKAGE_TARNAME 00045 #undef PACKAGE_VERSION 00046 #undef F77_DUMMY_MAIN 00047 #undef F77_FUNC 00048 #undef F77_FUNC_ 00049 #undef FC_DUMMY_MAIN_EQ_F77 00050 00051 #undef VERSION 00052 00053 #else /* HAVE_CONFIG_H */ 00054 00055 /* include the COIN-wide system specific configure header */ 00056 #include "configall_system.h" 00057 00058 /***************************************************************************/ 00059 /* HERE DEFINE THE CONFIGURATION SPECIFIC MACROS */ 00060 /***************************************************************************/ 00061 00062 /* Define to the debug sanity check level (0 is no test) */ 00063 #define COIN_GAMSLINKS_CHECKLEVEL 0 00064 00065 /* Define to the debug verbosity level (0 is no output) */ 00066 #define COIN_GAMSLINKS_VERBOSITY 0 00067 00068 /* If defined, the Ampl Solver Library is available. */ 00069 #define COIN_HAS_CBC 1 00070 00071 /* If defined, the BLAS Library is available. */ 00072 #define COIN_HAS_CGL 1 00073 00074 /* Define to 1 if the Ipopt package is used */ 00075 #define COIN_HAS_CLP 1 00076 00077 /* If defined, the LAPACK Library is available. */ 00078 #define COIN_HAS_COINUTILS 1 00079 00080 /* Define to 1 if the CoinUtils package is used */ 00081 #define COIN_HAS_COINUTILS 1 00082 00083 /* If defined, the GAMS I/O Library is available. */ 00084 #define COIN_HAS_GAMSIO 1 00085 00086 /* Define to 1 if the GAMSlinks package is used */ 00087 #define COIN_HAS_GAMSLINKS 1 00088 00089 /* Define to 1 if the Osi package is used */ 00090 #define COIN_HAS_OSI 1 00091 00092 #endif /* HAVE_CONFIG_H */ 00093 00094 #endif /*__GAMSLINKSCONFIG_H__*/