]> 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
b15cb495
UD
34/* Define to the assembler line separator character for multiple
35 assembler instructions per line. Default is `;' */
36#undef ASM_LINE_SEP
37
b8dc6a10
RM
38/* Define if not using ELF, but `.init' and `.fini' sections are available. */
39#undef HAVE_INITFINI
40
e26dd47f
UD
41/* Define if __attribute__((section("foo"))) puts quotes around foo. */
42#undef HAVE_SECTION_QUOTES
43
28f540f4
RM
44/* Define if using the GNU assembler, gas. */
45#undef HAVE_GNU_AS
0923c7a5 46
e215c478
RM
47/* Define if the assembler supports the `.set' directive. */
48#undef HAVE_ASM_SET_DIRECTIVE
49
65b3cbcb
RM
50/* Define to the name of the assembler's directive for
51 declaring a symbol global (default `.globl'). */
52#undef ASM_GLOBAL_DIRECTIVE
53
4242e56a
UD
54/* Define a symbol_name as a global .symbol_name for ld. */
55#undef HAVE_ASM_GLOBAL_DOT_NAME
56
74bd2300
UD
57/* Define if _Unwind_Find_FDE should be exported from glibc. */
58#undef EXPORT_UNWIND_FIND_FDE
59
deab9dea
RM
60/* Define to use GNU libio instead of GNU stdio.
61 This is defined by configure under --enable-libio. */
62#undef USE_IN_LIBIO
92777700 63
fd26970f
UD
64/* Define if using ELF and the assembler supports the `.previous'
65 directive. */
66#undef HAVE_ASM_PREVIOUS_DIRECTIVE
67
68/* Define if using ELF and the assembler supports the `.popsection'
69 directive. */
70#undef HAVE_ASM_POPSECTION_DIRECTIVE
71
d71b808a
UD
72/* Define to the prefix Alpha/ELF GCC emits before ..ng symbols. */
73#undef ASM_ALPHA_NG_SYMBOL_PREFIX
74
377a515b
UD
75/* Define if versioning of the library is wanted. */
76#undef DO_VERSIONING
77
deb7f0b4
UD
78/* Defined to the oldest ABI we support, like 2.1. */
79#undef GLIBC_OLDEST_ABI
80
5107cf1d
UD
81/* Define if static NSS modules are wanted. */
82#undef DO_STATIC_NSS
83
650425ce
UD
84/* Define if gcc uses DWARF2 unwind information for exception support. */
85#undef HAVE_DWARF2_UNWIND_INFO
86
9756dfe1
UD
87/* Define if gcc uses DWARF2 unwind information for exception support
88 with static variable. */
89#undef HAVE_DWARF2_UNWIND_INFO_STATIC
90
a8eab8b1
UD
91/* Define if the compiler supports __builtin_expect. */
92#undef HAVE_BUILTIN_EXPECT
93
d555194c
UD
94/* Define if the compiler supports __builtin_memset. */
95#undef HAVE_BUILTIN_MEMSET
96
739d440d
UD
97/* Define if the __thread keyword is supported. */
98#undef HAVE___THREAD
99
66000494 100/* Define if the regparm attribute shall be used for local functions
dfd2257a
UD
101 (gcc on ix86 only). */
102#undef USE_REGPARMS
103
66000494
UD
104/* Defined on PowerPC if the GCC being used has a problem with clobbering
105 certain registers (CR0, MQ, CTR, LR) in asm statements. */
106#undef BROKEN_PPC_ASM_CR0
107
a711b01d
UD
108/* Define if the linker supports the -z combreloc option. */
109#undef HAVE_Z_COMBRELOC
110
5688da55
UD
111/* Define if the assembler supported .protected. */
112#undef HAVE_PROTECTED
113
5c24bb7d
UD
114/* Define if the assembler supported .hidden. */
115#undef HAVE_HIDDEN
116
0d01dace
UD
117/* Define if the compiler supports __attribute__ ((visibility (...))). */
118#undef HAVE_VISIBILITY_ATTRIBUTE
119
6719f7a6
UD
120/* Define if the compiler doesn't support __attribute__ ((visibility (...)))
121 together with __asm__ redirection properly. */
122#undef HAVE_BROKEN_VISIBILITY_ATTRIBUTE
123
124/* Define if the compiler doesn't support __attribute__ ((alias (...)))
125 together with __asm__ redirection properly. */
126#undef HAVE_BROKEN_ALIAS_ATTRIBUTE
127
0d01dace
UD
128/* Define if _rtld_local structure should be forced into .sdata section. */
129#undef HAVE_SDATA_SECTION
130
e23f8d20
UD
131/* Define if binutils support TLS handling. */
132#undef HAVE_TLS_SUPPORT
133
5241882c
UD
134/* Define if the linker supports .preinit_array/.init_array/.fini_array
135 sections. */
136#undef HAVE_INITFINI_ARRAY
137
dfd2257a
UD
138
139/* Defined to some form of __attribute__ ((...)) if the compiler supports
140 a different, more efficient calling convention. */
6fc1dd3f 141#if defined USE_REGPARMS && !defined PROF && !defined __BOUNDED_POINTERS__
dfd2257a
UD
142# define internal_function __attribute__ ((regparm (3), stdcall))
143#endif
144
958f238f
UD
145/* Linux specific: minimum supported kernel version. */
146#undef __LINUX_KERNEL_VERSION
147
a986484f
UD
148/* Override abi-tags ABI version if necessary. */
149#undef __ABI_TAG_VERSION
150
e8b1163e 151/* An extension in gcc 2.96 and up allows the subtraction of two
3d558f4e
UD
152 local labels. */
153#undef HAVE_SUBTRACT_LOCAL_LABELS
154
a3151b02
UD
155/* bash 2.0 introduced the _XXX_GNU_nonoption_argv_flags_ variable to help
156 getopt determine whether a parameter is a flag or not. This features
157 was disabled later since it caused trouble. We are by default therefore
158 disabling the support as well. */
159#undef USE_NONOPTION_FLAGS
160
dde2f4a0
RM
161/* Mach/Hurd specific: define if mig supports the `retcode' keyword. */
162#undef HAVE_MIG_RETCODE
163
30537cab
RM
164/* Mach specific: define if the `host_page_size' RPC is available. */
165#undef HAVE_HOST_PAGE_SIZE
166
db6b51ad
RM
167/* Mach/i386 specific: define if the `i386_io_perm_*' RPCs are available. */
168#undef HAVE_I386_IO_PERM_MODIFY
169
89a3dd44
UD
170/* Sparc64 specific: define if .dynamic section comes before .got for
171 shared libs. */
172#undef SPARC64_DYNAMIC_BEFORE_GOT
173
92777700
RM
174/*
175\f */
176
177#ifndef _LIBC
178
179/* These symbols might be defined by some sysdeps configures.
180 They are used only in miscellaneous generator programs, not
181 in compiling libc itself. */
28f540f4
RM
182
183/* sysdeps/generic/configure.in */
184#undef HAVE_PSIGNAL
185
92777700
RM
186/* sysdeps/unix/configure.in */
187#undef HAVE_STRERROR
188
28f540f4
RM
189/* sysdeps/unix/common/configure.in */
190#undef HAVE_SYS_SIGLIST
191#undef HAVE__SYS_SIGLIST
192#undef HAVE__CTYPE_
193#undef HAVE___CTYPE_
194#undef HAVE___CTYPE
195#undef HAVE__CTYPE__
196#undef HAVE__CTYPE
197#undef HAVE__LOCP
92777700
RM
198
199#endif
200
201/*
202\f */
203
204#ifdef _LIBC
205
206/* The zic and zdump programs need these definitions. */
207
208#define HAVE_STRERROR 1
209
9a8c0d4f
RM
210/* The locale code needs these definitions. */
211
212#define HAVE_REGEX 1
213
92777700 214#endif