gfsmxlConfig.h
Go to the documentation of this file.
1 /*=============================================================================*\
2  * File: gfsmxlConfig.h
3  * Author: Bryan Jurish <moocow.bovine@gmail.com>
4  * Description: autoconf configuration hack
5  *
6  * Copyright (c) 2008 Bryan Jurish.
7  *
8  * This library is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU Lesser General Public
10  * License as published by the Free Software Foundation; either
11  * version 2.1 of the License, or (at your option) any later version.
12  *
13  * This library is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16  * Lesser General Public License for more details.
17  *
18  * You should have received a copy of the GNU Lesser General Public
19  * License along with this library; if not, write to the Free Software
20  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21  *=============================================================================*/
22 
34 /*
35  * Putting autoheader files within the #ifndef/#endif idiom (below)
36  * is potentially a BAD IDEA, since we might need to (re-)define
37  * the autoheader-generated preprocessor symbols (e.g. after
38  * (#include)ing in some config.h from another autoheader package
39  */
40 #include <gfsmxlConfigNoAuto.h>
41 #include <gfsmxlConfigAuto.h>
42 
43 /*
44  * Define a sentinel preprocessor symbol _GFSM_CONFIG_H, just
45  * in case someone wants to check whether we've already
46  * (#include)d this file ....
47  */
48 #ifndef _GFSMXL_CONFIG_H
49 #define _GFSMXL_CONFIG_H
50 
51 #if defined(GFSMXL_DEBUG_ENABLED) && !defined(GFSMXL_CLC_FH_STATS)
52 # define GFSMXL_CLC_FH_STATS 1
53 #endif
54 
55 #if defined(GFSMXL_DEBUG_ENABLED)
56 # define GFSMXL_DEBUG_DO(code) code
57 #else
58 # define GFSMXL_DEBUG_DO(code)
59 #endif
60 
61 #endif /* _GFSMXL_CONFIG_H */