~rdoering/ubuntu/intrepid/erlang/fix-535090

« back to all changes in this revision

Viewing changes to erts/acconfig.h

  • Committer: Bazaar Package Importer
  • Author(s): Soren Hansen
  • Date: 2007-05-01 16:57:10 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20070501165710-2sapk0hp2gf3o0ip
Tags: 1:11.b.4-2ubuntu1
* Merge with Debian Unstable. Remaining changes:
  - Add -fno-stack-protector to fix broken crypto_drv.
* DebianMaintainerField update.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
 
/*
3
 
 *  Erlang emulator options.
4
 
 */
5
 
 
6
 
/* Define if you don't want the fix allocator in Erlang */
7
 
#undef NO_FIX_ALLOC
8
 
 
9
 
/* Define if floating points exceptions are non-existing/not reliable */
10
 
#undef NO_FPE_SIGNALS
11
 
 
12
 
/* Defined if no found C compiler can handle jump tables */
13
 
#undef NO_JUMP_TABLE
14
 
 
15
 
/* Define if you wish to redefine FD_SETSIZE to be able to select on more fd */
16
 
#undef REDEFINE_FD_SETSIZE
17
 
 
18
 
/* Define if you do not have a high-res. timer & want to use times() instead */
19
 
#undef CORRECT_USING_TIMES
20
 
 
21
 
 
22
 
/*
23
 
 * HiPE enable or not.
24
 
 */
25
 
 
26
 
/* Define to enable HiPE. */
27
 
#undef HIPE
28
 
 
29
 
/* Define to enable shared heap model. */
30
 
#undef SHARED_HEAP
31
 
 
32
 
/* Define to enable hybrid heap model. */
33
 
#undef HYBRID
34
 
 
35
 
/* Define to enable hrvtime() on Linux systems with perfctr extension. */
36
 
#undef USE_PERFCTR
37
 
 
38
 
/*
39
 
 * elib_malloc options.
40
 
 */
41
 
 
42
 
/* Define to enable use of elib_malloc (a malloc() replacement). */
43
 
#undef ENABLE_ELIB_MALLOC
44
 
 
45
 
/* */
46
 
#undef ELIB_HEAP_SBRK
47
 
 
48
 
/* Define to enable the use of sorted blocks when using elib_malloc. */
49
 
#undef ELIB_SORTED_BLOCKS
50
 
 
51
 
 
52
 
/*
53
 
 *  Misc. system calls and include files.
54
 
 */
55
 
/* Define if netdb.h needs struct sockaddr_in ans in.h CAN be included before*/
56
 
#undef NETDB_H_NEEDS_IN_H
57
 
 
58
 
/* Define if we have socklen_t */
59
 
#undef HAVE_SOCKLEN_T
60
 
 
61
 
/* Define if you have the <sys/uio.h> header file. */
62
 
#undef HAVE_UIO_H
63
 
 
64
 
/* */
65
 
#undef NO_PRAGMA_WEAK
66
 
 
67
 
/* */
68
 
#undef NO_SA_LEN
69
 
 
70
 
/* */
71
 
#undef SOCKOPT_CONNECT_STAT
72
 
 
73
 
/* define if the variable sys_errlist is declared in a system header file */
74
 
#undef SYS_ERRLIST_DECLARED
75
 
 
76
 
/* define if you have the Solaris/ultrasparc /dev/perfmon interface */
77
 
#undef HAVE_SOLARIS_SPARC_PERFMON
78
 
 
79
 
/* define if gethrvtime() works and uses ioctl() to /proc/self */
80
 
#undef HAVE_GETHRVTIME_PROCFS_IOCTL
81
 
 
82
 
/* define if clock_gettime() works */
83
 
#undef HAVE_CLOCK_GETTIME
84
 
 
85
 
/* The number of bytes in a size_t.  */
86
 
#undef SIZEOF_SIZE_T
87
 
 
88
 
/* The number of bytes in an off_t.  */
89
 
#undef SIZEOF_OFF_T
90
 
 
91
 
 
92
 
/*
93
 
 *  Networking.
94
 
 */
95
 
 
96
 
/* Define if you have the <net/errno.h> header file. */
97
 
#undef HAVE_NET_ERRNO_H
98
 
 
99
 
/* Possible gethostbyname_r() function interfaces (sigh...) */
100
 
/* Note: don't use the number 1, to protect against out-of-sync configure */
101
 
#define GHBN_R_SOLARIS  2
102
 
#define GHBN_R_AIX      3
103
 
#define GHBN_R_GLIBC    4
104
 
/* Define to one of the above if you have the gethostbyname_r() function. */
105
 
#undef HAVE_GETHOSTBYNAME_R
106
 
 
107
 
/* define if h_errno is declared (in some way) in a system header file */
108
 
#undef H_ERRNO_DECLARED
109
 
 
110
 
/* Define if you need to include rpc/types.h to get INADDR_LOOPBACK defined */
111
 
