]>
Commit | Line | Data |
---|---|---|
28aeeda4 JM |
1 | #if !defined IS_IN_build && !defined __ASSEMBLER__ && !defined _ISOMAC \ |
2 | && !defined __OPTIMIZE__ | |
d322efa8 UD |
3 | # error "glibc cannot be compiled without optimization" |
4 | #endif | |
5 | ||
8a989129 UD |
6 | /* Another evil option when it comes to compiling the C library is |
7 | --ffast-math since it alters the ABI. */ | |
d747a0a5 | 8 | #if defined __FAST_MATH__ && !defined TEST_FAST_MATH |
8a989129 UD |
9 | # error "glibc must not be compiled with -ffast-math" |
10 | #endif | |
11 | ||
74a30a58 UD |
12 | /* Define if building with SELinux support. Set by --with-selinux. */ |
13 | #undef HAVE_SELINUX | |
14 | ||
ec23b9be UD |
15 | /* Defined if building with SELinux support & audit libs are detected. */ |
16 | #undef HAVE_LIBAUDIT | |
17 | ||
e1f0c5bc UD |
18 | /* Defined if building with SELinux support & libcap libs are detected. */ |
19 | #undef HAVE_LIBCAP | |
20 | ||
c224a18a RM |
21 | /* Define if weak symbols are available via the `.weak' directive. */ |
22 | #undef HAVE_ASM_WEAK_DIRECTIVE | |
23 | ||
24 | /* Define if weak symbols are available via the `.weakext' directive. */ | |
25 | #undef HAVE_ASM_WEAKEXT_DIRECTIVE | |
28f540f4 | 26 | |
b15cb495 UD |
27 | /* Define to the assembler line separator character for multiple |
28 | assembler instructions per line. Default is `;' */ | |
29 | #undef ASM_LINE_SEP | |
30 | ||
e26dd47f UD |
31 | /* Define if __attribute__((section("foo"))) puts quotes around foo. */ |
32 | #undef HAVE_SECTION_QUOTES | |
33 | ||
e215c478 RM |
34 | /* Define if the assembler supports the `.set' directive. */ |
35 | #undef HAVE_ASM_SET_DIRECTIVE | |
36 | ||
415ac3df UD |
37 | /* Define if the assembler supports the gnu_unique_object symbol type. */ |
38 | #undef HAVE_ASM_UNIQUE_OBJECT | |
39 | ||
590b40f7 UD |
40 | /* On powerpc64, use overlapping .opd entries. */ |
41 | #undef USE_PPC64_OVERLAPPING_OPD | |
42 | ||
74bd2300 UD |
43 | /* Define if _Unwind_Find_FDE should be exported from glibc. */ |
44 | #undef EXPORT_UNWIND_FIND_FDE | |
45 | ||
fd26970f UD |
46 | /* Define if using ELF and the assembler supports the `.previous' |
47 | directive. */ | |
48 | #undef HAVE_ASM_PREVIOUS_DIRECTIVE | |
49 | ||
50 | /* Define if using ELF and the assembler supports the `.popsection' | |
51 | directive. */ | |
52 | #undef HAVE_ASM_POPSECTION_DIRECTIVE | |
53 | ||
5107cf1d UD |
54 | /* Define if static NSS modules are wanted. */ |
55 | #undef DO_STATIC_NSS | |
56 | ||
d555194c UD |
57 | /* Define if the compiler supports __builtin_memset. */ |
58 | #undef HAVE_BUILTIN_MEMSET | |
59 | ||
85c2e611 AZ |
60 | /* Define if compiler accepts -ftree-loop-distribute-patterns. */ |
61 | #undef HAVE_CC_INHIBIT_LOOP_TO_LIBCALL | |
62 | ||
66000494 | 63 | /* Define if the regparm attribute shall be used for local functions |
dfd2257a UD |
64 | (gcc on ix86 only). */ |
65 | #undef USE_REGPARMS | |
66 | ||
c80098a9 DM |
67 | /* Defined on SPARC if GCC emits GOTDATA relocations. */ |
68 | #undef HAVE_GCC_GOTDATA | |
69 | ||
eae47a36 DM |
70 | /* Define on SPARC if AS supports VIS3 instructions. */ |
71 | #undef HAVE_AS_VIS3_SUPPORT | |
72 | ||
a711b01d UD |
73 | /* Define if the linker supports the -z combreloc option. */ |
74 | #undef HAVE_Z_COMBRELOC | |
75 | ||
0d01dace UD |
76 | /* Define if _rtld_local structure should be forced into .sdata section. */ |
77 | #undef HAVE_SDATA_SECTION | |
78 | ||
06e51c8f L |
79 | /* Define if gcc supports SSE4. */ |
80 | #undef HAVE_SSE4_SUPPORT | |
81 | ||
b0ecde3a L |
82 | /* Define if gcc supports AVX. */ |
83 | #undef HAVE_AVX_SUPPORT | |
84 | ||
56f6f6a2 UD |
85 | /* Define if gcc supports VEX encoding. */ |
86 | #undef HAVE_SSE2AVX_SUPPORT | |
2d63a517 IZ |
87 | |
88 | /* Define if compiler supports AVX512. */ | |
89 | #undef HAVE_AVX512_SUPPORT | |
90 | ||
91 | /* Define if assembler supports AVX512. */ | |
92 | #undef HAVE_AVX512_ASM_SUPPORT | |
a4c75cfd | 93 | |
4f0a1cea SL |
94 | /* Define if assembler supports vector instructions on S390. */ |
95 | #undef HAVE_S390_VX_ASM_SUPPORT | |
96 | ||
a4c75cfd IZ |
97 | /* Define if assembler supports Intel MPX. */ |
98 | #undef HAVE_MPX_SUPPORT | |
56f6f6a2 | 99 | |
ed72b654 UD |
100 | /* Define if gcc supports FMA4. */ |
101 | #undef HAVE_FMA4_SUPPORT | |
102 | ||
f2fef657 L |
103 | /* Define if gcc supports AVX2. */ |
104 | #undef HAVE_AVX2_SUPPORT | |
105 | ||
56f6f6a2 | 106 | /* Define if the compiler\'s exception support is based on libunwind. */ |
c776b3d7 UD |
107 | #undef HAVE_CC_WITH_LIBUNWIND |
108 | ||
5a47e7f2 UD |
109 | /* Define if the access to static and hidden variables is position independent |
110 | and does not need relocations. */ | |
111 | #undef PI_STATIC_AND_HIDDEN | |
112 | ||
56f6f6a2 | 113 | /* Define this to disable the 'hidden_proto' et al macros in |
749a9a4f RM |
114 | include/libc-symbols.h that avoid PLT slots in the shared objects. */ |
115 | #undef NO_HIDDEN | |
116 | ||
44cb254f SN |
117 | /* AArch64 big endian ABI */ |
118 | #undef HAVE_AARCH64_BE | |
119 | ||
dfd2257a UD |
120 | |
121 | /* Defined to some form of __attribute__ ((...)) if the compiler supports | |
122 | a different, more efficient calling convention. */ | |
2bdd4ca6 | 123 | #if defined USE_REGPARMS && !defined PROF |
dfd2257a UD |
124 | # define internal_function __attribute__ ((regparm (3), stdcall)) |
125 | #endif | |
126 | ||
958f238f UD |
127 | /* Linux specific: minimum supported kernel version. */ |
128 | #undef __LINUX_KERNEL_VERSION | |
129 | ||
a986484f UD |
130 | /* Override abi-tags ABI version if necessary. */ |
131 | #undef __ABI_TAG_VERSION | |
132 | ||
a3151b02 UD |
133 | /* bash 2.0 introduced the _XXX_GNU_nonoption_argv_flags_ variable to help |
134 | getopt determine whether a parameter is a flag or not. This features | |
135 | was disabled later since it caused trouble. We are by default therefore | |
136 | disabling the support as well. */ | |
137 | #undef USE_NONOPTION_FLAGS | |
138 | ||
dde2f4a0 RM |
139 | /* Mach/Hurd specific: define if mig supports the `retcode' keyword. */ |
140 | #undef HAVE_MIG_RETCODE | |
141 | ||
30537cab RM |
142 | /* Mach specific: define if the `host_page_size' RPC is available. */ |
143 | #undef HAVE_HOST_PAGE_SIZE | |
144 | ||
db6b51ad RM |
145 | /* Mach/i386 specific: define if the `i386_io_perm_*' RPCs are available. */ |
146 | #undef HAVE_I386_IO_PERM_MODIFY | |
147 | ||
679e4c43 RM |
148 | /* Mach/i386 specific: define if the `i386_set_gdt' RPC is available. */ |
149 | #undef HAVE_I386_SET_GDT | |
150 | ||
162434a6 UD |
151 | /* Defined if forced unwind support is available. */ |
152 | #undef HAVE_FORCED_UNWIND | |
153 | ||
e2fd3cbe UD |
154 | /* Defined of libidn is available. */ |
155 | #undef HAVE_LIBIDN | |
156 | ||
ce6e047f UD |
157 | /* Define if inlined system calls are available. */ |
158 | #undef HAVE_INLINED_SYSCALLS | |
159 | ||
70c50602 UD |
160 | /* Define if your compiler defaults to -msecure-plt mode on ppc. */ |
161 | #undef HAVE_PPC_SECURE_PLT | |
162 | ||
35f1e827 UD |
163 | /* Define if __stack_chk_guard canary should be randomized at program startup. */ |
164 | #undef ENABLE_STACKGUARD_RANDOMIZE | |
165 | ||
1717da59 AK |
166 | /* Define if lock elision should be enabled by default. */ |
167 | #undef ENABLE_LOCK_ELISION | |
168 | ||
8b748aed JM |
169 | /* Package description. */ |
170 | #undef PKGVERSION | |
171 | ||
172 | /* Bug reporting address. */ | |
173 | #undef REPORT_BUGS_TO | |
174 | ||
425ce2ed UD |
175 | /* Define if multi-arch DSOs should be generated. */ |
176 | #undef USE_MULTIARCH | |
177 | ||
4a531bb0 L |
178 | /* Define if `.ctors' and `.dtors' sections shouldn't be used. */ |
179 | #undef NO_CTORS_DTORS_SECTIONS | |
180 | ||
021db4be AJ |
181 | /* Define if obsolete RPC code should be made available for user-level code |
182 | to link against. */ | |
183 | #undef LINK_OBSOLETE_RPC | |
3a097cc7 RM |
184 | |
185 | /* Define if Systemtap <sys/sdt.h> probes should be defined. */ | |
186 | #undef USE_STAP_PROBE | |
187 | ||
3cc3ef96 RM |
188 | /* Define if library functions should try to contact the nscd daemon. */ |
189 | #undef USE_NSCD | |
190 | ||
f57f8055 RM |
191 | /* Define if the dynamic linker should consult an ld.so.cache file. */ |
192 | #undef USE_LDCONFIG | |
193 | ||
6c9578a2 AS |
194 | /* Define to 1 if STT_GNU_IFUNC support actually works. */ |
195 | #define HAVE_IFUNC 0 | |
6e6249d0 | 196 | |
20f4a8d9 MF |
197 | /* Define if linux/fanotify.h is available. */ |
198 | #undef HAVE_LINUX_FANOTIFY_H | |
199 | ||
44c4e5d5 RM |
200 | /* Define if the linker defines __ehdr_start. */ |
201 | #undef HAVE_EHDR_START | |
202 | ||
92777700 RM |
203 | /* |
204 | \f */ | |
205 | ||
206 | #ifndef _LIBC | |
207 | ||
208 | /* These symbols might be defined by some sysdeps configures. | |
209 | They are used only in miscellaneous generator programs, not | |
210 | in compiling libc itself. */ | |
28f540f4 | 211 | |
cb8a6dbd | 212 | /* sysdeps/generic/configure.ac */ |
28f540f4 RM |
213 | #undef HAVE_PSIGNAL |
214 | ||
cb8a6dbd | 215 | /* sysdeps/unix/configure.ac */ |
92777700 RM |
216 | #undef HAVE_STRERROR |
217 | ||
cb8a6dbd | 218 | /* sysdeps/unix/common/configure.ac */ |
28f540f4 RM |
219 | #undef HAVE_SYS_SIGLIST |
220 | #undef HAVE__SYS_SIGLIST | |
221 | #undef HAVE__CTYPE_ | |
222 | #undef HAVE___CTYPE_ | |
223 | #undef HAVE___CTYPE | |
224 | #undef HAVE__CTYPE__ | |
225 | #undef HAVE__CTYPE | |
226 | #undef HAVE__LOCP | |
92777700 RM |
227 | |
228 | #endif | |
229 | ||
230 | /* | |
231 | \f */ | |
232 | ||
233 | #ifdef _LIBC | |
234 | ||
235 | /* The zic and zdump programs need these definitions. */ | |
236 | ||
237 | #define HAVE_STRERROR 1 | |
238 | ||
9a8c0d4f RM |
239 | /* The locale code needs these definitions. */ |
240 | ||
241 | #define HAVE_REGEX 1 | |
242 | ||
6a43ec98 CD |
243 | /* The ARM hard-float ABI is being used. */ |
244 | #undef HAVE_ARM_PCS_VFP | |
245 | ||
8c2b1ed8 RM |
246 | /* The ARM movw/movt instructions using PC-relative relocs work right. */ |
247 | #define ARM_PCREL_MOVW_OK 0 | |
248 | ||
e4608715 | 249 | /* The pt_chown binary is being built and used by grantpt. */ |
73ba67cb | 250 | #define HAVE_PT_CHOWN 0 |
e4608715 | 251 | |
9fe7e787 RM |
252 | /* Define if the compiler supports __builtin_trap without |
253 | any external dependencies such as making a function call. */ | |
254 | #define HAVE_BUILTIN_TRAP 0 | |
255 | ||
9c21573c MR |
256 | /* ports/sysdeps/mips/configure.in */ |
257 | /* Define if using the IEEE 754-2008 NaN encoding on the MIPS target. */ | |
258 | #undef HAVE_MIPS_NAN2008 | |
259 | ||
73a39112 JM |
260 | /* The PowerPC64 ELFv2 ABI is being used. */ |
261 | #undef HAVE_ELFV2_ABI | |
262 | ||
92777700 | 263 | #endif |