2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
[official-gcc.git] / libstdc++-v3 / acconfig.h
blob39a15935f94d3f90a321267a3a8aefbebd152ce8
1 // Symbols and macros for libstdc++ -*- C++ -*-
3 // @BOTTOM@
4 //
5 // Define symbol versioning in assember directives. If symbol
6 // versioning is beigng used, and the assembler supports this kind of
7 // thing, then use it.
8 // NB: _GLIBCXX_AT_AT is a hack to work around quoting issues in m4.
9 #if _GLIBCXX_SYMVER
10 #define _GLIBCXX_ASM_SYMVER(cur, old, version) \
11 asm (".symver " #cur "," #old _GLIBCXX_AT_AT #version);
12 #else
13 #define _GLIBCXX_ASM_SYMVER(cur, old, version)
14 #endif
16 // Systems that have certain non-standard functions prefixed with an
17 // underscore, we'll handle those here. Must come after config.h.in.
19 #if defined (HAVE__ACOSF) && ! defined (HAVE_ACOSF)
20 # define HAVE_ACOSF 1
21 # define acosf _acosf
22 #endif
24 #if defined (HAVE__ACOSL) && ! defined (HAVE_ACOSL)
25 # define HAVE_ACOSL 1
26 # define acosl _acosl
27 #endif
29 #if defined (HAVE__ASINF) && ! defined (HAVE_ASINF)
30 # define HAVE_ASINF 1
31 # define asinf _asinf
32 #endif
34 #if defined (HAVE__ASINL) && ! defined (HAVE_ASINL)
35 # define HAVE_ASINL 1
36 # define asinl _asinl
37 #endif
39 #if defined (HAVE__ATANF) && ! defined (HAVE_ATANF)
40 # define HAVE_ATANF 1
41 # define atanf _atanf
42 #endif
44 #if defined (HAVE__ATANL) && ! defined (HAVE_ATANL)
45 # define HAVE_ATANL 1
46 # define atanl _atanl
47 #endif
49 #if defined (HAVE__CEILF) && ! defined (HAVE_CEILF)
50 # define HAVE_CEILF 1
51 # define aceil _ceilf
52 #endif
54 #if defined (HAVE__CEILL) && ! defined (HAVE_CEILL)
55 # define HAVE_CEILL 1
56 # define aceil _ceill
57 #endif
59 #if defined (HAVE__COPYSIGN) && ! defined (HAVE_COPYSIGN)
60 # define HAVE_COPYSIGN 1
61 # define copysign _copysign
62 #endif
64 #if defined (HAVE__COPYSIGNL) && ! defined (HAVE_COPYSIGNL)
65 # define HAVE_COPYSIGNL 1
66 # define copysignl _copysignl
67 #endif
69 #if defined (HAVE__COSF) && ! defined (HAVE_COSF)
70 # define HAVE_COSF 1
71 # define cosf _cosf
72 #endif
74 #if defined (HAVE__COSHF) && ! defined (HAVE_COSHF)
75 # define HAVE_COSHF 1
76 # define coshf _coshf
77 #endif
79 #if defined (HAVE__COSHL) && ! defined (HAVE_COSHL)
80 # define HAVE_COSHL 1
81 # define coshl _coshl
82 #endif
84 #if defined (HAVE__COSL) && ! defined (HAVE_COSL)
85 # define HAVE_COSL 1
86 # define cosl _cosl
87 #endif
89 #if defined (HAVE__EXPF) && ! defined (HAVE_EXPF)
90 # define HAVE_EXPF 1
91 # define expf _expf
92 #endif
94 #if defined (HAVE__EXPL) && ! defined (HAVE_EXPL)
95 # define HAVE_EXPL 1
96 # define expl _expl
97 #endif
99 #if defined (HAVE__FABSF) && ! defined (HAVE_FABSF)
100 # define HAVE_FABSF 1
101 # define fabsf _fabsf
102 #endif
104 #if defined (HAVE__FABSL) && ! defined (HAVE_FABSL)
105 # define HAVE_FABSL 1
106 # define fabsl _fabsl
107 #endif
109 #if defined (HAVE__FINITE) && ! defined (HAVE_FINITE)
110 # define HAVE_FINITE 1
111 # define finite _finite
112 #endif
114 #if defined (HAVE__FINITEF) && ! defined (HAVE_FINITEF)
115 # define HAVE_FINITEF 1
116 # define finitef _finitef
117 #endif
119 #if defined (HAVE__FINITEL) && ! defined (HAVE_FINITEL)
120 # define HAVE_FINITEL 1
121 # define finitel _finitel
122 #endif
124 #if defined (HAVE__FLOORF) && ! defined (HAVE_FLOORF)
125 # define HAVE_FLOORF 1
126 # define floorf _floorf
127 #endif
129 #if defined (HAVE__FLOORL) && ! defined (HAVE_FLOORL)
130 # define HAVE_FLOORL 1
131 # define floorl _floorl
132 #endif
134 #if defined (HAVE__FMODF) && ! defined (HAVE_FMODF)
135 # define HAVE_FMODF 1
136 # define fmodf _fmodf
137 #endif
139 #if defined (HAVE__FMODL) && ! defined (HAVE_FMODL)
140 # define HAVE_FMODL 1
141 # define fmodl _fmodl
142 #endif
144 #if defined (HAVE__FPCLASS) && ! defined (HAVE_FPCLASS)
145 # define HAVE_FPCLASS 1
146 # define fpclass _fpclass
147 #endif
149 #if defined (HAVE__FREXPF) && ! defined (HAVE_FREXPF)
150 # define HAVE_FREXPF 1
151 # define frexpf _frexpf
152 #endif
154 #if defined (HAVE__FREXPL) && ! defined (HAVE_FREXPL)
155 # define HAVE_FREXPL 1
156 # define frexpl _frexpl
157 #endif
159 #if defined (HAVE__ISINF) && ! defined (HAVE_ISINF)
160 # define HAVE_ISINF 1
161 # define isinf _isinf
162 #endif
164 #if defined (HAVE__ISINFF) && ! defined (HAVE_ISINFF)
165 # define HAVE_ISINFF 1
166 # define isinff _isinff
167 #endif
169 #if defined (HAVE__ISINFL) && ! defined (HAVE_ISINFL)
170 # define HAVE_ISINFL 1
171 # define isinfl _isinfl
172 #endif
174 #if defined (HAVE__ISNAN) && ! defined (HAVE_ISNAN)
175 # define HAVE_ISNAN 1
176 # define isnan _isnan
177 #endif
179 #if defined (HAVE__ISNANF) && ! defined (HAVE_ISNANF)
180 # define HAVE_ISNANF 1
181 # define isnanf _isnanf
182 #endif
184 #if defined (HAVE__ISNANL) && ! defined (HAVE_ISNANL)
185 # define HAVE_ISNANL 1
186 # define isnanl _isnanl
187 #endif
189 #if defined (HAVE__LDEXPF) && ! defined (HAVE_LDEXPF)
190 # define HAVE_LDEXPF 1
191 # define ldexpf _ldexpf
192 #endif
194 #if defined (HAVE__LDEXPL) && ! defined (HAVE_LDEXPL)
195 # define HAVE_LDEXPL 1
196 # define ldexpl _ldexpl
197 #endif
199 #if defined (HAVE__LOG10F) && ! defined (HAVE_LOG10F)
200 # define HAVE_LOG10F 1
201 # define log10f _log10f
202 #endif
204 #if defined (HAVE__LOG10L) && ! defined (HAVE_LOG10L)
205 # define HAVE_LOG10L 1
206 # define log10l _log10l
207 #endif
209 #if defined (HAVE__LOGF) && ! defined (HAVE_LOGF)
210 # define HAVE_LOGF 1
211 # define logf _logf
212 #endif
214 #if defined (HAVE__LOGL) && ! defined (HAVE_LOGL)
215 # define HAVE_LOGL 1
216 # define logl _logl
217 #endif
219 #if defined (HAVE__MODF) && ! defined (HAVE_MODF)
220 # define HAVE_MODF 1
221 # define modf _modf
222 #endif
224 #if defined (HAVE__MODL) && ! defined (HAVE_MODL)
225 # define HAVE_MODL 1
226 # define modl _modl
227 #endif
229 #if defined (HAVE__POWF) && ! defined (HAVE_POWF)
230 # define HAVE_POWF 1
231 # define powf _powf
232 #endif
234 #if defined (HAVE__POWL) && ! defined (HAVE_POWL)
235 # define HAVE_POWL 1
236 # define powl _powl
237 #endif
239 #if defined (HAVE__QFINITE) && ! defined (HAVE_QFINITE)
240 # define HAVE_QFINITE 1
241 # define qfinite _qfinite
242 #endif
244 #if defined (HAVE__QFPCLASS) && ! defined (HAVE_QFPCLASS)
245 # define HAVE_QFPCLASS 1
246 # define qfpclass _qfpclass
247 #endif
249 #if defined (HAVE__SINCOS) && ! defined (HAVE_SINCOS)
250 # define HAVE_SINCOS 1
251 # define sincos _sincos
252 #endif
254 #if defined (HAVE__SINCOSF) && ! defined (HAVE_SINCOSF)
255 # define HAVE_SINCOSF 1
256 # define sincosf _sincosf
257 #endif
259 #if defined (HAVE__SINCOSL) && ! defined (HAVE_SINCOSL)
260 # define HAVE_SINCOSL 1
261 # define sincosl _sincosl
262 #endif
264 #if defined (HAVE__SINF) && ! defined (HAVE_SINF)
265 # define HAVE_SINF 1
266 # define sinf _sinf
267 #endif
269 #if defined (HAVE__SINHF) && ! defined (HAVE_SINHF)
270 # define HAVE_SINHF 1
271 # define sinhf _sinhf
272 #endif
274 #if defined (HAVE__SINHL) && ! defined (HAVE_SINHL)
275 # define HAVE_SINHL 1
276 # define sinhl _sinhl
277 #endif
279 #if defined (HAVE__SINL) && ! defined (HAVE_SINL)
280 # define HAVE_SINL 1
281 # define sinl _sinl
282 #endif
284 #if defined (HAVE__SQRTF) && ! defined (HAVE_SQRTF)
285 # define HAVE_SQRTF 1
286 # define sqrtf _sqrtf
287 #endif
289 #if defined (HAVE__SQRTL) && ! defined (HAVE_SQRTL)
290 # define HAVE_SQRTL 1
291 # define sqrtl _sqrtl
292 #endif
294 #if defined (HAVE__STRTOF) && ! defined (HAVE_STRTOF)
295 # define HAVE_STRTOF 1
296 # define strtof _strtof
297 #endif
299 #if defined (HAVE__STRTOLD) && ! defined (HAVE_STRTOLD)
300 # define HAVE_STRTOLD 1
301 # define strtold _strtold
302 #endif
304 #if defined (HAVE__TANF) && ! defined (HAVE_TANF)
305 # define HAVE_TANF 1
306 # define tanf _tanf
307 #endif
309 #if defined (HAVE__TANHF) && ! defined (HAVE_TANHF)
310 # define HAVE_TANHF 1
311 # define tanhf _tanhf
312 #endif
314 #if defined (HAVE__TANHL) && ! defined (HAVE_TANHL)
315 # define HAVE_TANHL 1
316 # define tanhl _tanhl
317 #endif
319 #if defined (HAVE__TANL) && ! defined (HAVE_TANL)
320 # define HAVE_TANL 1
321 # define tanl _tanl
322 #endif