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