00001 // sampalib.org ESL library and tools 00002 // Copyright (C) 2007 Thierry Grellier 00003 // 00004 // This program is free software; you can redistribute it and/or modify 00005 // it under the terms of the GNU General Public License version 2 as 00006 // published by the Free Software Foundation. 00007 // 00008 // This program is distributed in the hope that it will be useful, 00009 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00010 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00011 // GNU General Public License for more details. 00012 // 00013 // You should have received a copy of the GNU General Public License along 00014 // with this program; if not, write to the Free Software Foundation, Inc., 00015 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 00016 // 00017 // contact: www.sampalib.org 00018 00019 #ifndef SAMPA_CONFIG_H 00020 # define SAMPA_CONFIG_H 00021 00022 # define SAMPA_DISABLED 0 00023 # define SAMPA_ENABLED 1 00024 00037 #define SAMPA_CONFIG_COLD_RESTART SAMPA_ENABLED 00038 //#define SAMPA_CONFIG_COLD_RESTART SAMPA_DISABLED 00039 00046 #define SAMPA_CONFIG_MULTI_THREADED SAMPA_DISABLED 00047 //#define SAMPA_CONFIG_MULTI_THREADED SAMPA_ENABLED 00048 00055 #define SAMPA_CONFIG_TRACE_CALLS SAMPA_DISABLED 00056 //#define SAMPA_CONFIG_TRACE_CALLS SAMPA_ENABLED 00057 00063 #define SAMPA_CONFIG_DEBUG SAMPA_ENABLED 00064 //#define SAMPA_CONFIG_DEBUG SAMPA_DISABLED 00065 00066 #if SAMPA_CONFIG_DEBUG == SAMPA_DISABLED 00067 # undef SAMPA_CONFIG_TRACE_CALLS 00068 # define SAMPA_CONFIG_TRACE_CALLS SAMPA_DISABLED 00069 #endif 00070 00071 #endif 00072
1.5.3