00001 /* 00002 * Include file for the configuration of Alps. 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 __BCPCONFIG_H__ 00021 00022 #ifdef HAVE_CONFIG_H 00023 #include "config_bcp.h" 00024 00025 /* undefine macros that could conflict with those in other config.h 00026 files */ 00027 #undef PACKAGE 00028 #undef PACKAGE_BUGREPORT 00029 #undef PACKAGE_NAME 00030 #undef PACKAGE_STRING 00031 #undef PACKAGE_TARNAME 00032 #undef PACKAGE_VERSION 00033 #undef VERSION 00034 00035 #else /* HAVE_CONFIG_H */ 00036 00037 /* include the COIN-wide system specific configure header */ 00038 #include "configall_system.h" 00039 00040 /***************************************************************************/ 00041 /* HERE DEFINE THE CONFIGURATION SPECIFIC MACROS */ 00042 /***************************************************************************/ 00043 00044 /* If defined, debug sanity checks are performed during runtime */ 00045 /* #define COIN_DEBUG 1 */ 00046 00047 /* Define to 1 if the CoinUtils package is used */ 00048 #define COIN_HAS_COINUTILS 1 00049 00050 /* Define to 1 if the Mpi package is used */ 00051 /* #define COIN_HAS_MPI 1 */ 00052 00053 /* a few things that exists under unix, but not under windows */ 00054 #include <Windows.h> 00055 #define gethostname(c, l) { DWORD cnlen = l; GetComputerName(c, &cnlen); } 00056 #include <process.h> 00057 00058 #endif /* HAVE_CONFIG_H */ 00059 00060 #endif /*__HAVE_BCP_CONFIG_H__*/