Debian Codegraph @

msvc/gmp/build.vc8/config-vc8.p3

raw
1 /* Templates for defines setup by configure.
2
3 Copyright 2000, 2001, 2002 Free Software Foundation, Inc.
4
5 This file is part of the GNU MP Library.
6
7 The GNU MP Library is free software; you can redistribute it and/or modify
8 it under the terms of the GNU Lesser General Public License as published by
9 the Free Software Foundation; either version 2.1 of the License, or (at your
10 option) any later version.
11
12 The GNU MP Library is distributed in the hope that it will be useful, but
13 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
14 or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
15 License for more details.
16
17 You should have received a copy of the GNU Lesser General Public License
18 along with the GNU MP Library; see the file COPYING.LIB. If not, write to
19 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
20 MA 02111-1307, USA. */
21
22 /* Define one (and only one) of these for the CPU host.
23 Only hosts that are going to be tested for need to be in this list,
24 not everything that can possibly be selected.
25 */
26 #undef HAVE_HOST_CPU_alpha
27 #undef HAVE_HOST_CPU_alphaev5
28 #undef HAVE_HOST_CPU_alphaev6
29 #undef HAVE_HOST_CPU_alphaev67
30
31 #undef HAVE_HOST_CPU_m68k
32 #undef HAVE_HOST_CPU_m68000
33 #undef HAVE_HOST_CPU_m68010
34 #undef HAVE_HOST_CPU_m68020
35 #undef HAVE_HOST_CPU_m68030
36 #undef HAVE_HOST_CPU_m68040
37 #undef HAVE_HOST_CPU_m68060
38 #undef HAVE_HOST_CPU_m68302
39 #undef HAVE_HOST_CPU_m68360
40
41 #undef HAVE_HOST_CPU_powerpc604
42 #undef HAVE_HOST_CPU_powerpc604e
43 #undef HAVE_HOST_CPU_powerpc750
44 #undef HAVE_HOST_CPU_powerpc7400
45
46 #undef HAVE_HOST_CPU_sparc
47 #undef HAVE_HOST_CPU_sparcv8
48 #undef HAVE_HOST_CPU_supersparc
49 #undef HAVE_HOST_CPU_sparclite
50 #undef HAVE_HOST_CPU_microsparc
51 #undef HAVE_HOST_CPU_ultrasparc1
52 #undef HAVE_HOST_CPU_ultrasparc2
53 #undef HAVE_HOST_CPU_sparc64
54
55 #undef HAVE_HOST_CPU_hppa1_0
56 #undef HAVE_HOST_CPU_hppa1_1
57 #undef HAVE_HOST_CPU_hppa2_0n
58 #undef HAVE_HOST_CPU_hppa2_0w
59
60 #undef HAVE_HOST_CPU_i386
61 #undef HAVE_HOST_CPU_i486
62 #undef HAVE_HOST_CPU_i586
63 #undef HAVE_HOST_CPU_i686
64 #undef HAVE_HOST_CPU_pentium
65 #undef HAVE_HOST_CPU_pentiummmx
66 #undef HAVE_HOST_CPU_pentiumpro
67 #undef HAVE_HOST_CPU_pentium2
68 #define HAVE_HOST_CPU_pentium3 1
69 #undef HAVE_HOST_CPU_k5
70 #undef HAVE_HOST_CPU_k6
71 #undef HAVE_HOST_CPU_k62
72 #undef HAVE_HOST_CPU_k63
73 #undef HAVE_HOST_CPU_athlon
74
75 /* a dummy to make autoheader happy */
76 #undef HAVE_HOST_CPU_
77
78 /* Define one (and only one) of these for the CPU host family.
79 Only hosts that are going to be tested for need to be in this list,
80 not everything that can possibly be selected.
81 */
82 #undef HAVE_HOST_CPU_FAMILY_power
83 #undef HAVE_HOST_CPU_FAMILY_powerpc
84 #define HAVE_HOST_CPU_FAMILY_x86 1
85
86 /* Define if we have native implementation of function.
87 (use just one of the three following defines)
88 */
89
90 #undef HAVE_NATIVE_mpn_add
91 #undef HAVE_NATIVE_mpn_add_1
92 #undef HAVE_NATIVE_mpn_addmul_2
93 #undef HAVE_NATIVE_mpn_addmul_3
94 #undef HAVE_NATIVE_mpn_addmul_4
95 #undef HAVE_NATIVE_mpn_addsub_n
96 #undef HAVE_NATIVE_mpn_addsub_nc
97 #undef HAVE_NATIVE_mpn_and_n
98 #undef HAVE_NATIVE_mpn_andn_n
99 #undef HAVE_NATIVE_mpn_bdivmod
100 #undef HAVE_NATIVE_mpn_cmp
101 #undef HAVE_NATIVE_mpn_com_n
102 #undef HAVE_NATIVE_mpn_divrem
103 #undef HAVE_NATIVE_mpn_divrem_2
104 #undef HAVE_NATIVE_mpn_divrem_newton
105 #undef HAVE_NATIVE_mpn_divrem_classic
106 #undef HAVE_NATIVE_mpn_dump
107 #undef HAVE_NATIVE_mpn_gcd
108 #undef HAVE_NATIVE_mpn_gcd_1
109 #undef HAVE_NATIVE_mpn_gcd_finda
110 #undef HAVE_NATIVE_mpn_gcdext
111 #undef HAVE_NATIVE_mpn_get_str
112 #undef HAVE_NATIVE_mpn_invert_limb
113 #undef HAVE_NATIVE_mpn_ior_n
114 #undef HAVE_NATIVE_mpn_iorn_n
115 #undef HAVE_NATIVE_mpn_mul
116 #undef HAVE_NATIVE_mpn_mul_2
117 #undef HAVE_NATIVE_mpn_mul_3
118 #undef HAVE_NATIVE_mpn_mul_4
119 #undef HAVE_NATIVE_mpn_mul_n
120 #undef HAVE_NATIVE_mpn_nand_n
121 #undef HAVE_NATIVE_mpn_nior_n
122 #undef HAVE_NATIVE_mpn_perfect_square_p
123 #undef HAVE_NATIVE_mpn_preinv_mod_1
124 #undef HAVE_NATIVE_mpn_random2
125 #undef HAVE_NATIVE_mpn_random
126 #undef HAVE_NATIVE_mpn_rawrandom
127 #undef HAVE_NATIVE_mpn_scan0
128 #undef HAVE_NATIVE_mpn_scan1
129 #undef HAVE_NATIVE_mpn_set_str
130 #undef HAVE_NATIVE_mpn_sqrtrem
131 #undef HAVE_NATIVE_mpn_sqr_diagonal
132 #undef HAVE_NATIVE_mpn_sub
133 #undef HAVE_NATIVE_mpn_sub_1
134 #undef HAVE_NATIVE_mpn_udiv_w_sdiv
135 #undef HAVE_NATIVE_mpn_xor_n
136 #undef HAVE_NATIVE_mpn_xnor_n
137
138 #undef HAVE_NATIVE_mpn_add_n
139 #undef HAVE_NATIVE_mpn_add_nc
140 #undef HAVE_NATIVE_mpn_sub_n
141 #undef HAVE_NATIVE_mpn_sub_nc
142
143 #undef HAVE_NATIVE_mpn_addmul_1
144 #undef HAVE_NATIVE_mpn_addmul_1c
145 #undef HAVE_NATIVE_mpn_submul_1
146 #undef HAVE_NATIVE_mpn_submul_1c
147
148 #undef HAVE_NATIVE_mpn_copyd
149 #undef HAVE_NATIVE_mpn_copyi
150
151 #undef HAVE_NATIVE_mpn_divexact_1
152 #undef HAVE_NATIVE_mpn_divexact_by3c
153 #undef HAVE_NATIVE_mpn_divrem_1
154 #undef HAVE_NATIVE_mpn_divrem_1c
155
156 #undef HAVE_NATIVE_mpn_hamdist
157 #undef HAVE_NATIVE_mpn_popcount
158
159 #undef HAVE_NATIVE_mpn_lshift
160 #undef HAVE_NATIVE_mpn_rshift
161
162 #undef HAVE_NATIVE_mpn_mod_1
163 #undef HAVE_NATIVE_mpn_mod_1c
164 #undef HAVE_NATIVE_mpn_modexact_1_odd
165 #undef HAVE_NATIVE_mpn_modexact_1c_odd
166
167 #undef HAVE_NATIVE_mpn_mul_1
168 #undef HAVE_NATIVE_mpn_mul_1c
169 #undef HAVE_NATIVE_mpn_mul_basecase
170 #undef HAVE_NATIVE_mpn_sqr_basecase
171
172 #undef HAVE_NATIVE_mpn_umul_ppmm
173 #undef HAVE_NATIVE_mpn_udiv_qrnnd
174
175 /* For the Intel P3 assembler code */
176
177 #define HAVE_NATIVE_mpn_add_n 1
178 #define HAVE_NATIVE_mpn_add_nc 1
179 #define HAVE_NATIVE_mpn_sub_n 1
180 #define HAVE_NATIVE_mpn_sub_nc 1
181
182 #define HAVE_NATIVE_mpn_addmul_1 1
183 #define HAVE_NATIVE_mpn_submul_1 1
184
185 #define HAVE_NATIVE_mpn_copyd 1
186 #define HAVE_NATIVE_mpn_copyi 1
187
188 #define HAVE_NATIVE_mpn_divexact_1 1
189 #define HAVE_NATIVE_mpn_divexact_by3c 1
190 #define HAVE_NATIVE_mpn_divrem_1 1
191 #define HAVE_NATIVE_mpn_divrem_1c 1
192
193 #define HAVE_NATIVE_mpn_hamdist 1
194 #define HAVE_NATIVE_mpn_popcount 1
195
196 #define HAVE_NATIVE_mpn_lshift 1
197 #define HAVE_NATIVE_mpn_rshift 1
198
199 #define HAVE_NATIVE_mpn_mod_1 1
200 #define HAVE_NATIVE_mpn_mod_1c 1
201 #define HAVE_NATIVE_mpn_modexact_1_odd 1
202 #define HAVE_NATIVE_mpn_modexact_1c_odd 1
203
204 #define HAVE_NATIVE_mpn_mul_1 1
205 #define HAVE_NATIVE_mpn_mul_basecase 1
206 #define HAVE_NATIVE_mpn_sqr_basecase 1
207
208 #define HAVE_NATIVE_mpn_umul_ppmm 1
209 #define HAVE_NATIVE_mpn_udiv_qrnnd 1
210
211 /* a dummy to make autoheader happy */
212 #undef HAVE_NATIVE_
213
214
215 /* The gmp-mparam.h to update when tuning. */
216 #undef GMP_MPARAM_H_SUGGEST
217
218 /* Define if you have the `alarm' function. */
219 #undef HAVE_ALARM
220
221 /* Define if alloca() works (via gmp-impl.h). */
222 #define HAVE_ALLOCA 1
223
224 /* Define if you have <alloca.h> and it should be used (not on Ultrix). */
225 #undef HAVE_ALLOCA_H
226
227 /* Define if the compiler accepts gcc style __attribute__ ((const)) */
228 #undef HAVE_ATTRIBUTE_CONST
229
230 /* Define if the compiler accepts gcc style __attribute__ ((malloc)) */
231 #undef HAVE_ATTRIBUTE_MALLOC
232
233 /* Define if the compiler accepts gcc style __attribute__ ((mode (XX))) */
234 #undef HAVE_ATTRIBUTE_MODE
235
236 /* Define if the compiler accepts gcc style __attribute__ ((noreturn)) */
237 #undef HAVE_ATTRIBUTE_NORETURN
238
239 /* Define if tests/libtests has calling conventions checking for the CPU */
240 #undef HAVE_CALLING_CONVENTIONS
241
242 /* Define if you have the `clock' function. */
243 #define HAVE_CLOCK 1
244
245 /* Define if you have the `clock_gettime' function. */
246 #undef HAVE_CLOCK_GETTIME
247
248 /* Define if you have the `cputime' function. */
249 #undef HAVE_CPUTIME
250
251 /* Define to 1 if you have the declaration of `fgetc', and to 0 if you don't.
252 */
253 #define HAVE_DECL_FGETC 1
254
255 /* Define to 1 if you have the declaration of `fscanf', and to 0 if you don't.
256 */
257 #define HAVE_DECL_FSCANF 1
258
259 /* Define to 1 if you have the declaration of `optarg', and to 0 if you don't.
260 */
261 #define HAVE_DECL_OPTARG 0
262
263 /* Define to 1 if you have the declaration of `ungetc', and to 0 if you don't.
264 */
265 #define HAVE_DECL_UNGETC 1
266
267 /* Define to 1 if you have the declaration of `vfprintf', and to 0 if you
268 don't. */
269 #define HAVE_DECL_VFPRINTF 1
270
271 /* Define if denormalized floats work. */
272 #define HAVE_DENORMS 1
273
274 /* Define if you have the <dlfcn.h> header file. */
275 #undef HAVE_DLFCN_H
276
277 /* Define one (and only one) of the following for the format of a `double'.
278 If your format is not among these choices, or you don't know what it is,
279 then leave all of them undefined.
280 "IEEE_LITTLE_SWAPPED" means little endian, but with the two 4-byte halves
281 swapped, as used by ARM CPUs in little endian mode. */
282 #undef HAVE_DOUBLE_IEEE_BIG_ENDIAN
283 #define HAVE_DOUBLE_IEEE_LITTLE_ENDIAN 1
284 #undef HAVE_DOUBLE_IEEE_LITTLE_SWAPPED
285 #undef HAVE_DOUBLE_VAX_D
286 #undef HAVE_DOUBLE_VAX_G
287 #undef HAVE_DOUBLE_CRAY_CFP
288
289 /* Define if you have the <fcntl.h> header file. */
290 #define HAVE_FCNTL_H 1
291
292 /* Define if you have the <fpu_control.h> header file. */
293 #undef HAVE_FPU_CONTROL_H
294
295 /* Define if you have the `getpagesize' function. */
296 #undef HAVE_GETPAGESIZE
297
298 /* Define if you have the `getrusage' function. */
299 #undef HAVE_GETRUSAGE
300
301 /* Define if you have the `gettimeofday' function. */
302 #undef HAVE_GETTIMEOFDAY
303
304 /* Define if 0/0, 1/0, -1/0 and sqrt(-1) work to generate NaN/infinities. */
305 #define HAVE_INFS 1
306
307 /* Define if the system has the type `intmax_t'. */
308 #undef HAVE_INTMAX_T
309
310 /* Define if you have the <inttypes.h> header file. */
311 #undef HAVE_INTTYPES_H
312
313 /* Define one (just one) of the following for the endiannes of `mp_limb_t'.
314 If the endianness is not a simple big or little, or you don't know what
315 it is, then leave both of these undefined. */
316 #undef HAVE_LIMB_BIG_ENDIAN
317 #define HAVE_LIMB_LITTLE_ENDIAN 1
318
319 #define HAVE_STD__LOCALE 1
320
321 /* Define if you have the `localeconv' function. */
322 #define HAVE_LOCALECONV 1
323
324 /* Define if you have the <locale.h> header file. */
325 #define HAVE_LOCALE_H 1
326
327 /* Define if the system has the type `long double'. */
328 #define HAVE_LONG_DOUBLE 1
329
330 /* Define if the system has the type `long long'. */
331 #define HAVE_LONG_LONG 1
332
333 /* Define if you have the `lrand48' function. */
334 #undef HAVE_LRAND48
335
336 /* Define if you have the <memory.h> header file. */
337 #define HAVE_MEMORY_H 1
338
339 /* Define if you have the `memset' function. */
340 #define HAVE_MEMSET 1
341
342 /* Define if you have the `mmap' function. */
343 #undef HAVE_MMAP
344
345 /* Define if you have the `mprotect' function. */
346 #undef HAVE_MPROTECT
347
348 /* Define if you have the `obstack_vprintf' function. */
349 #undef HAVE_OBSTACK_VPRINTF
350
351 /* Define if you have the `popen' function. */
352 #undef HAVE_POPEN
353
354 /* Define if you have the `processor_info' function. */
355 #undef HAVE_PROCESSOR_INFO
356
357 /* Define if the system has the type `ptrdiff_t'. */
358 #define HAVE_PTRDIFF_T 1
359
360 /* Define if the system has the type `quad_t'. */
361 #undef HAVE_QUAD_T
362
363 #define HAVE_RAISE 1
364
365 /* Define if you have the `read_real_time' function. */
366 #undef HAVE_READ_REAL_TIME
367
368 /* Define if you have the `sigaction' function. */
369 #undef HAVE_SIGACTION
370
371 /* Define if you have the `sigaltstack' function. */
372 #undef HAVE_SIGALTSTACK
373
374 /* Define if you have the `sigstack' function. */
375 #undef HAVE_SIGSTACK
376
377 /* Tune directory speed_cyclecounter, undef=none, 1=32bits, 2=64bits) */
378 #define HAVE_SPEED_CYCLECOUNTER 2
379
380 /* Define if the system has the type `stack_t'. */
381 #undef HAVE_STACK_T
382
383 /* Define if <stdarg.h> exists and works */
384 #define HAVE_STDARG 1
385
386 /* Define if you have the <stdint.h> header file. */
387 #undef HAVE_STDINT_H
388
389 /* Define if you have the <stdlib.h> header file. */
390 #define HAVE_STDLIB_H 1
391
392 /* Define if you have the `strcasecmp' function. */
393 #undef HAVE_STRCASECMP
394
395 /* Define if you have the `strchr' function. */
396 #define HAVE_STRCHR 1
397
398 /* Define if cpp supports the ANSI # stringizing operator. */
399 #define HAVE_STRINGIZE 1
400
401 /* Define if you have the <strings.h> header file. */
402 #undef HAVE_STRINGS_H
403
404 /* Define if you have the <string.h> header file. */
405 #define HAVE_STRING_H 1
406
407 /* Define if you have the `strnlen' function. */
408 #define HAVE_STRNLEN 1
409
410 /* Define if you have the `strtoul' function. */
411 #define HAVE_STRTOUL 1
412
413 /* Define if you have the `sysconf' function. */
414 #undef HAVE_SYSCONF
415
416 /* Define if you have the `sysctl' function. */
417 #undef HAVE_SYSCTL
418
419 /* Define if you have the `sysctlbyname' function. */
420 #undef HAVE_SYSCTLBYNAME
421
422 /* Define if you have the `syssgi' function. */
423 #undef HAVE_SYSSGI
424
425 /* Define if you have the <sys/mman.h> header file. */
426 #undef HAVE_SYS_MMAN_H
427
428 /* Define if you have the <sys/param.h> header file. */
429 #undef HAVE_SYS_PARAM_H
430
431 /* Define if you have the <sys/processor.h> header file. */
432 #undef HAVE_SYS_PROCESSOR_H
433
434 /* Define if you have the <sys/resource.h> header file. */
435 #undef HAVE_SYS_RESOURCE_H
436
437 /* Define if you have the <sys/stat.h> header file. */
438 #define HAVE_SYS_STAT_H 1
439
440 /* Define if you have the <sys/sysctl.h> header file. */
441 #undef HAVE_SYS_SYSCTL_H
442
443 /* Define if you have the <sys/syssgi.h> header file. */
444 #undef HAVE_SYS_SYSSGI_H
445
446 /* Define if you have the <sys/systemcfg.h> header file. */
447 #undef HAVE_SYS_SYSTEMCFG_H
448
449 /* Define if you have the <sys/times.h> header file. */
450 #undef HAVE_SYS_TIMES_H
451
452 /* Define if you have the <sys/time.h> header file. */
453 #undef HAVE_SYS_TIME_H
454
455 /* Define if you have the <sys/types.h> header file. */
456 #define HAVE_SYS_TYPES_H 1
457
458 /* Define if you have the `times' function. */
459 #undef HAVE_TIMES
460
461 /* Define if you have the <unistd.h> header file. */
462 #undef HAVE_UNISTD_H
463
464 /* Define if you have vsnprintf and it works properly. */
465 #undef HAVE_VSNPRINTF
466
467 /* Assembler local label prefix */
468 #undef LSYM_PREFIX
469
470 /* Define if you have the `fesetround' function via the <fenv.h> header file.
471 */
472 #undef MPFR_HAVE_FESETROUND
473
474 #define HAVE_SSTREAM 1
475
476 /* Name of package */
477 #define PACKAGE "gmp"
478
479 /* Define if compiler has function prototypes */
480 #define PROTOTYPES 1
481
482 /* Define as the return type of signal handlers (`int' or `void'). */
483 #define RETSIGTYPE void
484
485 /* The size of a `unsigned long', as computed by sizeof. */
486 #define SIZEOF_UNSIGNED_LONG 4
487
488 /* Define if sscanf requires writable inputs */
489 #undef SSCANF_WRITABLE_INPUT
490
491 /* Define if you have the ANSI C header files. */
492 #define STDC_HEADERS 1
493
494 /* Define if you can safely include both <sys/time.h> and <time.h>. */
495 #undef TIME_WITH_SYS_TIME
496
497 /* Maximum size the tune program can test for KARATSUBA_SQR_THRESHOLD */
498 #define TUNE_KARATSUBA_SQR_MAX 67
499
500 /* Version number of package */
501 #define VERSION "4.2.1 (VC8)"
502
503 /* ./configure --enable-assert option, to enable some ASSERT()s */
504 #undef WANT_ASSERT
505
506 /* ./configure --enable-fft option, to enable FFTs for multiplication */
507 #define WANT_FFT 1
508
509 /* Define to 1 if --enable-profiling=gprof */
510 #undef WANT_PROFILING_GPROF
511
512 /* Define to 1 if --enable-profiling=prof */
513 #undef WANT_PROFILING_PROF
514
515 /* --enable-alloca=yes */
516 #undef WANT_TMP_ALLOCA
517
518 /* --enable-alloca=debug */
519 #undef WANT_TMP_DEBUG
520
521 /* --enable-alloca=malloc-notreentrant */
522 #undef WANT_TMP_NOTREENTRANT
523
524 /* --enable-alloca=malloc-reentrant */
525 #define WANT_TMP_REENTRANT 1
526
527 /* Define if your processor stores words with the most significant byte first
528 (like Motorola and SPARC, unlike Intel and VAX). */
529 #undef WORDS_BIGENDIAN
530
531 /* Define if `lex' declares `yytext' as a `char *' by default, not a `char[]'.
532 */
533 #undef YYTEXT_POINTER
534
535 /* Define as `__inline' if that's what the C compiler calls it, or to nothing
536 if it is not supported. */
537 #define inline __inline
538
539 /* Define to empty if the keyword `volatile' does not work. Warning: valid
540 code using `volatile' can become incorrect without. Disable with care. */
541 #undef volatile
542
543 #ifdef _MSC_VER
544 #define strcasecmp _stricmp
545 #define strncasecmp _strnicmp
546 #define alloca _alloca
547 #define HAVE_STRCASECMP 1
548 #define HAVE_STRNCASECMP 1
549 #endif