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