source: git/Singular/mod2.h.in @ 97454d

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