X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=config.hh;h=bf13b1e3d7dd4de03be76492953022cf09b67d1d;hb=b89e3166f7680755683dccee5e48cb3a820185c0;hp=412338371e796c49b6f740ab67648c706166a501;hpb=34378cabd0ef59515f60b8e535d50fd5488c84e2;p=senf.git diff --git a/config.hh b/config.hh index 4123383..bf13b1e 100644 --- a/config.hh +++ b/config.hh @@ -1,42 +1,50 @@ -// $Id$ -// -// Copyright (C) 2007 -// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS) -// Kompetenzzentrum fuer Satelitenkommunikation (SatCom) -// Stefan Bund -// -// This program is free software; you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by -// the Free Software Foundation; either version 2 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public License -// along with this program; if not, write to the -// Free Software Foundation, Inc., -// 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# // $Id$ +# // +# // Copyright (C) 2007 +# // Fraunhofer Institute for Open Communication Systems (FOKUS) +# // Competence Center NETwork research (NET), St. Augustin, GERMANY +# // Stefan Bund +# // +# // This program is free software; you can redistribute it and/or modify +# // it under the terms of the GNU General Public License as published by +# // the Free Software Foundation; either version 2 of the License, or +# // (at your option) any later version. +# // +# // This program is distributed in the hope that it will be useful, +# // but WITHOUT ANY WARRANTY; without even the implied warranty of +# // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# // GNU General Public License for more details. +# // +# // You should have received a copy of the GNU General Public License +# // along with this program; if not, write to the +# // Free Software Foundation, Inc., +# // 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +# /** \file +# \brief config public header */ +# +# ifndef HH_config_ +# define HH_config_ 1 +# +# // Custom includes +# include +# include +# +# ///////////////////////////////hh.p//////////////////////////////////////// -/** \file - \brief config public header */ +namespace senf { +namespace config { -#ifndef HH_config_ -#define HH_config_ 1 + typedef boost::int_fast64_t time_type; -// Custom includes - -//#include "config.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +}} # include "local_config.hh" - +# # ifndef SENF_ABSOLUTE_INCLUDE_PATH # define SENF_ABSOLUTE_INCLUDE_PATH(senf_relative_include_file_path) # endif - +# # ifndef SENF_copy_n # include # if defined(__GNUC__) && ! defined(_STLP_ALGORITHM) && (__GNUC__>=4 || (__GNUC__==3 && __GNUC_MINOR__>=4)) @@ -46,11 +54,11 @@ # define SENF_copy_n std::copy_n # endif # endif - +# # ifndef SENF_MPL_RV_ALIGNMENT # define SENF_MPL_RV_ALIGNMENT 16 # endif - +# # if !defined(SENF_BUFFER_USE_LOCALS) && !defined(SENF_BUFFER_USE_ALLOCA) && !defined(SENF_BUFFER_USE_NEW) # # if defined(__GNUC__) @@ -69,17 +77,34 @@ # endif # # endif - +# # ifndef SENF_SENFLOG_LIMIT -# define SENF_SENFLOG_LIMIT senf::log::VERBOSE +# ifndef SENF_DEBUG +# define SENF_SENFLOG_LIMIT senf::log::IMPORTANT +# else +# define SENF_SENFLOG_LIMIT senf::log::NOTICE +# endif # endif - -///////////////////////////////hh.e//////////////////////////////////////// -//#include "config.cci" -//#include "config.ct" -//#include "config.cti" -#endif - +# +# ifndef SENF_DEBUG_BACKTRACE_NUMCALLERS +# define SENF_DEBUG_BACKTRACE_NUMCALLERS 64 +# endif +# +# ifndef SENF_CONSOLE_MAX_COMMAND_ARITY +# define SENF_CONSOLE_MAX_COMMAND_ARITY 6 +# endif +# +# ifndef PHOENIX_LIMIT +# define PHOENIX_LIMIT 6 +# endif +# +# if __GLIBC__>=2 && __GLIBC_MINOR__>=8 +# define HAVE_TIMERFD 1 +# endif +# +# ///////////////////////////////hh.e//////////////////////////////////////// +# endif + // Local Variables: // mode: c++ @@ -90,3 +115,4 @@ // ispell-local-dictionary: "american" // compile-command: "scons -u all_tests" // End: +