]> git.ipfire.org Git - thirdparty/glibc.git/blame - config.h.in
Added NEWS entries for AT_HWCAP2 and POWER8 enablement.
[thirdparty/glibc.git] / config.h.in
CommitLineData
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
50189569
AJ
27/* Define if CFI directives are available. */
28#undef HAVE_ASM_CFI_DIRECTIVES
29
b15cb495
UD
30/* Define to the assembler line separator character for multiple
31 assembler instructions per line. Default is `;' */
32#undef ASM_LINE_SEP
33
e26dd47f
UD
34/* Define if __attribute__((section("foo"))) puts quotes around foo. */
35#undef HAVE_SECTION_QUOTES
36
e215c478
RM
37/* Define if the assembler supports the `.set' directive. */
38#undef HAVE_ASM_SET_DIRECTIVE
39
415ac3df
UD
40/* Define if the assembler supports the gnu_unique_object symbol type. */
41#undef HAVE_ASM_UNIQUE_OBJECT
42
4242e56a
UD
43/* Define a symbol_name as a global .symbol_name for ld. */
44#undef HAVE_ASM_GLOBAL_DOT_NAME
45
590b40f7
UD
46/* On powerpc64, use overlapping .opd entries. */
47#undef USE_PPC64_OVERLAPPING_OPD
48
74bd2300
UD
49/* Define if _Unwind_Find_FDE should be exported from glibc. */
50#undef EXPORT_UNWIND_FIND_FDE
51
fd26970f
UD
52/* Define if using ELF and the assembler supports the `.previous'
53 directive. */
54#undef HAVE_ASM_PREVIOUS_DIRECTIVE
55
56/* Define if using ELF and the assembler supports the `.popsection'
57 directive. */
58#undef HAVE_ASM_POPSECTION_DIRECTIVE
59
377a515b
UD
60/* Define if versioning of the library is wanted. */
61#undef DO_VERSIONING
62
deb7f0b4
UD
63/* Defined to the oldest ABI we support, like 2.1. */
64#undef GLIBC_OLDEST_ABI
65
5107cf1d
UD
66/* Define if static NSS modules are wanted. */
67#undef DO_STATIC_NSS
68
d555194c
UD
69/* Define if the compiler supports __builtin_memset. */
70#undef HAVE_BUILTIN_MEMSET
71
85c2e611
AZ
72/* Define if compiler accepts -ftree-loop-distribute-patterns. */
73#undef HAVE_CC_INHIBIT_LOOP_TO_LIBCALL
74
66000494 75/* Define if the regparm attribute shall be used for local functions
dfd2257a
UD
76 (gcc on ix86 only). */
77#undef USE_REGPARMS
78
66000494
UD
79/* Defined on PowerPC if the GCC being used has a problem with clobbering
80 certain registers (CR0, MQ, CTR, LR) in asm statements. */
81#undef BROKEN_PPC_ASM_CR0
82
c80098a9
DM
83/* Defined on SPARC if GCC emits GOTDATA relocations. */
84#undef HAVE_GCC_GOTDATA
85
eae47a36
DM
86/* Define on SPARC if AS supports VIS3 instructions. */
87#undef HAVE_AS_VIS3_SUPPORT
88
a711b01d
UD
89/* Define if the linker supports the -z combreloc option. */
90#undef HAVE_Z_COMBRELOC
91
0d01dace
UD
92/* Define if _rtld_local structure should be forced into .sdata section. */
93#undef HAVE_SDATA_SECTION
94
06e51c8f
L
95/* Define if gcc supports SSE4. */
96#undef HAVE_SSE4_SUPPORT
97
b0ecde3a
L
98/* Define if gcc supports AVX. */
99#undef HAVE_AVX_SUPPORT
100
56f6f6a2
UD
101/* Define if gcc supports VEX encoding. */
102#undef HAVE_SSE2AVX_SUPPORT
103
ed72b654
UD
104/* Define if gcc supports FMA4. */
105#undef HAVE_FMA4_SUPPORT
106
56f6f6a2 107/* Define if the compiler\'s exception support is based on libunwind. */
c776b3d7
UD
108#undef HAVE_CC_WITH_LIBUNWIND
109
5a47e7f2
UD
110/* Define if the access to static and hidden variables is position independent
111 and does not need relocations. */
112#undef PI_STATIC_AND_HIDDEN
113
56f6f6a2 114/* Define this to disable the 'hidden_proto' et al macros in
749a9a4f
RM
115 include/libc-symbols.h that avoid PLT slots in the shared objects. */
116#undef NO_HIDDEN
117
dfd2257a
UD
118
119/* Defined to some form of __attribute__ ((...)) if the compiler supports
120 a different, more efficient calling convention. */
2bdd4ca6 121#if defined USE_REGPARMS && !defined PROF
dfd2257a
UD
122# define internal_function __attribute__ ((regparm (3), stdcall))
123#endif
124
958f238f
UD
125/* Linux specific: minimum supported kernel version. */
126#undef __LINUX_KERNEL_VERSION
127
a986484f
UD
128/* Override abi-tags ABI version if necessary. */
129#undef __ABI_TAG_VERSION
130
a3151b02
UD
131/* bash 2.0 introduced the _XXX_GNU_nonoption_argv_flags_ variable to help
132 getopt determine whether a parameter is a flag or not. This features
133 was disabled later since it caused trouble. We are by default therefore
134 disabling the support as well. */
135#undef USE_NONOPTION_FLAGS
136
dde2f4a0
RM
137/* Mach/Hurd specific: define if mig supports the `retcode' keyword. */
138#undef HAVE_MIG_RETCODE
139
30537cab
RM
140/* Mach specific: define if the `host_page_size' RPC is available. */
141#undef HAVE_HOST_PAGE_SIZE
142
db6b51ad
RM
143/* Mach/i386 specific: define if the `i386_io_perm_*' RPCs are available. */
144#undef HAVE_I386_IO_PERM_MODIFY
145
679e4c43
RM
146/* Mach/i386 specific: define if the `i386_set_gdt' RPC is available. */
147#undef HAVE_I386_SET_GDT
148
162434a6
UD
149/* Defined if forced unwind support is available. */
150#undef HAVE_FORCED_UNWIND
151
e2fd3cbe
UD
152/* Defined of libidn is available. */
153#undef HAVE_LIBIDN
154
ce6e047f
UD
155/* Define if inlined system calls are available. */
156#undef HAVE_INLINED_SYSCALLS
157
99c7f870
UD
158/* Define if your assembler and linker support R_PPC_REL16* relocs. */
159#undef HAVE_ASM_PPC_REL16
160
70c50602
UD
161/* Define if your compiler defaults to -msecure-plt mode on ppc. */
162#undef HAVE_PPC_SECURE_PLT
163
35f1e827
UD
164/* Define if __stack_chk_guard canary should be randomized at program startup. */
165#undef ENABLE_STACKGUARD_RANDOMIZE
166
1717da59
AK
167/* Define if lock elision should be enabled by default. */
168#undef ENABLE_LOCK_ELISION
169
8b748aed
JM
170/* Package description. */
171#undef PKGVERSION
172
173/* Bug reporting address. */
174#undef REPORT_BUGS_TO
175
425ce2ed
UD
176/* Define if multi-arch DSOs should be generated. */
177#undef USE_MULTIARCH
178
4a531bb0
L
179/* Define if `.ctors' and `.dtors' sections shouldn't be used. */
180#undef NO_CTORS_DTORS_SECTIONS
181
021db4be
AJ
182/* Define if obsolete RPC code should be made available for user-level code
183 to link against. */
184#undef LINK_OBSOLETE_RPC
3a097cc7
RM
185
186/* Define if Systemtap <sys/sdt.h> probes should be defined. */
187#undef USE_STAP_PROBE
188
3cc3ef96
RM
189/* Define if library functions should try to contact the nscd daemon. */
190#undef USE_NSCD
191
f57f8055
RM
192/* Define if the dynamic linker should consult an ld.so.cache file. */
193#undef USE_LDCONFIG
194
6e6249d0
RM
195/* Define if STT_GNU_IFUNC support actually works. */
196#undef HAVE_IFUNC
197
92777700
RM
198/*
199\f */
200
201#ifndef _LIBC
202
203/* These symbols might be defined by some sysdeps configures.
204 They are used only in miscellaneous generator programs, not
205 in compiling libc itself. */
28f540f4
RM
206
207/* sysdeps/generic/configure.in */
208#undef HAVE_PSIGNAL
209
92777700
RM
210/* sysdeps/unix/configure.in */
211#undef HAVE_STRERROR
212
28f540f4
RM
213/* sysdeps/unix/common/configure.in */
214#undef HAVE_SYS_SIGLIST
215#undef HAVE__SYS_SIGLIST
216#undef HAVE__CTYPE_
217#undef HAVE___CTYPE_
218#undef HAVE___CTYPE
219#undef HAVE__CTYPE__
220#undef HAVE__CTYPE
221#undef HAVE__LOCP
92777700
RM
222
223#endif
224
225/*
226\f */
227
228#ifdef _LIBC
229
230/* The zic and zdump programs need these definitions. */
231
232#define HAVE_STRERROR 1
233
9a8c0d4f
RM
234/* The locale code needs these definitions. */
235
236#define HAVE_REGEX 1
237
6a43ec98
CD
238/* The ARM hard-float ABI is being used. */
239#undef HAVE_ARM_PCS_VFP
240
e4608715
CD
241/* The pt_chown binary is being built and used by grantpt. */
242#undef HAVE_PT_CHOWN
243
92777700 244#endif