source: git/Singular/mod2.h.in @ d2b2a7

spielwiese
Last change on this file since d2b2a7 was 1c452c, checked in by Olaf Bachmann <obachman@…>, 26 years ago
1998-04-28 Olaf Bachmann <obachman@mathematik.uni-kl.de> * kstd2.cc (redHomog): Some more ouput for KDEBUG && TEST_OPT_DEBUG * mminit.cc: introduced memory(2) which measures physical memory consumption using the system call sbrk (this never lies!) git-svn-id: file:///usr/local/Singular/svn/trunk@1504 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 8.1 KB
Line 
1/*******************************************************************
2 *  Computer Algebra System SINGULAR
3 *
4 *  mod2.h: Main configuration file for Singular
5 *          DO NOT EDIT!
6 *
7 *******************************************************************/
8#ifndef MOD2_H
9#define MOD2_H
10
11/*******************************************************************
12 * Defines which are set by configure
13 ******************************************************************/
14/* Define if you have TeXInfo */
15#undef HAVE_INFO
16/* Define to use readline lib for fancy display */
17#undef HAVE_READLINE
18/* Define to use built-in command line parser */
19#undef HAVE_FEREAD
20/* Define if you want to use dld's */
21#undef HAVE_DLD
22/* Define to have dbm links */
23#undef HAVE_DBM
24/* Define to use gmp for rational arithmetic */
25#undef HAVE_GMP
26/* Define to have smallgmp */
27#undef HAVE_SMALLGMP
28/* Define to have MP links */
29#undef HAVE_MPSR
30/* Define to have factory functionality added */
31#undef HAVE_FACTORY
32/* Define to have libfac functionality added */
33#undef HAVE_LIBFAC_P
34/* Define if you have stdc headers */
35#undef STDC_HEADERS
36/* Define if you have sys/file.h */
37#undef HAVE_SYS_FILE_H
38/* Define if you have sys/param.h */
39#undef HAVE_SYS_PARAM_H
40/* Define if you have sys/file.h */
41#undef HAVE_SYS_TYPES_H
42/* Define if you have sys/ioctl.h */
43#undef HAVE_SYS_IOCTL_H
44/* Define if you have sys/time.h */
45#undef HAVE_SYS_TIME_H
46/* Define if you have sys/times.h */
47#undef HAVE_SYS_TIMES_H
48/* Define if time.h and sys/time.h can be included at the same time */
49#undef TIME_WITH_SYS_TIME
50/* Define if you have alloca.h */
51#undef HAVE_ALLOCA_H
52/* Define if you have pwd.h */
53#undef HAVE_PWD_H
54/* Define if you have alloca */
55#undef HAVE_ALLOCA
56/* Define if you have getpagesize */
57#undef GETPAGESIZE
58/* Define if you have vprintf */
59#undef HAVE_VPRINTF
60/* Define if you have gettimeofday */
61#undef HAVE_GETTIMEOFDAY
62/* Define if you have atexit */
63#undef HAVE_ATEXIT
64/* Define if you have bcopy, bzero and bcmp
65   Linux needs that define! */
66#undef HAVE_BCOPY
67/* Define if sprintf does not return number of printed chars */
68#undef BSD_SPRINTF
69/* Define if the `S_IS*' macros in <sys/stat.h> do not work properly.  */
70#undef STAT_MACROS_BROKEN
71/* Define if you have the getcwd function.  */
72#undef HAVE_GETCWD
73/* Define if you have the getwd function.  */
74#undef HAVE_GETWD
75/* Define if you have sbrk */
76#undef HAVE_SBRK
77/* Define sizeof(char) */
78#define SIZEOF_CHAR 1
79/* Define sizeof(short) */
80#define SIZEOF_SHORT 2
81/* Define sizeof(int) */
82#define SIZEOF_INT 4
83/* Define sizeof(long) */
84#define SIZEOF_LONG 4
85/* Define sizeof(void*) */
86#define SIZEOF_VOIDP 4
87/* Define if your integer format is big endian */
88#undef WORDS_BIGENDIAN
89/* Define the type of the exponents to be used in monomials */
90#define EXPONENT_TYPE short
91/* Define the size of exponent */
92#define SIZEOF_EXPONENT SIZEOF_SHORT
93/* Define major version of Singular -- should be set in configure.in!!!*/
94#define SINGULAR_MAJOR_VERSION 0
95/* Define minor version of Singular -- should be set in configure.in!!! */
96#define SINGULAR_MINOR_VERSION 0
97/* Define sub version of Singular -- should be set in configure.in!!! */
98#define SINGULAR_SUB_VERSION 0
99/* Define version as a string */
100#define S_VERSION1 ""
101/* Define version date as a string */
102#define S_VERSION2 ""
103/* Define the data directory where Singular searches for libs and gftables */
104#define SINGULAR_DATADIR "/usr/local/share/Singular"
105/* Define the info directory where Singular searches for help files */
106#define SINGULAR_INFODIR "/usr/local/info"
107
108/*******************************************************************
109 * Defines which are not set by configure
110 ******************************************************************/
111/* Default value for timer resolution in ticks per second */
112/* set to 10 for resolution of tenth of a second, etc */
113#define TIMER_RESOLUTION 1
114/* Undefine to disable the quote/eval of expressions */
115#define SIQ 1
116/* Define to enable TCL interface */
117#undef HAVE_TCL
118/* Define to enable working in Weyl algebras */
119#undef DRING
120/* Define to enable working in exterior algebras */
121#undef SRING
122/* Undefine to disable Gerhard's and Wilfried's fast and dirty std computations */
123#define FAST_AND_DIRTY
124#ifdef __MWERKS__
125/* static tables only */
126#define PROC_BUG
127#else
128/* works around a quirk in the generation of parser tables */
129#define INIT_BUG
130#endif
131
132/* Define to use new namespaces techniks */
133#undef HAVE_NAMESPACES
134
135/* Define to use scanner when loading libraries */
136#define HAVE_LIBPARSER
137
138/*#define PROFILING*/
139#ifdef PROFILING
140#define PROFILER ,0,0
141#else
142#define PROFILER
143#endif
144
145/*******************************************************************
146 * Evaluate the set defines
147 ******************************************************************/
148/* FGLM needs factory */
149#ifdef HAVE_FACTORY
150#define HAVE_FGLM
151#endif
152
153/* Undefine to disable real time measurments  */
154#ifdef HAVE_GETTIMEOFDAY
155#if ! defined(macintosh) && ! defined(MSDOS)
156#define HAVE_RTIMER
157#else
158#undef HAVE_RTIMER
159#endif
160#endif
161
162#if SIZEOF_VOIDP == 8
163#define ALIGN_8
164#endif
165
166#define SINGULAR_VERSION (SINGULAR_MAJOR_VERSION*1000 + SINGULAR_MINOR_VERSION*100 + SINGULAR_SUB_VERSION)
167#ifdef DRING
168#define SDRING
169#endif
170
171#ifdef SRING
172#define SDRING
173#endif
174
175#if HAVE_INFO != 1
176#define buildin_help 1
177#endif
178
179#ifdef macintosh
180#ifndef buildin_help
181#define buildin_help 1
182#endif
183#ifdef HAVE_GMP
184#define buildin_gmp 1
185#endif
186#endif
187
188#if SIZEOF_EXPONENT == 1
189#define MAX_EXPONENT 0x7f
190#elif SIZEOF_EXPONENT == 2
191#define MAX_EXPONENT 0x7fff
192#else // SIZEOF_EXPONENT == 4
193#define MAX_EXPONENT 0x7fffffff
194#endif
195
196/*******************************************************************
197 * Miscellanous Defines
198 ******************************************************************/
199/* define MM_COUNT to enable "memory(0)" (resp. memory(1))*/
200#define MM_COUNT 1
201
202/* define YYDEBUG 1 for debugging bison texts, 0 otherwise */
203#define YYDEBUG 0
204
205#ifndef HAVE_LIBPARSER
206#  undef YYLPDEBUG
207#else
208#  define YYLPDEBUG 0
209#endif
210
211#ifndef FALSE
212#define FALSE       0
213#endif
214
215#ifndef TRUE
216#define TRUE        1
217#endif
218
219#ifndef NULL
220#define NULL        (0)
221#endif
222
223#ifndef SEEK_END
224#define SEEK_END 2
225#endif
226
227#ifndef SEEK_SET
228#define SEEK_SET 0
229#endif
230
231#define HALT() m2_end(2)
232
233#define memcpy4 memcpy
234
235/* define OLD_RES for res/sres/mres(i,j,k) */
236#define OLD_RES
237
238/* the maximal ascii length of an int number + 1 = 11 for 32 bit int */
239#define MAX_INT_LEN 11
240extern int pShortOut;
241
242#ifdef DO_PROFILE
243/* define to enable explicit profiling of some crucial inline
244 * routines and defines  */
245#define DO_DEEP_PROFILE
246#endif
247
248/*******************************************************************
249 * DEBUG OPTIONS
250 * -- only significant for for compiling without -DNDEBUG
251 * -- you better know what your are doing, if you touch this
252 ******************************************************************/
253#define buildin_rand 1
254#ifndef NDEBUG
255
256/* define MDEBUG 0 for checking Alloc/Free */
257#define MDEBUG 0
258/* define MDEBUG 1 for allowing to keep track of Alloc/Free */
259/* undefine MMDEBUG otherwise */
260/*#define MDEBUG 0 */
261/* define MLIST for listing used blocks at programm end */
262/* undefine otherwise */
263/*#define MLIST */
264/* define MM_BEFORE for also printing the previous block while debugging */
265/*#define MM_BEFORE 1 */
266/* define PDEBUG checking polys, undefine otherwise */
267/* define PDEBUG 1 for additionally checking access to polys  -- vewry slow !*/
268#define PDEBUG 1
269/* define KDEBUG checking during standard base computation */
270#define KDEBUG
271/* define LDEBUG checking numbers, undefine otherwise */
272#define LDEBUG
273/* define RDEBUG checking rings (together with TRACE=9) */
274#define RDEBUG
275/* define TEST for non time critical tests, undefine otherwise */
276#define TEST
277/* define MM_STAT for printing block stats */
278/* #define MM_STAT 1 */
279/* #define PAGE_TEST */
280/* #define PAGE_COUNT */
281
282/* Undefine to disable debugging of MP stuff */
283#ifdef HAVE_MPSR
284#define MPSR_DEBUG
285#endif
286
287/* MLIST requires MDEBUG */
288#ifdef MLIST
289#ifndef MDEBUG
290#define MDEBUG 0
291#endif
292#endif
293
294/* PDEBUG requires MDEBUG */
295#ifdef PDEBUG
296#ifndef MDEBUG
297#define MDEBUG 0
298#endif
299#endif
300
301#ifdef TEST
302#ifndef buildin_rand
303#define buildin_rand 1
304#endif
305#endif
306
307#ifdef PAGE_COUNT
308#define PAGE_TEST
309#endif
310
311#endif /* not NDEBUG */
312
313
314#endif /* MOD2_H  */
Note: See TracBrowser for help on using the repository browser.