Debian Codegraph @

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

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