SAGA Adaptor CPI v.1.0
|
00001 // Copyright (c) 2005-2006 Andre Merzky (andre@merzky.net) 00002 // 00003 // Distributed under the Boost Software License, Version 1.0. (See accompanying 00004 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 00005 00006 #ifndef SAGA_SAGA_RPC_HPP 00007 #define SAGA_SAGA_RPC_HPP 00008 00009 #include <saga/saga-defs.hpp> 00010 00011 # ifdef SAGA_HAVE_PACKAGE_RPC 00012 // rpc comes from the comm package 00013 #include <saga/saga/packages/rpc/version.hpp> 00014 #include <saga/saga/packages/rpc/parameter.hpp> 00015 #include <saga/saga/packages/rpc/rpc.hpp> 00016 00017 // auto linking is disabled while compiling the rpc package 00018 #if !defined(SAGA_RPC_PACKAGE_EXPORTS) || defined(SAGA_USE_AUTO_LINKING) 00019 #define SAGA_AUTOLINK_LIB_NAME "rpc" 00020 #include <saga/saga/autolink.hpp> 00021 #endif 00022 00023 #else 00024 00025 #if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) 00026 # pragma message ("Warning: The saga-rpc package has been disabled at configuration time.") 00027 #elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) 00028 # warning "The saga-rpc package has been disabled at configuration time." 00029 #endif 00030 00031 #endif 00032 00033 #endif // SAGA_SAGA_RPC_HPP 00034