(pthread_cancel): Don't do anything if cancelation is disabled.
[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 __attribute__((section("foo"))) puts quotes around foo.  */
25 #undef  HAVE_SECTION_QUOTES
26
27 /* Define if using the GNU assembler, gas.  */
28 #undef  HAVE_GNU_AS
29
30 /* Define if the assembler supports the `.set' directive.  */
31 #undef  HAVE_ASM_SET_DIRECTIVE
32
33 /* Define to the name of the assembler's directive for
34    declaring a symbol global (default `.globl').  */
35 #undef  ASM_GLOBAL_DIRECTIVE
36
37 /* Define to use GNU libio instead of GNU stdio.
38    This is defined by configure under --enable-libio.  */
39 #undef  USE_IN_LIBIO
40
41 /* Define if using ELF and the assembler supports the `.previous'
42    directive.  */
43 #undef  HAVE_ASM_PREVIOUS_DIRECTIVE
44
45 /* Define if using ELF and the assembler supports the `.popsection'
46    directive.  */
47 #undef  HAVE_ASM_POPSECTION_DIRECTIVE
48
49 /* Define to the prefix Alpha/ELF GCC emits before ..ng symbols.  */
50 #undef  ASM_ALPHA_NG_SYMBOL_PREFIX
51
52 /* Define if versioning of the library is wanted.  */
53 #undef  DO_VERSIONING
54
55 /* Define if static NSS modules are wanted.  */
56 #undef  DO_STATIC_NSS
57
58 /* Define if gcc uses DWARF2 unwind information for exception support.  */
59 #undef  HAVE_DWARF2_UNWIND_INFO
60
61 /* Define if gcc uses DWARF2 unwind information for exception support
62    with static variable. */
63 #undef  HAVE_DWARF2_UNWIND_INFO_STATIC
64
65 /* Define if the compiler supports __builtin_expect.  */
66 #undef  HAVE_BUILTIN_EXPECT
67
68 /* Define if the regparm attribute shall be used for local functions
69    (gcc on ix86 only).  */
70 #undef  USE_REGPARMS
71
72 /* Defined on PowerPC if the GCC being used has a problem with clobbering
73    certain registers (CR0, MQ, CTR, LR) in asm statements.  */
74 #undef  BROKEN_PPC_ASM_CR0
75
76
77 /* Defined to some form of __attribute__ ((...)) if the compiler supports
78    a different, more efficient calling convention.  */
79 #if defined USE_REGPARMS && !defined PROF && !defined __BOUNDED_POINTERS__
80 # define internal_function __attribute__ ((regparm (3), stdcall))
81 #endif
82
83 /* Linux specific: minimum supported kernel version.  */
84 #undef  __LINUX_KERNEL_VERSION
85
86 /* An extension in gcc 2.96 and up allows the subtraction of two
87    local labels.  */
88 #undef  HAVE_SUBTRACT_LOCAL_LABELS
89
90 /*
91 \f */
92
93 #ifndef _LIBC
94
95 /* These symbols might be defined by some sysdeps configures.
96    They are used only in miscellaneous generator programs, not
97    in compiling libc itself.   */
98
99 /* sysdeps/generic/configure.in */
100 #undef  HAVE_PSIGNAL
101
102 /* sysdeps/unix/configure.in */
103 #undef  HAVE_STRERROR
104
105 /* sysdeps/unix/common/configure.in */
106 #undef  HAVE_SYS_SIGLIST
107 #undef  HAVE__SYS_SIGLIST
108 #undef  HAVE__CTYPE_
109 #undef  HAVE___CTYPE_
110 #undef  HAVE___CTYPE
111 #undef  HAVE__CTYPE__
112 #undef  HAVE__CTYPE
113 #undef  HAVE__LOCP
114
115 #endif
116
117 /*
118 \f */
119
120 #ifdef  _LIBC
121
122 /* The zic and zdump programs need these definitions.  */
123
124 #define HAVE_STRERROR   1
125
126 /* The locale code needs these definitions.  */
127
128 #define HAVE_REGEX 1
129
130 #endif