- Main Page
- Modules
- Namespaces
- Classes
- Files
- Related Pages

- File List
- File Members

# /home/coin/SVN-release/Cgl-0.55.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 #define __DYLPCONFIG_H__
    00029
    00030 #ifdef HAVE_CONFIG_H
    00031 #include "config_dylp.h"
    00032
    00033 /*
    00034   Undefine macros that could conflict with those in other config.h files
    00035 */
    00036
    00037 #undef PACKAGE
    00038 #undef PACKAGE_BUGREPORT
    00039 #undef PACKAGE_NAME
    00040 #undef PACKAGE_STRING
    00041 #undef PACKAGE_TARNAME
    00042 #undef PACKAGE_VERSION
    00043 #undef VERSION
    00044
    00045 #else /* HAVE_CONFIG_H */
    00046
    00047 /*
    00048   Include the COIN-wide system specific configure header (usually in
    00049   BuildTools/inc).
    00050 */
    00051
    00052 #include "configall_system.h"
    00053
    00054 /*
    00055   Defines specific to dylp.
    00056 */
    00057
    00058 /*
    00059   Define to the C type corresponding to the C++ bool type. `char' is
    00060   correct on many systems. The next most likely choice is int.
    00061 */
    00062 #define BOOL char
    00063
    00064 /*
    00065   Define to the debug sanity check level (0 is no test)
    00066 */
    00067 #define COIN_DYLP_CHECKLEVEL 0
    00068
    00069 /*
    00070   But dylp was developed long before COIN came into being, so if you really
    00071   want the paranoid checks, define DYLP_PARANOIA. The value isn't important.
    00072 */
    00073 /* #define DYLP_PARANOIA 1 */
    00074
    00075 /*
    00076   Define to the debug verbosity level (0 is no output)
    00077 */
    00078 #define COIN_DYLP_VERBOSITY 0
    00079 /*
    00080   But dylp was developed long before COIN came into being, so if you
    00081   want informational printing, DO NOT define DYLP_NDEBUG. The value isn't
    00082   important.
    00083 */
    00084 /* #undef DYLP_NDEBUG 1 */
    00085
    00086 /*
    00087   Define this variable to enable dylp's statistics collection features.
    00088 */
    00089 #define DYLP_STATISTICS 1
    00090
    00091 /*
    00092   Define to 1 if the DyLP package is available.
    00093 */
    00094 #define COIN_HAS_DYLP 1
    00095
    00096 /*
    00097   Set to the full path directory name for the location of the error text
    00098    message file dy_errmsgs.txt. This file is distributed with dylp source and
    00099    not normally installed elsewhere. An absolute path to DyLP/src/Dylp/ is
    00100    appropriate. The string should end with a directory separator ("/" or "\",
    00101    depending on your system). The surrounding quotes are part of the
    00102    definition. There is no good default; the value given here will work from
    00103    the examples directory, on a windows system, which seems the most likely
    00104    environment to be using this part of DylpConfig.h.
    00105 */
    00106 /* #define DYLP_ERRMSGDIR "..\\src\\Dylp\\" */
    00107
    00108 /*
    00109   Define this symbol if your system is `big-endian', i.e., the most significant
    00110   byte of a multibyte quantity is stored in the lowest byte address. Intel x86
    00111   systems are little-endian. SPARC and Motorola are big-endian.
    00112 */
    00113 /* #define WORDS_BIGENDIAN 1 */
    00114
    00115 /*
    00116   Define this symbol if the quiet_nan function exists. This function should
    00117   return the bit pattern for IEEE quiet NaN.
    00118 */
    00119 /* #define DYLP_HAS_QUIET_NAN 1 */
    00120
    00121 /*
    00122   Define to be the name of the C function used to check that an IEEE floating
    00123   point value is finite. Common possibilities are finite, _finite, and
    00124   isfinite.
    00125 */
    00126 #define DYLP_ISFINITE finite
    00127
    00128 /*
    00129   Define to be the name of the C function used to check that an IEEE floating
    00130   point value is NaN. Common possibilities are isnan and _isnan.
    00131 */
    00132 #define DYLP_ISNAN isnan
    00133
    00134 /*
    00135   Define to 1 if sunmath.h exists. As you might guess, define this only on a
    00136   Sun/Solaris system. And really, if you're building on Sun, why are you
    00137   using this part of the configuration file? Run configure!
    00138 */
    00139 /* #define HAVE_SUNMATH_H 1 */
    00140
    00141 #endif /* HAVE_CONFIG_H */
    00142
    00143 #endif /*__DYLPCONFIG_H__*/