]> git.ipfire.org Git - thirdparty/glibc.git/blame - config.h.in
Add entry for SH.
[thirdparty/glibc.git] / config.h.in
CommitLineData
28f540f4
RM
1/* Define if using GNU ld, with support for weak symbols in a.out,
2 and for symbol set and warning messages extensions in a.out and ELF.
3 This implies HAVE_WEAK_SYMBOLS; set by --with-gnu-ld. */
4#undef HAVE_GNU_LD
5
6/* Define if using ELF, which supports weak symbols.
c224a18a
RM
7 This implies HAVE_ASM_WEAK_DIRECTIVE and NO_UNDERSCORES; set by
8 --with-elf. */
28f540f4
RM
9#undef HAVE_ELF
10
c224a18a
RM
11/* Define if C symbols are asm symbols. Don't define if C symbols
12 have a `_' prepended to make the asm symbol. */
13#undef NO_UNDERSCORES
14
15/* Define if weak symbols are available via the `.weak' directive. */
16#undef HAVE_ASM_WEAK_DIRECTIVE
17
18/* Define if weak symbols are available via the `.weakext' directive. */
19#undef HAVE_ASM_WEAKEXT_DIRECTIVE
28f540f4 20
b8dc6a10
RM
21/* Define if not using ELF, but `.init' and `.fini' sections are available. */
22#undef HAVE_INITFINI
23
28f540f4
RM
24/* Define if using the GNU assembler, gas. */
25#undef HAVE_GNU_AS
0923c7a5 26
e215c478
RM
27/* Define if the assembler supports the `.set' directive. */
28#undef HAVE_ASM_SET_DIRECTIVE
29
65b3cbcb
RM
30/* Define to the name of the assembler's directive for
31 declaring a symbol global (default `.globl'). */
32#undef ASM_GLOBAL_DIRECTIVE
33
deab9dea
RM
34/* Define to use GNU libio instead of GNU stdio.
35 This is defined by configure under --enable-libio. */
36#undef USE_IN_LIBIO
92777700 37
fd26970f
UD
38/* Define if using ELF and the assembler supports the `.previous'
39 directive. */
40#undef HAVE_ASM_PREVIOUS_DIRECTIVE
41
42/* Define if using ELF and the assembler supports the `.popsection'
43 directive. */
44#undef HAVE_ASM_POPSECTION_DIRECTIVE
45
d71b808a
UD
46/* Define to the prefix Alpha/ELF GCC emits before ..ng symbols. */
47#undef ASM_ALPHA_NG_SYMBOL_PREFIX
48
377a515b
UD
49/* Define if versioning of the library is wanted. */
50#undef DO_VERSIONING
51
5107cf1d
UD
52/* Define if static NSS modules are wanted. */
53#undef DO_STATIC_NSS
54
650425ce
UD
55/* Define if gcc uses DWARF2 unwind information for exception support. */
56#undef HAVE_DWARF2_UNWIND_INFO
57
9756dfe1
UD
58/* Define if gcc uses DWARF2 unwind information for exception support
59 with static variable. */
60#undef HAVE_DWARF2_UNWIND_INFO_STATIC
61
a8eab8b1
UD
62/* Define if the compiler supports __builtin_expect. */
63#undef HAVE_BUILTIN_EXPECT
64
66000494 65/* Define if the regparm attribute shall be used for local functions
dfd2257a
UD
66 (gcc on ix86 only). */
67#undef USE_REGPARMS
68
66000494
UD
69/* Defined on PowerPC if the GCC being used has a problem with clobbering
70 certain registers (CR0, MQ, CTR, LR) in asm statements. */
71#undef BROKEN_PPC_ASM_CR0
72
dfd2257a
UD
73
74/* Defined to some form of __attribute__ ((...)) if the compiler supports
75 a different, more efficient calling convention. */
14e9dd67 76#if defined USE_REGPARMS && !defined PROF
dfd2257a
UD
77# define internal_function __attribute__ ((regparm (3), stdcall))
78#endif
79
958f238f
UD
80/* Linux specific: minimum supported kernel version. */
81#undef __LINUX_KERNEL_VERSION
82
e8b1163e 83/* An extension in gcc 2.96 and up allows the subtraction of two
3d558f4e
UD
84 local labels. */
85#undef HAVE_SUBTRACT_LOCAL_LABELS
86
92777700
RM
87/*
88\f */
89
90#ifndef _LIBC
91
92/* These symbols might be defined by some sysdeps configures.
93 They are used only in miscellaneous generator programs, not
94 in compiling libc itself. */
28f540f4
RM
95
96/* sysdeps/generic/configure.in */
97#undef HAVE_PSIGNAL
98
92777700
RM
99/* sysdeps/unix/configure.in */
100#undef HAVE_STRERROR
101
28f540f4
RM
102/* sysdeps/unix/common/configure.in */
103#undef HAVE_SYS_SIGLIST
104#undef HAVE__SYS_SIGLIST
105#undef HAVE__CTYPE_
106#undef HAVE___CTYPE_
107#undef HAVE___CTYPE
108#undef HAVE__CTYPE__
109#undef HAVE__CTYPE
110#undef HAVE__LOCP
92777700
RM
111
112#endif
113
114/*
115\f */
116
117#ifdef _LIBC
118
119/* The zic and zdump programs need these definitions. */
120
121#define HAVE_STRERROR 1
122
9a8c0d4f
RM
123/* The locale code needs these definitions. */
124
125#define HAVE_REGEX 1
126
92777700 127#endif