1/* BEGIN LICENSE BLOCK
2 * Version: CMPL 1.1
3 *
4 * The contents of this file are subject to the Cisco-style Mozilla Public
5 * License Version 1.1 (the "License"); you may not use this file except
6 * in compliance with the License.  You may obtain a copy of the License
7 * at www.eclipse-clp.org/license.
8 *
9 * Software distributed under the License is distributed on an "AS IS"
10 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied.  See
11 * the License for the specific language governing rights and limitations
12 * under the License.
13 *
14 * The Original Code is  The ECLiPSe Constraint Logic Programming System.
15 * The Initial Developer of the Original Code is  Cisco Systems, Inc.
16 * Portions created by the Initial Developer are
17 * Copyright (C) 1994-2006 Cisco Systems, Inc.  All Rights Reserved.
18 *
19 * Contributor(s):
20 *
21 * END LICENSE BLOCK */
22
23/*
24 * The template header file. We cannot use autoheader because fgrep
25 * complains about too many symbols in configure.in
26 */
27
28
29/* This ECLiPSe version */
30#define PACKAGE_VERSION "Something from GIT. See subtree merge."
31
32/* Define if on AIX 3.
33   System headers sometimes define this.
34   We just want to avoid a redefinition error message.  */
35#ifndef _ALL_SOURCE
36#undef _ALL_SOURCE
37#endif
38
39/* Define if atof() might not return negative zeros correctly  */
40#undef ATOF_NEGZERO_BUG
41
42/* Define if type char is unsigned and you are not using gcc.  */
43#undef __CHAR_UNSIGNED__
44
45/* Define to empty if the keyword does not work.  */
46#undef const
47
48/* Define to empty if the keyword does not work.  */
49#undef volatile
50
51/* Define to empty if the keyword does not work.  */
52#undef inline
53
54/* ignored if not available */
55#undef finite
56
57/* Define if system calls automatically restart after interruption
58   by a signal.  */
59#undef HAVE_RESTARTABLE_SYSCALLS
60
61/* Define if your struct stat has st_blksize.  */
62#undef HAVE_ST_BLKSIZE
63
64/* Define if you have vfork.h.  */
65#undef HAVE_VFORK_H
66
67/* Type sizes.  */
68#include "../../sizes.h"
69
70/* Define if no (void *) type.  */
71#undef HAVE_NO_VOID_PTR
72
73/* Define if we have the long long int type.  */
74#undef HAVE_LONG_LONG
75#undef HAVE___INT64
76
77/* Define to `long' if <sys/types.h> doesn't define.  */
78#undef off_t
79
80/* Define to `int' if <sys/types.h> doesn't define.  */
81#undef pid_t
82
83/* Define as the return type of signal handlers (int or void).  */
84#define RETSIGTYPE void
85
86/* Define if sprintf() returns the number of characters printed. */
87#undef SPRINTF_RETURNS_LENGTH
88
89/* Define to `unsigned' if <sys/types.h> doesn't define.  */
90#undef size_t
91
92/* Define if you have the ANSI C header files.  */
93#define STDC_HEADERS 1
94
95/* Define on System V Release 4.  */
96#undef SVR4
97
98/* Define vfork as fork if vfork does not work.  */
99#undef vfork
100
101/* Define if your processor stores words with the most significant
102   byte first (like Motorola and SPARC, unlike Intel and VAX).  */
103#undef WORDS_BIGENDIAN
104
105/* Check where R_OK etc. are defined, unistd.h or sys/file.h */
106#undef ACCESS_IN_UNISTD
107
108/* On AIX/rs6000 define _BSD to obtain BSD-like features */
109#undef _BSD
110
111/* Check if times(3) returns 0 or elapsed time */
112#undef BSD_TIMES
113
114/* The right spelling for etext */
115#define ETEXT undef
116
117/* Check if the signal action is reset to SIG_DFL before calling the handler */
118#undef HANDLER_RESET
119
120/* Look for the alarm function */
121#undef HAVE_ALARM
122
123/* Check if cputime can be limited */
124#undef HAVE_CPU_LIMIT
125
126/* Check for the finite function */
127#define HAVE_FINITE 1
128
129/* Check for the isinf and isnan functions */
130#undef HAVE_ISINF
131#undef HAVE_ISNAN
132
133/* Look for the pipes */
134#undef HAVE_PIPE
135
136/* Check if it is possible to push back characters with TIOCSTI */
137#undef HAVE_PUSHBACK
138
139/* Look for the putenv function */
140#undef HAVE_PUTENV
141
142/* Look for the rename function */
143#undef HAVE_RENAME
144
145/* Look for the select function */
146#undef HAVE_SELECT
147
148/* Look for the setitimer function */
149#undef HAVE_SETITIMER
150
151/* Look for the sleep function */
152#undef HAVE_SLEEP
153
154/* Look for the strerror function */
155#define HAVE_STRERROR 1
156
157/* Look for the localtime_r function */
158#undef HAVE_LOCALTIME_R
159
160/* Check for vsprintf nad if it is there, assume varargs is available */
161#undef HAVE_VARARGS
162#undef HAVE_VSPRINTF
163#undef HAVE_VSNPRINTF
164
165/* Check for ways to control floating point rounding */
166#undef HAVE_FENV_H
167#undef HAVE_FPU_CONTROL_H
168//#undef HAVE_FPSETROUND
169#if !defined(__arm__) && !defined(__ARM_ARCH_8A__)
170#define HAVE_FPSETROUND
171#endif
172#undef HAVE_IEEE_FLAGS
173
174/* Specify the host architecture as returned by ARCH */
175#define HOSTARCH "Barrelfish"
176
177/* Look for the PATH_MAX definition in <limits.h> */
178#undef PATH_IN_LIMITS
179
180/* Are the tests running on a remote machine? */
181#undef REMOTE_TESTS
182
183/* Define if sigio is available */
184#undef SIGIO_FASYNC
185#undef SIGIO_SETSIG
186
187/* Check if sys/socket.h exists and if so, assume that sockets are there */
188#undef SOCKETS
189
190/* Check if sys/un.h exists and if so, assume the AF_UNIX address family
191 * works
192 */
193#undef HAVE_AF_UNIX
194
195/* Check how to obtain page size from sysconf() */
196#undef SYSCONF_PAGE
197
198/* Check for System V-style termio */
199#undef TERMIO_SYS_V_STYLE
200
201/* Define if you have dirent.h.  */
202#define HAVE_DIRENT_H 1
203
204/* Define if you have fstat.  */
205#undef HAVE_FSTAT
206
207/* Define if you have getcwd.  */
208#define HAVE_GETCWD 1
209
210/* Define if you have gethostid.  */
211#undef HAVE_GETHOSTID
212
213/* Define if you have gethostname.  */
214#undef HAVE_GETHOSTNAME
215
216/* Define if you have gethrtime (high resolution timer).  */
217#undef HAVE_GETHRTIME
218
219/* Define if you don't have dirent.h, but have ndir.h.  */
220#undef HAVE_NDIR_H
221
222/* Define if you have netdb.h.  */
223#undef HAVE_NETDB_H
224
225/* Define if you have sgi hardware high resolution timer.  */
226#undef HAVE_SGIHRCLOCK
227
228/* Define if sgi hardware high resolution timer is 64 bits  */
229#undef HAVE_SGI64BITCLOCK
230
231/* Define if you have getwd.  */
232#undef HAVE_GETWD
233
234/* Define if you have bcopy.  */
235#undef HAVE_BCOPY
236
237/* Define if you have memcpy.  */
238#undef HAVE_MEMCPY
239
240/* Define if you have memmove.  */
241#undef HAVE_MEMMOVE
242
243/* Define if you have a working mmap.  */
244#undef HAVE_MMAP
245
246/* Define if you have sys/mman.h.  */
247#undef HAVE_SYS_MMAN_H
248
249/* Define if you have random.  */
250#undef HAVE_RANDOM
251
252/* Define if you have realpath.  */
253#undef HAVE_REALPATH
254
255/* Define if you have rint.  */
256#undef HAVE_RINT
257
258/* Define if you have trunc.  */
259#undef HAVE_TRUNC
260
261/* Define if you have setsid.  */
262#undef HAVE_SETSID
263
264/* Define if you have sigaction.  */
265#define HAVE_SIGACTION 1
266
267/* Define if you have sigaltstack.  */
268#undef HAVE_SIGALTSTACK
269
270/* Define if you have siginterrupt.  */
271#undef HAVE_SIGINTERRUPT
272
273/* Define if you have sigprocmask.  */
274#undef HAVE_SIGPROCMASK
275
276/* Define if you have sigstack.  */
277#undef HAVE_SIGSTACK
278
279/* Define if you have sigvec.  */
280#undef HAVE_SIGVEC
281
282/* Define if you have sincos(). Used in ria.  */
283#undef HAVE_SINCOS
284
285/* Define if you don't have dirent.h, but have sys/dir.h.  */
286#undef HAVE_SYS_DIR_H
287
288/* Define if you don't have dirent.h, but have sys/ndir.h.  */
289#undef HAVE_SYS_NDIR_H
290
291/* Define if you have sysconf.  */
292#undef HAVE_SYSCONF
293
294/* Define if you have sysinfo.  */
295#undef HAVE_SYSINFO
296
297/* Define if you have sys/systeminfo.h  */
298#undef HAVE_SYS_SYSTEMINFO_H
299
300/* Define if ioctl undestands SIOCGIFHWADDR */
301#undef HAVE_SIOCGIFHWADDR
302
303/* Define if you have tcgetattr.  */
304#define HAVE_TCGETATTR 1
305
306/* Define if you have times.  */
307#undef HAVE_TIMES
308
309/* Define if we have <ucontext.h> and can acces registers from signal context.  */
310#undef HAVE_UCONTEXTGREGS
311
312/* Define if you have the <ctype.h> header file.  */
313#undef HAVE_CTYPE_H
314
315/* Define if you have the <memory.h> header file.  */
316#undef HAVE_MEMORY_H
317
318/* Define if you have the <pthread.h> header file.  */
319#undef HAVE_PTHREAD_H
320
321/* Define if you have the <string.h> header file.  */
322#define HAVE_STRING_H 1
323
324/* Define if you have the <sys/param.h> header file.  */
325#undef HAVE_SYS_PARAM_H
326
327/* Define if you have the <sys/utsname.h> header file.  */
328#define HAVE_SYS_UTSNAME_H 1
329
330/* Define if you have the <unistd.h> header file.  */
331#define HAVE_UNISTD_H 1
332
333/* Define if you have the bsd library (-lbsd).  */
334#undef HAVE_LIBBSD
335
336/* Define if you have the m library (-lm).  */
337#undef HAVE_LIBM
338
339/* Define is getpagesize() exists */
340#undef HAVE_GETPAGESIZE
341
342/* On some machines, there is not enough space to run bigclause etc. */
343#undef SMALL_SPACE
344
345/* On some machines struct nlist uses n_un.n_name, on others it does not */
346#undef N_NAME
347
348/* Do we have the GMP (or compatible) multi precision library */
349#undef HAVE_LIBGMP
350
351/* Are we using MPIR as the GMP compatible multi precision library */
352#undef USING_MPIR
353
354/* Do we have the FLEXlm licence manager */
355#undef HAVE_FLEXLM
356
357/* Define if ceil() doesn't correctly return -0.0 for argument >-1.0 <-0.0 */
358#undef HAVE_CEIL_NEGZERO_BUG
359/* Define if rint() doesn't behave correctly */
360#undef HAVE_RINT_BUG
361
362/* Define if pow() gives incorrect results for 0.0^negint */
363#undef HAVE_POW_ZERO_NEG_BUG
364/* Define if compiler may be generating code with strict-overflow optmisation
365   that breaks some code that does integer overflow detection */
366#undef MAY_HAVE_STRICT_OVERFLOW
367
368/*#define O o */
369#define OBJECT_SUFFIX_STRING ".o"
370#undef AIX
371#undef HAVE_MPROTECT
372#undef HAVE_GETRUSAGE
373#undef UPTIME
374#define HAVE_DLOPEN 1
375#undef HAVE_MACH_O_DYLD_H
376#undef HAVE_NLIST
377
378#undef HAVE_TCL
379#undef HAVE_TK
380#undef SBRK_UNDEF
381#undef GETHOSTID_UNDEF
382#undef STRTOL_UNDEF
383/* Define if we cannot compute the stack beginning from the sbrk(0) address */
384#undef STACK_BASE
385
386#define KB	1024
387#define MB	KB*KB
388
389#define VIRTUAL_HEAP_DEFAULT (32*MB)
390#define VIRTUAL_SHARED_DEFAULT (64*MB)
391#undef VIRTUAL_LOCAL_STACK_DEFAULT
392#undef VIRTUAL_GLOBAL_STACK_DEFAULT
393#define SHARED_MEM_OFFSET_HEAP (16*MB)
394#undef MEMCPY_STRING
395#undef MEMCPY_MEMORY
396#undef HAVE_SYS_SELECT_H
397#undef HAVE_VALUES_H
398#undef HAVE_INFINITY
399
400/* on m88k, gettimeofday accepts only one argument */
401#ifdef GETTIME1
402#define gettimeofday(tp,tzp)	gettimeofday(tp)
403#endif
404
405/* define if compiling for Windows -- specifies minimum version */
406#undef HAVE_WIN32_WINNT
407
408/* to deal with OS's that define it but don't implement it */
409#undef HAVE_MAP_NORESERVE
410
411#define	NREGARG		0
412#define	NREGTMP		0
413
414#define mem_init eclipse_mem_init
415