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