]> gcc.gnu.org Git - gcc.git/blame - libstdc++-v3/acconfig.h
re PR libstdc++/13284 (126 g++ failures due to lrand48 not defined)
[gcc.git] / libstdc++-v3 / acconfig.h
CommitLineData
b2dad0e3
BK
1// acconfig.h symbols and macros for libstdc++ v3 -*- C++ -*-
2
33590f13
BK
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
22248545 13// Define if GCC supports weak symbols.
3d7c150e 14#undef _GLIBCXX_SUPPORTS_WEAK
5e218033 15
22248545 16// Include I/O support for 'long long' and 'unsigned long long'.
3d7c150e 17#undef _GLIBCXX_USE_LONG_LONG
b2dad0e3 18
22248545 19// Define if C99 features such as lldiv_t, llabs, lldiv should be exposed.
3d7c150e 20#undef _GLIBCXX_USE_C99
7cda84dc 21
9fedcfd5 22// Include support for 'long double'.
3d7c150e 23#undef _GLIBCXX_USE_LONG_DOUBLE
9fedcfd5 24
0517cb99 25// Include support for shadow headers, ie --enable-cshadow-headers.
3d7c150e 26#undef _GLIBCXX_USE_SHADOW_HEADERS
0517cb99 27
b2dad0e3 28// Define if code specialized for wchar_t should be used.
3d7c150e 29#undef _GLIBCXX_USE_WCHAR_T
b2dad0e3 30
58b08ac3 31// Define if using setrlimit to limit memory usage during 'make check'.
3d7c150e 32#undef _GLIBCXX_MEM_LIMITS
58b08ac3 33
4d16bdbb 34// Define to use concept checking code from the boost libraries.
3d7c150e 35#undef _GLIBCXX_CONCEPT_CHECKS
4d16bdbb 36
7c577c75 37// Define if the atan2f function exists.
ff66d28f 38#undef HAVE_ATAN2F
a767e383 39
7c577c75 40// Define if the atan2l function exists.
ff66d28f
PE
41#undef HAVE_ATAN2L
42
43// Define if the tanl function exists.
44#undef HAVE_TANL
eebc608e 45
7c577c75 46// Define if the copysignf function exists.
ff66d28f 47#undef HAVE_COPYSIGNF
eebc608e 48
45c7cbd9 49// Define to use symbol versioning in the shared library.
3d7c150e 50#undef _GLIBCXX_SYMVER
45c7cbd9
BK
51
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.
3d7c150e
BK
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);
45c7cbd9 59#else
3d7c150e 60 #define _GLIBCXX_ASM_SYMVER(cur, old, version)
45c7cbd9
BK
61#endif
62
7c577c75
BK
63// Define if gthr-default.h exists (meaning that threading support is enabled).
64#undef HAVE_GTHR_DEFAULT
65
7c577c75
BK
66// Define if getpagesize exists.
67#undef HAVE_GETPAGESIZE
68
69// Define if setenv exists.
70#undef HAVE_SETENV
71
72// Define if sigsetjmp exists.
73#undef HAVE_SIGSETJMP
74
7cda84dc 75// Define if mbstate_t exists in wchar.h.
7b331228 76#undef HAVE_MBSTATE_T
eebc608e 77
7cda84dc 78// Define if you have the modff function.
eebc608e
BK
79#undef HAVE_MODFF
80
7cda84dc 81// Define if you have the modfl function.
eebc608e
BK
82#undef HAVE_MODFL
83
f280fdf4
BK
84// Define if you have the expf function.
85#undef HAVE_EXPF
86
87// Define if you have the expl function.
88#undef HAVE_EXPL
89
ff66d28f
PE
90// Define if you have the hypot function.
91#undef HAVE_HYPOT
92
f280fdf4
BK
93// Define if you have the hypotf function.
94#undef HAVE_HYPOTF
95
96// Define if you have the hypotl function.
97#undef HAVE_HYPOTL
98
11fc1858
BK
99// Define if the compiler/host combination has __builtin_abs
100#undef HAVE___BUILTIN_ABS
b2dad0e3 101
11fc1858
BK
102// Define if the compiler/host combination has __builtin_labs
103#undef HAVE___BUILTIN_LABS
54fa7415
SK
104
105// Define if the compiler/host combination has __builtin_cos
11fc1858 106#undef HAVE___BUILTIN_COS
54fa7415
SK
107
108// Define if the compiler/host combination has __builtin_cosf
11fc1858 109#undef HAVE___BUILTIN_COSF
54fa7415
SK
110
111// Define if the compiler/host combination has __builtin_cosl
11fc1858 112#undef HAVE___BUILTIN_COSL
54fa7415
SK
113
114// Define if the compiler/host combination has __builtin_fabs
11fc1858 115#undef HAVE___BUILTIN_FABS
54fa7415
SK
116
117// Define if the compiler/host combination has __builtin_fabsf
11fc1858 118#undef HAVE___BUILTIN_FABSF
54fa7415
SK
119
120// Define if the compiler/host combination has __builtin_fabsl
11fc1858 121#undef HAVE___BUILTIN_FABSL
54fa7415
SK
122
123// Define if the compiler/host combination has __builtin_sin
11fc1858 124#undef HAVE___BUILTIN_SIN
54fa7415
SK
125
126// Define if the compiler/host combination has __builtin_sinf
11fc1858 127#undef HAVE___BUILTIN_SINF
54fa7415
SK
128
129// Define if the compiler/host combination has __builtin_sinl
11fc1858 130#undef HAVE___BUILTIN_SINL
54fa7415 131
dc6f4158
AJ
132// Define if the compiler/host combination has __builtin_sqrt
133#undef HAVE___BUILTIN_SQRT
54fa7415
SK
134
135// Define if the compiler/host combination has __builtin_sqrtf
11fc1858 136#undef HAVE___BUILTIN_SQRTF
54fa7415
SK
137
138// Define if the compiler/host combination has __builtin_sqrtl
11fc1858 139#undef HAVE___BUILTIN_SQRTL
b2dad0e3 140
bbacb998
PC
141// Define if poll is available in <poll.h>.
142#undef HAVE_POLL
143
144// Define if S_ISREG (Posix) is available in <sys/stat.h>.
145#undef HAVE_S_ISREG
146
147// Define if S_IFREG is available in <sys/stat.h>.
148#undef HAVE_S_IFREG
149
bda243ec
PC
150// Define if writev is available in <sys/uio.h>.
151#undef HAVE_WRITEV
152
3d05b345
PC
153// Define if int64_t is available in <stdint.h>.
154#undef HAVE_INT64_T
155
156// Define if LFS support is available.
157#undef _GLIBCXX_USE_LFS
158
b2dad0e3
BK
159// Define if LC_MESSAGES is available in <locale.h>.
160#undef HAVE_LC_MESSAGES
161
162// Define if <float.h> exists.
163#undef HAVE_FLOAT_H
164
165// Define if modf is present in <math.h>
166#undef HAVE_MODF
167
c67528fe 168// Define if NLS translations are to be used.
3d7c150e 169#undef _GLIBCXX_USE_NLS
c67528fe 170
b2dad0e3
BK
171// @BOTTOM@
172//
173// Systems that have certain non-standard functions prefixed with an
174// underscore, we'll handle those here. Must come after config.h.in.
175//
b2dad0e3
BK
176#if defined (HAVE__ISNAN) && ! defined (HAVE_ISNAN)
177# define HAVE_ISNAN 1
178# define isnan _isnan
179#endif
180
181#if defined (HAVE__ISNANF) && ! defined (HAVE_ISNANF)
182# define HAVE_ISNANF 1
183# define isnanf _isnanf
184#endif
185
186#if defined (HAVE__ISNANL) && ! defined (HAVE_ISNANL)
187# define HAVE_ISNANL 1
188# define isnanl _isnanl
189#endif
190
191#if defined (HAVE__ISINF) && ! defined (HAVE_ISINF)
192# define HAVE_ISINF 1
193# define isinf _isinf
194#endif
195
196#if defined (HAVE__ISINFF) && ! defined (HAVE_ISINFF)
197# define HAVE_ISINFF 1
198# define isinff _isinff
199#endif
200
201#if defined (HAVE__ISINFL) && ! defined (HAVE_ISINFL)
202# define HAVE_ISINFL 1
203# define isinfl _isinfl
204#endif
205
206#if defined (HAVE__COPYSIGN) && ! defined (HAVE_COPYSIGN)
207# define HAVE_COPYSIGN 1
208# define copysign _copysign
209#endif
210
211#if defined (HAVE__COPYSIGNL) && ! defined (HAVE_COPYSIGNL)
212# define HAVE_COPYSIGNL 1
213# define copysignl _copysignl
214#endif
215
216#if defined (HAVE__COSF) && ! defined (HAVE_COSF)
217# define HAVE_COSF 1
218# define cosf _cosf
219#endif
220
54fa7415
SK
221#if defined (HAVE__ACOSF) && ! defined (HAVE_ACOSF)
222# define HAVE_ACOSF 1
223# define acosf _acosf
224#endif
225
226#if defined (HAVE__ACOSL) && ! defined (HAVE_ACOSL)
227# define HAVE_ACOSL 1
228# define acosl _acosl
229#endif
230
231#if defined (HAVE__ASINF) && ! defined (HAVE_ASINF)
232# define HAVE_ASINF 1
233# define asinf _asinf
234#endif
235
236#if defined (HAVE__ASINL) && ! defined (HAVE_ASINL)
237# define HAVE_ASINL 1
238# define asinl _asinl
239#endif
240
241#if defined (HAVE__ATANF) && ! defined (HAVE_ATANF)
242# define HAVE_ATANF 1
243# define atanf _atanf
244#endif
245
246#if defined (HAVE__ATANL) && ! defined (HAVE_ATANL)
247# define HAVE_ATANL 1
248# define atanl _atanl
249#endif
250
251#if defined (HAVE__CEILF) && ! defined (HAVE_CEILF)
252# define HAVE_CEILF 1
253# define aceil _ceilf
254#endif
255
256#if defined (HAVE__CEILL) && ! defined (HAVE_CEILL)
257# define HAVE_CEILL 1
258# define aceil _ceill
259#endif
260
b2dad0e3
BK
261#if defined (HAVE__COSHF) && ! defined (HAVE_COSHF)
262# define HAVE_COSHF 1
263# define coshf _coshf
264#endif
265
54fa7415
SK
266#if defined (HAVE__COSL) && ! defined (HAVE_COSL)
267# define HAVE_COSL 1
268# define cosl _cosl
269#endif
270
b2dad0e3
BK
271#if defined (HAVE__LOGF) && ! defined (HAVE_LOGF)
272# define HAVE_LOGF 1
273# define logf _logf
274#endif
275
54fa7415
SK
276#if defined (HAVE__COSHL) && ! defined (HAVE_COSHL)
277# define HAVE_COSHL 1
278# define coshl _coshl
279#endif
280
281#if defined (HAVE__EXPF) && ! defined (HAVE_EXPF)
282# define HAVE_EXPF 1
283# define expf _expf
284#endif
285
286#if defined (HAVE__EXPL) && ! defined (HAVE_EXPL)
287# define HAVE_EXPL 1
288# define expl _expl
289#endif
290
291#if defined (HAVE__FABSF) && ! defined (HAVE_FABSF)
292# define HAVE_FABSF 1
293# define fabsf _fabsf
294#endif
295
296#if defined (HAVE__FABSL) && ! defined (HAVE_FABSL)
297# define HAVE_FABSL 1
298# define fabsl _fabsl
299#endif
300
301#if defined (HAVE__FLOORF) && ! defined (HAVE_FLOORF)
302# define HAVE_FLOORF 1
303# define floorf _floorf
304#endif
305
306#if defined (HAVE__FLOORL) && ! defined (HAVE_FLOORL)
307# define HAVE_FLOORL 1
308# define floorl _floorl
309#endif
310
311#if defined (HAVE__FMODF) && ! defined (HAVE_FMODF)
312# define HAVE_FMODF 1
313# define fmodf _fmodf
314#endif
315
316#if defined (HAVE__FMODL) && ! defined (HAVE_FMODL)
317# define HAVE_FMODL 1
318# define fmodl _fmodl
319#endif
320
321#if defined (HAVE__FREXPF) && ! defined (HAVE_FREXPF)
322# define HAVE_FREXPF 1
323# define frexpf _frexpf
324#endif
325
326#if defined (HAVE__FREXPL) && ! defined (HAVE_FREXPL)
327# define HAVE_FREXPL 1
328# define frexpl _frexpl
329#endif
330
331#if defined (HAVE__LDEXPF) && ! defined (HAVE_LDEXPF)
332# define HAVE_LDEXPF 1
333# define ldexpf _ldexpf
334#endif
335
336#if defined (HAVE__LDEXPL) && ! defined (HAVE_LDEXPL)
337# define HAVE_LDEXPL 1
338# define ldexpl _ldexpl
339#endif
340
b2dad0e3
BK
341#if defined (HAVE__LOG10F) && ! defined (HAVE_LOG10F)
342# define HAVE_LOG10F 1
343# define log10f _log10f
344#endif
345
54fa7415
SK
346#if defined (HAVE__LOGL) && ! defined (HAVE_LOGL)
347# define HAVE_LOGL 1
348# define logl _logl
349#endif
350
b2dad0e3
BK
351#if defined (HAVE__POWF) && ! defined (HAVE_POWF)
352# define HAVE_POWF 1
353# define powf _powf
354#endif
355
54fa7415
SK
356#if defined (HAVE__LOG10L) && ! defined (HAVE_LOG10L)
357# define HAVE_LOG10L 1
358# define log10l _log10l
359#endif
360
361#if defined (HAVE__MODF) && ! defined (HAVE_MODF)
362# define HAVE_MODF 1
363# define modf _modf
364#endif
365
366#if defined (HAVE__MODL) && ! defined (HAVE_MODL)
367# define HAVE_MODL 1
368# define modl _modl
369#endif
370
b2dad0e3
BK
371#if defined (HAVE__SINF) && ! defined (HAVE_SINF)
372# define HAVE_SINF 1
373# define sinf _sinf
374#endif
375
54fa7415
SK
376#if defined (HAVE__POWL) && ! defined (HAVE_POWL)
377# define HAVE_POWL 1
378# define powl _powl
379#endif
380
b2dad0e3
BK
381#if defined (HAVE__SINHF) && ! defined (HAVE_SINHF)
382# define HAVE_SINHF 1
383# define sinhf _sinhf
384#endif
385
54fa7415
SK
386#if defined (HAVE__SINL) && ! defined (HAVE_SINL)
387# define HAVE_SINL 1
388# define sinl _sinl
389#endif
390
b2dad0e3
BK
391#if defined (HAVE__SQRTF) && ! defined (HAVE_SQRTF)
392# define HAVE_SQRTF 1
393# define sqrtf _sqrtf
394#endif
395
54fa7415
SK
396#if defined (HAVE__SINHL) && ! defined (HAVE_SINHL)
397# define HAVE_SINHL 1
398# define sinhl _sinhl
399#endif
400
b2dad0e3
BK
401#if defined (HAVE__TANF) && ! defined (HAVE_TANF)
402# define HAVE_TANF 1
403# define tanf _tanf
404#endif
405
54fa7415
SK
406#if defined (HAVE__SQRTL) && ! defined (HAVE_SQRTL)
407# define HAVE_SQRTL 1
408# define sqrtl _sqrtl
409#endif
410
b2dad0e3
BK
411#if defined (HAVE__TANHF) && ! defined (HAVE_TANHF)
412# define HAVE_TANHF 1
413# define tanhf _tanhf
414#endif
415
54fa7415
SK
416#if defined (HAVE__TANL) && ! defined (HAVE_TANL)
417# define HAVE_TANF 1
418# define tanf _tanf
419#endif
420
b2dad0e3
BK
421#if defined (HAVE__STRTOF) && ! defined (HAVE_STRTOF)
422# define HAVE_STRTOF 1
423# define strtof _strtof
424#endif
425
54fa7415
SK
426#if defined (HAVE__TANHL) && ! defined (HAVE_TANHL)
427# define HAVE_TANHL 1
428# define tanhl _tanhl
429#endif
430
b2dad0e3
BK
431#if defined (HAVE__STRTOLD) && ! defined (HAVE_STRTOLD)
432# define HAVE_STRTOLD 1
433# define strtold _strtold
434#endif
435
b2dad0e3
BK
436#if defined (HAVE__SINCOS) && ! defined (HAVE_SINCOS)
437# define HAVE_SINCOS 1
438# define sincos _sincos
439#endif
440
441#if defined (HAVE__SINCOSF) && ! defined (HAVE_SINCOSF)
442# define HAVE_SINCOSF 1
443# define sincosf _sincosf
444#endif
445
446#if defined (HAVE__SINCOSL) && ! defined (HAVE_SINCOSL)
447# define HAVE_SINCOSL 1
448# define sincosl _sincosl
449#endif
450
451#if defined (HAVE__FINITE) && ! defined (HAVE_FINITE)
452# define HAVE_FINITE 1
453# define finite _finite
454#endif
455
54fa7415
SK
456#if defined (HAVE__FINITEF) && ! defined (HAVE_FINITEF)
457# define HAVE_FINITEF 1
458# define finitef _finitef
459#endif
460
461#if defined (HAVE__FINITEL) && ! defined (HAVE_FINITEL)
462# define HAVE_FINITEL 1
463# define finitel _finitel
464#endif
465
b2dad0e3
BK
466#if defined (HAVE__QFINITE) && ! defined (HAVE_QFINITE)
467# define HAVE_QFINITE 1
468# define qfinite _qfinite
469#endif
470
471#if defined (HAVE__FPCLASS) && ! defined (HAVE_FPCLASS)
472# define HAVE_FPCLASS 1
473# define fpclass _fpclass
474#endif
475
476#if defined (HAVE__QFPCLASS) && ! defined (HAVE_QFPCLASS)
477# define HAVE_QFPCLASS 1
478# define qfpclass _qfpclass
479#endif
480
This page took 0.385158 seconds and 5 git commands to generate.