Omit test-math-isinff when no C++ compiler.
[glibc.git] / config.h.in
blob0147ba3c34111db42941ebcd26246ee15022efd6
1 #if !defined IS_IN_build && !defined __ASSEMBLER__ && !defined _ISOMAC \
2 && !defined __OPTIMIZE__
3 # error "glibc cannot be compiled without optimization"
4 #endif
6 /* Another evil option when it comes to compiling the C library is
7 --ffast-math since it alters the ABI. */
8 #if defined __FAST_MATH__ && !defined TEST_FAST_MATH
9 # error "glibc must not be compiled with -ffast-math"
10 #endif
12 /* Define if building with SELinux support. Set by --with-selinux. */
13 #undef HAVE_SELINUX
15 /* Defined if building with SELinux support & audit libs are detected. */
16 #undef HAVE_LIBAUDIT
18 /* Defined if building with SELinux support & libcap libs are detected. */
19 #undef HAVE_LIBCAP
21 /* Define to the assembler line separator character for multiple
22 assembler instructions per line. Default is `;' */
23 #undef ASM_LINE_SEP
25 /* Define if __attribute__((section("foo"))) puts quotes around foo. */
26 #undef HAVE_SECTION_QUOTES
28 /* Define if the assembler supports the `.set' directive. */
29 #undef HAVE_ASM_SET_DIRECTIVE
31 /* On powerpc64, use overlapping .opd entries. */
32 #undef USE_PPC64_OVERLAPPING_OPD
34 /* Define if _Unwind_Find_FDE should be exported from glibc. */
35 #undef EXPORT_UNWIND_FIND_FDE
37 /* Define if static NSS modules are wanted. */
38 #undef DO_STATIC_NSS
40 /* Assume that the compiler supports __builtin_expect.
41 This macro is necessary for proper compilation of code
42 shared between GNU libc and GNU gettext projects. */
43 #define HAVE_BUILTIN_EXPECT 1
45 /* Define if the compiler supports __builtin_memset. */
46 #undef HAVE_BUILTIN_MEMSET
48 /* Define if compiler accepts -ftree-loop-distribute-patterns. */
49 #undef HAVE_CC_INHIBIT_LOOP_TO_LIBCALL
51 /* Define if the regparm attribute shall be used for local functions
52 (gcc on ix86 only). */
53 #undef USE_REGPARMS
55 /* Defined on SPARC if GCC emits GOTDATA relocations. */
56 #undef HAVE_GCC_GOTDATA
58 /* Define on SPARC if AS supports VIS3 instructions. */
59 #undef HAVE_AS_VIS3_SUPPORT
61 /* Define if the linker supports the -z combreloc option. */
62 #undef HAVE_Z_COMBRELOC
64 /* Define if _rtld_local structure should be forced into .sdata section. */
65 #undef HAVE_SDATA_SECTION
67 /* Define if compiler supports AVX512. */
68 #undef HAVE_AVX512_SUPPORT
70 /* Define if assembler supports AVX512. */
71 #undef HAVE_AVX512_ASM_SUPPORT
73 /* Define if assembler supports vector instructions on S390. */
74 #undef HAVE_S390_VX_ASM_SUPPORT
76 /* Define if assembler supports Intel MPX. */
77 #undef HAVE_MPX_SUPPORT
79 /* Define if the compiler\'s exception support is based on libunwind. */
80 #undef HAVE_CC_WITH_LIBUNWIND
82 /* Define if the access to static and hidden variables is position independent
83 and does not need relocations. */
84 #undef PI_STATIC_AND_HIDDEN
86 /* Define this to disable the 'hidden_proto' et al macros in
87 include/libc-symbols.h that avoid PLT slots in the shared objects. */
88 #undef NO_HIDDEN
90 /* AArch64 big endian ABI */
91 #undef HAVE_AARCH64_BE
94 /* Defined to some form of __attribute__ ((...)) if the compiler supports
95 a different, more efficient calling convention. */
96 #if defined USE_REGPARMS && !defined PROF
97 # define internal_function __attribute__ ((regparm (3), stdcall))
98 #endif
100 /* Linux specific: minimum supported kernel version. */
101 #undef __LINUX_KERNEL_VERSION
103 /* Override abi-tags ABI version if necessary. */
104 #undef __ABI_TAG_VERSION
106 /* bash 2.0 introduced the _XXX_GNU_nonoption_argv_flags_ variable to help
107 getopt determine whether a parameter is a flag or not. This features
108 was disabled later since it caused trouble. We are by default therefore
109 disabling the support as well. */
110 #undef USE_NONOPTION_FLAGS
112 /* Mach/Hurd specific: define if mig supports the `retcode' keyword. */
113 #undef HAVE_MIG_RETCODE
115 /* Mach specific: define if the `host_page_size' RPC is available. */
116 #undef HAVE_HOST_PAGE_SIZE
118 /* Mach/i386 specific: define if the `i386_io_perm_*' RPCs are available. */
119 #undef HAVE_I386_IO_PERM_MODIFY
121 /* Mach/i386 specific: define if the `i386_set_gdt' RPC is available. */
122 #undef HAVE_I386_SET_GDT
124 /* Defined of libidn is available. */
125 #undef HAVE_LIBIDN
127 /* Define if inlined system calls are available. */
128 #undef HAVE_INLINED_SYSCALLS
130 /* Define if your compiler defaults to -msecure-plt mode on ppc. */
131 #undef HAVE_PPC_SECURE_PLT
133 /* Define if __stack_chk_guard canary should be randomized at program startup. */
134 #undef ENABLE_STACKGUARD_RANDOMIZE
136 /* Define if lock elision should be enabled by default. */
137 #undef ENABLE_LOCK_ELISION
139 /* Package description. */
140 #undef PKGVERSION
142 /* Bug reporting address. */
143 #undef REPORT_BUGS_TO
145 /* Define if multi-arch DSOs should be generated. */
146 #undef USE_MULTIARCH
148 /* Define if `.ctors' and `.dtors' sections shouldn't be used. */
149 #undef NO_CTORS_DTORS_SECTIONS
151 /* Define if obsolete RPC code should be made available for user-level code
152 to link against. */
153 #undef LINK_OBSOLETE_RPC
155 /* Define if Systemtap <sys/sdt.h> probes should be defined. */
156 #undef USE_STAP_PROBE
158 /* Define if library functions should try to contact the nscd daemon. */
159 #undef USE_NSCD
161 /* Define if the dynamic linker should consult an ld.so.cache file. */
162 #undef USE_LDCONFIG
164 /* Define to 1 if STT_GNU_IFUNC support actually works. */
165 #define HAVE_IFUNC 0
167 /* Define if the linker defines __ehdr_start. */
168 #undef HAVE_EHDR_START
171 \f */
173 #ifndef _LIBC
175 /* These symbols might be defined by some sysdeps configures.
176 They are used only in miscellaneous generator programs, not
177 in compiling libc itself. */
179 /* sysdeps/generic/configure.ac */
180 #undef HAVE_PSIGNAL
182 /* sysdeps/unix/configure.ac */
183 #undef HAVE_STRERROR
185 /* sysdeps/unix/common/configure.ac */
186 #undef HAVE_SYS_SIGLIST
187 #undef HAVE__SYS_SIGLIST
188 #undef HAVE__CTYPE_
189 #undef HAVE___CTYPE_
190 #undef HAVE___CTYPE
191 #undef HAVE__CTYPE__
192 #undef HAVE__CTYPE
193 #undef HAVE__LOCP
195 #endif
198 \f */
200 #ifdef _LIBC
202 /* The zic and zdump programs need these definitions. */
204 #define HAVE_STRERROR 1
206 /* The locale code needs these definitions. */
208 #define HAVE_REGEX 1
210 /* The ARM hard-float ABI is being used. */
211 #undef HAVE_ARM_PCS_VFP
213 /* The ARM movw/movt instructions using PC-relative relocs work right. */
214 #define ARM_PCREL_MOVW_OK 0
216 /* The pt_chown binary is being built and used by grantpt. */
217 #define HAVE_PT_CHOWN 0
219 /* Define if the compiler supports __builtin_trap without
220 any external dependencies such as making a function call. */
221 #define HAVE_BUILTIN_TRAP 0
223 /* ports/sysdeps/mips/configure.in */
224 /* Define if using the IEEE 754-2008 NaN encoding on the MIPS target. */
225 #undef HAVE_MIPS_NAN2008
227 /* The PowerPC64 ELFv2 ABI is being used. */
228 #undef HAVE_ELFV2_ABI
230 /* PowerPC32 uses fcfid for integer to floating point conversions. */
231 #define HAVE_PPC_FCFID 0
233 /* PowerPC32 uses fctidz for floating point to long long conversions. */
234 #define HAVE_PPC_FCTIDZ 0
236 #endif