2002-11-21 Phil Edwards <pme@gcc.gnu.org>
[official-gcc.git] / libstdc++-v3 / acconfig.h
blob4d18634889f1abf40929cc62b4a29a51cb8fb071
1 // acconfig.h symbols and macros for libstdc++ v3 -*- C++ -*-
3 // Defines libstdc++ version.
4 #undef PACKAGE
5 #undef VERSION
7 // Needed for gettext.
8 #undef ENABLE_NLS
9 #undef HAVE_CATGETS
10 #undef HAVE_GETTEXT
11 #undef HAVE_STPCPY
13 // Define if GCC supports weak symbols.
14 #undef _GLIBCPP_SUPPORTS_WEAK
16 // Include I/O support for 'long long' and 'unsigned long long'.
17 #undef _GLIBCPP_USE_LONG_LONG
19 // Define if C99 features such as lldiv_t, llabs, lldiv should be exposed.
20 #undef _GLIBCPP_USE_C99
22 // Include support for 'long double'.
23 #undef _GLIBCPP_USE_LONG_DOUBLE
25 // Include support for shadow headers, ie --enable-cshadow-headers.
26 #undef _GLIBCPP_USE_SHADOW_HEADERS
28 // Define if code specialized for wchar_t should be used.
29 #undef _GLIBCPP_USE_WCHAR_T
31 // Define if using setrlimit to limit memory usage during 'make check'.
32 #undef _GLIBCPP_MEM_LIMITS
34 // Define to use concept checking code from the boost libraries.
35 #undef _GLIBCPP_CONCEPT_CHECKS
37 // Define if the atan2f function exists.
38 #undef _GLIBCPP_HAVE_ATAN2F
40 // Define if the atan2l function exists.
41 #undef _GLIBCPP_HAVE_ATAN2L
43 // Define if the copysignf function exists.
44 #undef _GLIBCPP_HAVE_COPYSIGNF
46 // Define to use symbol versioning in the shared library.
47 #undef _GLIBCPP_SYMVER
49 // Define symbol versioning in assember directives. If symbol
50 // versioning is beigng used, and the assembler supports this kind of
51 // thing, then use it.
52 // NB: _GLIBCPP_AT_AT is a hack to work around quoting issues in m4.
53 #if _GLIBCPP_SYMVER
54 #define _GLIBCPP_ASM_SYMVER(cur, old, version) \
55 asm (".symver " #cur "," #old _GLIBCPP_AT_AT #version);
56 #else
57 #define _GLIBCPP_ASM_SYMVER(cur, old, version)
58 #endif
60 // Define if gthr-default.h exists (meaning that threading support is enabled).
61 #undef HAVE_GTHR_DEFAULT
63 // Define if drand48 exists.
64 #undef HAVE_DRAND48
66 // Define if getpagesize exists.
67 #undef HAVE_GETPAGESIZE
69 // Define if setenv exists.
70 #undef HAVE_SETENV
72 // Define if sigsetjmp exists.
73 #undef HAVE_SIGSETJMP
75 // Define if mbstate_t exists in wchar.h.
76 #undef HAVE_MBSTATE_T
78 // Define if you have the modff function.
79 #undef HAVE_MODFF
81 // Define if you have the modfl function.
82 #undef HAVE_MODFL
84 // Define if you have the expf function.
85 #undef HAVE_EXPF
87 // Define if you have the expl function.
88 #undef HAVE_EXPL
90 // Define if you have the hypotf function.
91 #undef HAVE_HYPOTF
93 // Define if you have the hypotl function.
94 #undef HAVE_HYPOTL
96 // Define if the compiler/host combination has __builtin_abs
97 #undef HAVE___BUILTIN_ABS
99 // Define if the compiler/host combination has __builtin_labs
100 #undef HAVE___BUILTIN_LABS
102 // Define if the compiler/host combination has __builtin_cos
103 #undef HAVE___BUILTIN_COS
105 // Define if the compiler/host combination has __builtin_cosf
106 #undef HAVE___BUILTIN_COSF
108 // Define if the compiler/host combination has __builtin_cosl
109 #undef HAVE___BUILTIN_COSL
111 // Define if the compiler/host combination has __builtin_fabs
112 #undef HAVE___BUILTIN_FABS
114 // Define if the compiler/host combination has __builtin_fabsf
115 #undef HAVE___BUILTIN_FABSF
117 // Define if the compiler/host combination has __builtin_fabsl
118 #undef HAVE___BUILTIN_FABSL
120 // Define if the compiler/host combination has __builtin_sin
121 #undef HAVE___BUILTIN_SIN
123 // Define if the compiler/host combination has __builtin_sinf
124 #undef HAVE___BUILTIN_SINF
126 // Define if the compiler/host combination has __builtin_sinl
127 #undef HAVE___BUILTIN_SINL
129 // Define if the compiler/host combination has __builtin_sqrt
130 #undef HAVE___BUILTIN_SQRT
132 // Define if the compiler/host combination has __builtin_sqrtf
133 #undef HAVE___BUILTIN_SQRTF
135 // Define if the compiler/host combination has __builtin_sqrtl
136 #undef HAVE___BUILTIN_SQRTL
138 // Define if LC_MESSAGES is available in <locale.h>.
139 #undef HAVE_LC_MESSAGES
141 // Define if <float.h> exists.
142 #undef HAVE_FLOAT_H
144 // Define if modf is present in <math.h>
145 #undef HAVE_MODF
147 // @BOTTOM@
149 // Systems that have certain non-standard functions prefixed with an
150 // underscore, we'll handle those here. Must come after config.h.in.
152 #if defined (HAVE__ISNAN) && ! defined (HAVE_ISNAN)
153 # define HAVE_ISNAN 1
154 # define isnan _isnan
155 #endif
157 #if defined (HAVE__ISNANF) && ! defined (HAVE_ISNANF)
158 # define HAVE_ISNANF 1
159 # define isnanf _isnanf
160 #endif
162 #if defined (HAVE__ISNANL) && ! defined (HAVE_ISNANL)
163 # define HAVE_ISNANL 1
164 # define isnanl _isnanl
165 #endif
167 #if defined (HAVE__ISINF) && ! defined (HAVE_ISINF)
168 # define HAVE_ISINF 1
169 # define isinf _isinf
170 #endif
172 #if defined (HAVE__ISINFF) && ! defined (HAVE_ISINFF)
173 # define HAVE_ISINFF 1
174 # define isinff _isinff
175 #endif
177 #if defined (HAVE__ISINFL) && ! defined (HAVE_ISINFL)
178 # define HAVE_ISINFL 1
179 # define isinfl _isinfl
180 #endif
182 #if defined (HAVE__COPYSIGN) && ! defined (HAVE_COPYSIGN)
183 # define HAVE_COPYSIGN 1
184 # define copysign _copysign
185 #endif
187 #if defined (HAVE__COPYSIGNL) && ! defined (HAVE_COPYSIGNL)
188 # define HAVE_COPYSIGNL 1
189 # define copysignl _copysignl
190 #endif
192 #if defined (HAVE__COSF) && ! defined (HAVE_COSF)
193 # define HAVE_COSF 1
194 # define cosf _cosf
195 #endif
197 #if defined (HAVE__ACOSF) && ! defined (HAVE_ACOSF)
198 # define HAVE_ACOSF 1
199 # define acosf _acosf
200 #endif
202 #if defined (HAVE__ACOSL) && ! defined (HAVE_ACOSL)
203 # define HAVE_ACOSL 1
204 # define acosl _acosl
205 #endif
207 #if defined (HAVE__ASINF) && ! defined (HAVE_ASINF)
208 # define HAVE_ASINF 1
209 # define asinf _asinf
210 #endif
212 #if defined (HAVE__ASINL) && ! defined (HAVE_ASINL)
213 # define HAVE_ASINL 1
214 # define asinl _asinl
215 #endif
217 #if defined (HAVE__ATANF) && ! defined (HAVE_ATANF)
218 # define HAVE_ATANF 1
219 # define atanf _atanf
220 #endif
222 #if defined (HAVE__ATANL) && ! defined (HAVE_ATANL)
223 # define HAVE_ATANL 1
224 # define atanl _atanl
225 #endif
227 #if defined (HAVE__CEILF) && ! defined (HAVE_CEILF)
228 # define HAVE_CEILF 1
229 # define aceil _ceilf
230 #endif
232 #if defined (HAVE__CEILL) && ! defined (HAVE_CEILL)
233 # define HAVE_CEILL 1
234 # define aceil _ceill
235 #endif
237 #if defined (HAVE__COSHF) && ! defined (HAVE_COSHF)
238 # define HAVE_COSHF 1
239 # define coshf _coshf
240 #endif
242 #if defined (HAVE__COSL) && ! defined (HAVE_COSL)
243 # define HAVE_COSL 1
244 # define cosl _cosl
245 #endif
247 #if defined (HAVE__LOGF) && ! defined (HAVE_LOGF)
248 # define HAVE_LOGF 1
249 # define logf _logf
250 #endif
252 #if defined (HAVE__COSHL) && ! defined (HAVE_COSHL)
253 # define HAVE_COSHL 1
254 # define coshl _coshl
255 #endif
257 #if defined (HAVE__EXPF) && ! defined (HAVE_EXPF)
258 # define HAVE_EXPF 1
259 # define expf _expf
260 #endif
262 #if defined (HAVE__EXPL) && ! defined (HAVE_EXPL)
263 # define HAVE_EXPL 1
264 # define expl _expl
265 #endif
267 #if defined (HAVE__FABSF) && ! defined (HAVE_FABSF)
268 # define HAVE_FABSF 1
269 # define fabsf _fabsf
270 #endif
272 #if defined (HAVE__FABSL) && ! defined (HAVE_FABSL)
273 # define HAVE_FABSL 1
274 # define fabsl _fabsl
275 #endif
277 #if defined (HAVE__FLOORF) && ! defined (HAVE_FLOORF)
278 # define HAVE_FLOORF 1
279 # define floorf _floorf
280 #endif
282 #if defined (HAVE__FLOORL) && ! defined (HAVE_FLOORL)
283 # define HAVE_FLOORL 1
284 # define floorl _floorl
285 #endif
287 #if defined (HAVE__FMODF) && ! defined (HAVE_FMODF)
288 # define HAVE_FMODF 1
289 # define fmodf _fmodf
290 #endif
292 #if defined (HAVE__FMODL) && ! defined (HAVE_FMODL)
293 # define HAVE_FMODL 1
294 # define fmodl _fmodl
295 #endif
297 #if defined (HAVE__FREXPF) && ! defined (HAVE_FREXPF)
298 # define HAVE_FREXPF 1
299 # define frexpf _frexpf
300 #endif
302 #if defined (HAVE__FREXPL) && ! defined (HAVE_FREXPL)
303 # define HAVE_FREXPL 1
304 # define frexpl _frexpl
305 #endif
307 #if defined (HAVE__LDEXPF) && ! defined (HAVE_LDEXPF)
308 # define HAVE_LDEXPF 1
309 # define ldexpf _ldexpf
310 #endif
312 #if defined (HAVE__LDEXPL) && ! defined (HAVE_LDEXPL)
313 # define HAVE_LDEXPL 1
314 # define ldexpl _ldexpl
315 #endif
317 #if defined (HAVE__LOG10F) && ! defined (HAVE_LOG10F)
318 # define HAVE_LOG10F 1
319 # define log10f _log10f
320 #endif
322 #if defined (HAVE__LOGL) && ! defined (HAVE_LOGL)
323 # define HAVE_LOGL 1
324 # define logl _logl
325 #endif
327 #if defined (HAVE__POWF) && ! defined (HAVE_POWF)
328 # define HAVE_POWF 1
329 # define powf _powf
330 #endif
332 #if defined (HAVE__LOG10L) && ! defined (HAVE_LOG10L)
333 # define HAVE_LOG10L 1
334 # define log10l _log10l
335 #endif
337 #if defined (HAVE__MODF) && ! defined (HAVE_MODF)
338 # define HAVE_MODF 1
339 # define modf _modf
340 #endif
342 #if defined (HAVE__MODL) && ! defined (HAVE_MODL)
343 # define HAVE_MODL 1
344 # define modl _modl
345 #endif
347 #if defined (HAVE__SINF) && ! defined (HAVE_SINF)
348 # define HAVE_SINF 1
349 # define sinf _sinf
350 #endif
352 #if defined (HAVE__POWL) && ! defined (HAVE_POWL)
353 # define HAVE_POWL 1
354 # define powl _powl
355 #endif
357 #if defined (HAVE__SINHF) && ! defined (HAVE_SINHF)
358 # define HAVE_SINHF 1
359 # define sinhf _sinhf
360 #endif
362 #if defined (HAVE__SINL) && ! defined (HAVE_SINL)
363 # define HAVE_SINL 1
364 # define sinl _sinl
365 #endif
367 #if defined (HAVE__SQRTF) && ! defined (HAVE_SQRTF)
368 # define HAVE_SQRTF 1
369 # define sqrtf _sqrtf
370 #endif
372 #if defined (HAVE__SINHL) && ! defined (HAVE_SINHL)
373 # define HAVE_SINHL 1
374 # define sinhl _sinhl
375 #endif
377 #if defined (HAVE__TANF) && ! defined (HAVE_TANF)
378 # define HAVE_TANF 1
379 # define tanf _tanf
380 #endif
382 #if defined (HAVE__SQRTL) && ! defined (HAVE_SQRTL)
383 # define HAVE_SQRTL 1
384 # define sqrtl _sqrtl
385 #endif
387 #if defined (HAVE__TANHF) && ! defined (HAVE_TANHF)
388 # define HAVE_TANHF 1
389 # define tanhf _tanhf
390 #endif
392 #if defined (HAVE__TANL) && ! defined (HAVE_TANL)
393 # define HAVE_TANF 1
394 # define tanf _tanf
395 #endif
397 #if defined (HAVE__STRTOF) && ! defined (HAVE_STRTOF)
398 # define HAVE_STRTOF 1
399 # define strtof _strtof
400 #endif
402 #if defined (HAVE__TANHL) && ! defined (HAVE_TANHL)
403 # define HAVE_TANHL 1
404 # define tanhl _tanhl
405 #endif
407 #if defined (HAVE__STRTOLD) && ! defined (HAVE_STRTOLD)
408 # define HAVE_STRTOLD 1
409 # define strtold _strtold
410 #endif
412 #if defined (HAVE__SINCOS) && ! defined (HAVE_SINCOS)
413 # define HAVE_SINCOS 1
414 # define sincos _sincos
415 #endif
417 #if defined (HAVE__SINCOSF) && ! defined (HAVE_SINCOSF)
418 # define HAVE_SINCOSF 1
419 # define sincosf _sincosf
420 #endif
422 #if defined (HAVE__SINCOSL) && ! defined (HAVE_SINCOSL)
423 # define HAVE_SINCOSL 1
424 # define sincosl _sincosl
425 #endif
427 #if defined (HAVE__FINITE) && ! defined (HAVE_FINITE)
428 # define HAVE_FINITE 1
429 # define finite _finite
430 #endif
432 #if defined (HAVE__FINITEF) && ! defined (HAVE_FINITEF)
433 # define HAVE_FINITEF 1
434 # define finitef _finitef
435 #endif
437 #if defined (HAVE__FINITEL) && ! defined (HAVE_FINITEL)
438 # define HAVE_FINITEL 1
439 # define finitel _finitel
440 #endif
442 #if defined (HAVE__QFINITE) && ! defined (HAVE_QFINITE)
443 # define HAVE_QFINITE 1
444 # define qfinite _qfinite
445 #endif
447 #if defined (HAVE__FPCLASS) && ! defined (HAVE_FPCLASS)
448 # define HAVE_FPCLASS 1
449 # define fpclass _fpclass
450 #endif
452 #if defined (HAVE__QFPCLASS) && ! defined (HAVE_QFPCLASS)
453 # define HAVE_QFPCLASS 1
454 # define qfpclass _qfpclass
455 #endif