SAGA C++ API 1.6
saga-config.hpp
Go to the documentation of this file.
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-pre1"
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 20110825
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-egi/"
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_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 /* #undef SAGA_TYPE_SSIZE_IS_INT */
00071 #define SAGA_TYPE_SSIZE_IS_LONG 1
00072 /* #undef SAGA_TYPE_SSIZE_IS_LONGLONG */
00073 /* #undef SAGA_TYPE_SSIZE_IS_SIZE */
00074 
00075 /* #undef SAGA_TYPE_OFF_IS_INT */
00076 /* #undef SAGA_TYPE_OFF_IS_LONG */
00077 #define SAGA_TYPE_OFF_IS_LONGLONG 1
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 104700
00099 
00100 // we need to know the boost iostreams version, as that may differ from the
00101 // boost version we use (iostreams-1.40.0 is included in external to replace
00102 // that of older boost installations)
00103 #define SAGA_BOOST_IOSTREAMS_VERSION 104700
00104 
00105 // do we have libreadline?
00106 #define SAGA_HAVE_READLINE 1
00107 /* #undef SAGA_HAVE_HISTORY_LIST */
00108 
00109 // do we build debug version?
00110 #define SAGA_HAVE_DEBUG yes
00111 
00112 // do we allow deprecated API elements?
00113 #define SAGA_ALLOW_DEPRECATED yes
00114 
00115 #ifndef SAGA_ALLOW_DEPRECATED
00116 # define SAGA_ADVERT_NO_DEPRECATED
00117 #endif
00118 
00119 
00120 // do we build lite version?
00121 /* #undef SAGA_HAVE_LITE */
00122 
00123 
00124 // misc defines
00125 #define SAGA_TEST_BIN_BC "/usr/bin/bc"
00126 #define SAGA_TEST_BIN_TRUE "/usr/bin/true"
00127 #define SAGA_TEST_BIN_FALSE "/usr/bin/false"
00128 #define SAGA_TEST_BIN_SLEEP "/bin/sleep"
00129 
00130 // sqlite and soci config defs
00131 #define SAGA_HAVE_SOCI 0
00132 #define SAGA_HAVE_INTERNAL_SOCI 1
00133 #define SAGA_HAVE_SOCI_SQLITE3 1
00134 #define SAGA_HAVE_SOCI_POSTGRESQL 1
00135 #define SAGA_HAVE_SOCI_MYSQL 0
00136 
00137 #if SAGA_HAVE_SOCI || SAGA_HAVE_INTERNAL_SOCI
00138 # if SAGA_HAVE_SOCI_SQLITE3
00139 #  define SAGA_DEFAULT_ADAPTORS_USE_SQLITE3
00140 # endif
00141 # if SAGA_HAVE_SOCI_POSTGRESQL
00142 #  define SAGA_DEFAULT_ADAPTORS_USE_POSTGRESQL
00143 # endif
00144 # if SAGA_HAVE_SOCI_MYSQL
00145 #  define SAGA_DEFAULT_ADAPTORS_USE_MYSQL
00146 # endif
00147 #endif
00148 
00149 // xmlrpc def to catch API changes
00150 /* #undef SAGA_XMLRPC_NEEDS_BOOL */
00151 
00152 #endif // SAGA_CONFIG_HPP
00153 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines