]> git.ipfire.org Git - thirdparty/glibc.git/blob - config.h.in
Remove .previous, .popsection configure tests.
[thirdparty/glibc.git] / config.h.in
1 #if !defined IS_IN_build && !defined __ASSEMBLER__ && !defined _ISOMAC \
2 && !defined __OPTIMIZE__
3 # error "glibc cannot be compiled without optimization"
4 #endif
5
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
11
12 /* Define if building with SELinux support. Set by --with-selinux. */
13 #undef HAVE_SELINUX
14
15 /* Defined if building with SELinux support & audit libs are detected. */
16 #undef HAVE_LIBAUDIT
17
18 /* Defined if building with SELinux support & libcap libs are detected. */
19 #undef HAVE_LIBCAP
20
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
26
27 /* Define to the assembler line separator character for multiple
28 assembler instructions per line. Default is `;' */
29 #undef ASM_LINE_SEP
30
31 /* Define if __attribute__((section("foo"))) puts quotes around foo. */
32 #undef HAVE_SECTION_QUOTES
33
34 /* Define if the assembler supports the `.set' directive. */
35 #undef HAVE_ASM_SET_DIRECTIVE
36
37 /* Define if the assembler supports the gnu_unique_object symbol type. */
38 #undef HAVE_ASM_UNIQUE_OBJECT
39
40 /* On powerpc64, use overlapping .opd entries. */
41 #undef USE_PPC64_OVERLAPPING_OPD
42
43 /* Define if _Unwind_Find_FDE should be exported from glibc. */
44 #undef EXPORT_UNWIND_FIND_FDE
45
46 /* Define if static NSS modules are wanted. */
47 #undef DO_STATIC_NSS
48
49 /* Define if the compiler supports __builtin_memset. */
50 #undef HAVE_BUILTIN_MEMSET
51
52 /* Define if compiler accepts -ftree-loop-distribute-patterns. */
53 #undef HAVE_CC_INHIBIT_LOOP_TO_LIBCALL
54
55 /* Define if the regparm attribute shall be used for local functions
56 (gcc on ix86 only). */
57 #undef USE_REGPARMS
58
59 /* Defined on SPARC if GCC emits GOTDATA relocations. */
60 #undef HAVE_GCC_GOTDATA
61
62 /* Define on SPARC if AS supports VIS3 instructions. */
63 #undef HAVE_AS_VIS3_SUPPORT
64
65 /* Define if the linker supports the -z combreloc option. */
66 #undef HAVE_Z_COMBRELOC
67
68 /* Define if _rtld_local structure should be forced into .sdata section. */
69 #undef HAVE_SDATA_SECTION
70
71 /* Define if compiler supports AVX512. */
72 #undef HAVE_AVX512_SUPPORT
73
74 /* Define if assembler supports AVX512. */
75 #undef HAVE_AVX512_ASM_SUPPORT
76
77 /* Define if assembler supports vector instructions on S390. */
78 #undef HAVE_S390_VX_ASM_SUPPORT
79
80 /* Define if assembler supports Intel MPX. */
81 #undef HAVE_MPX_SUPPORT
82
83 /* Define if gcc supports AVX2. */
84 #undef HAVE_AVX2_SUPPORT
85
86 /* Define if the compiler\'s exception support is based on libunwind. */
87 #undef HAVE_CC_WITH_LIBUNWIND
88
89 /* Define if the access to static and hidden variables is position independent
90 and does not need relocations. */
91 #undef PI_STATIC_AND_HIDDEN
92
93 /* Define this to disable the 'hidden_proto' et al macros in
94 include/libc-symbols.h that avoid PLT slots in the shared objects. */
95 #undef NO_HIDDEN
96
97 /* AArch64 big endian ABI */
98 #undef HAVE_AARCH64_BE
99
100
101 /* Defined to some form of __attribute__ ((...)) if the compiler supports
102 a different, more efficient calling convention. */
103 #if defined USE_REGPARMS && !defined PROF
104 # define internal_function __attribute__ ((regparm (3), stdcall))
105 #endif
106
107 /* Linux specific: minimum supported kernel version. */
108 #undef __LINUX_KERNEL_VERSION
109
110 /* Override abi-tags ABI version if necessary. */
111 #undef __ABI_TAG_VERSION
112
113 /* bash 2.0 introduced the _XXX_GNU_nonoption_argv_flags_ variable to help
114 getopt determine whether a parameter is a flag or not. This features
115 was disabled later since it caused trouble. We are by default therefore
116 disabling the support as well. */
117 #undef USE_NONOPTION_FLAGS
118
119 /* Mach/Hurd specific: define if mig supports the `retcode' keyword. */
120 #undef HAVE_MIG_RETCODE
121
122 /* Mach specific: define if the `host_page_size' RPC is available. */
123 #undef HAVE_HOST_PAGE_SIZE
124
125 /* Mach/i386 specific: define if the `i386_io_perm_*' RPCs are available. */
126 #undef HAVE_I386_IO_PERM_MODIFY
127
128 /* Mach/i386 specific: define if the `i386_set_gdt' RPC is available. */
129 #undef HAVE_I386_SET_GDT
130
131 /* Defined if forced unwind support is available. */
132 #undef HAVE_FORCED_UNWIND
133
134 /* Defined of libidn is available. */
135 #undef HAVE_LIBIDN
136
137 /* Define if inlined system calls are available. */
138 #undef HAVE_INLINED_SYSCALLS
139
140 /* Define if your compiler defaults to -msecure-plt mode on ppc. */
141 #undef HAVE_PPC_SECURE_PLT
142
143 /* Define if __stack_chk_guard canary should be randomized at program startup. */
144 #undef ENABLE_STACKGUARD_RANDOMIZE
145
146 /* Define if lock elision should be enabled by default. */
147 #undef ENABLE_LOCK_ELISION
148
149 /* Package description. */
150 #undef PKGVERSION
151
152 /* Bug reporting address. */
153 #undef REPORT_BUGS_TO
154
155 /* Define if multi-arch DSOs should be generated. */
156 #undef USE_MULTIARCH
157
158 /* Define if `.ctors' and `.dtors' sections shouldn't be used. */
159 #undef NO_CTORS_DTORS_SECTIONS
160
161 /* Define if obsolete RPC code should be made available for user-level code
162 to link against. */
163 #undef LINK_OBSOLETE_RPC
164
165 /* Define if Systemtap <sys/sdt.h> probes should be defined. */
166 #undef USE_STAP_PROBE
167
168 /* Define if library functions should try to contact the nscd daemon. */
169 #undef USE_NSCD
170
171 /* Define if the dynamic linker should consult an ld.so.cache file. */
172 #undef USE_LDCONFIG
173
174 /* Define to 1 if STT_GNU_IFUNC support actually works. */
175 #define HAVE_IFUNC 0
176
177 /* Define if linux/fanotify.h is available. */
178 #undef HAVE_LINUX_FANOTIFY_H
179
180 /* Define if the linker defines __ehdr_start. */
181 #undef HAVE_EHDR_START
182
183 /*
184 \f */
185
186 #ifndef _LIBC
187
188 /* These symbols might be defined by some sysdeps configures.
189 They are used only in miscellaneous generator programs, not
190 in compiling libc itself. */
191
192 /* sysdeps/generic/configure.ac */
193 #undef HAVE_PSIGNAL
194
195 /* sysdeps/unix/configure.ac */
196 #undef HAVE_STRERROR
197
198 /* sysdeps/unix/common/configure.ac */
199 #undef HAVE_SYS_SIGLIST
200 #undef HAVE__SYS_SIGLIST
201 #undef HAVE__CTYPE_
202 #undef HAVE___CTYPE_
203 #undef HAVE___CTYPE
204 #undef HAVE__CTYPE__
205 #undef HAVE__CTYPE
206 #undef HAVE__LOCP
207
208 #endif
209
210 /*
211 \f */
212
213 #ifdef _LIBC
214
215 /* The zic and zdump programs need these definitions. */
216
217 #define HAVE_STRERROR 1
218
219 /* The locale code needs these definitions. */
220
221 #define HAVE_REGEX 1
222
223 /* The ARM hard-float ABI is being used. */
224 #undef HAVE_ARM_PCS_VFP
225
226 /* The ARM movw/movt instructions using PC-relative relocs work right. */
227 #define ARM_PCREL_MOVW_OK 0
228
229 /* The pt_chown binary is being built and used by grantpt. */
230 #define HAVE_PT_CHOWN 0
231
232 /* Define if the compiler supports __builtin_trap without
233 any external dependencies such as making a function call. */
234 #define HAVE_BUILTIN_TRAP 0
235
236 /* ports/sysdeps/mips/configure.in */
237 /* Define if using the IEEE 754-2008 NaN encoding on the MIPS target. */
238 #undef HAVE_MIPS_NAN2008
239
240 /* The PowerPC64 ELFv2 ABI is being used. */
241 #undef HAVE_ELFV2_ABI
242
243 /* PowerPC32 uses fcfid for integer to floating point conversions. */
244 #define HAVE_PPC_FCFID 0
245
246 /* PowerPC32 uses fctidz for floating point to long long conversions. */
247 #define HAVE_PPC_FCTIDZ 0
248
249 #endif