SAGA C++ API
1.6
|
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.6" 00025 #define SAGA_VERSION_FULL 0x010600 00026 00027 #define SAGA_VERSION_MAJOR 1 00028 #define SAGA_VERSION_MINOR 6 00029 #define SAGA_VERSION_SUBMINOR 0 00030 00031 #define SAGA_VERSION_DATE 20111002 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_APPLE 00036 #define SAGA_APPLE 1 00037 /* #undef SAGA_LINUX */ 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_LOCATION "/opt/saga-1.6" 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 /* #undef SAGA_HAVE_PACKAGE_RPC */ 00052 /* #undef SAGA_HAVE_PACKAGE_STREAM */ 00053 #define SAGA_HAVE_PACKAGE_SD 1 00054 #define SAGA_HAVE_PACKAGE_ISN 1 00055 #define SAGA_HAVE_PACKAGE_ADVERT 1 00056 /* #undef SAGA_HAVE_PACKAGE_CPR */ 00057 /* #undef SAGA_HAVE_PACKAGE_MESSAGE_BUS */ 00058 00059 // we need to figure out if ssize_t and off_t are the same 00060 // - otherwise we get a duplicated explicit template 00061 // instantiation for task.get_result in the file package. 00062 /* #undef SAGA_TYPE_LONG_IS_INT */ 00063 00064 /* #undef SAGA_TYPE_LONGLONG_IS_INT */ 00065 /* #undef SAGA_TYPE_LONGLONG_IS_LONG */ 00066 00067 /* #undef SAGA_TYPE_SIZE_IS_INT */ 00068 /* #undef SAGA_TYPE_SIZE_IS_LONG */ 00069 /* #undef SAGA_TYPE_SIZE_IS_LONGLONG */ 00070 00071 /* #undef SAGA_TYPE_SSIZE_IS_INT */ 00072 #define SAGA_TYPE_SSIZE_IS_LONG 1 00073 /* #undef SAGA_TYPE_SSIZE_IS_LONGLONG */ 00074 /* #undef SAGA_TYPE_SSIZE_IS_SIZE */ 00075 00076 /* #undef SAGA_TYPE_OFF_IS_INT */ 00077 /* #undef SAGA_TYPE_OFF_IS_LONG */ 00078 #define SAGA_TYPE_OFF_IS_LONGLONG 1 00079 /* #undef SAGA_TYPE_OFF_IS_SIZE */ 00080 /* #undef SAGA_TYPE_OFF_IS_SSIZE */ 00081 00082 // we need the following define for dynamic loading in boost 00083 #define SAGA_BOOST_DYNA_LOAD 1 00084 00085 // also, we are not dealing with wide character (which avoids 00086 // a lot of trouble with some compilers like icc) 00087 #ifndef BOOST_NO_CWCHAR 00088 # define BOOST_NO_CWCHAR 1 00089 #endif 00090 00091 // ths define should not hurt any boost version 00092 #ifndef BOOST_SPIRIT_USE_OLD_NAMESPACE 00093 # define BOOST_SPIRIT_USE_OLD_NAMESPACE 1 00094 #endif 00095 00096 // we need to know the boost filesystem version, as that may differ from the 00097 // boost version we use (flesystem-1.34.1 is included in external to replace 00098 // that of older boost installations) 00099 #define SAGA_BOOST_FILESYSTEM_VERSION 104700 00100 00101 // we need to know the boost iostreams version, as that may differ from the 00102 // boost version we use (iostreams-1.40.0 is included in external to replace 00103 // that of older boost installations) 00104 #define SAGA_BOOST_IOSTREAMS_VERSION 104700 00105 00106 // do we have libreadline? 00107 #define SAGA_HAVE_READLINE 1 00108 /* #undef SAGA_HAVE_HISTORY_LIST */ 00109 00110 // do we build debug version? 00111 #define SAGA_HAVE_DEBUG yes 00112 00113 // do we allow deprecated API elements? 00114 #define SAGA_ALLOW_DEPRECATED yes 00115 00116 #ifndef SAGA_ALLOW_DEPRECATED 00117 # define SAGA_ADVERT_NO_DEPRECATED 00118 #endif 00119 00120 00121 // do we build lite version? 00122 /* #undef SAGA_HAVE_LITE */ 00123 00124 00125 // misc defines 00126 #define SAGA_TEST_BIN_BC "/usr/bin/bc" 00127 #define SAGA_TEST_BIN_TRUE "/usr/bin/true" 00128 #define SAGA_TEST_BIN_FALSE "/usr/bin/false" 00129 #define SAGA_TEST_BIN_SLEEP "/bin/sleep" 00130 00131 // sqlite and soci config defs 00132 #define SAGA_HAVE_SOCI 0 00133 #define SAGA_HAVE_INTERNAL_SOCI 1 00134 #define SAGA_HAVE_SOCI_SQLITE3 1 00135 #define SAGA_HAVE_SOCI_POSTGRESQL 1 00136 #define SAGA_HAVE_SOCI_MYSQL 0 00137 00138 #if SAGA_HAVE_SOCI || SAGA_HAVE_INTERNAL_SOCI 00139 # if SAGA_HAVE_SOCI_SQLITE3 00140 # define SAGA_DEFAULT_ADAPTORS_USE_SQLITE3 00141 # endif 00142 # if SAGA_HAVE_SOCI_POSTGRESQL 00143 # define SAGA_DEFAULT_ADAPTORS_USE_POSTGRESQL 00144 # endif 00145 # if SAGA_HAVE_SOCI_MYSQL 00146 # define SAGA_DEFAULT_ADAPTORS_USE_MYSQL 00147 # endif 00148 #endif 00149 00150 // xmlrpc def to catch API changes 00151 /* #undef SAGA_XMLRPC_NEEDS_BOOL */ 00152 00153 #endif // SAGA_CONFIG_HPP 00154