/home/coin/SVN-release/DyLP-1.2.0/DyLP/src/DylpStdLib/DylpConfig.h

Go to the documentation of this file.
00001 /*
00002   This file is part of the support library for the Dylp LP distribution.
00003 
00004         Copyright (C) 2005 -- 2007 Lou Hafer
00005 
00006         School of Computing Science
00007         Simon Fraser University
00008         Burnaby, B.C., V5A 1S6, Canada
00009         lou@cs.sfu.ca
00010 
00011   This code is licensed under the terms of the Common Public License (CPL).
00012 
00013   Include file for the configuration of Dylp.
00014 
00015   On systems where the code is configured with the configure script (i.e.,
00016   compilation is always done with HAVE_CONFIG_H defined), this header file
00017   includes the automatically generated header file config_dylp.h, then
00018   undefines macros that might configure with other ProjConfig.h files.
00019 
00020   On systems that are compiled in other ways (e.g., with the Developer
00021   Studio), the header file configall_system.h is included to define those
00022   macros that depend on the operating system and the compiler, followed by
00023   the defines used for configuration of dylp. A user can modify the default
00024   settings by editing this file.
00025 */
00026 
00027 #ifndef __DYLPCONFIG_H__
00028 
00029 #ifdef HAVE_CONFIG_H
00030 #include "config_dylp.h"
00031 
00032 /*
00033   Undefine macros that could conflict with those in other config.h files
00034 */
00035 
00036 #undef PACKAGE
00037 #undef PACKAGE_BUGREPORT
00038 #undef PACKAGE_NAME
00039 #undef PACKAGE_STRING
00040 #undef PACKAGE_TARNAME
00041 #undef PACKAGE_VERSION
00042 #undef VERSION
00043 
00044 #else /* HAVE_CONFIG_H */
00045 
00046 /*
00047   Include the COIN-wide system specific configure header (usually in
00048   BuildTools/inc).
00049 */
00050 
00051 #include "configall_system.h"
00052 
00053 /*
00054   Defines specific to dylp.
00055 */
00056 
00057 /*
00058   Define to the C type corresponding to the C++ bool type. `char' is
00059   correct on many systems. The next most likely choice is int.
00060 */
00061 #define BOOL char
00062 
00063 /*
00064   Define to the debug sanity check level (0 is no test)
00065 */
00066 #define COIN_DYLP_CHECKLEVEL 0
00067 
00068 /*
00069   But dylp was developed long before COIN came into being, so if you really
00070   want the paranoid checks, define PARANOIA. The value isn't important.
00071 */
00072 /* #define PARANOIA 1 */
00073 
00074 /*
00075   Define to the debug verbosity level (0 is no output)
00076 */
00077 #define COIN_DYLP_VERBOSITY 0
00078 /*
00079   But dylp was developed long before COIN came into being, so if you
00080   want informational printing, DO NOT define DYLP_NDEBUG. The value isn't
00081   important.
00082 */
00083 /* #undef DYLP_NDEBUG 1 */
00084 
00085 /*
00086   Define this variable to enable dylp's statistics collection features.
00087 */
00088 #define DYLP_STATISTICS 1
00089 
00090 /*
00091   Define to 1 if the DyLP package is available.
00092 */
00093 #define COIN_HAS_DYLP 1
00094 
00095 /*
00096   Set to the full path directory name for the location of the error text
00097    message file dy_errmsgs.txt. This file is distributed with dylp source and
00098    not normally installed elsewhere. An absolute path to DyLP/src/Dylp/ is
00099    appropriate. The string should end with a directory separator ("/" or "\",
00100    depending on your system). The surrounding quotes are part of the
00101    definition. There is no good default; the value given here will work from
00102    the examples directory, on a windows system, which seems the most likely
00103    environment to be using this part of DylpConfig.h.
00104 */
00105 /* #define DYLP_ERRMSGDIR "..\\src\\Dylp\\" */
00106 
00107 /*
00108   Define this symbol if your system is `big-endian', i.e., the most significant
00109   byte of a multibyte quantity is stored in the lowest byte address. Intel x86
00110   systems are little-endian. SPARC and Motorola are big-endian.
00111 */
00112 /* #define WORDS_BIGENDIAN 1 */
00113 
00114 /*
00115   Define this symbol if the quiet_nan function exists. This function should
00116   return the bit pattern for IEEE quiet NaN.
00117 */
00118 /* #define DYLP_HAS_QUIET_NAN 1 */
00119 
00120 /*
00121   Define to be the name of the C function used to check that an IEEE floating
00122   point value is finite. Common possibilities are finite, _finite, and
00123   isfinite.
00124 */
00125 #define DYLP_ISFINITE finite
00126 
00127 /*
00128   Define to be the name of the C function used to check that an IEEE floating
00129   point value is NaN. Common possibilities are isnan and _isnan.
00130 */
00131 #define DYLP_ISNAN isnan
00132 
00133 /*
00134   Define to 1 if sunmath.h exists. As you might guess, define this only on a
00135   Sun/Solaris system. And really, if you're building on Sun, why are you
00136   using this part of the configuration file? Run configure!
00137 */
00138 /* #define HAVE_SUNMATH_H 1 */
00139 
00140 #endif /* HAVE_CONFIG_H */
00141 
00142 #endif /*__DYLPCONFIG_H__*/

Generated on Fri May 16 16:28:28 2008 by  doxygen 1.4.7