]>
Commit | Line | Data |
---|---|---|
78ce5a3b | 1 | #if !defined __ASSEMBLER__ && !defined _ISOMAC && !defined __OPTIMIZE__ |
d322efa8 UD |
2 | # error "glibc cannot be compiled without optimization" |
3 | #endif | |
4 | ||
8a989129 UD |
5 | /* Another evil option when it comes to compiling the C library is |
6 | --ffast-math since it alters the ABI. */ | |
d747a0a5 | 7 | #if defined __FAST_MATH__ && !defined TEST_FAST_MATH |
8a989129 UD |
8 | # error "glibc must not be compiled with -ffast-math" |
9 | #endif | |
10 | ||
74a30a58 UD |
11 | /* Define if building with SELinux support. Set by --with-selinux. */ |
12 | #undef HAVE_SELINUX | |
13 | ||
ec23b9be UD |
14 | /* Defined if building with SELinux support & audit libs are detected. */ |
15 | #undef HAVE_LIBAUDIT | |
16 | ||
e1f0c5bc UD |
17 | /* Defined if building with SELinux support & libcap libs are detected. */ |
18 | #undef HAVE_LIBCAP | |
19 | ||
c224a18a RM |
20 | /* Define if weak symbols are available via the `.weak' directive. */ |
21 | #undef HAVE_ASM_WEAK_DIRECTIVE | |
22 | ||
23 | /* Define if weak symbols are available via the `.weakext' directive. */ | |
24 | #undef HAVE_ASM_WEAKEXT_DIRECTIVE | |
28f540f4 | 25 | |
50189569 AJ |
26 | /* Define if CFI directives are available. */ |
27 | #undef HAVE_ASM_CFI_DIRECTIVES | |
28 | ||
b15cb495 UD |
29 | /* Define to the assembler line separator character for multiple |
30 | assembler instructions per line. Default is `;' */ | |
31 | #undef ASM_LINE_SEP | |
32 | ||
b8dc6a10 RM |
33 | /* Define if not using ELF, but `.init' and `.fini' sections are available. */ |
34 | #undef HAVE_INITFINI | |
35 | ||
e26dd47f UD |
36 | /* Define if __attribute__((section("foo"))) puts quotes around foo. */ |
37 | #undef HAVE_SECTION_QUOTES | |
38 | ||
e215c478 RM |
39 | /* Define if the assembler supports the `.set' directive. */ |
40 | #undef HAVE_ASM_SET_DIRECTIVE | |
41 | ||
65b3cbcb RM |
42 | /* Define to the name of the assembler's directive for |
43 | declaring a symbol global (default `.globl'). */ | |
44 | #undef ASM_GLOBAL_DIRECTIVE | |
45 | ||
b88ac073 RM |
46 | /* Define to the prefix before `object' or `function' in the |
47 | assembler's `.type' directive, if it has one. */ | |
48 | #undef ASM_TYPE_DIRECTIVE_PREFIX | |
49 | ||
415ac3df UD |
50 | /* Define if the assembler supports the gnu_unique_object symbol type. */ |
51 | #undef HAVE_ASM_UNIQUE_OBJECT | |
52 | ||
4242e56a UD |
53 | /* Define a symbol_name as a global .symbol_name for ld. */ |
54 | #undef HAVE_ASM_GLOBAL_DOT_NAME | |
55 | ||
590b40f7 UD |
56 | /* On powerpc64, use overlapping .opd entries. */ |
57 | #undef USE_PPC64_OVERLAPPING_OPD | |
58 | ||
073e82bf RM |
59 | /* Define if the assembler generates debugging information directly. */ |
60 | #undef HAVE_CPP_ASM_DEBUGINFO | |
61 | ||
74bd2300 UD |
62 | /* Define if _Unwind_Find_FDE should be exported from glibc. */ |
63 | #undef EXPORT_UNWIND_FIND_FDE | |
64 | ||
fd26970f UD |
65 | /* Define if using ELF and the assembler supports the `.previous' |
66 | directive. */ | |
67 | #undef HAVE_ASM_PREVIOUS_DIRECTIVE | |
68 | ||
69 | /* Define if using ELF and the assembler supports the `.popsection' | |
70 | directive. */ | |
71 | #undef HAVE_ASM_POPSECTION_DIRECTIVE | |
72 | ||
377a515b UD |
73 | /* Define if versioning of the library is wanted. */ |
74 | #undef DO_VERSIONING | |
75 | ||
deb7f0b4 UD |
76 | /* Defined to the oldest ABI we support, like 2.1. */ |
77 | #undef GLIBC_OLDEST_ABI | |
78 | ||
5107cf1d UD |
79 | /* Define if static NSS modules are wanted. */ |
80 | #undef DO_STATIC_NSS | |
81 | ||
d555194c UD |
82 | /* Define if the compiler supports __builtin_memset. */ |
83 | #undef HAVE_BUILTIN_MEMSET | |
84 | ||
66000494 | 85 | /* Define if the regparm attribute shall be used for local functions |
dfd2257a UD |
86 | (gcc on ix86 only). */ |
87 | #undef USE_REGPARMS | |
88 | ||
66000494 UD |
89 | /* Defined on PowerPC if the GCC being used has a problem with clobbering |
90 | certain registers (CR0, MQ, CTR, LR) in asm statements. */ | |
91 | #undef BROKEN_PPC_ASM_CR0 | |
92 | ||
6900ded2 UD |
93 | /* Defined on SPARC if ld doesn't handle R_SPARC_WDISP22 against .hidden |
94 | symbol. sysdeps/sparc/sparc32/elf/configure. */ | |
95 | #undef BROKEN_SPARC_WDISP22 | |
96 | ||
a711b01d UD |
97 | /* Define if the linker supports the -z combreloc option. */ |
98 | #undef HAVE_Z_COMBRELOC | |
99 | ||
0d01dace UD |
100 | /* Define if _rtld_local structure should be forced into .sdata section. */ |
101 | #undef HAVE_SDATA_SECTION | |
102 | ||
06e51c8f L |
103 | /* Define if gcc supports SSE4. */ |
104 | #undef HAVE_SSE4_SUPPORT | |
105 | ||
b0ecde3a L |
106 | /* Define if gcc supports AVX. */ |
107 | #undef HAVE_AVX_SUPPORT | |
108 | ||
ed72b654 UD |
109 | /* Define if gcc supports FMA4. */ |
110 | #undef HAVE_FMA4_SUPPORT | |
111 | ||
c776b3d7 UD |
112 | /* Define if the compiler's exception support is based on libunwind. */ |
113 | #undef HAVE_CC_WITH_LIBUNWIND | |
114 | ||
5a47e7f2 UD |
115 | /* Define if the access to static and hidden variables is position independent |
116 | and does not need relocations. */ | |
117 | #undef PI_STATIC_AND_HIDDEN | |
118 | ||
749a9a4f RM |
119 | /* Define this to disable the `hidden_proto' et al macros in |
120 | include/libc-symbols.h that avoid PLT slots in the shared objects. */ | |
121 | #undef NO_HIDDEN | |
122 | ||
dfd2257a UD |
123 | |
124 | /* Defined to some form of __attribute__ ((...)) if the compiler supports | |
125 | a different, more efficient calling convention. */ | |
6fc1dd3f | 126 | #if defined USE_REGPARMS && !defined PROF && !defined __BOUNDED_POINTERS__ |
dfd2257a UD |
127 | # define internal_function __attribute__ ((regparm (3), stdcall)) |
128 | #endif | |
129 | ||
958f238f UD |
130 | /* Linux specific: minimum supported kernel version. */ |
131 | #undef __LINUX_KERNEL_VERSION | |
132 | ||
a986484f UD |
133 | /* Override abi-tags ABI version if necessary. */ |
134 | #undef __ABI_TAG_VERSION | |
135 | ||
a3151b02 UD |
136 | /* bash 2.0 introduced the _XXX_GNU_nonoption_argv_flags_ variable to help |
137 | getopt determine whether a parameter is a flag or not. This features | |
138 | was disabled later since it caused trouble. We are by default therefore | |
139 | disabling the support as well. */ | |
140 | #undef USE_NONOPTION_FLAGS | |
141 | ||
dde2f4a0 RM |
142 | /* Mach/Hurd specific: define if mig supports the `retcode' keyword. */ |
143 | #undef HAVE_MIG_RETCODE | |
144 | ||
30537cab RM |
145 | /* Mach specific: define if the `host_page_size' RPC is available. */ |
146 | #undef HAVE_HOST_PAGE_SIZE | |
147 | ||
db6b51ad RM |
148 | /* Mach/i386 specific: define if the `i386_io_perm_*' RPCs are available. */ |
149 | #undef HAVE_I386_IO_PERM_MODIFY | |
150 | ||
679e4c43 RM |
151 | /* Mach/i386 specific: define if the `i386_set_gdt' RPC is available. */ |
152 | #undef HAVE_I386_SET_GDT | |
153 | ||
162434a6 UD |
154 | /* Defined if forced unwind support is available. */ |
155 | #undef HAVE_FORCED_UNWIND | |
156 | ||
e2fd3cbe UD |
157 | /* Defined of libidn is available. */ |
158 | #undef HAVE_LIBIDN | |
159 | ||
ce6e047f UD |
160 | /* Define if inlined system calls are available. */ |
161 | #undef HAVE_INLINED_SYSCALLS | |
162 | ||
99c7f870 UD |
163 | /* Define if your assembler and linker support R_PPC_REL16* relocs. */ |
164 | #undef HAVE_ASM_PPC_REL16 | |
165 | ||
70c50602 UD |
166 | /* Define if your compiler defaults to -msecure-plt mode on ppc. */ |
167 | #undef HAVE_PPC_SECURE_PLT | |
168 | ||
35f1e827 UD |
169 | /* Define if __stack_chk_guard canary should be randomized at program startup. */ |
170 | #undef ENABLE_STACKGUARD_RANDOMIZE | |
171 | ||
425ce2ed UD |
172 | /* Define if multi-arch DSOs should be generated. */ |
173 | #undef USE_MULTIARCH | |
174 | ||
4a531bb0 L |
175 | /* Define if `.ctors' and `.dtors' sections shouldn't be used. */ |
176 | #undef NO_CTORS_DTORS_SECTIONS | |
177 | ||
92777700 RM |
178 | /* |
179 | \f */ | |
180 | ||
181 | #ifndef _LIBC | |
182 | ||
183 | /* These symbols might be defined by some sysdeps configures. | |
184 | They are used only in miscellaneous generator programs, not | |
185 | in compiling libc itself. */ | |
28f540f4 RM |
186 | |
187 | /* sysdeps/generic/configure.in */ | |
188 | #undef HAVE_PSIGNAL | |
189 | ||
92777700 RM |
190 | /* sysdeps/unix/configure.in */ |
191 | #undef HAVE_STRERROR | |
192 | ||
28f540f4 RM |
193 | /* sysdeps/unix/common/configure.in */ |
194 | #undef HAVE_SYS_SIGLIST | |
195 | #undef HAVE__SYS_SIGLIST | |
196 | #undef HAVE__CTYPE_ | |
197 | #undef HAVE___CTYPE_ | |
198 | #undef HAVE___CTYPE | |
199 | #undef HAVE__CTYPE__ | |
200 | #undef HAVE__CTYPE | |
201 | #undef HAVE__LOCP | |
92777700 RM |
202 | |
203 | #endif | |
204 | ||
205 | /* | |
206 | \f */ | |
207 | ||
208 | #ifdef _LIBC | |
209 | ||
210 | /* The zic and zdump programs need these definitions. */ | |
211 | ||
212 | #define HAVE_STRERROR 1 | |
213 | ||
9a8c0d4f RM |
214 | /* The locale code needs these definitions. */ |
215 | ||
216 | #define HAVE_REGEX 1 | |
217 | ||
92777700 | 218 | #endif |