OSDN Git Service

2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / acconfig.h
1 // Symbols and macros for libstdc++ -*- C++ -*-
2
3 // Defines libstdc++ version.
4 #undef PACKAGE
5 #undef VERSION
6
7 // Needed for gettext.
8 #undef ENABLE_NLS
9 #undef HAVE_CATGETS
10 #undef HAVE_GETTEXT
11 #undef HAVE_STPCPY
12
13 // Define if code specialized for long long should be used.
14 #undef _GLIBCXX_USE_LONG_LONG
15
16 // Define if code specialized for wchar_t should be used.
17 #undef _GLIBCXX_USE_WCHAR_T
18
19 // Define if C99 functions or macros from <wchar.h>, <math.h>,
20 // <complex.h>, <stdio.h>, and <stdlib.h> can be used or exposed.
21 #undef _GLIBCXX_USE_C99
22
23 // Define if C99 functions or macros in <math.h> should be imported in
24 // <cmath> in namespace std.
25 #undef _GLIBCXX_USE_C99_MATH
26
27 // Define if C99 functions in <complex.h> should be used in
28 // <complex>. Using compiler builtins for these functions requires
29 // corresponding C99 library functions to be present.
30 #undef _GLIBCXX_USE_C99_COMPLEX
31
32 // Define if using setrlimit to set resource limits during 'make check'.
33 #undef _GLIBCXX_RES_LIMITS
34
35 // Define to use concept checking code from the boost libraries.
36 #undef _GLIBCXX_CONCEPT_CHECKS
37
38 // Define to use symbol versioning in the shared library.
39 #undef _GLIBCXX_SYMVER
40
41 // Define symbol versioning in assember directives. If symbol
42 // versioning is beigng used, and the assembler supports this kind of
43 // thing, then use it.
44 // NB: _GLIBCXX_AT_AT is a hack to work around quoting issues in m4.
45 #if _GLIBCXX_SYMVER
46   #define _GLIBCXX_ASM_SYMVER(cur, old, version) \
47    asm (".symver " #cur "," #old _GLIBCXX_AT_AT #version);
48 #else
49   #define _GLIBCXX_ASM_SYMVER(cur, old, version)
50 #endif
51
52 // Define if LFS support is available.
53 #undef _GLIBCXX_USE_LFS
54
55 // Define if a fully dynamic basic_string is wanted.
56 #undef _GLIBCXX_FULLY_DYNAMIC_STRING
57
58 // Define if NLS translations are to be used.
59 #undef _GLIBCXX_USE_NLS
60
61 // Define if gthr-default.h exists (meaning that threading support is enabled).
62 #undef HAVE_GTHR_DEFAULT
63
64 // Define if the atan2f function exists.
65 #undef HAVE_ATAN2F 
66
67 // Define if the atan2l function exists.
68 #undef HAVE_ATAN2L
69
70 // Define if the tanl function exists.
71 #undef HAVE_TANL
72
73 // Define if the copysignf function exists.
74 #undef HAVE_COPYSIGNF
75
76 // Define if getpagesize exists.
77 #undef HAVE_GETPAGESIZE
78
79 // Define if setenv exists.
80 #undef HAVE_SETENV
81
82 // Define if sigsetjmp exists.
83 #undef HAVE_SIGSETJMP
84
85 // Define if mbstate_t exists in wchar.h.
86 #undef HAVE_MBSTATE_T
87
88 // Define if you have the modff function.
89 #undef HAVE_MODFF
90
91 // Define if you have the modfl function.
92 #undef HAVE_MODFL
93
94 // Define if you have the expf function.
95 #undef HAVE_EXPF
96
97 // Define if you have the expl function.
98 #undef HAVE_EXPL
99
100 // Define if you have the hypot function.
101 #undef HAVE_HYPOT
102
103 // Define if you have the hypotf function.
104 #undef HAVE_HYPOTF
105
106 // Define if you have the hypotl function.
107 #undef HAVE_HYPOTL
108
109 // Define if poll is available in <poll.h>.
110 #undef HAVE_POLL
111
112 // Define if S_ISREG (Posix) is available in <sys/stat.h>.
113 #undef HAVE_S_ISREG
114
115 // Define if S_IFREG is available in <sys/stat.h>.
116 #undef HAVE_S_IFREG
117
118 // Define if writev is available in <sys/uio.h>.
119 #undef HAVE_WRITEV
120
121 // Define if int64_t is available in <stdint.h>.
122 #undef HAVE_INT64_T
123
124 // Define if LC_MESSAGES is available in <locale.h>.
125 #undef HAVE_LC_MESSAGES
126
127 // Define if <float.h> exists.
128 #undef HAVE_FLOAT_H
129
130 // Define if modf is present in <math.h>
131 #undef HAVE_MODF
132
133 // @BOTTOM@
134 //
135 // Systems that have certain non-standard functions prefixed with an
136 // underscore, we'll handle those here. Must come after config.h.in.
137 //
138 #if defined (HAVE__ISNAN) && ! defined (HAVE_ISNAN)
139 # define HAVE_ISNAN 1
140 # define isnan _isnan
141 #endif
142
143 #if defined (HAVE__ISNANF) && ! defined (HAVE_ISNANF)
144 # define HAVE_ISNANF 1
145 # define isnanf _isnanf
146 #endif
147
148 #if defined (HAVE__ISNANL) && ! defined (HAVE_ISNANL)
149 # define HAVE_ISNANL 1
150 # define isnanl _isnanl
151 #endif
152
153 #if defined (HAVE__ISINF) && ! defined (HAVE_ISINF)
154 # define HAVE_ISINF 1
155 # define isinf _isinf
156 #endif
157
158 #if defined (HAVE__ISINFF) && ! defined (HAVE_ISINFF)
159 # define HAVE_ISINFF 1
160 # define isinff _isinff
161 #endif
162
163 #if defined (HAVE__ISINFL) && ! defined (HAVE_ISINFL)
164 # define HAVE_ISINFL 1
165 # define isinfl _isinfl
166 #endif
167
168 #if defined (HAVE__COPYSIGN) && ! defined (HAVE_COPYSIGN)
169 # define HAVE_COPYSIGN 1
170 # define copysign _copysign
171 #endif
172
173 #if defined (HAVE__COPYSIGNL) && ! defined (HAVE_COPYSIGNL)
174 # define HAVE_COPYSIGNL 1
175 # define copysignl _copysignl
176 #endif
177
178 #if defined (HAVE__COSF) && ! defined (HAVE_COSF)
179 # define HAVE_COSF 1
180 # define cosf _cosf
181 #endif
182
183 #if defined (HAVE__ACOSF) && ! defined (HAVE_ACOSF)
184 # define HAVE_ACOSF 1
185 # define acosf _acosf
186 #endif
187
188 #if defined (HAVE__ACOSL) && ! defined (HAVE_ACOSL)
189 # define HAVE_ACOSL 1
190 # define acosl _acosl
191 #endif
192
193 #if defined (HAVE__ASINF) && ! defined (HAVE_ASINF)
194 # define HAVE_ASINF 1
195 # define asinf _asinf
196 #endif
197
198 #if defined (HAVE__ASINL) && ! defined (HAVE_ASINL)
199 # define HAVE_ASINL 1
200 # define asinl _asinl
201 #endif
202
203 #if defined (HAVE__ATANF) && ! defined (HAVE_ATANF)
204 # define HAVE_ATANF 1
205 # define atanf _atanf
206 #endif
207
208 #if defined (HAVE__ATANL) && ! defined (HAVE_ATANL)
209 # define HAVE_ATANL 1
210 # define atanl _atanl
211 #endif
212
213 #if defined (HAVE__CEILF) && ! defined (HAVE_CEILF)
214 # define HAVE_CEILF 1
215 # define aceil _ceilf
216 #endif
217
218 #if defined (HAVE__CEILL) && ! defined (HAVE_CEILL)
219 # define HAVE_CEILL 1
220 # define aceil _ceill
221 #endif
222
223 #if defined (HAVE__COSHF) && ! defined (HAVE_COSHF)
224 # define HAVE_COSHF 1
225 # define coshf _coshf
226 #endif
227
228 #if defined (HAVE__COSL) && ! defined (HAVE_COSL)
229 # define HAVE_COSL 1
230 # define cosl _cosl
231 #endif
232
233 #if defined (HAVE__LOGF) && ! defined (HAVE_LOGF)
234 # define HAVE_LOGF 1
235 # define logf _logf
236 #endif
237
238 #if defined (HAVE__COSHL) && ! defined (HAVE_COSHL)
239 # define HAVE_COSHL 1
240 # define coshl _coshl
241 #endif
242
243 #if defined (HAVE__EXPF) && ! defined (HAVE_EXPF)
244 # define HAVE_EXPF 1
245 # define expf _expf
246 #endif
247
248 #if defined (HAVE__EXPL) && ! defined (HAVE_EXPL)
249 # define HAVE_EXPL 1
250 # define expl _expl
251 #endif
252
253 #if defined (HAVE__FABSF) && ! defined (HAVE_FABSF)
254 # define HAVE_FABSF 1
255 # define fabsf _fabsf
256 #endif
257
258 #if defined (HAVE__FABSL) && ! defined (HAVE_FABSL)
259 # define HAVE_FABSL 1
260 # define fabsl _fabsl
261 #endif
262
263 #if defined (HAVE__FLOORF) && ! defined (HAVE_FLOORF)
264 # define HAVE_FLOORF 1
265 # define floorf _floorf
266 #endif
267
268 #if defined (HAVE__FLOORL) && ! defined (HAVE_FLOORL)
269 # define HAVE_FLOORL 1
270 # define floorl _floorl
271 #endif
272
273 #if defined (HAVE__FMODF) && ! defined (HAVE_FMODF)
274 # define HAVE_FMODF 1
275 # define fmodf _fmodf
276 #endif
277
278 #if defined (HAVE__FMODL) && ! defined (HAVE_FMODL)
279 # define HAVE_FMODL 1
280 # define fmodl _fmodl
281 #endif
282
283 #if defined (HAVE__FREXPF) && ! defined (HAVE_FREXPF)
284 # define HAVE_FREXPF 1
285 # define frexpf _frexpf
286 #endif
287
288 #if defined (HAVE__FREXPL) && ! defined (HAVE_FREXPL)
289 # define HAVE_FREXPL 1
290 # define frexpl _frexpl
291 #endif
292
293 #if defined (HAVE__LDEXPF) && ! defined (HAVE_LDEXPF)
294 # define HAVE_LDEXPF 1
295 # define ldexpf _ldexpf
296 #endif
297
298 #if defined (HAVE__LDEXPL) && ! defined (HAVE_LDEXPL)
299 # define HAVE_LDEXPL 1
300 # define ldexpl _ldexpl
301 #endif
302
303 #if defined (HAVE__LOG10F) && ! defined (HAVE_LOG10F)
304 # define HAVE_LOG10F 1
305 # define log10f _log10f
306 #endif
307
308 #if defined (HAVE__LOGL) && ! defined (HAVE_LOGL)
309 # define HAVE_LOGL 1
310 # define logl _logl
311 #endif
312
313 #if defined (HAVE__POWF) && ! defined (HAVE_POWF)
314 # define HAVE_POWF 1
315 # define powf _powf
316 #endif
317
318 #if defined (HAVE__LOG10L) && ! defined (HAVE_LOG10L)
319 # define HAVE_LOG10L 1
320 # define log10l _log10l
321 #endif
322
323 #if defined (HAVE__MODF) && ! defined (HAVE_MODF)
324 # define HAVE_MODF 1
325 # define modf _modf
326 #endif
327
328 #if defined (HAVE__MODL) && ! defined (HAVE_MODL)
329 # define HAVE_MODL 1
330 # define modl _modl
331 #endif
332
333 #if defined (HAVE__SINF) && ! defined (HAVE_SINF)
334 # define HAVE_SINF 1
335 # define sinf _sinf
336 #endif
337
338 #if defined (HAVE__POWL) && ! defined (HAVE_POWL)
339 # define HAVE_POWL 1
340 # define powl _powl
341 #endif
342
343 #if defined (HAVE__SINHF) && ! defined (HAVE_SINHF)
344 # define HAVE_SINHF 1
345 # define sinhf _sinhf
346 #endif
347
348 #if defined (HAVE__SINL) && ! defined (HAVE_SINL)
349 # define HAVE_SINL 1
350 # define sinl _sinl
351 #endif
352
353 #if defined (HAVE__SQRTF) && ! defined (HAVE_SQRTF)
354 # define HAVE_SQRTF 1
355 # define sqrtf _sqrtf
356 #endif
357
358 #if defined (HAVE__SINHL) && ! defined (HAVE_SINHL)
359 # define HAVE_SINHL 1
360 # define sinhl _sinhl
361 #endif
362
363 #if defined (HAVE__TANF) && ! defined (HAVE_TANF)
364 # define HAVE_TANF 1
365 # define tanf _tanf
366 #endif
367
368 #if defined (HAVE__SQRTL) && ! defined (HAVE_SQRTL)
369 # define HAVE_SQRTL 1
370 # define sqrtl _sqrtl
371 #endif
372
373 #if defined (HAVE__TANHF) && ! defined (HAVE_TANHF)
374 # define HAVE_TANHF 1
375 # define tanhf _tanhf
376 #endif
377
378 #if defined (HAVE__TANL) && ! defined (HAVE_TANL)
379 # define HAVE_TANL 1
380 # define tanl _tanl
381 #endif
382
383 #if defined (HAVE__STRTOF) && ! defined (HAVE_STRTOF)
384 # define HAVE_STRTOF 1
385 # define strtof _strtof
386 #endif
387
388 #if defined (HAVE__TANHL) && ! defined (HAVE_TANHL)
389 # define HAVE_TANHL 1
390 # define tanhl _tanhl
391 #endif
392
393 #if defined (HAVE__STRTOLD) && ! defined (HAVE_STRTOLD)
394 # define HAVE_STRTOLD 1
395 # define strtold _strtold
396 #endif
397
398 #if defined (HAVE__SINCOS) && ! defined (HAVE_SINCOS)
399 # define HAVE_SINCOS 1
400 # define sincos _sincos
401 #endif
402
403 #if defined (HAVE__SINCOSF) && ! defined (HAVE_SINCOSF)
404 # define HAVE_SINCOSF 1
405 # define sincosf _sincosf
406 #endif
407
408 #if defined (HAVE__SINCOSL) && ! defined (HAVE_SINCOSL)
409 # define HAVE_SINCOSL 1
410 # define sincosl _sincosl
411 #endif
412
413 #if defined (HAVE__FINITE) && ! defined (HAVE_FINITE)
414 # define HAVE_FINITE 1
415 # define finite _finite
416 #endif
417
418 #if defined (HAVE__FINITEF) && ! defined (HAVE_FINITEF)
419 # define HAVE_FINITEF 1
420 # define finitef _finitef
421 #endif
422
423 #if defined (HAVE__FINITEL) && ! defined (HAVE_FINITEL)
424 # define HAVE_FINITEL 1
425 # define finitel _finitel
426 #endif
427
428 #if defined (HAVE__QFINITE) && ! defined (HAVE_QFINITE)
429 # define HAVE_QFINITE 1
430 # define qfinite _qfinite
431 #endif
432
433 #if defined (HAVE__FPCLASS) && ! defined (HAVE_FPCLASS)
434 # define HAVE_FPCLASS 1
435 # define fpclass _fpclass
436 #endif
437
438 #if defined (HAVE__QFPCLASS) && ! defined (HAVE_QFPCLASS)
439 # define HAVE_QFPCLASS 1
440 # define qfpclass _qfpclass
441 #endif
442