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