source: git/omalloc/omConfig.h.cmake.in @ 9cf75aa

spielwiese
Last change on this file since 9cf75aa was 6ce030f, checked in by Oleksandr Motsak <motsak@…>, 12 years ago
removal of the $Id$ svn tag from everywhere NOTE: the git SHA1 may be used instead (only on special places) NOTE: the libraries Singular/LIB/*.lib still contain the marker due to our current use of svn
  • Property mode set to 100644
File size: 5.2 KB
Line 
1/* -*-c++-*- */
2/*******************************************************************
3 *  File:    omConfig.h.in
4 *  Purpose: configuration for omalloc
5 *  Author:  obachman (Olaf Bachmann)
6 *  Created: 11/99
7 *******************************************************************/
8#ifndef OM_CONFIG_H
9#define OM_CONFIG_H
10
11/*******************************************************************
12 * Defines which are set by configure
13 ******************************************************************/
14/* define if you provide an external config file to be included
15   by omDefaultConfig.h */
16#ifndef OM_HAVE_EXTERNAL_CONFIG_H
17#cmakedefine OM_HAVE_EXTERNAL_CONFIG_H 1
18#endif
19/* define if you can inline */
20#ifndef OM_INLINE
21#cmakedefine OM_INLINE @OM_INLINE@
22#endif
23/* define for inline decl in headers */
24#ifndef OM_INLINE_DECL
25#cmakedefine OM_INLINE_DECL @OM_INLINE_DECL@
26#endif
27/* define for inline implementation in Include*/
28#ifndef OM_INLINE_IMPL
29#cmakedefine OM_INLINE_IMPL @OM_INLINE_IMPL@
30#endif
31/* define for local inline */
32#ifndef OM_INLINE_LOCAL
33#cmakedefine OM_INLINE_LOCAL @OM_INLINE_LOCAL@
34#endif
35/* defint to nothing if you do not understand const */
36#ifndef const
37#undef const
38#endif
39/* define to the name of addr2line program, undef otherwise */
40#ifndef OM_PROG_ADDR2LINE
41#cmakedefine OM_PROG_ADDR2LINE "@OM_PROG_ADDR2LINE@"
42#endif
43/* define to the name of nm program, undef otherwise */
44#ifndef OM_PROG_NM
45#cmakedefine OM_PROG_NM
46#endif
47/* define if you have popen */
48#ifndef HAVE_POPEN
49#cmakedefine HAVE_POPEN 1
50#endif
51/* define if you have readlink */
52#ifndef HAVE_READLINK
53#cmakedefine HAVE_READLINK 1
54#endif
55/* define if you have sbrk */
56#ifndef HAVE_SBRK
57#cmakedefine HAVE_SBRK 1
58#endif
59/* define if you have getcwd */
60#ifndef HAVE_GETCWD
61#cmakedefine HAVE_GETCWD 1
62#endif
63/* define if you have getwd */
64#ifndef HAVE_GETWD
65#cmakedefine HAVE_GETWD 1
66#endif
67/* define if you have a working mmap */
68#ifndef HAVE_WORKING_MMAP
69#cmakedefine HAVE_WORKING_MMAP 1
70#endif
71/* define if you have STDC_HEADERS */
72#ifndef STDC_HEADERS
73#cmakedefine STDC_HEADERS 1
74#endif
75/* define if you have unistd.h */
76#ifndef HAVE_UNISTD_H
77#cmakedefine HAVE_UNISTD_H 1
78#endif
79/* define if you have fcntl.h */
80#ifndef HAVE_FCNTL_H
81#cmakedefine HAVE_FCNTL_H
82#endif
83/* define if you have sys/mman.h */
84#ifndef HAVE_SYS_MMAN_H
85#cmakedefine HAVE_SYS_MMAN_H
86#endif
87/* define if GET_RETURN_ADDR works */
88#ifndef OM_GET_RETURN_ADDR_WORK
89#cmakedefine OM_GET_RETURN_ADDR_WORKS 1
90#endif
91/* define if GET_RETURN_ADDR works */
92#ifndef OM_GET_BACKTRACE_WORK
93#cmakedefine OM_GET_BACKTRACE_WORKS 1
94#endif
95/* Define sizeof(long) */
96#ifndef SIZEOF_LONG
97#cmakedefine SIZEOF_LONG @SIZEOF_LONG@
98#endif
99/* Define sizeof(double) */
100#ifndef SIZEOF_DOUBLE
101#cmakedefine SIZEOF_DOUBLE @SIZEOF_DOUBLE@
102#endif
103/* Define sizeof(size_t) */
104#ifndef SIZEOF_SIZE_T
105#cmakedefine SIZEOF_SIZE_T @SIZEOF_SIZE_T@
106#endif
107#ifndef SIZEOF_SYSTEM_PAGE
108/* Define pagesize of your system */
109#define SIZEOF_SYSTEM_PAGE 4096
110#endif
111#ifndef SIZEOF_OM_PAGE
112/* size of page as we can use it */
113#define SIZEOF_OM_PAGE SIZEOF_SYSTEM_PAGE
114#endif
115/* define if you want to use mmap for valloc */
116#ifndef OM_HAVE_VALLOC_MMAP
117#cmakedefine OM_HAVE_VALLOC_MMAP 1
118#endif
119/* define if you want to use malloc-provided valloc */
120#ifndef HAVE_VALLOC_MALLOC
121#cmakedefine OM_HAVE_VALLOC_MALLOC 1
122#endif
123#ifndef OM_MALLOC_PROVIDES_SIZEOF_ADDR
124/* define if your malloc provides a working OM_MALLOC_SIZEOF_ADDR */
125#cmakedefine OM_MALLOC_PROVIDES_SIZEOF_ADDR
126#endif
127#ifndef OM_EMULATE_OMALLOC
128/* define if you only want to emulate omalloc, but not actually use it */
129#cmakedefine OM_EMULATE_OMALLOC 1
130#endif
131#ifndef OM_ALIGN_8
132/* define if you want your memory to be 8-aligned */
133#cmakedefine OM_ALIGN_8 1
134#endif
135#ifndef OM_ALIGNMENT_NEEDS_WORK
136/* define if you insist on AllocAligned returnes 8-aligned */
137#cmakedefine OM_ALIGNMENT_NEEDS_WORK 1
138#endif
139/* define if you want to have a dense distribution of bins */
140#ifndef OM_HAVE_DENSE_BIN_DISTRIBUTION
141#cmakedefine OM_HAVE_DENSE_BIN_DISTRIBUTION 1
142#endif
143/* define to disable all debugging stuff */
144#ifndef OM_NDEBUG
145#cmakedefine OM_NDEBUG 1
146#endif
147/* define to enable debug tracking */
148#ifndef OM_HAVE_TRACK
149#cmakedefine OM_HAVE_TRACK 1
150#endif
151/* define to enable tracking of files/line numbers */
152#ifndef OM_TRACK_FILE_LINE
153#cmakedefine OM_TRACK_FILE_LINE 1
154#endif
155/* define to enable tracking of return addresses */
156#ifndef OM_TRACK_RETURN
157#cmakedefine OM_TRACK_RETURN 1
158#endif
159/* define to enable tracking of stack backtraces */
160#ifndef OM_TRACK_BACKTRACE
161#cmakedefine OM_TRACK_BACKTRACE 1
162#endif
163/* define to enable tracking of custom value */
164#ifndef OM_TRACK_CUSTOM
165#cmakedefine OM_TRACK_CUSTOM 1
166#endif
167/* define to enable internal debugging */
168#ifndef OM_INTERNAL_DEBUG
169#cmakedefine OM_INTERNAL_DEBUG 1
170#endif
171/* define to -1/0/1/2/3 if you want omalloc to provide
172   "underlying malloc"/no/normal/debug ANSI-C conforming
173   malloc/calloc/realloc/free funcs */
174#ifndef OM_PROVIDE_MALLOC
175#define OM_PROVIDE_MALLOC 0
176#endif
177#endif /* OM_CONFIG_H  */
178/* define if omalloc depends on "external" malloc functions like
179   those provided by the system -- if this id defined, an application
180   linking with omalloc needs to assure that a library containing malloc
181   is linked, as well */
182#ifndef OMALLOC_USES_MALLOC
183#cmakedefine OMALLOC_USES_MALLOC 1
184#endif
Note: See TracBrowser for help on using the repository browser.