2003-09-04 Eric Christopher <echristo@redhat.com>
[official-gcc.git] / libstdc++-v3 / acconfig.h
blob783f6d6db5e114c969554085bc98aa1445cfcfc4
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 _GLIBCXX_SUPPORTS_WEAK
16 // Include I/O support for 'long long' and 'unsigned long long'.
17 #undef _GLIBCXX_USE_LONG_LONG
19 // Define if C99 features such as lldiv_t, llabs, lldiv should be exposed.
20 #undef _GLIBCXX_USE_C99
22 // Include support for 'long double'.
23 #undef _GLIBCXX_USE_LONG_DOUBLE
25 // Include support for shadow headers, ie --enable-cshadow-headers.
26 #undef _GLIBCXX_USE_SHADOW_HEADERS
28 // Define if code specialized for wchar_t should be used.
29 #undef _GLIBCXX_USE_WCHAR_T
31 // Define if using setrlimit to limit memory usage during 'make check'.
32 #undef _GLIBCXX_MEM_LIMITS
34 // Define to use concept checking code from the boost libraries.
35 #undef _GLIBCXX_CONCEPT_CHECKS
37 // Define if the atan2f function exists.
38 #undef HAVE_ATAN2F
40 // Define if the atan2l function exists.
41 #undef HAVE_ATAN2L
43 // Define if the tanl function exists.
44 #undef HAVE_TANL
46 // Define if the copysignf function exists.
47 #undef HAVE_COPYSIGNF
49 // Define to use symbol versioning in the shared library.
50 #undef _GLIBCXX_SYMVER
52 // Define symbol versioning in assember directives. If symbol
53 // versioning is beigng used, and the assembler supports this kind of
54 // thing, then use it.
55 // NB: _GLIBCXX_AT_AT is a hack to work around quoting issues in m4.
56 #if _GLIBCXX_SYMVER
57 #define _GLIBCXX_ASM_SYMVER(cur, old, version) \
58 asm (".symver " #cur "," #old _GLIBCXX_AT_AT #version);
59 #else
60 #define _GLIBCXX_ASM_SYMVER(cur, old, version)
61 #endif
63 // Define if gthr-default.h exists (meaning that threading support is enabled).
64 #undef HAVE_GTHR_DEFAULT
66 // Define if drand48 exists.
67 #undef HAVE_DRAND48
69 // Define if getpagesize exists.
70 #undef HAVE_GETPAGESIZE
72 // Define if setenv exists.
73 #undef HAVE_SETENV
75 // Define if sigsetjmp exists.
76 #undef HAVE_SIGSETJMP
78 // Define if mbstate_t exists in wchar.h.
79 #undef HAVE_MBSTATE_T
81 // Define if you have the modff function.
82 #undef HAVE_MODFF
84 // Define if you have the modfl function.
85 #undef HAVE_MODFL
87 // Define if you have the expf function.
88 #undef HAVE_EXPF
90 // Define if you have the expl function.
91 #undef HAVE_EXPL
93 // Define if you have the hypot function.
94 #undef HAVE_HYPOT
96 // Define if you have the hypotf function.
97 #undef HAVE_HYPOTF
99 // Define if you have the hypotl function.
100 #undef HAVE_HYPOTL
102 // Define if the compiler/host combination has __builtin_abs
103 #undef HAVE___BUILTIN_ABS
105 // Define if the compiler/host combination has __builtin_labs
106 #undef HAVE___BUILTIN_LABS
108 // Define if the compiler/host combination has __builtin_cos
109 #undef HAVE___BUILTIN_COS
111 // Define if the compiler/host combination has __builtin_cosf
112 #undef HAVE___BUILTIN_COSF
114 // Define if the compiler/host combination has __builtin_cosl
115 #undef HAVE___BUILTIN_COSL
117 // Define if the compiler/host combination has __builtin_fabs
118 #undef HAVE___BUILTIN_FABS
120 // Define if the compiler/host combination has __builtin_fabsf
121 #undef HAVE___BUILTIN_FABSF
123 // Define if the compiler/host combination has __builtin_fabsl
124 #undef HAVE___BUILTIN_FABSL
126 // Define if the compiler/host combination has __builtin_sin
127 #undef HAVE___BUILTIN_SIN
129 // Define if the compiler/host combination has __builtin_sinf
130 #undef HAVE___BUILTIN_SINF
132 // Define if the compiler/host combination has __builtin_sinl
133 #undef HAVE___BUILTIN_SINL
135 // Define if the compiler/host combination has __builtin_sqrt
136 #undef HAVE___BUILTIN_SQRT
138 // Define if the compiler/host combination has __builtin_sqrtf
139 #undef HAVE___BUILTIN_SQRTF
141 // Define if the compiler/host combination has __builtin_sqrtl
142 #undef HAVE___BUILTIN_SQRTL
144 // Define if poll is available in <poll.h>.
145 #undef HAVE_POLL
147 // Define if S_ISREG (Posix) is available in <sys/stat.h>.
148 #undef HAVE_S_ISREG
150 // Define if S_IFREG is available in <sys/stat.h>.
151 #undef HAVE_S_IFREG
153 // Define if writev is available in <sys/uio.h>.
154 #undef HAVE_WRITEV
156 // Define if LC_MESSAGES is available in <locale.h>.
157 #undef HAVE_LC_MESSAGES
159 // Define if <float.h> exists.
160 #undef HAVE_FLOAT_H
162 // Define if modf is present in <math.h>
163 #undef HAVE_MODF
165 // Define if NLS translations are to be used.
166 #undef _GLIBCXX_USE_NLS
168 // @BOTTOM@
170 // Systems that have certain non-standard functions prefixed with an
171 // underscore, we'll handle those here. Must come after config.h.in.
173 #if defined (HAVE__ISNAN) && ! defined (HAVE_ISNAN)
174 # define HAVE_ISNAN 1
175 # define isnan _isnan
176 #endif
178 #if defined (HAVE__ISNANF) && ! defined (HAVE_ISNANF)
179 # define HAVE_ISNANF 1
180 # define isnanf _isnanf
181 #endif
183 #if defined (HAVE__ISNANL) && ! defined (HAVE_ISNANL)
184 # define HAVE_ISNANL 1
185 # define isnanl _isnanl
186 #endif
188 #if defined (HAVE__ISINF) && ! defined (HAVE_ISINF)
189 # define HAVE_ISINF 1
190 # define isinf _isinf
191 #endif
193 #if defined (HAVE__ISINFF) && ! defined (HAVE_ISINFF)
194 # define HAVE_ISINFF 1
195 # define isinff _isinff
196 #endif
198 #if defined (HAVE__ISINFL) && ! defined (HAVE_ISINFL)
199 # define HAVE_ISINFL 1
200 # define isinfl _isinfl
201 #endif
203 #if defined (HAVE__COPYSIGN) && ! defined (HAVE_COPYSIGN)
204 # define HAVE_COPYSIGN 1
205 # define copysign _copysign
206 #endif
208 #if defined (HAVE__COPYSIGNL) && ! defined (HAVE_COPYSIGNL)
209 # define HAVE_COPYSIGNL 1
210 # define copysignl _copysignl
211 #endif
213 #if defined (HAVE__COSF) && ! defined (HAVE_COSF)
214 # define HAVE_COSF 1
215 # define cosf _cosf
216 #endif
218 #if defined (HAVE__ACOSF) && ! defined (HAVE_ACOSF)
219 # define HAVE_ACOSF 1
220 # define acosf _acosf
221 #endif
223 #if defined (HAVE__ACOSL) && ! defined (HAVE_ACOSL)
224 # define HAVE_ACOSL 1
225 # define acosl _acosl
226 #endif
228 #if defined (HAVE__ASINF) && ! defined (HAVE_ASINF)
229 # define HAVE_ASINF 1
230 # define asinf _asinf
231 #endif
233 #if defined (HAVE__ASINL) && ! defined (HAVE_ASINL)
234 # define HAVE_ASINL 1
235 # define asinl _asinl
236 #endif
238 #if defined (HAVE__ATANF) && ! defined (HAVE_ATANF)
239 # define HAVE_ATANF 1
240 # define atanf _atanf
241 #endif
243 #if defined (HAVE__ATANL) && ! defined (HAVE_ATANL)
244 # define HAVE_ATANL 1
245 # define atanl _atanl
246 #endif
248 #if defined (HAVE__CEILF) && ! defined (HAVE_CEILF)
249 # define HAVE_CEILF 1
250 # define aceil _ceilf
251 #endif
253 #if defined (HAVE__CEILL) && ! defined (HAVE_CEILL)
254 # define HAVE_CEILL 1
255 # define aceil _ceill
256 #endif
258 #if defined (HAVE__COSHF) && ! defined (HAVE_COSHF)
259 # define HAVE_COSHF 1
260 # define coshf _coshf
261 #endif
263 #if defined (HAVE__COSL) && ! defined (HAVE_COSL)
264 # define HAVE_COSL 1
265 # define cosl _cosl
266 #endif
268 #if defined (HAVE__LOGF) && ! defined (HAVE_LOGF)
269 # define HAVE_LOGF 1
270 # define logf _logf
271 #endif
273 #if defined (HAVE__COSHL) && ! defined (HAVE_COSHL)
274 # define HAVE_COSHL 1
275 # define coshl _coshl
276 #endif
278 #if defined (HAVE__EXPF) && ! defined (HAVE_EXPF)
279 # define HAVE_EXPF 1
280 # define expf _expf
281 #endif
283 #if defined (HAVE__EXPL) && ! defined (HAVE_EXPL)
284 # define HAVE_EXPL 1
285 # define expl _expl
286 #endif
288 #if defined (HAVE__FABSF) && ! defined (HAVE_FABSF)
289 # define HAVE_FABSF 1
290 # define fabsf _fabsf
291 #endif
293 #if defined (HAVE__FABSL) && ! defined (HAVE_FABSL)
294 # define HAVE_FABSL 1
295 # define fabsl _fabsl
296 #endif
298 #if defined (HAVE__FLOORF) && ! defined (HAVE_FLOORF)
299 # define HAVE_FLOORF 1
300 # define floorf _floorf
301 #endif
303 #if defined (HAVE__FLOORL) && ! defined (HAVE_FLOORL)
304 # define HAVE_FLOORL 1
305 # define floorl _floorl
306 #endif
308 #if defined (HAVE__FMODF) && ! defined (HAVE_FMODF)
309 # define HAVE_FMODF 1
310 # define fmodf _fmodf
311 #endif
313 #if defined (HAVE__FMODL) && ! defined (HAVE_FMODL)
314 # define HAVE_FMODL 1
315 # define fmodl _fmodl
316 #endif
318 #if defined (HAVE__FREXPF) && ! defined (HAVE_FREXPF)
319 # define HAVE_FREXPF 1
320 # define frexpf _frexpf
321 #endif
323 #if defined (HAVE__FREXPL) && ! defined (HAVE_FREXPL)
324 # define HAVE_FREXPL 1
325 # define frexpl _frexpl
326 #endif
328 #if defined (HAVE__LDEXPF) && ! defined (HAVE_LDEXPF)
329 # define HAVE_LDEXPF 1
330 # define ldexpf _ldexpf
331 #endif
333 #if defined (HAVE__LDEXPL) && ! defined (HAVE_LDEXPL)
334 # define HAVE_LDEXPL 1
335 # define ldexpl _ldexpl
336 #endif
338 #if defined (HAVE__LOG10F) && ! defined (HAVE_LOG10F)
339 # define HAVE_LOG10F 1
340 # define log10f _log10f
341 #endif
343 #if defined (HAVE__LOGL) && ! defined (HAVE_LOGL)
344 # define HAVE_LOGL 1
345 # define logl _logl
346 #endif
348 #if defined (HAVE__POWF) && ! defined (HAVE_POWF)
349 # define HAVE_POWF 1
350 # define powf _powf
351 #endif
353 #if defined (HAVE__LOG10L) && ! defined (HAVE_LOG10L)
354 # define HAVE_LOG10L 1
355 # define log10l _log10l
356 #endif
358 #if defined (HAVE__MODF) && ! defined (HAVE_MODF)
359 # define HAVE_MODF 1
360 # define modf _modf
361 #endif
363 #if defined (HAVE__MODL) && ! defined (HAVE_MODL)
364 # define HAVE_MODL 1
365 # define modl _modl
366 #endif
368 #if defined (HAVE__SINF) && ! defined (HAVE_SINF)
369 # define HAVE_SINF 1
370 # define sinf _sinf
371 #endif
373 #if defined (HAVE__POWL) && ! defined (HAVE_POWL)
374 # define HAVE_POWL 1
375 # define powl _powl
376 #endif
378 #if defined (HAVE__SINHF) && ! defined (HAVE_SINHF)
379 # define HAVE_SINHF 1
380 # define sinhf _sinhf
381 #endif
383 #if defined (HAVE__SINL) && ! defined (HAVE_SINL)
384 # define HAVE_SINL 1
385 # define sinl _sinl
386 #endif
388 #if defined (HAVE__SQRTF) && ! defined (HAVE_SQRTF)
389 # define HAVE_SQRTF 1
390 # define sqrtf _sqrtf
391 #endif
393 #if defined (HAVE__SINHL) && ! defined (HAVE_SINHL)
394 # define HAVE_SINHL 1
395 # define sinhl _sinhl
396 #endif
398 #if defined (HAVE__TANF) && ! defined (HAVE_TANF)
399 # define HAVE_TANF 1
400 # define tanf _tanf
401 #endif
403 #if defined (HAVE__SQRTL) && ! defined (HAVE_SQRTL)
404 # define HAVE_SQRTL 1
405 # define sqrtl _sqrtl
406 #endif
408 #if defined (HAVE__TANHF) && ! defined (HAVE_TANHF)
409 # define HAVE_TANHF 1
410 # define tanhf _tanhf
411 #endif
413 #if defined (HAVE__TANL) && ! defined (HAVE_TANL)
414 # define HAVE_TANF 1
415 # define tanf _tanf
416 #endif
418 #if defined (HAVE__STRTOF) && ! defined (HAVE_STRTOF)
419 # define HAVE_STRTOF 1
420 # define strtof _strtof
421 #endif
423 #if defined (HAVE__TANHL) && ! defined (HAVE_TANHL)
424 # define HAVE_TANHL 1
425 # define tanhl _tanhl
426 #endif
428 #if defined (HAVE__STRTOLD) && ! defined (HAVE_STRTOLD)
429 # define HAVE_STRTOLD 1
430 # define strtold _strtold
431 #endif
433 #if defined (HAVE__SINCOS) && ! defined (HAVE_SINCOS)
434 # define HAVE_SINCOS 1
435 # define sincos _sincos
436 #endif
438 #if defined (HAVE__SINCOSF) && ! defined (HAVE_SINCOSF)
439 # define HAVE_SINCOSF 1
440 # define sincosf _sincosf
441 #endif
443 #if defined (HAVE__SINCOSL) && ! defined (HAVE_SINCOSL)
444 # define HAVE_SINCOSL 1
445 # define sincosl _sincosl
446 #endif
448 #if defined (HAVE__FINITE) && ! defined (HAVE_FINITE)
449 # define HAVE_FINITE 1
450 # define finite _finite
451 #endif
453 #if defined (HAVE__FINITEF) && ! defined (HAVE_FINITEF)
454 # define HAVE_FINITEF 1
455 # define finitef _finitef
456 #endif
458 #if defined (HAVE__FINITEL) && ! defined (HAVE_FINITEL)
459 # define HAVE_FINITEL 1
460 # define finitel _finitel
461 #endif
463 #if defined (HAVE__QFINITE) && ! defined (HAVE_QFINITE)
464 # define HAVE_QFINITE 1
465 # define qfinite _qfinite
466 #endif
468 #if defined (HAVE__FPCLASS) && ! defined (HAVE_FPCLASS)
469 # define HAVE_FPCLASS 1
470 # define fpclass _fpclass
471 #endif
473 #if defined (HAVE__QFPCLASS) && ! defined (HAVE_QFPCLASS)
474 # define HAVE_QFPCLASS 1
475 # define qfpclass _qfpclass
476 #endif