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 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
20
21 /* Define if not using ELF, but `.init' and `.fini' sections are available.  */
22 #undef  HAVE_INITFINI
23
24 /* Define if using the GNU assembler, gas.  */
25 #undef  HAVE_GNU_AS
26
27 /* Define if the assembler supports the `.set' directive.  */
28 #undef  HAVE_ASM_SET_DIRECTIVE
29
30 /* Define to the name of the assembler's directive for
31    declaring a symbol global (default `.globl').  */
32 #undef  ASM_GLOBAL_DIRECTIVE
33
34 /* Define to use GNU libio instead of GNU stdio.
35    This is defined by configure under --enable-libio.  */
36 #undef  USE_IN_LIBIO
37
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
46 /* Define to the prefix Alpha/ELF GCC emits before ..ng symbols.  */
47 #undef  ASM_ALPHA_NG_SYMBOL_PREFIX
48
49 /* Define if versioning of the library is wanted.  */
50 #undef  DO_VERSIONING
51
52 /* Define if static NSS modules are wanted.  */
53 #undef  DO_STATIC_NSS
54
55 /* Define if gcc uses DWARF2 unwind information for exception support.  */
56 #undef  HAVE_DWARF2_UNWIND_INFO
57
58 /* Define if gcc uses DWARF2 unwind information for exception support
59    with static variable. */
60 #undef  HAVE_DWARF2_UNWIND_INFO_STATIC
61
62 /* Define if the compiler supports __builtin_expect.  */
63 #undef  HAVE_BUILTIN_EXPECT
64
65 /* Define if the regparm attribute shall be used for local functions
66    (gcc on ix86 only).  */
67 #undef  USE_REGPARMS
68
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
73
74 /* Defined to some form of __attribute__ ((...)) if the compiler supports
75    a different, more efficient calling convention.  */
76 #if defined USE_REGPARMS && !defined PROF
77 # define internal_function __attribute__ ((regparm (3), stdcall))
78 #endif
79
80 /* Linux specific: minimum supported kernel version.  */
81 #undef  __LINUX_KERNEL_VERSION
82
83 /* An extension in gcc 2.96 and up allows to substract the values of two
84    local labels.  */
85 #undef  HAVE_SUBTRACT_LOCAL_LABELS
86
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.   */
95
96 /* sysdeps/generic/configure.in */
97 #undef  HAVE_PSIGNAL
98
99 /* sysdeps/unix/configure.in */
100 #undef  HAVE_STRERROR
101
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
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
123 /* The locale code needs these definitions.  */
124
125 #define HAVE_REGEX 1
126
127 #endif