source: git/Singular/mod2.h.in @ 3bb3e6a

spielwiese
Last change on this file since 3bb3e6a was 3bb3e6a, checked in by Olaf Bachmann <obachman@…>, 25 years ago
* status with sleep git-svn-id: file:///usr/local/Singular/svn/trunk@1961 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 you have the getcwd function.  */
70#undef HAVE_GETCWD
71/* Define if you have the getwd function.  */
72#undef HAVE_GETWD
73/* Define if you have sbrk */
74#undef HAVE_SBRK
75/* Define if you have readlink */
76#undef HAVE_READLINK
77/* Define if you have sleep */
78#undef HAVE_SLEEP
79/* Define sizeof(char) */
80#define SIZEOF_CHAR 1
81/* Define sizeof(short) */
82#define SIZEOF_SHORT 2
83/* Define sizeof(int) */
84#define SIZEOF_INT 4
85/* Define sizeof(long) */
86#define SIZEOF_LONG 4
87/* Define sizeof(void*) */
88#define SIZEOF_VOIDP 4
89/* Define if your integer format is big endian */
90#undef WORDS_BIGENDIAN
91/* Define the type of the exponents to be used in monomials */
92#define EXPONENT_TYPE short
93/* Define the size of exponent */
94#define SIZEOF_EXPONENT SIZEOF_SHORT
95/* Define major version of Singular -- should be set in configure.in!!!*/
96#define SINGULAR_MAJOR_VERSION 0
97/* Define minor version of Singular -- should be set in configure.in!!! */
98#define SINGULAR_MINOR_VERSION 0
99/* Define sub version of Singular -- should be set in configure.in!!! */
100#define SINGULAR_SUB_VERSION 0
101/* Define version as a string */
102#define S_VERSION1 ""
103/* Define version date as a string */
104#define S_VERSION2 ""
105/* Define the data directory where Singular searches for libs and gftables */
106#define SINGULAR_DATADIR "/usr/local/share/Singular"
107/* Define the info directory where Singular searches for help files */
108#define SINGULAR_INFODIR "/usr/local/info"
109
110/*******************************************************************
111 * Defines which are not set by configure
112 ******************************************************************/
113/* Default value for timer resolution in ticks per second */
114/* set to 10 for resolution of tenth of a second, etc */
115#define TIMER_RESOLUTION 1
116/* Undefine to disable the quote/eval of expressions */
117#define SIQ 1
118/* Define to enable TCL interface */
119#undef HAVE_TCL
120/* Define to enable working in Weyl algebras */
121#undef DRING
122/* Define to enable working in exterior algebras */
123#undef SRING
124/* Undefine to disable Gerhard's and Wilfried's fast and dirty std computations */
125#define FAST_AND_DIRTY
126#ifdef __MWERKS__
127/* includes for Metrowerks */
128#include "mod2.mwerks.h"
129#else
130/* works around a quirk in the generation of parser tables */
131#define INIT_BUG
132#endif
133
134/* Define to use new namespaces techniks */
135#undef HAVE_NAMESPACES
136
137/* Define to enable dynamic module code */
138#undef HAVE_DYNAMIC_LOADING
139
140/* Define to use scanner when loading libraries */
141#define HAVE_LIBPARSER
142
143/*#define PROFILING*/
144#ifdef PROFILING
145#define PROFILER ,0,0
146#else
147#define PROFILER
148#endif
149
150/*******************************************************************
151 * Evaluate the set defines
152 ******************************************************************/
153/* FGLM needs factory */
154#ifdef HAVE_FACTORY
155#define HAVE_FGLM
156#endif
157
158/* Undefine to disable real time measurments  */
159#ifdef HAVE_GETTIMEOFDAY
160#if ! defined(__MWERKS__) && ! defined(MSDOS)
161#define HAVE_RTIMER
162#else
163#undef HAVE_RTIMER
164#endif
165#endif
166
167#if SIZEOF_VOIDP == 8
168#define ALIGN_8
169#endif
170
171#define SINGULAR_VERSION (SINGULAR_MAJOR_VERSION*1000 + SINGULAR_MINOR_VERSION*100 + SINGULAR_SUB_VERSION)
172#ifdef DRING
173#define SDRING
174#endif
175
176#ifdef SRING
177#define SDRING
178#endif
179
180#if HAVE_INFO != 1
181#define buildin_help 1
182#endif
183
184#if SIZEOF_EXPONENT == 1
185#define MAX_EXPONENT 0x7f
186#elif SIZEOF_EXPONENT == 2
187#define MAX_EXPONENT 0x7fff
188#else // SIZEOF_EXPONENT == 4
189#define MAX_EXPONENT 0x7fffffff
190#endif
191
192/*******************************************************************
193 * Miscellanous Defines
194 ******************************************************************/
195/* define MM_COUNT to enable "memory(0)" (resp. memory(1))*/
196#define MM_COUNT 1
197
198/* define YYDEBUG 1 for debugging bison texts, 0 otherwise */
199#define YYDEBUG 0
200
201#ifndef HAVE_LIBPARSER
202#  undef YYLPDEBUG
203#else
204#  define YYLPDEBUG 1
205#endif
206
207#ifndef FALSE
208#define FALSE       0
209#endif
210
211#ifndef TRUE
212#define TRUE        1
213#endif
214
215#ifndef NULL
216#define NULL        (0)
217#endif
218
219#ifndef SEEK_END
220#define SEEK_END 2
221#endif
222
223#ifndef SEEK_SET
224#define SEEK_SET 0
225#endif
226
227#define HALT() m2_end(2)
228
229#define memcpy4 memcpy
230
231/* define OLD_RES for res/sres/mres(i,j,k) */
232#define OLD_RES
233
234/* the maximal ascii length of an int number + 1 = 11 for 32 bit int */
235#define MAX_INT_LEN 11
236extern int pShortOut;
237
238#ifdef DO_PROFILE
239/* define to enable explicit profiling of some crucial inline
240 * routines and defines  */
241#define DO_DEEP_PROFILE
242#endif
243
244/*******************************************************************
245 * DEBUG OPTIONS
246 * -- only significant for for compiling without -DNDEBUG
247 * -- you better know what your are doing, if you touch this
248 ******************************************************************/
249#define buildin_rand 1
250#ifndef NDEBUG
251
252/* define MDEBUG 0 for checking Alloc/Free */
253#define MDEBUG 0
254/* define MDEBUG 1 for allowing to keep track of Alloc/Free */
255/* undefine MMDEBUG otherwise */
256/*#define MDEBUG 0 */
257/* define MLIST for listing used blocks at programm end */
258/* undefine otherwise */
259/*#define MLIST */
260/* define MM_BEFORE for also printing the previous block while debugging */
261/*#define MM_BEFORE 1 */
262/* define PDEBUG checking polys, undefine otherwise */
263/* define PDEBUG 1 for additionally checking access to polys  -- vewry slow !*/
264#define PDEBUG 1
265/* define KDEBUG checking during standard base computation */
266#define KDEBUG
267/* define LDEBUG checking numbers, undefine otherwise */
268#define LDEBUG
269/* define RDEBUG checking rings (together with TRACE=9) */
270#define RDEBUG
271/* define TEST for non time critical tests, undefine otherwise */
272#define TEST
273/* define MM_STAT for printing block stats */
274/* #define MM_STAT 1 */
275/* #define PAGE_TEST */
276/* #define PAGE_COUNT */
277
278/* Undefine to disable debugging of MP stuff */
279#ifdef HAVE_MPSR
280#define MPSR_DEBUG
281#endif
282
283/* MLIST requires MDEBUG */
284#ifdef MLIST
285#ifndef MDEBUG
286#define MDEBUG 0
287#endif
288#endif
289
290/* PDEBUG requires MDEBUG */
291#ifdef PDEBUG
292#ifndef MDEBUG
293#define MDEBUG 0
294#endif
295#endif
296
297#ifdef TEST
298#ifndef buildin_rand
299#define buildin_rand 1
300#endif
301#endif
302
303#ifdef PAGE_COUNT
304#define PAGE_TEST
305#endif
306
307#endif /* not NDEBUG */
308
309
310#endif /* MOD2_H  */
Note: See TracBrowser for help on using the repository browser.