1 /* config.h. Generated by configure. */
2 /* config.in. Generated from configure.in by autoheader. */
6 Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
7 2007 Free Software Foundation, Inc.
9 This file is part of the GNU MP Library.
11 The GNU MP Library is free software; you can redistribute it and/or modify
12 it under the terms of the GNU Lesser General Public License as published
13 by the Free Software Foundation; either version 3 of the License, or (at
14 your option) any later version.
16 The GNU MP Library is distributed in the hope that it will be useful, but
17 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
18 or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
19 License for more details.
21 You should have received a copy of the GNU Lesser General Public License
22 along with the GNU MP Library. If not, see http://www.gnu.org/licenses/.
25 /* The gmp-mparam.h file (a string) the tune program should suggest updating.
27 #define GMP_MPARAM_H_SUGGEST "../gmp/mpn/x86/p6/sse2/gmp-mparam.h"
29 /* Define to 1 if you have the `alarm' function. */
32 /* Define to 1 if alloca() works (via gmp-impl.h). */
35 /* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
37 /* #undef HAVE_ALLOCA_H */
39 /* Define to 1 if the compiler accepts gcc style __attribute__ ((const)) */
40 #define HAVE_ATTRIBUTE_CONST 1
42 /* Define to 1 if the compiler accepts gcc style __attribute__ ((malloc)) */
43 #define HAVE_ATTRIBUTE_MALLOC 1
45 /* Define to 1 if the compiler accepts gcc style __attribute__ ((mode (XX)))
47 #define HAVE_ATTRIBUTE_MODE 1
49 /* Define to 1 if the compiler accepts gcc style __attribute__ ((noreturn)) */
50 #define HAVE_ATTRIBUTE_NORETURN 1
52 /* Define to 1 if you have the `attr_get' function. */
53 /* #undef HAVE_ATTR_GET */
55 /* Define to 1 if tests/libtests has calling conventions checking for the CPU
57 #define HAVE_CALLING_CONVENTIONS 1
59 /* Define to 1 if you have the `clock' function. */
62 /* Define to 1 if you have the `clock_gettime' function. */
63 #define HAVE_CLOCK_GETTIME 1
65 /* Define to 1 if you have the `cputime' function. */
66 /* #undef HAVE_CPUTIME */
68 /* Define to 1 if you have the declaration of `fgetc', and to 0 if you don't.
70 #define HAVE_DECL_FGETC 1
72 /* Define to 1 if you have the declaration of `fscanf', and to 0 if you don't.
74 #define HAVE_DECL_FSCANF 1
76 /* Define to 1 if you have the declaration of `optarg', and to 0 if you don't.
78 #define HAVE_DECL_OPTARG 1
80 /* Define to 1 if you have the declaration of `sys_errlist', and to 0 if you
82 #define HAVE_DECL_SYS_ERRLIST 1
84 /* Define to 1 if you have the declaration of `sys_nerr', and to 0 if you
86 #define HAVE_DECL_SYS_NERR 1
88 /* Define to 1 if you have the declaration of `ungetc', and to 0 if you don't.
90 #define HAVE_DECL_UNGETC 1
92 /* Define to 1 if you have the declaration of `vfprintf', and to 0 if you
94 #define HAVE_DECL_VFPRINTF 1
96 /* Define to 1 if you have the <dlfcn.h> header file. */
97 #define HAVE_DLFCN_H 1
99 /* Define one of the following to 1 for the format of a `double'.
100 If your format is not among these choices, or you don't know what it is,
101 then leave all undefined.
102 IEEE_LITTLE_SWAPPED means little endian, but with the two 4-byte halves
103 swapped, as used by ARM CPUs in little endian mode. */
104 /* #undef HAVE_DOUBLE_IEEE_BIG_ENDIAN */
105 #define HAVE_DOUBLE_IEEE_LITTLE_ENDIAN 1
106 /* #undef HAVE_DOUBLE_IEEE_LITTLE_SWAPPED */
107 /* #undef HAVE_DOUBLE_VAX_D */
108 /* #undef HAVE_DOUBLE_VAX_G */
109 /* #undef HAVE_DOUBLE_CRAY_CFP */
111 /* Define to 1 if you have the <fcntl.h> header file. */
112 #define HAVE_FCNTL_H 1
114 /* Define to 1 if you have the <float.h> header file. */
115 #define HAVE_FLOAT_H 1
117 /* Define to 1 if you have the `getpagesize' function. */
118 #define HAVE_GETPAGESIZE 1
120 /* Define to 1 if you have the `getrusage' function. */
121 #define HAVE_GETRUSAGE 1
123 /* Define to 1 if you have the `getsysinfo' function. */
124 /* #undef HAVE_GETSYSINFO */
126 /* Define to 1 if you have the `gettimeofday' function. */
127 #define HAVE_GETTIMEOFDAY 1
129 /* Define one of these to 1 for the host CPU family.
130 If your CPU is not in any of these families, leave all undefined.
131 For an AMD64 chip, define "x86" in ABI=32, but not in ABI=64. */
132 /* #undef HAVE_HOST_CPU_FAMILY_alpha */
133 /* #undef HAVE_HOST_CPU_FAMILY_m68k */
134 /* #undef HAVE_HOST_CPU_FAMILY_power */
135 /* #undef HAVE_HOST_CPU_FAMILY_powerpc */
136 #define HAVE_HOST_CPU_FAMILY_x86 1
138 /* Define one of the following to 1 for the host CPU, as per the output of
139 ./config.guess. If your CPU is not listed here, leave all undefined. */
140 /* #undef HAVE_HOST_CPU_alphaev67 */
141 /* #undef HAVE_HOST_CPU_alphaev68 */
142 /* #undef HAVE_HOST_CPU_alphaev7 */
143 /* #undef HAVE_HOST_CPU_m68020 */
144 /* #undef HAVE_HOST_CPU_m68030 */
145 /* #undef HAVE_HOST_CPU_m68040 */
146 /* #undef HAVE_HOST_CPU_m68060 */
147 /* #undef HAVE_HOST_CPU_m68360 */
148 /* #undef HAVE_HOST_CPU_powerpc604 */
149 /* #undef HAVE_HOST_CPU_powerpc604e */
150 /* #undef HAVE_HOST_CPU_powerpc750 */
151 /* #undef HAVE_HOST_CPU_powerpc7400 */
152 /* #undef HAVE_HOST_CPU_supersparc */
153 /* #undef HAVE_HOST_CPU_i386 */
154 /* #undef HAVE_HOST_CPU_i586 */
155 /* #undef HAVE_HOST_CPU_i686 */
156 /* #undef HAVE_HOST_CPU_pentium */
157 /* #undef HAVE_HOST_CPU_pentiummmx */
158 /* #undef HAVE_HOST_CPU_pentiumpro */
159 /* #undef HAVE_HOST_CPU_pentium2 */
160 /* #undef HAVE_HOST_CPU_pentium3 */
162 /* Define to 1 if the system has the type `intmax_t'. */
163 #define HAVE_INTMAX_T 1
165 /* Define to 1 if you have the <inttypes.h> header file. */
166 #define HAVE_INTTYPES_H 1
168 /* Define to 1 if you have the <invent.h> header file. */
169 /* #undef HAVE_INVENT_H */
171 /* Define to 1 if you have the <langinfo.h> header file. */
172 #define HAVE_LANGINFO_H 1
174 /* Define one of these to 1 for the endianness of `mp_limb_t'.
175 If the endianness is not a simple big or little, or you don't know what
176 it is, then leave both undefined. */
177 /* #undef HAVE_LIMB_BIG_ENDIAN */
178 #define HAVE_LIMB_LITTLE_ENDIAN 1
180 /* Define to 1 if you have the `localeconv' function. */
181 #define HAVE_LOCALECONV 1
183 /* Define to 1 if you have the <locale.h> header file. */
184 #define HAVE_LOCALE_H 1
186 /* Define to 1 if the system has the type `long double'. */
187 #define HAVE_LONG_DOUBLE 1
189 /* Define to 1 if the system has the type `long long'. */
190 #define HAVE_LONG_LONG 1
192 /* Define to 1 if you have the <machine/hal_sysinfo.h> header file. */
193 /* #undef HAVE_MACHINE_HAL_SYSINFO_H */
195 /* Define to 1 if you have the <memory.h> header file. */
196 #define HAVE_MEMORY_H 1
198 /* Define to 1 if you have the `memset' function. */
199 #define HAVE_MEMSET 1
201 /* Define to 1 if you have the `mmap' function. */
204 /* Define to 1 if you have the `mprotect' function. */
205 #define HAVE_MPROTECT 1
207 /* Define to 1 each of the following for which a native (ie. CPU specific)
208 implementation of the corresponding routine exists. */
209 /* #undef HAVE_NATIVE_mpn_add_n */
210 /* #undef HAVE_NATIVE_mpn_add_nc */
211 /* #undef HAVE_NATIVE_mpn_addlsh1_n */
212 /* #undef HAVE_NATIVE_mpn_addmul_1c */
213 /* #undef HAVE_NATIVE_mpn_addmul_2 */
214 /* #undef HAVE_NATIVE_mpn_addmul_3 */
215 /* #undef HAVE_NATIVE_mpn_addmul_4 */
216 /* #undef HAVE_NATIVE_mpn_addmul_5 */
217 /* #undef HAVE_NATIVE_mpn_addmul_6 */
218 /* #undef HAVE_NATIVE_mpn_addmul_7 */
219 /* #undef HAVE_NATIVE_mpn_addmul_8 */
220 /* #undef HAVE_NATIVE_mpn_addsub_n */
221 /* #undef HAVE_NATIVE_mpn_addaddmul_1msb0 */
222 /* #undef HAVE_NATIVE_mpn_and_n */
223 /* #undef HAVE_NATIVE_mpn_andn_n */
224 /* #undef HAVE_NATIVE_mpn_bdiv_dbm1c */
225 /* #undef HAVE_NATIVE_mpn_com_n */
226 /* #undef HAVE_NATIVE_mpn_copyd */
227 /* #undef HAVE_NATIVE_mpn_copyi */
228 /* #undef HAVE_NATIVE_mpn_divexact_1 */
229 /* #undef HAVE_NATIVE_mpn_divexact_by3c */
230 /* #undef HAVE_NATIVE_mpn_divrem_1 */
231 /* #undef HAVE_NATIVE_mpn_divrem_1c */
232 /* #undef HAVE_NATIVE_mpn_divrem_2 */
233 /* #undef HAVE_NATIVE_mpn_gcd_1 */
234 /* #undef HAVE_NATIVE_mpn_invert_limb */
235 /* #undef HAVE_NATIVE_mpn_ior_n */
236 /* #undef HAVE_NATIVE_mpn_iorn_n */
237 /* #undef HAVE_NATIVE_mpn_lshiftc */
238 /* #undef HAVE_NATIVE_mpn_mod_1 */
239 /* #undef HAVE_NATIVE_mpn_mod_1c */
240 /* #undef HAVE_NATIVE_mpn_modexact_1_odd */
241 /* #undef HAVE_NATIVE_mpn_modexact_1c_odd */
242 /* #undef HAVE_NATIVE_mpn_mul_1c */
243 /* #undef HAVE_NATIVE_mpn_mul_2 */
244 /* #undef HAVE_NATIVE_mpn_mul_3 */
245 /* #undef HAVE_NATIVE_mpn_mul_4 */
246 /* #undef HAVE_NATIVE_mpn_nand_n */
247 /* #undef HAVE_NATIVE_mpn_nior_n */
248 /* #undef HAVE_NATIVE_mpn_preinv_divrem_1 */
249 /* #undef HAVE_NATIVE_mpn_preinv_mod_1 */
250 /* #undef HAVE_NATIVE_mpn_redc_1 */
251 /* #undef HAVE_NATIVE_mpn_redc_2 */
252 /* #undef HAVE_NATIVE_mpn_rsh1add_n */
253 /* #undef HAVE_NATIVE_mpn_rsh1sub_n */
254 /* #undef HAVE_NATIVE_mpn_sqr_basecase */
255 /* #undef HAVE_NATIVE_mpn_sqr_diagonal */
256 /* #undef HAVE_NATIVE_mpn_sub_n */
257 /* #undef HAVE_NATIVE_mpn_sub_nc */
258 /* #undef HAVE_NATIVE_mpn_sublsh1_n */
259 /* #undef HAVE_NATIVE_mpn_submul_1c */
260 /* #undef HAVE_NATIVE_mpn_umul_ppmm */
261 /* #undef HAVE_NATIVE_mpn_umul_ppmm_r */
262 /* #undef HAVE_NATIVE_mpn_udiv_qrnnd */
263 /* #undef HAVE_NATIVE_mpn_udiv_qrnnd_r */
264 /* #undef HAVE_NATIVE_mpn_xor_n */
265 /* #undef HAVE_NATIVE_mpn_xnor_n */
267 /* Define to 1 if you have the `nl_langinfo' function. */
268 #define HAVE_NL_LANGINFO 1
270 /* Define to 1 if you have the <nl_types.h> header file. */
271 #define HAVE_NL_TYPES_H 1
273 /* Define to 1 if you have the `obstack_vprintf' function. */
274 /* #undef HAVE_OBSTACK_VPRINTF */
276 /* Define to 1 if you have the `popen' function. */
279 /* Define to 1 if you have the `processor_info' function. */
280 /* #undef HAVE_PROCESSOR_INFO */
282 /* Define to 1 if <sys/pstat.h> `struct pst_processor' exists and contains
283 `psp_iticksperclktick'. */
284 /* #undef HAVE_PSP_ITICKSPERCLKTICK */
286 /* Define to 1 if you have the `pstat_getprocessor' function. */
287 /* #undef HAVE_PSTAT_GETPROCESSOR */
289 /* Define to 1 if the system has the type `ptrdiff_t'. */
290 #define HAVE_PTRDIFF_T 1
292 /* Define to 1 if the system has the type `quad_t'. */
293 #define HAVE_QUAD_T 1
295 /* Define to 1 if you have the `raise' function. */
298 /* Define to 1 if you have the `read_real_time' function. */
299 /* #undef HAVE_READ_REAL_TIME */
301 /* Define to 1 if you have the `sigaction' function. */
302 #define HAVE_SIGACTION 1
304 /* Define to 1 if you have the `sigaltstack' function. */
305 #define HAVE_SIGALTSTACK 1
307 /* Define to 1 if you have the `sigstack' function. */
308 /* #undef HAVE_SIGSTACK */
310 /* Tune directory speed_cyclecounter, undef=none, 1=32bits, 2=64bits) */
311 #define HAVE_SPEED_CYCLECOUNTER 2
313 /* Define to 1 if you have the <sstream> header file. */
314 /* #undef HAVE_SSTREAM */
316 /* Define to 1 if the system has the type `stack_t'. */
317 #define HAVE_STACK_T 1
319 /* Define to 1 if <stdarg.h> exists and works */
320 #define HAVE_STDARG 1
322 /* Define to 1 if you have the <stdint.h> header file. */
323 #define HAVE_STDINT_H 1
325 /* Define to 1 if you have the <stdlib.h> header file. */
326 #define HAVE_STDLIB_H 1
328 /* Define to 1 if the system has the type `std::locale'. */
329 /* #undef HAVE_STD__LOCALE */
331 /* Define to 1 if you have the `strchr' function. */
332 #define HAVE_STRCHR 1
334 /* Define to 1 if you have the `strerror' function. */
335 #define HAVE_STRERROR 1
337 /* Define to 1 if cpp supports the ANSI # stringizing operator. */
338 #define HAVE_STRINGIZE 1
340 /* Define to 1 if you have the <strings.h> header file. */
341 #define HAVE_STRINGS_H 1
343 /* Define to 1 if you have the <string.h> header file. */
344 #define HAVE_STRING_H 1
346 /* Define to 1 if you have the `strnlen' function. */
347 #define HAVE_STRNLEN 1
349 /* Define to 1 if you have the `strtol' function. */
350 #define HAVE_STRTOL 1
352 /* Define to 1 if you have the `strtoul' function. */
353 #define HAVE_STRTOUL 1
355 /* Define to 1 if you have the `sysconf' function. */
356 #define HAVE_SYSCONF 1
358 /* Define to 1 if you have the `sysctl' function. */
359 #define HAVE_SYSCTL 1
361 /* Define to 1 if you have the `sysctlbyname' function. */
362 #define HAVE_SYSCTLBYNAME 1
364 /* Define to 1 if you have the `syssgi' function. */
365 /* #undef HAVE_SYSSGI */
367 /* Define to 1 if you have the <sys/attributes.h> header file. */
368 /* #undef HAVE_SYS_ATTRIBUTES_H */
370 /* Define to 1 if you have the <sys/iograph.h> header file. */
371 /* #undef HAVE_SYS_IOGRAPH_H */
373 /* Define to 1 if you have the <sys/mman.h> header file. */
374 #define HAVE_SYS_MMAN_H 1
376 /* Define to 1 if you have the <sys/param.h> header file. */
377 #define HAVE_SYS_PARAM_H 1
379 /* Define to 1 if you have the <sys/processor.h> header file. */
380 /* #undef HAVE_SYS_PROCESSOR_H */
382 /* Define to 1 if you have the <sys/pstat.h> header file. */
383 /* #undef HAVE_SYS_PSTAT_H */
385 /* Define to 1 if you have the <sys/resource.h> header file. */
386 #define HAVE_SYS_RESOURCE_H 1
388 /* Define to 1 if you have the <sys/stat.h> header file. */
389 #define HAVE_SYS_STAT_H 1
391 /* Define to 1 if you have the <sys/sysctl.h> header file. */
392 #define HAVE_SYS_SYSCTL_H 1
394 /* Define to 1 if you have the <sys/sysinfo.h> header file. */
395 /* #undef HAVE_SYS_SYSINFO_H */
397 /* Define to 1 if you have the <sys/syssgi.h> header file. */
398 /* #undef HAVE_SYS_SYSSGI_H */
400 /* Define to 1 if you have the <sys/systemcfg.h> header file. */
401 /* #undef HAVE_SYS_SYSTEMCFG_H */
403 /* Define to 1 if you have the <sys/times.h> header file. */
404 #define HAVE_SYS_TIMES_H 1
406 /* Define to 1 if you have the <sys/time.h> header file. */
407 #define HAVE_SYS_TIME_H 1
409 /* Define to 1 if you have the <sys/types.h> header file. */
410 #define HAVE_SYS_TYPES_H 1
412 /* Define to 1 if you have the `times' function. */
415 /* Define to 1 if the system has the type `uint_least32_t'. */
416 #define HAVE_UINT_LEAST32_T 1
418 /* Define to 1 if you have the <unistd.h> header file. */
419 #define HAVE_UNISTD_H 1
421 /* Define to 1 if you have the `vsnprintf' function and it works properly. */
422 #define HAVE_VSNPRINTF 1
424 /* Assembler local label prefix */
425 #define LSYM_PREFIX ".L"
427 /* Name of package */
428 #define PACKAGE "gmp"
430 /* Define to the address where bug reports for this package should be sent. */
431 #define PACKAGE_BUGREPORT "gmp-bugs@gmplib.org"
433 /* Define to the full name of this package. */
434 #define PACKAGE_NAME "GNU MP"
436 /* Define to the full name and version of this package. */
437 #define PACKAGE_STRING "GNU MP 4.3.1"
439 /* Define to the one symbol short name of this package. */
440 #define PACKAGE_TARNAME "gmp"
442 /* Define to the version of this package. */
443 #define PACKAGE_VERSION "4.3.1"
445 /* Define to 1 if the C compiler supports function prototypes. */
448 /* Define as the return type of signal handlers (`int' or `void'). */
449 #define RETSIGTYPE void
451 /* The size of a `mp_limb_t', as computed by sizeof. */
452 #define SIZEOF_MP_LIMB_T (__LONG_INT_BITS / 8)
454 /* The size of a `unsigned', as computed by sizeof. */
455 #define SIZEOF_UNSIGNED (__INT_BITS / 8)
457 /* The size of a `unsigned long', as computed by sizeof. */
458 #define SIZEOF_UNSIGNED_LONG (__LONG_INT_BITS / 8)
460 /* The size of a `unsigned short', as computed by sizeof. */
461 #define SIZEOF_UNSIGNED_SHORT (__SHORT_BITS / 8)
463 /* Define to 1 if sscanf requires writable inputs */
464 /* #undef SSCANF_WRITABLE_INPUT */
466 /* Define to 1 if you have the ANSI C header files. */
467 #define STDC_HEADERS 1
469 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
470 #define TIME_WITH_SYS_TIME 1
472 /* Maximum size the tune program can test for SQR_KARATSUBA_THRESHOLD */
473 /* #undef TUNE_SQR_KARATSUBA_MAX */
475 /* Version number of package */
476 #define VERSION "4.3.1"
478 /* Define to 1 to enable ASSERT checking, per --enable-assert */
479 /* #undef WANT_ASSERT */
481 /* Define to 1 when building a fat binary. */
482 /* #undef WANT_FAT_BINARY */
484 /* Define to 1 to enable FFTs for multiplication, per --enable-fft */
487 /* Define to 1 if --enable-profiling=gprof */
488 /* #undef WANT_PROFILING_GPROF */
490 /* Define to 1 if --enable-profiling=instrument */
491 /* #undef WANT_PROFILING_INSTRUMENT */
493 /* Define to 1 if --enable-profiling=prof */
494 /* #undef WANT_PROFILING_PROF */
496 /* Define one of these to 1 for the desired temporary memory allocation
497 method, per --enable-alloca. */
498 #define WANT_TMP_ALLOCA 1
499 /* #undef WANT_TMP_REENTRANT */
500 /* #undef WANT_TMP_NOTREENTRANT */
501 /* #undef WANT_TMP_DEBUG */
503 /* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
505 #define YYTEXT_POINTER 1
507 /* Define like PROTOTYPES; this can be used by system headers. */
508 #define __PROTOTYPES 1
510 /* Define to `__inline__' or `__inline' if that's what the C compiler
511 calls it, or to nothing if 'inline' is not supported under any name. */
516 /* Define to equivalent of C99 restrict keyword, or to nothing if this is not
517 supported. Do not define if restrict is supported directly. */
518 #define restrict __restrict
520 /* Define to empty if the keyword `volatile' does not work. Warning: valid
521 code using `volatile' can become incorrect without. Disable with care. */
522 /* #undef volatile */