1 /* config.in. Generated from configure.in by autoheader. */
5 Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
6 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
8 This file is part of the GNU MP Library.
10 The GNU MP Library is free software; you can redistribute it and/or modify
11 it under the terms of the GNU Lesser General Public License as published
12 by the Free Software Foundation; either version 3 of the License, or (at
13 your option) any later version.
15 The GNU MP Library is distributed in the hope that it will be useful, but
16 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
17 or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
18 License for more details.
20 You should have received a copy of the GNU Lesser General Public License
21 along with the GNU MP Library. If not, see http://www.gnu.org/licenses/.
24 /* Define if building universal (internal helper macro) */
25 #undef AC_APPLE_UNIVERSAL_BUILD
27 /* The gmp-mparam.h file (a string) the tune program should suggest updating.
29 #undef GMP_MPARAM_H_SUGGEST
31 /* Define to 1 if you have the `alarm' function. */
34 /* Define to 1 if alloca() works (via gmp-impl.h). */
37 /* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
41 /* Define to 1 if the compiler accepts gcc style __attribute__ ((const)) */
42 #undef HAVE_ATTRIBUTE_CONST
44 /* Define to 1 if the compiler accepts gcc style __attribute__ ((malloc)) */
45 #undef HAVE_ATTRIBUTE_MALLOC
47 /* Define to 1 if the compiler accepts gcc style __attribute__ ((mode (XX)))
49 #undef HAVE_ATTRIBUTE_MODE
51 /* Define to 1 if the compiler accepts gcc style __attribute__ ((noreturn)) */
52 #undef HAVE_ATTRIBUTE_NORETURN
54 /* Define to 1 if you have the `attr_get' function. */
57 /* Define to 1 if tests/libtests has calling conventions checking for the CPU
59 #undef HAVE_CALLING_CONVENTIONS
61 /* Define to 1 if you have the `clock' function. */
64 /* Define to 1 if you have the `clock_gettime' function. */
65 #undef HAVE_CLOCK_GETTIME
67 /* Define to 1 if you have the `cputime' function. */
70 /* Define to 1 if you have the declaration of `fgetc', and to 0 if you don't.
72 #undef HAVE_DECL_FGETC
74 /* Define to 1 if you have the declaration of `fscanf', and to 0 if you don't.
76 #undef HAVE_DECL_FSCANF
78 /* Define to 1 if you have the declaration of `optarg', and to 0 if you don't.
80 #undef HAVE_DECL_OPTARG
82 /* Define to 1 if you have the declaration of `sys_errlist', and to 0 if you
84 #undef HAVE_DECL_SYS_ERRLIST
86 /* Define to 1 if you have the declaration of `sys_nerr', and to 0 if you
88 #undef HAVE_DECL_SYS_NERR
90 /* Define to 1 if you have the declaration of `ungetc', and to 0 if you don't.
92 #undef HAVE_DECL_UNGETC
94 /* Define to 1 if you have the declaration of `vfprintf', and to 0 if you
96 #undef HAVE_DECL_VFPRINTF
98 /* Define to 1 if you have the <dlfcn.h> header file. */
101 /* Define one of the following to 1 for the format of a `double'.
102 If your format is not among these choices, or you don't know what it is,
103 then leave all undefined.
104 IEEE_LITTLE_SWAPPED means little endian, but with the two 4-byte halves
105 swapped, as used by ARM CPUs in little endian mode. */
106 #undef HAVE_DOUBLE_IEEE_BIG_ENDIAN
107 #undef HAVE_DOUBLE_IEEE_LITTLE_ENDIAN
108 #undef HAVE_DOUBLE_IEEE_LITTLE_SWAPPED
109 #undef HAVE_DOUBLE_VAX_D
110 #undef HAVE_DOUBLE_VAX_G
111 #undef HAVE_DOUBLE_CRAY_CFP
113 /* Define to 1 if you have the <fcntl.h> header file. */
116 /* Define to 1 if you have the <float.h> header file. */
119 /* Define to 1 if you have the `getpagesize' function. */
120 #undef HAVE_GETPAGESIZE
122 /* Define to 1 if you have the `getrusage' function. */
123 #undef HAVE_GETRUSAGE
125 /* Define to 1 if you have the `getsysinfo' function. */
126 #undef HAVE_GETSYSINFO
128 /* Define to 1 if you have the `gettimeofday' function. */
129 #undef HAVE_GETTIMEOFDAY
131 /* Define one of these to 1 for the host CPU family.
132 If your CPU is not in any of these families, leave all undefined.
133 For an AMD64 chip, define "x86" in ABI=32, but not in ABI=64. */
134 #undef HAVE_HOST_CPU_FAMILY_alpha
135 #undef HAVE_HOST_CPU_FAMILY_m68k
136 #undef HAVE_HOST_CPU_FAMILY_power
137 #undef HAVE_HOST_CPU_FAMILY_powerpc
138 #undef HAVE_HOST_CPU_FAMILY_x86
139 #undef HAVE_HOST_CPU_FAMILY_x86_64
141 /* Define one of the following to 1 for the host CPU, as per the output of
142 ./config.guess. If your CPU is not listed here, leave all undefined. */
143 #undef HAVE_HOST_CPU_alphaev67
144 #undef HAVE_HOST_CPU_alphaev68
145 #undef HAVE_HOST_CPU_alphaev7
146 #undef HAVE_HOST_CPU_m68020
147 #undef HAVE_HOST_CPU_m68030
148 #undef HAVE_HOST_CPU_m68040
149 #undef HAVE_HOST_CPU_m68060
150 #undef HAVE_HOST_CPU_m68360
151 #undef HAVE_HOST_CPU_powerpc604
152 #undef HAVE_HOST_CPU_powerpc604e
153 #undef HAVE_HOST_CPU_powerpc750
154 #undef HAVE_HOST_CPU_powerpc7400
155 #undef HAVE_HOST_CPU_supersparc
156 #undef HAVE_HOST_CPU_i386
157 #undef HAVE_HOST_CPU_i586
158 #undef HAVE_HOST_CPU_i686
159 #undef HAVE_HOST_CPU_pentium
160 #undef HAVE_HOST_CPU_pentiummmx
161 #undef HAVE_HOST_CPU_pentiumpro
162 #undef HAVE_HOST_CPU_pentium2
163 #undef HAVE_HOST_CPU_pentium3
165 /* Define to 1 if the system has the type `intmax_t'. */
168 /* Define to 1 if the system has the type `intptr_t'. */
171 /* Define to 1 if you have the <inttypes.h> header file. */
172 #undef HAVE_INTTYPES_H
174 /* Define to 1 if you have the <invent.h> header file. */
177 /* Define to 1 if you have the <langinfo.h> header file. */
178 #undef HAVE_LANGINFO_H
180 /* Define one of these to 1 for the endianness of `mp_limb_t'.
181 If the endianness is not a simple big or little, or you don't know what
182 it is, then leave both undefined. */
183 #undef HAVE_LIMB_BIG_ENDIAN
184 #undef HAVE_LIMB_LITTLE_ENDIAN
186 /* Define to 1 if you have the `localeconv' function. */
187 #undef HAVE_LOCALECONV
189 /* Define to 1 if you have the <locale.h> header file. */
192 /* Define to 1 if the system has the type `long double'. */
193 #undef HAVE_LONG_DOUBLE
195 /* Define to 1 if the system has the type `long long'. */
196 #undef HAVE_LONG_LONG
198 /* Define to 1 if you have the <machine/hal_sysinfo.h> header file. */
199 #undef HAVE_MACHINE_HAL_SYSINFO_H
201 /* Define to 1 if you have the <memory.h> header file. */
204 /* Define to 1 if you have the `memset' function. */
207 /* Define to 1 if you have the `mmap' function. */
210 /* Define to 1 if you have the `mprotect' function. */
213 /* Define to 1 each of the following for which a native (ie. CPU specific)
214 implementation of the corresponding routine exists. */
215 #undef HAVE_NATIVE_mpn_add_n
216 #undef HAVE_NATIVE_mpn_add_n_sub_n
217 #undef HAVE_NATIVE_mpn_add_nc
218 #undef HAVE_NATIVE_mpn_addaddmul_1msb0
219 #undef HAVE_NATIVE_mpn_addlsh1_n
220 #undef HAVE_NATIVE_mpn_addlsh2_n
221 #undef HAVE_NATIVE_mpn_addlsh_n
222 #undef HAVE_NATIVE_mpn_addmul_1c
223 #undef HAVE_NATIVE_mpn_addmul_2
224 #undef HAVE_NATIVE_mpn_addmul_3
225 #undef HAVE_NATIVE_mpn_addmul_4
226 #undef HAVE_NATIVE_mpn_addmul_5
227 #undef HAVE_NATIVE_mpn_addmul_6
228 #undef HAVE_NATIVE_mpn_addmul_7
229 #undef HAVE_NATIVE_mpn_addmul_8
230 #undef HAVE_NATIVE_mpn_and_n
231 #undef HAVE_NATIVE_mpn_andn_n
232 #undef HAVE_NATIVE_mpn_bdiv_dbm1c
233 #undef HAVE_NATIVE_mpn_bdiv_q_1
234 #undef HAVE_NATIVE_mpn_pi1_bdiv_q_1
235 #undef HAVE_NATIVE_mpn_com
236 #undef HAVE_NATIVE_mpn_copyd
237 #undef HAVE_NATIVE_mpn_copyi
238 #undef HAVE_NATIVE_mpn_divexact_1
239 #undef HAVE_NATIVE_mpn_divexact_by3c
240 #undef HAVE_NATIVE_mpn_divrem_1
241 #undef HAVE_NATIVE_mpn_divrem_1c
242 #undef HAVE_NATIVE_mpn_divrem_2
243 #undef HAVE_NATIVE_mpn_gcd_1
244 #undef HAVE_NATIVE_mpn_hamdist
245 #undef HAVE_NATIVE_mpn_invert_limb
246 #undef HAVE_NATIVE_mpn_ior_n
247 #undef HAVE_NATIVE_mpn_iorn_n
248 #undef HAVE_NATIVE_mpn_lshift
249 #undef HAVE_NATIVE_mpn_lshiftc
250 #undef HAVE_NATIVE_mpn_lshsub_n
251 #undef HAVE_NATIVE_mpn_mod_1
252 #undef HAVE_NATIVE_mpn_mod_1_1p
253 #undef HAVE_NATIVE_mpn_mod_1c
254 #undef HAVE_NATIVE_mpn_mod_1s_2p
255 #undef HAVE_NATIVE_mpn_mod_1s_4p
256 #undef HAVE_NATIVE_mpn_mod_34lsub1
257 #undef HAVE_NATIVE_mpn_modexact_1_odd
258 #undef HAVE_NATIVE_mpn_modexact_1c_odd
259 #undef HAVE_NATIVE_mpn_mul_1
260 #undef HAVE_NATIVE_mpn_mul_1c
261 #undef HAVE_NATIVE_mpn_mul_2
262 #undef HAVE_NATIVE_mpn_mul_3
263 #undef HAVE_NATIVE_mpn_mul_4
264 #undef HAVE_NATIVE_mpn_mul_basecase
265 #undef HAVE_NATIVE_mpn_nand_n
266 #undef HAVE_NATIVE_mpn_nior_n
267 #undef HAVE_NATIVE_mpn_popcount
268 #undef HAVE_NATIVE_mpn_preinv_divrem_1
269 #undef HAVE_NATIVE_mpn_preinv_mod_1
270 #undef HAVE_NATIVE_mpn_redc_1
271 #undef HAVE_NATIVE_mpn_redc_2
272 #undef HAVE_NATIVE_mpn_rsblsh1_n
273 #undef HAVE_NATIVE_mpn_rsblsh2_n
274 #undef HAVE_NATIVE_mpn_rsblsh_n
275 #undef HAVE_NATIVE_mpn_rsh1add_n
276 #undef HAVE_NATIVE_mpn_rsh1add_nc
277 #undef HAVE_NATIVE_mpn_rsh1sub_n
278 #undef HAVE_NATIVE_mpn_rsh1sub_nc
279 #undef HAVE_NATIVE_mpn_rshift
280 #undef HAVE_NATIVE_mpn_sqr_basecase
281 #undef HAVE_NATIVE_mpn_sqr_diagonal
282 #undef HAVE_NATIVE_mpn_sub_n
283 #undef HAVE_NATIVE_mpn_sub_nc
284 #undef HAVE_NATIVE_mpn_sublsh1_n
285 #undef HAVE_NATIVE_mpn_sublsh2_n
286 #undef HAVE_NATIVE_mpn_sublsh_n
287 #undef HAVE_NATIVE_mpn_submul_1c
288 #undef HAVE_NATIVE_mpn_udiv_qrnnd
289 #undef HAVE_NATIVE_mpn_udiv_qrnnd_r
290 #undef HAVE_NATIVE_mpn_umul_ppmm
291 #undef HAVE_NATIVE_mpn_umul_ppmm_r
292 #undef HAVE_NATIVE_mpn_xor_n
293 #undef HAVE_NATIVE_mpn_xnor_n
295 /* Define to 1 if you have the `nl_langinfo' function. */
296 #undef HAVE_NL_LANGINFO
298 /* Define to 1 if you have the <nl_types.h> header file. */
299 #undef HAVE_NL_TYPES_H
301 /* Define to 1 if you have the `obstack_vprintf' function. */
302 #undef HAVE_OBSTACK_VPRINTF
304 /* Define to 1 if you have the `popen' function. */
307 /* Define to 1 if you have the `processor_info' function. */
308 #undef HAVE_PROCESSOR_INFO
310 /* Define to 1 if <sys/pstat.h> `struct pst_processor' exists and contains
311 `psp_iticksperclktick'. */
312 #undef HAVE_PSP_ITICKSPERCLKTICK
314 /* Define to 1 if you have the `pstat_getprocessor' function. */
315 #undef HAVE_PSTAT_GETPROCESSOR
317 /* Define to 1 if the system has the type `ptrdiff_t'. */
318 #undef HAVE_PTRDIFF_T
320 /* Define to 1 if the system has the type `quad_t'. */
323 /* Define to 1 if you have the `raise' function. */
326 /* Define to 1 if you have the `read_real_time' function. */
327 #undef HAVE_READ_REAL_TIME
329 /* Define to 1 if you have the `sigaction' function. */
330 #undef HAVE_SIGACTION
332 /* Define to 1 if you have the `sigaltstack' function. */
333 #undef HAVE_SIGALTSTACK
335 /* Define to 1 if you have the `sigstack' function. */
338 /* Tune directory speed_cyclecounter, undef=none, 1=32bits, 2=64bits) */
339 #undef HAVE_SPEED_CYCLECOUNTER
341 /* Define to 1 if you have the <sstream> header file. */
344 /* Define to 1 if the system has the type `stack_t'. */
347 /* Define to 1 if <stdarg.h> exists and works */
350 /* Define to 1 if you have the <stdint.h> header file. */
353 /* Define to 1 if you have the <stdlib.h> header file. */
356 /* Define to 1 if the system has the type `std::locale'. */
357 #undef HAVE_STD__LOCALE
359 /* Define to 1 if you have the `strchr' function. */
362 /* Define to 1 if you have the `strerror' function. */
365 /* Define to 1 if cpp supports the ANSI # stringizing operator. */
366 #undef HAVE_STRINGIZE
368 /* Define to 1 if you have the <strings.h> header file. */
369 #undef HAVE_STRINGS_H
371 /* Define to 1 if you have the <string.h> header file. */
374 /* Define to 1 if you have the `strnlen' function. */
377 /* Define to 1 if you have the `strtol' function. */
380 /* Define to 1 if you have the `strtoul' function. */
383 /* Define to 1 if you have the `sysconf' function. */
386 /* Define to 1 if you have the `sysctl' function. */
389 /* Define to 1 if you have the `sysctlbyname' function. */
390 #undef HAVE_SYSCTLBYNAME
392 /* Define to 1 if you have the `syssgi' function. */
395 /* Define to 1 if you have the <sys/attributes.h> header file. */
396 #undef HAVE_SYS_ATTRIBUTES_H
398 /* Define to 1 if you have the <sys/iograph.h> header file. */
399 #undef HAVE_SYS_IOGRAPH_H
401 /* Define to 1 if you have the <sys/mman.h> header file. */
402 #undef HAVE_SYS_MMAN_H
404 /* Define to 1 if you have the <sys/param.h> header file. */
405 #undef HAVE_SYS_PARAM_H
407 /* Define to 1 if you have the <sys/processor.h> header file. */
408 #undef HAVE_SYS_PROCESSOR_H
410 /* Define to 1 if you have the <sys/pstat.h> header file. */
411 #undef HAVE_SYS_PSTAT_H
413 /* Define to 1 if you have the <sys/resource.h> header file. */
414 #undef HAVE_SYS_RESOURCE_H
416 /* Define to 1 if you have the <sys/stat.h> header file. */
417 #undef HAVE_SYS_STAT_H
419 /* Define to 1 if you have the <sys/sysctl.h> header file. */
420 #undef HAVE_SYS_SYSCTL_H
422 /* Define to 1 if you have the <sys/sysinfo.h> header file. */
423 #undef HAVE_SYS_SYSINFO_H
425 /* Define to 1 if you have the <sys/syssgi.h> header file. */
426 #undef HAVE_SYS_SYSSGI_H
428 /* Define to 1 if you have the <sys/systemcfg.h> header file. */
429 #undef HAVE_SYS_SYSTEMCFG_H
431 /* Define to 1 if you have the <sys/times.h> header file. */
432 #undef HAVE_SYS_TIMES_H
434 /* Define to 1 if you have the <sys/time.h> header file. */
435 #undef HAVE_SYS_TIME_H
437 /* Define to 1 if you have the <sys/types.h> header file. */
438 #undef HAVE_SYS_TYPES_H
440 /* Define to 1 if you have the `times' function. */
443 /* Define to 1 if the system has the type `uint_least32_t'. */
444 #undef HAVE_UINT_LEAST32_T
446 /* Define to 1 if you have the <unistd.h> header file. */
449 /* Define to 1 if you have the `vsnprintf' function and it works properly. */
450 #undef HAVE_VSNPRINTF
452 /* Assembler local label prefix */
455 /* Define to the sub-directory in which libtool stores uninstalled libraries.
459 /* Name of package */
462 /* Define to the address where bug reports for this package should be sent. */
463 #undef PACKAGE_BUGREPORT
465 /* Define to the full name of this package. */
468 /* Define to the full name and version of this package. */
469 #undef PACKAGE_STRING
471 /* Define to the one symbol short name of this package. */
472 #undef PACKAGE_TARNAME
474 /* Define to the home page for this package. */
477 /* Define to the version of this package. */
478 #undef PACKAGE_VERSION
480 /* Define to 1 if the C compiler supports function prototypes. */
483 /* Define as the return type of signal handlers (`int' or `void'). */
486 /* The size of `mp_limb_t', as computed by sizeof. */
487 #undef SIZEOF_MP_LIMB_T
489 /* The size of `unsigned', as computed by sizeof. */
490 #undef SIZEOF_UNSIGNED
492 /* The size of `unsigned long', as computed by sizeof. */
493 #undef SIZEOF_UNSIGNED_LONG
495 /* The size of `unsigned short', as computed by sizeof. */
496 #undef SIZEOF_UNSIGNED_SHORT
498 /* The size of `void *', as computed by sizeof. */
501 /* Define to 1 if sscanf requires writable inputs */
502 #undef SSCANF_WRITABLE_INPUT
504 /* Define to 1 if you have the ANSI C header files. */
507 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
508 #undef TIME_WITH_SYS_TIME
510 /* Maximum size the tune program can test for SQR_TOOM2_THRESHOLD */
511 #undef TUNE_SQR_TOOM2_MAX
513 /* Version number of package */
516 /* Define to 1 to enable ASSERT checking, per --enable-assert */
519 /* Define to 1 when building a fat binary. */
520 #undef WANT_FAT_BINARY
522 /* Define to 1 to enable FFTs for multiplication, per --enable-fft */
525 /* Define to 1 to enable old mpn_mul_fft_full for multiplication, per
526 --enable-old-fft-full */
527 #undef WANT_OLD_FFT_FULL
529 /* Define to 1 if --enable-profiling=gprof */
530 #undef WANT_PROFILING_GPROF
532 /* Define to 1 if --enable-profiling=instrument */
533 #undef WANT_PROFILING_INSTRUMENT
535 /* Define to 1 if --enable-profiling=prof */
536 #undef WANT_PROFILING_PROF
538 /* Define one of these to 1 for the desired temporary memory allocation
539 method, per --enable-alloca. */
540 #undef WANT_TMP_ALLOCA
541 #undef WANT_TMP_REENTRANT
542 #undef WANT_TMP_NOTREENTRANT
543 #undef WANT_TMP_DEBUG
545 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
546 significant byte first (like Motorola and SPARC, unlike Intel). */
547 #if defined AC_APPLE_UNIVERSAL_BUILD
548 # if defined __BIG_ENDIAN__
549 # define WORDS_BIGENDIAN 1
552 # ifndef WORDS_BIGENDIAN
553 # undef WORDS_BIGENDIAN
557 /* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
559 #undef YYTEXT_POINTER
561 /* Define like PROTOTYPES; this can be used by system headers. */
564 /* Define to `__inline__' or `__inline' if that's what the C compiler
565 calls it, or to nothing if 'inline' is not supported under any name. */
570 /* Define to the equivalent of the C99 'restrict' keyword, or to
571 nothing if this is not supported. Do not define if restrict is
572 supported directly. */
574 /* Work around a bug in Sun C++: it does not support _Restrict or
575 __restrict__, even though the corresponding Sun C compiler ends up with
576 "#define restrict _Restrict" or "#define restrict __restrict__" in the
577 previous line. Perhaps some future version of Sun C++ will work with
578 restrict; if so, hopefully it defines __RESTRICT like Sun C does. */
579 #if defined __SUNPRO_CC && !defined __RESTRICT
581 # define __restrict__
584 /* Define to empty if the keyword `volatile' does not work. Warning: valid
585 code using `volatile' can become incorrect without. Disable with care. */