]> git.ipfire.org Git - thirdparty/glibc.git/blame - config.h.in
Update.
[thirdparty/glibc.git] / config.h.in
CommitLineData
d322efa8
UD
1#ifndef __OPTIMIZE__
2# error "glibc cannot be compiled without optimization"
3#endif
4
28f540f4
RM
5/* Define if using GNU ld, with support for weak symbols in a.out,
6 and for symbol set and warning messages extensions in a.out and ELF.
7 This implies HAVE_WEAK_SYMBOLS; set by --with-gnu-ld. */
8#undef HAVE_GNU_LD
9
10/* Define if using ELF, which supports weak symbols.
c224a18a
RM
11 This implies HAVE_ASM_WEAK_DIRECTIVE and NO_UNDERSCORES; set by
12 --with-elf. */
28f540f4
RM
13#undef HAVE_ELF
14
5af3245a
UD
15/* Define if using XCOFF. Set by --with-xcoff. */
16#undef HAVE_XCOFF
17
c224a18a
RM
18/* Define if C symbols are asm symbols. Don't define if C symbols
19 have a `_' prepended to make the asm symbol. */
20#undef NO_UNDERSCORES
21
22/* Define if weak symbols are available via the `.weak' directive. */
23#undef HAVE_ASM_WEAK_DIRECTIVE
24
25/* Define if weak symbols are available via the `.weakext' directive. */
26#undef HAVE_ASM_WEAKEXT_DIRECTIVE
28f540f4 27
b15cb495
UD
28/* Define to the assembler line separator character for multiple
29 assembler instructions per line. Default is `;' */
30#undef ASM_LINE_SEP
31
b8dc6a10
RM
32/* Define if not using ELF, but `.init' and `.fini' sections are available. */
33#undef HAVE_INITFINI
34
e26dd47f
UD
35/* Define if __attribute__((section("foo"))) puts quotes around foo. */
36#undef HAVE_SECTION_QUOTES
37
28f540f4
RM
38/* Define if using the GNU assembler, gas. */
39#undef HAVE_GNU_AS
0923c7a5 40
e215c478
RM
41/* Define if the assembler supports the `.set' directive. */
42#undef HAVE_ASM_SET_DIRECTIVE
43
65b3cbcb
RM
44/* Define to the name of the assembler's directive for
45 declaring a symbol global (default `.globl'). */
46#undef ASM_GLOBAL_DIRECTIVE
47
4242e56a
UD
48/* Define a symbol_name as a global .symbol_name for ld. */
49#undef HAVE_ASM_GLOBAL_DOT_NAME
50
deab9dea
RM
51/* Define to use GNU libio instead of GNU stdio.
52 This is defined by configure under --enable-libio. */
53#undef USE_IN_LIBIO
92777700 54
fd26970f
UD
55/* Define if using ELF and the assembler supports the `.previous'
56 directive. */
57#undef HAVE_ASM_PREVIOUS_DIRECTIVE
58
59/* Define if using ELF and the assembler supports the `.popsection'
60 directive. */
61#undef HAVE_ASM_POPSECTION_DIRECTIVE
62
d71b808a
UD
63/* Define to the prefix Alpha/ELF GCC emits before ..ng symbols. */
64#undef ASM_ALPHA_NG_SYMBOL_PREFIX
65
377a515b
UD
66/* Define if versioning of the library is wanted. */
67#undef DO_VERSIONING
68
deb7f0b4
UD
69/* Defined to the oldest ABI we support, like 2.1. */
70#undef GLIBC_OLDEST_ABI
71
5107cf1d
UD
72/* Define if static NSS modules are wanted. */
73#undef DO_STATIC_NSS
74
650425ce
UD
75/* Define if gcc uses DWARF2 unwind information for exception support. */
76#undef HAVE_DWARF2_UNWIND_INFO
77
9756dfe1
UD
78/* Define if gcc uses DWARF2 unwind information for exception support
79 with static variable. */
80#undef HAVE_DWARF2_UNWIND_INFO_STATIC
81
a8eab8b1
UD
82/* Define if the compiler supports __builtin_expect. */
83#undef HAVE_BUILTIN_EXPECT
84
66000494 85/* Define if the regparm attribute shall be used for local functions
dfd2257a
UD
86 (gcc on ix86 only). */
87#undef USE_REGPARMS
88
66000494
UD
89/* Defined on PowerPC if the GCC being used has a problem with clobbering
90 certain registers (CR0, MQ, CTR, LR) in asm statements. */
91#undef BROKEN_PPC_ASM_CR0
92
a711b01d
UD
93/* Define if the linker supports the -z combreloc option. */
94#undef HAVE_Z_COMBRELOC
95
dfd2257a
UD
96
97/* Defined to some form of __attribute__ ((...)) if the compiler supports
98 a different, more efficient calling convention. */
6fc1dd3f 99#if defined USE_REGPARMS && !defined PROF && !defined __BOUNDED_POINTERS__
dfd2257a
UD
100# define internal_function __attribute__ ((regparm (3), stdcall))
101#endif
102
958f238f
UD
103/* Linux specific: minimum supported kernel version. */
104#undef __LINUX_KERNEL_VERSION
105
a986484f
UD
106/* Override abi-tags ABI version if necessary. */
107#undef __ABI_TAG_VERSION
108
e8b1163e 109/* An extension in gcc 2.96 and up allows the subtraction of two
3d558f4e
UD
110 local labels. */
111#undef HAVE_SUBTRACT_LOCAL_LABELS
112
a3151b02
UD
113/* bash 2.0 introduced the _XXX_GNU_nonoption_argv_flags_ variable to help
114 getopt determine whether a parameter is a flag or not. This features
115 was disabled later since it caused trouble. We are by default therefore
116 disabling the support as well. */
117#undef USE_NONOPTION_FLAGS
118
92777700
RM
119/*
120\f */
121
122#ifndef _LIBC
123
124/* These symbols might be defined by some sysdeps configures.
125 They are used only in miscellaneous generator programs, not
126 in compiling libc itself. */
28f540f4
RM
127
128/* sysdeps/generic/configure.in */
129#undef HAVE_PSIGNAL
130
92777700
RM
131/* sysdeps/unix/configure.in */
132#undef HAVE_STRERROR
133
28f540f4
RM
134/* sysdeps/unix/common/configure.in */
135#undef HAVE_SYS_SIGLIST
136#undef HAVE__SYS_SIGLIST
137#undef HAVE__CTYPE_
138#undef HAVE___CTYPE_
139#undef HAVE___CTYPE
140#undef HAVE__CTYPE__
141#undef HAVE__CTYPE
142#undef HAVE__LOCP
92777700
RM
143
144#endif
145
146/*
147\f */
148
149#ifdef _LIBC
150
151/* The zic and zdump programs need these definitions. */
152
153#define HAVE_STRERROR 1
154
9a8c0d4f
RM
155/* The locale code needs these definitions. */
156
157#define HAVE_REGEX 1
158
92777700 159#endif