00001 /* 00002 * Include file for the configuration of Osi. 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 __OSCONFIG_H__ 00021 00022 00023 00024 #ifdef HAVE_CONFIG_H 00025 // undefine the following in case already defined in CppAD package 00026 #undef PACKAGE 00027 #undef PACKAGE_BUGREPORT 00028 #undef PACKAGE_NAME 00029 #undef PACKAGE_STRING 00030 #undef PACKAGE_TARNAME 00031 #undef PACKAGE_VERSION 00032 #undef VERSION 00033 00034 #ifndef MSVISUALSTUDIO 00035 #include "config_os.h" 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 VERSION 00047 00048 #else /* HAVE_CONFIG_H */ 00049 00050 /* include the COIN-wide system specific configure header */ 00051 // kipp look at this later 00052 //#include "configall_system.h" 00053 00054 /***************************************************************************/ 00055 /* HERE DEFINE THE CONFIGURATION SPECIFIC MACROS */ 00056 /***************************************************************************/ 00057 00058 /* If defined, debug sanity checks are performed during runtime */ 00059 /* #define COIN_DEBUG 1 */ 00060 00061 /* Define to 1 if the Clp package is used */ 00062 #define COIN_HAS_CLP 1 00063 00064 /* Define to 1 if the Cgl package is used */ 00065 #define COIN_HAS_CGL 1 00066 00067 00068 /* Define to 1 if the CoinUtils package is used */ 00069 #define COIN_HAS_COINUTILS 1 00070 00071 /* Define to 1 if the CBC package is used */ 00072 #define COIN_HAS_CBC 1 00073 00074 /* Define to 1 if the OSI package is used */ 00075 #define COIN_HAS_OSI 1 00076 00077 /* Define to 1 if the Vol package is used */ 00078 #define COIN_HAS_VOL 1 00079 00080 00081 00082 00083 #endif /* HAVE_CONFIG_H */ 00084 #endif /*__HAVE_COINUTILS_CONFIG_H__*/ 00085 #ifdef WIN_ 00086 #ifndef _SYS_UNISTD_H 00087 #define _SYS_UNISTD_H 00088 #endif 00089 #endif