#undef DEF_INADDR_LOOPBACK_IN_RPC_TYPES_H
112
 
 
113
 
/* Define if you need to include winsock2.h to get INADDR_LOOPBACK defined */
114
 
#undef DEF_INADDR_LOOPBACK_IN_WINSOCK2_H
115
 
 
116
 
/* Uncomment if you don't have a definition of INADDR_LOOPBACK */
117
 
#undef HAVE_NO_INADDR_LOOPBACK
118
 
 
119
 
/* Define if you have IP version 6 support. */
120
 
#undef HAVE_IN6
121
 
 
122
 
/* Early linux used in_addr6 instead of in6_addr, define if you have this */
123
 
#undef HAVE_IN_ADDR6_STRUCT
124
 
 
125
 
/* Define if setsockopt() accepts multicast options */
126
 
#undef HAVE_MULTICAST_SUPPORT
127
 
 
128
 
/* Define if you have <sys/sockio.h header file. */
129
 
#undef HAVE_SOCKIO_H
130
 
 
131
 
/* Define if you require <sys/socketio.h> instead of <sys/sockio.h> */
132
 
#undef HAVE_SOCKETIO_H
133
 
 
134
 
/* Define if you have SO_BSDCOMPAT flag on sockets. */
135
 
#undef HAVE_SO_BSDCOMPAT
136
 
 
137
 
/* Define if you have a decl of fprintf that conflicts with int fprintf() */
138
 
#undef HAVE_CONFLICTING_FPRINTF_DECLARATION
139
 
       
140
 
/* Define if you have a decl of fread that conflicts with int fread() */
141
 
#undef HAVE_CONFLICTING_FREAD_DECLARATION
142
 
 
143
 
/*
144
 
 *  Thread support.
145
 
 */
146
 
 
147
 
/* Define the pthread.h header file is in pthread/mit directory. */
148
 
#undef HAVE_MIT_PTHREAD_H
149
 
 
150
 
/* Define if you want to enable child waiter thread */
151
 
#undef ENABLE_CHILD_WAITER_THREAD
152
 
 
153
 
/* Define if malloc should use a recursive mutex */
154
 
#undef  USE_RECURSIVE_MALLOC_MUTEX
155
 
 
156
 
/* Define if mutexes should be reinitialized (instead of unlocked)
157
 
   in child at fork. */
158
 
#undef INIT_MUTEX_IN_CHILD_AT_FORK
159
 
 
160
 
/*
161
 
 *  Math definitions.
162
 
 */
163
 
 
164
 
/* Define if you have the finite() function. */
165
 
#undef HAVE_FINITE
166
 
 
167
 
/* Define if you have the isinf() function. */
168
 
#undef HAVE_ISINF
169
 
 
170
 
/* Define if you have the isnan() function. */
171
 
#undef HAVE_ISNAN
172
 
 
173
 
/* Define if you have the fpsetmask() function. */
174
 
#undef HAVE_FPSETMASK
175
 
 
176
 
/* Define if you have matherr() function and struct exception type. */
177
 
#undef USE_MATHERR
178
 
 
179
 
/* Define if you have the ieee_handler() function. */
180
 
#undef HAVE_IEEE_HANDLER
181
 
 
182
 
/*
183
 
 * The lines below this marker is copied into the bottom of config.h.in
184
 
 */
185
 
@BOTTOM@
186
 
 
187
 
/* Redefine in6_addr. XXX this should be moved to the files where it's used? */
188
 
#ifdef HAVE_IN_ADDR6_STRUCT
189
 
#define in6_addr in_addr6
190
 
#endif
191
 
 
192
 
/* Define a reasonable default for INADDR_LOOPBACK */
193
 
/* XXX this should be moved to the files where it's used? */
194
 
#ifdef HAVE_NO_INADDR_LOOPBACK
195
 
#define INADDR_LOOPBACK (u_long)0x7F000001
196
 
#endif
197
 
 
198
 
#ifdef PURIFY /* Don't use elib_malloc as clib
199
 
                 when purify is used */
200
 
#undef ENABLE_ELIB_MALLOC
201
 
#undef ELIB_HEAP_SBRK
202
 
#undef ELIB_ALLOC_IS_CLIB
203
 
#endif
204
 
 
205
 
#ifdef REDEFINE_FD_SETSIZE
206
 
#define FD_SETSIZE 1024
207
 
#endif
208
 
 
209
 
#ifdef HAVE_GETHRVTIME_PROCFS_IOCTL
210
 
#define HAVE_GETHRVTIME
211
 
#endif
212
 
 
213
 
#ifndef HAVE_FINITE
214
 
# if defined(HAVE_ISINF) && defined(HAVE_ISNAN)
215
 
#  define USE_ISINF_ISNAN
216
 
# endif
217
 
#endif
218
 
 
219
 
#if defined(DEBUG) && defined(USE_THREADS)
220
 
#undef ERTS_ENABLE_LOCK_CHECK
221
 
#define ERTS_ENABLE_LOCK_CHECK 1
222
 
#endif