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