configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
[official-gcc.git] / libstdc++-v3 / acconfig.h
blobc2a96c2248b0fd1237b02f537c2b03255bce2913
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 // Include I/O support for 'long long' and 'unsigned long long'.
14 #undef _GLIBCXX_USE_LONG_LONG
16 // Define if C99 math functions (like fpclassify) should be exposed.
17 #undef _GLIBCXX_USE_C99_MATH
19 // Define if C99 features such as lldiv_t, llabs, lldiv should be exposed.
20 #undef _GLIBCXX_USE_C99
22 // Define if code specialized for wchar_t should be used.
23 #undef _GLIBCXX_USE_WCHAR_T
25 // Define if using setrlimit to set resource limits during 'make check'.
26 #undef _GLIBCXX_RES_LIMITS
28 // Define to use concept checking code from the boost libraries.
29 #undef _GLIBCXX_CONCEPT_CHECKS
31 // Define to use symbol versioning in the shared library.
32 #undef _GLIBCXX_SYMVER
34 // Define symbol versioning in assember directives. If symbol
35 // versioning is beigng used, and the assembler supports this kind of
36 // thing, then use it.
37 // NB: _GLIBCXX_AT_AT is a hack to work around quoting issues in m4.
38 #if _GLIBCXX_SYMVER
39 #define _GLIBCXX_ASM_SYMVER(cur, old, version) \
40 asm (".symver " #cur "," #old _GLIBCXX_AT_AT #version);
41 #else
42 #define _GLIBCXX_ASM_SYMVER(cur, old, version)
43 #endif
45 // Define if LFS support is available.
46 #undef _GLIBCXX_USE_LFS
48 // Define if NLS translations are to be used.
49 #undef _GLIBCXX_USE_NLS
51 // Define if gthr-default.h exists (meaning that threading support is enabled).
52 #undef HAVE_GTHR_DEFAULT
54 // Define if the atan2f function exists.
55 #undef HAVE_ATAN2F
57 // Define if the atan2l function exists.
58 #undef HAVE_ATAN2L
60 // Define if the tanl function exists.
61 #undef HAVE_TANL
63 // Define if the copysignf function exists.
64 #undef HAVE_COPYSIGNF
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 hypot function.
91 #undef HAVE_HYPOT
93 // Define if you have the hypotf function.
94 #undef HAVE_HYPOTF
96 // Define if you have the hypotl function.
97 #undef HAVE_HYPOTL
99 // Define if the compiler/host combination has __builtin_abs
100 #undef HAVE___BUILTIN_ABS
102 // Define if the compiler/host combination has __builtin_labs
103 #undef HAVE___BUILTIN_LABS
105 // Define if the compiler/host combination has __builtin_cos
106 #undef HAVE___BUILTIN_COS
108 // Define if the compiler/host combination has __builtin_cosf
109 #undef HAVE___BUILTIN_COSF
111 // Define if the compiler/host combination has __builtin_cosl
112 #undef HAVE___BUILTIN_COSL
114 // Define if the compiler/host combination has __builtin_fabs
115 #undef HAVE___BUILTIN_FABS
117 // Define if the compiler/host combination has __builtin_fabsf
118 #undef HAVE___BUILTIN_FABSF
120 // Define if the compiler/host combination has __builtin_fabsl
121 #undef HAVE___BUILTIN_FABSL
123 // Define if the compiler/host combination has __builtin_sin
124 #undef HAVE___BUILTIN_SIN
126 // Define if the compiler/host combination has __builtin_sinf
127 #undef HAVE___BUILTIN_SINF
129 // Define if the compiler/host combination has __builtin_sinl
130 #undef HAVE___BUILTIN_SINL
132 // Define if the compiler/host combination has __builtin_sqrt
133 #undef HAVE___BUILTIN_SQRT
135 // Define if the compiler/host combination has __builtin_sqrtf
136 #undef HAVE___BUILTIN_SQRTF
138 // Define if the compiler/host combination has __builtin_sqrtl
139 #undef HAVE___BUILTIN_SQRTL
141 // Define if poll is available in <poll.h>.
142 #undef HAVE_POLL
144 // Define if S_ISREG (Posix) is available in <sys/stat.h>.
145 #undef HAVE_S_ISREG
147 // Define if S_IFREG is available in <sys/stat.h>.
148 #undef HAVE_S_IFREG
150 // Define if writev is available in <sys/uio.h>.
151 #undef HAVE_WRITEV
153 // Define if int64_t is available in <stdint.h>.
154 #undef HAVE_INT64_T
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 // @BOTTOM@
167 // Systems that have certain non-standard functions prefixed with an
168 // underscore, we'll handle those here. Must come after config.h.in.
170 #if defined (HAVE__ISNAN) && ! defined (HAVE_ISNAN)
171 # define HAVE_ISNAN 1
172 # define isnan _isnan
173 #endif
175 #if defined (HAVE__ISNANF) && ! defined (HAVE_ISNANF)
176 # define HAVE_ISNANF 1
177 # define isnanf _isnanf
178 #endif
180 #if defined (HAVE__ISNANL) && ! defined (HAVE_ISNANL)
181 # define HAVE_ISNANL 1
182 # define isnanl _isnanl
183 #endif
185 #if defined (HAVE__ISINF) && ! defined (HAVE_ISINF)
186 # define HAVE_ISINF 1
187 # define isinf _isinf
188 #endif
190 #if defined (HAVE__ISINFF) && ! defined (HAVE_ISINFF)
191 # define HAVE_ISINFF 1
192 # define isinff _isinff
193 #endif
195 #if defined (HAVE__ISINFL) && ! defined (HAVE_ISINFL)
196 # define HAVE_ISINFL 1
197 # define isinfl _isinfl
198 #endif
200 #if defined (HAVE__COPYSIGN) && ! defined (HAVE_COPYSIGN)
201 # define HAVE_COPYSIGN 1
202 # define copysign _copysign
203 #endif
205 #if defined (HAVE__COPYSIGNL) && ! defined (HAVE_COPYSIGNL)
206 # define HAVE_COPYSIGNL 1
207 # define copysignl _copysignl
208 #endif
210 #if defined (HAVE__COSF) && ! defined (HAVE_COSF)
211 # define HAVE_COSF 1
212 # define cosf _cosf
213 #endif
215 #if defined (HAVE__ACOSF) && ! defined (HAVE_ACOSF)
216 # define HAVE_ACOSF 1
217 # define acosf _acosf
218 #endif
220 #if defined (HAVE__ACOSL) && ! defined (HAVE_ACOSL)
221 # define HAVE_ACOSL 1
222 # define acosl _acosl
223 #endif
225 #if defined (HAVE__ASINF) && ! defined (HAVE_ASINF)
226 # define HAVE_ASINF 1
227 # define asinf _asinf
228 #endif
230 #if defined (HAVE__ASINL) && ! defined (HAVE_ASINL)
231 # define HAVE_ASINL 1
232 # define asinl _asinl
233 #endif
235 #if defined (HAVE__ATANF) && ! defined (HAVE_ATANF)
236 # define HAVE_ATANF 1
237 # define atanf _atanf
238 #endif
240 #if defined (HAVE__ATANL) && ! defined (HAVE_ATANL)
241 # define HAVE_ATANL 1
242 # define atanl _atanl
243 #endif
245 #if defined (HAVE__CEILF) && ! defined (HAVE_CEILF)
246 # define HAVE_CEILF 1
247 # define aceil _ceilf
248 #endif
250 #if defined (HAVE__CEILL) && ! defined (HAVE_CEILL)
251 # define HAVE_CEILL 1
252 # define aceil _ceill
253 #endif
255 #if defined (HAVE__COSHF) && ! defined (HAVE_COSHF)
256 # define HAVE_COSHF 1
257 # define coshf _coshf
258 #endif
260 #if defined (HAVE__COSL) && ! defined (HAVE_COSL)
261 # define HAVE_COSL 1
262 # define cosl _cosl
263 #endif
265 #if defined (HAVE__LOGF) && ! defined (HAVE_LOGF)
266 # define HAVE_LOGF 1
267 # define logf _logf
268 #endif
270 #if defined (HAVE__COSHL) && ! defined (HAVE_COSHL)
271 # define HAVE_COSHL 1
272 # define coshl _coshl
273 #endif
275 #if defined (HAVE__EXPF) && ! defined (HAVE_EXPF)
276 # define HAVE_EXPF 1
277 # define expf _expf
278 #endif
280 #if defined (HAVE__EXPL) && ! defined (HAVE_EXPL)
281 # define HAVE_EXPL 1
282 # define expl _expl
283 #endif
285 #if defined (HAVE__FABSF) && ! defined (HAVE_FABSF)
286 # define HAVE_FABSF 1
287 # define fabsf _fabsf
288 #endif
290 #if defined (HAVE__FABSL) && ! defined (HAVE_FABSL)
291 # define HAVE_FABSL 1
292 # define fabsl _fabsl
293 #endif
295 #if defined (HAVE__FLOORF) && ! defined (HAVE_FLOORF)
296 # define HAVE_FLOORF 1
297 # define floorf _floorf
298 #endif
300 #if defined (HAVE__FLOORL) && ! defined (HAVE_FLOORL)
301 # define HAVE_FLOORL 1
302 # define floorl _floorl
303 #endif
305 #if defined (HAVE__FMODF) && ! defined (HAVE_FMODF)
306 # define HAVE_FMODF 1
307 # define fmodf _fmodf
308 #endif
310 #if defined (HAVE__FMODL) && ! defined (HAVE_FMODL)
311 # define HAVE_FMODL 1
312 # define fmodl _fmodl
313 #endif
315 #if defined (HAVE__FREXPF) && ! defined (HAVE_FREXPF)
316 # define HAVE_FREXPF 1
317 # define frexpf _frexpf
318 #endif
320 #if defined (HAVE__FREXPL) && ! defined (HAVE_FREXPL)
321 # define HAVE_FREXPL 1
322 # define frexpl _frexpl
323 #endif
325 #if defined (HAVE__LDEXPF) && ! defined (HAVE_LDEXPF)
326 # define HAVE_LDEXPF 1
327 # define ldexpf _ldexpf
328 #endif
330 #if defined (HAVE__LDEXPL) && ! defined (HAVE_LDEXPL)
331 # define HAVE_LDEXPL 1
332 # define ldexpl _ldexpl
333 #endif
335 #if defined (HAVE__LOG10F) && ! defined (HAVE_LOG10F)
336 # define HAVE_LOG10F 1
337 # define log10f _log10f
338 #endif
340 #if defined (HAVE__LOGL) && ! defined (HAVE_LOGL)
341 # define HAVE_LOGL 1
342 # define logl _logl
343 #endif
345 #if defined (HAVE__POWF) && ! defined (HAVE_POWF)
346 # define HAVE_POWF 1
347 # define powf _powf
348 #endif
350 #if defined (HAVE__LOG10L) && ! defined (HAVE_LOG10L)
351 # define HAVE_LOG10L 1
352 # define log10l _log10l
353 #endif
355 #if defined (HAVE__MODF) && ! defined (HAVE_MODF)
356 # define HAVE_MODF 1
357 # define modf _modf
358 #endif
360 #if defined (HAVE__MODL) && ! defined (HAVE_MODL)
361 # define HAVE_MODL 1
362 # define modl _modl
363 #endif
365 #if defined (HAVE__SINF) && ! defined (HAVE_SINF)
366 # define HAVE_SINF 1
367 # define sinf _sinf
368 #endif
370 #if defined (HAVE__POWL) && ! defined (HAVE_POWL)
371 # define HAVE_POWL 1
372 # define powl _powl
373 #endif
375 #if defined (HAVE__SINHF) && ! defined (HAVE_SINHF)
376 # define HAVE_SINHF 1
377 # define sinhf _sinhf
378 #endif
380 #if defined (HAVE__SINL) && ! defined (HAVE_SINL)
381 # define HAVE_SINL 1
382 # define sinl _sinl
383 #endif
385 #if defined (HAVE__SQRTF) && ! defined (HAVE_SQRTF)
386 # define HAVE_SQRTF 1
387 # define sqrtf _sqrtf
388 #endif
390 #if defined (HAVE__SINHL) && ! defined (HAVE_SINHL)
391 # define HAVE_SINHL 1
392 # define sinhl _sinhl
393 #endif
395 #if defined (HAVE__TANF) && ! defined (HAVE_TANF)
396 # define HAVE_TANF 1
397 # define tanf _tanf
398 #endif
400 #if defined (HAVE__SQRTL) && ! defined (HAVE_SQRTL)
401 # define HAVE_SQRTL 1
402 # define sqrtl _sqrtl
403 #endif
405 #if defined (HAVE__TANHF) && ! defined (HAVE_TANHF)
406 # define HAVE_TANHF 1
407 # define tanhf _tanhf
408 #endif
410 #if defined (HAVE__TANL) && ! defined (HAVE_TANL)
411 # define HAVE_TANF 1
412 # define tanf _tanf
413 #endif
415 #if defined (HAVE__STRTOF) && ! defined (HAVE_STRTOF)
416 # define HAVE_STRTOF 1
417 # define strtof _strtof
418 #endif
420 #if defined (HAVE__TANHL) && ! defined (HAVE_TANHL)
421 # define HAVE_TANHL 1
422 # define tanhl _tanhl
423 #endif
425 #if defined (HAVE__STRTOLD) && ! defined (HAVE_STRTOLD)
426 # define HAVE_STRTOLD 1
427 # define strtold _strtold
428 #endif
430 #if defined (HAVE__SINCOS) && ! defined (HAVE_SINCOS)
431 # define HAVE_SINCOS 1
432 # define sincos _sincos
433 #endif
435 #if defined (HAVE__SINCOSF) && ! defined (HAVE_SINCOSF)
436 # define HAVE_SINCOSF 1
437 # define sincosf _sincosf
438 #endif
440 #if defined (HAVE__SINCOSL) && ! defined (HAVE_SINCOSL)
441 # define HAVE_SINCOSL 1
442 # define sincosl _sincosl
443 #endif
445 #if defined (HAVE__FINITE) && ! defined (HAVE_FINITE)
446 # define HAVE_FINITE 1
447 # define finite _finite
448 #endif
450 #if defined (HAVE__FINITEF) && ! defined (HAVE_FINITEF)
451 # define HAVE_FINITEF 1
452 # define finitef _finitef
453 #endif
455 #if defined (HAVE__FINITEL) && ! defined (HAVE_FINITEL)
456 # define HAVE_FINITEL 1
457 # define finitel _finitel
458 #endif
460 #if defined (HAVE__QFINITE) && ! defined (HAVE_QFINITE)
461 # define HAVE_QFINITE 1
462 # define qfinite _qfinite
463 #endif
465 #if defined (HAVE__FPCLASS) && ! defined (HAVE_FPCLASS)
466 # define HAVE_FPCLASS 1
467 # define fpclass _fpclass
468 #endif
470 #if defined (HAVE__QFPCLASS) && ! defined (HAVE_QFPCLASS)
471 # define HAVE_QFPCLASS 1
472 # define qfpclass _qfpclass
473 #endif