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

fieker-DuValspielwiese
Last change on this file since 400884 was bde08b, checked in by Olaf Bachmann <obachman@…>, 27 years ago
Wed Jun 11 09:56:05 1997 Olaf Bachmann <obachman@ratchwum.mathematik.uni-kl.de (Olaf Bachmann)> * longrat.[cc,h], tesths.cc, Makefile.in, configure.in: added support for smallgmp Tue Jun 10 17:25:28 1997 Olaf Bachmann <obachman@ratchwum.mathematik.uni-kl.de (Olaf Bachmann)> * sing_mp.cc: Got rid off warnings, when incomplete link specs git-svn-id: file:///usr/local/Singular/svn/trunk@382 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 6.8 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/ioctl.h */
39#undef HAVE_SYS_IOCTL_H
40/* Define if you have sys/time.h */
41#undef HAVE_SYS_TIME_H
42/* Define if you have sys/times.h */
43#undef HAVE_SYS_TIMES_H
44/* Define if time.h and sys/time.h can be included at the same time */
45#undef TIME_WITH_SYS_TIME
46/* Define if you have alloca.h */
47#undef HAVE_ALLOCA_H
48/* Define if you have alloca */
49#undef HAVE_ALLOCA
50/* Define if you have getpagesize */
51#undef GETPAGESIZE
52/* Define if you have vprintf */
53#undef HAVE_VPRINTF
54/* Define if you have gettimeofday */
55#undef HAVE_GETTIMEOFDAY
56/* Define if you have strstr */
57#undef HAVE_STRSTR
58/* Define if you have strtod */
59#undef HAVE_STRTOD
60/* Define if you have strtol */
61#undef HAVE_STRTOL
62/* Define if you have atexit */
63#undef HAVE_ATEXIT
64/* Define if sprintf does not return number of printed chars */
65#undef BSD_SPRINTF
66/* Define sizeof(void*) */
67#define SIZEOF_VOIDP 4
68/* Define major version of Singular -- should be set in configure.in!!!*/
69#define SINGULAR_MAJOR_VERSION 0
70/* Define minor version of Singular -- should be set in configure.in!!! */
71#define SINGULAR_MINOR_VERSION 0
72/* Define sub version of Singular -- should be set in configure.in!!! */
73#define SINGULAR_SUB_VERSION 0
74/* Define version as a string */
75#define S_VERSION1 ""
76/* Define version date as a string */
77#define S_VERSION2 ""
78/* Define the data directory where Singular searches for libs and gftables */
79#define SINGULAR_DATADIR "/usr/local/share/Singular"
80/* Define the info directory where Singular searches for help files */
81#define SINGULAR_INFODIR "/usr/local/info"
82
83/*******************************************************************
84 * Defines which are not set by configure
85 ******************************************************************/
86/* Default value for timer resolution in ticks per second */
87/* set to 10 for resolution of tenth of a second, etc */
88#define TIMER_RESOLUTION 1
89/* Undefine to disable the quote/eval of expressions */
90#define SIQ 1
91/* Define to enable TCL interface */
92#undef HAVE_TCL
93/* Define to enable working in Weyl algebras */
94#undef DRING
95/* Define to enable working in exterior algebras */
96#undef SRING
97/* Undefine to disable Gerhard's and Wilfried's fast and dirty std computations */
98#define FAST_AND_DIRTY
99/* works around a quirk in the generation of parser tables */
100#define INIT_BUG
101
102/*#define PROFILING*/
103#ifdef PROFILING
104#define PROFILER ,0,0
105#else
106#define PROFILER
107#endif
108
109/*******************************************************************
110 * Evaluate the set defines
111 ******************************************************************/
112/* FGLM needs factory */
113#ifdef HAVE_FACTORY
114#define HAVE_FGLM
115#endif
116
117/* In case we do not have strstr, we provide our own version */
118#ifndef HAVE_STRSTR
119char *strstr(const char *haystack, const char *needle);
120#endif
121
122/* Undefine to disable real time measurments  */
123#ifdef HAVE_GETTIMEOFDAY
124#ifndef macintosh
125#define HAVE_RTIMER
126#endif
127#endif
128
129#if SIZEOF_VOIDP == 8
130#define ALIGN_8
131#endif
132
133#define SINGULAR_VERSION (SINGULAR_MAJOR_VERSION*1000 + SINGULAR_MINOR_VERSION*100 + SINGULAR_SUB_VERSION)
134#ifdef DRING
135#define SDRING
136#endif
137
138#ifdef SRING
139#define SDRING
140#endif
141
142#if HAVE_INFO != 1
143#define buildin_help 1
144#endif
145
146#ifdef macintosh
147#ifndef buildin_help
148#define buildin_help 1
149#endif
150#ifdef HAVE_GMP
151#define buildin_gmp 1
152#endif
153#endif
154
155/*******************************************************************
156 * Miscellanous Defines
157 ******************************************************************/
158/* define MM_COUNT to enable "memory(0)" (resp. memory(1))*/
159#define MM_COUNT 1
160
161/* define YYDEBUG 1 for debugging bison texts, 0 otherwise */
162#define YYDEBUG 0
163
164#ifndef FALSE
165#define FALSE       0
166#endif
167
168#ifndef TRUE
169#define TRUE        1
170#endif
171
172#ifndef NULL
173#define NULL        (0)
174#endif
175
176#ifndef SEEK_END
177#define SEEK_END 2
178#endif
179
180#ifndef SEEK_SET
181#define SEEK_SET 0
182#endif
183
184#define HALT() m2_end(2)
185
186#define memcpy4 memcpy
187
188/* define OLD_RES for res/sres/mres(i,j,k) */
189#define OLD_RES
190
191/* the maximal ascii length of an int number + 1 = 11 for 32 bit int */
192#define MAX_INT_LEN 11
193extern int pShortOut;
194
195/*******************************************************************
196 * DEBUG OPTIONS
197 * -- only significant for for compiling without -DNDEBUG
198 * -- you better know what your are doing, if you touch this
199 ******************************************************************/
200#define buildin_rand 1
201#ifndef NDEBUG
202
203/* define MDEBUG 0 for checking Alloc/Free */
204#define MDEBUG 0
205/* define MDEBUG 1 for allowing to keep track of Alloc/Free */
206/* undefine MMDEBUG otherwise */
207/*#define MDEBUG 0 */
208/* define MLIST for listing used blocks at programm end */
209/* undefine otherwise */
210/*#define MLIST */
211/* define MM_BEFORE for also printing the previous block while debugging */
212/*#define MM_BEFORE 1 */
213/* define PDEBUG checking polys, undefine otherwise */
214#define PDEBUG
215/* define KDEBUG checking during standard base computation */
216#define KDEBUG
217/* define LDEBUG checking numbers, undefine otherwise */
218#define LDEBUG
219/* define RDEBUG checking rings (together with TRACE=9) */
220#define RDEBUG
221/* define TEST for non time critical tests, undefine otherwise */
222#define TEST
223/* define MM_STAT for printing block stats */
224/* #define MM_STAT 1 */
225/* #define PAGE_TEST */
226/* #define PAGE_COUNT */
227
228/* Undefine to disable debugging of MP stuff */
229#ifdef HAVE_MPSR
230#define MPSR_DEBUG
231#endif
232
233/* MLIST requires MDEBUG */
234#ifdef MLIST
235#ifndef MDEBUG
236#define MDEBUG 0
237#endif
238#endif
239
240/* PDEBUG requires MDEBUG */
241#ifdef PDEBUG
242#ifndef MDEBUG
243#define MDEBUG 0
244#endif
245#endif
246
247#ifdef TEST
248#ifndef buildin_rand
249#define buildin_rand 1
250#endif
251#endif
252
253#ifdef PAGE_COUNT
254#define PAGE_TEST
255#endif
256
257#endif /* not NDEBUG */
258
259
260#endif /* MOD2_H  */
Note: See TracBrowser for help on using the repository browser.