00001 /* saga/saga-config.hpp. Generated from saga-config.hpp.in by configure. */ 00002 // Copyright (c) 2005-2007 Andre Merzky (andre@merzky.net) 00003 // 00004 // Distributed under the Boost Software License, Version 1.0. (See accompanying 00005 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 00006 // 00007 // NOTE that this header contains only _global_ defines for 00008 // SAGA. Local defines (e.g. for a specific adaptor, or 00009 // a specific compiler) should still be set via the Makefiles. 00010 00011 #ifndef SAGA_CONFIG_HPP 00012 #define SAGA_CONFIG_HPP 00013 00014 // we want to get included from saga-defs, to get the system defs consistent 00015 #ifndef SAGA_DEFS_HPP 00016 # error "include saga-defs.hpp instead of saga-config.hpp" 00017 #endif 00018 00019 // flag that this build is configure based 00020 #define SAGA_HAVE_CONFIG 1 00021 00022 00023 // version defines 00024 #define SAGA_VERSION "1.5.2" 00025 #define SAGA_VERSION_FULL 0x010502 00026 00027 #define SAGA_VERSION_MAJOR 1 00028 #define SAGA_VERSION_MINOR 5 00029 #define SAGA_VERSION_SUBMINOR 2 00030 00031 #define SAGA_VERSION_DATE 20100928 00032 00033 // define the platform we are running on. Only one of the defs below will be 00034 // defined. Note that SAGA_WINDOWS is defined in saga-defs.hpp 00035 #define SAGA_OSTYPE SAGA_LINUX 00036 /* #undef SAGA_APPLE */ 00037 #define SAGA_LINUX 1 00038 00039 // can gcc understand visibility directives? 00040 #define SAGA_GCC_HAVE_VISIBILITY 1 00041 00042 // sometime we need to know where we got installed to (see 00043 // below) 00044 #define SAGA_PREFIX "/usr/local" 00045 00046 // define what packages are enabled 00047 #define SAGA_HAVE_PACKAGE_JOB 1 00048 #define SAGA_HAVE_PACKAGE_FILESYSTEM 1 00049 #define SAGA_HAVE_PACKAGE_REPLICA 1 00050 #define SAGA_HAVE_PACKAGE_NAMESPACE 1 00051 #define SAGA_HAVE_PACKAGE_RPC 1 00052 #define SAGA_HAVE_PACKAGE_STREAM 1 00053 /* #undef SAGA_HAVE_PACKAGE_SD */ 00054 #define SAGA_HAVE_PACKAGE_ADVERT 1 00055 /* #undef SAGA_HAVE_PACKAGE_CPR */ 00056 /* #undef SAGA_HAVE_PACKAGE_MESSAGE_BUS */ 00057 00058 // we need to figure out if ssize_t and off_t are the same 00059 // - otherwise we get a duplicated explicit template 00060 // instantiation for task.get_result in the file package. 00061 /* #undef SAGA_TYPE_LONG_IS_INT */ 00062 00063 /* #undef SAGA_TYPE_LONGLONG_IS_INT */ 00064 /* #undef SAGA_TYPE_LONGLONG_IS_LONG */ 00065 00066 /* #undef SAGA_TYPE_SIZE_IS_INT */ 00067 /* #undef SAGA_TYPE_SIZE_IS_LONG */ 00068 /* #undef SAGA_TYPE_SIZE_IS_LONGLONG */ 00069 00070 #define SAGA_TYPE_SSIZE_IS_INT 1 00071 /* #undef SAGA_TYPE_SSIZE_IS_LONG */ 00072 /* #undef SAGA_TYPE_SSIZE_IS_LONGLONG */ 00073 /* #undef SAGA_TYPE_SSIZE_IS_SIZE */ 00074 00075 /* #undef SAGA_TYPE_OFF_IS_INT */ 00076 #define SAGA_TYPE_OFF_IS_LONG 1 00077 /* #undef SAGA_TYPE_OFF_IS_LONGLONG */ 00078 /* #undef SAGA_TYPE_OFF_IS_SIZE */ 00079 /* #undef SAGA_TYPE_OFF_IS_SSIZE */ 00080 00081 // we need the following define for dynamic loading in boost 00082 #define SAGA_BOOST_DYNA_LOAD 1 00083 00084 // also, we are not dealing with wide character (which avoids 00085 // a lot of trouble with some compilers like icc) 00086 #ifndef BOOST_NO_CWCHAR 00087 # define BOOST_NO_CWCHAR 1 00088 #endif 00089 00090 // ths define should not hurt any boost version 00091 #ifndef BOOST_SPIRIT_USE_OLD_NAMESPACE 00092 # define BOOST_SPIRIT_USE_OLD_NAMESPACE 1 00093 #endif 00094 00095 // we need to know the boost filesystem version, as that may differ from the 00096 // boost version we use (flesystem-1.34.1 is included in external to replace 00097 // that of older boost installations) 00098 #define SAGA_BOOST_FILESYSTEM_VERSION 104000 00099 00100 // do we have libreadline? 00101 /* #undef SAGA_HAVE_READLINE */ 00102 /* #undef SAGA_HAVE_HISTORY_LIST */ 00103 00104 // do we build debug version? 00105 #define SAGA_HAVE_DEBUG yes 00106 00107 // do we allow deprecated API elements? 00108 #define SAGA_ALLOW_DEPRECATED yes 00109 00110 #ifndef SAGA_ALLOW_DEPRECATED 00111 # define SAGA_ADVERT_NO_DEPRECATED 00112 #endif 00113 00114 00115 // do we build lite version? 00116 /* #undef SAGA_HAVE_LITE */ 00117 00118 00119 // misc defines 00120 #define SAGA_TEST_BIN_BC "/usr/bin/bc" 00121 #define SAGA_TEST_BIN_TRUE "/bin/true" 00122 #define SAGA_TEST_BIN_FALSE "/bin/false" 00123 #define SAGA_TEST_BIN_SLEEP "/bin/sleep" 00124 00125 #endif // SAGA_CONFIG_HPP 00126