Merge branch 'master' into bug13658-branch
[platform/upstream/glibc.git] / config.h.in
1 #if !defined __ASSEMBLER__ && !defined _ISOMAC && !defined __OPTIMIZE__
2 # error "glibc cannot be compiled without optimization"
3 #endif
4
5 /* Another evil option when it comes to compiling the C library is
6    --ffast-math since it alters the ABI.  */
7 #if defined __FAST_MATH__ && !defined TEST_FAST_MATH
8 # error "glibc must not be compiled with -ffast-math"
9 #endif
10
11 /* Define if building with SELinux support.  Set by --with-selinux.  */
12 #undef  HAVE_SELINUX
13
14 /* Defined if building with SELinux support & audit libs are detected. */
15 #undef  HAVE_LIBAUDIT
16
17 /* Defined if building with SELinux support & libcap libs are detected.  */
18 #undef  HAVE_LIBCAP
19
20 /* Define if weak symbols are available via the `.weak' directive.  */
21 #undef  HAVE_ASM_WEAK_DIRECTIVE
22
23 /* Define if weak symbols are available via the `.weakext' directive.  */
24 #undef  HAVE_ASM_WEAKEXT_DIRECTIVE
25
26 /* Define if CFI directives are available.  */
27 #undef  HAVE_ASM_CFI_DIRECTIVES
28
29 /* Define to the assembler line separator character for multiple
30    assembler instructions per line.  Default is `;'  */
31 #undef ASM_LINE_SEP
32
33 /* Define if __attribute__((section("foo"))) puts quotes around foo.  */
34 #undef  HAVE_SECTION_QUOTES
35
36 /* Define if the assembler supports the `.set' directive.  */
37 #undef  HAVE_ASM_SET_DIRECTIVE
38
39 /* Define to the name of the assembler's directive for
40    declaring a symbol global (default `.globl').  */
41 #undef  ASM_GLOBAL_DIRECTIVE
42
43 /* Define to the prefix before `object' or `function' in the
44    assembler's `.type' directive, if it has one.  */
45 #undef  ASM_TYPE_DIRECTIVE_PREFIX
46
47 /* Define if the assembler supports the gnu_unique_object symbol type.  */
48 #undef  HAVE_ASM_UNIQUE_OBJECT
49
50 /* Define a symbol_name as a global .symbol_name for ld.  */
51 #undef  HAVE_ASM_GLOBAL_DOT_NAME
52
53 /* On powerpc64, use overlapping .opd entries.  */
54 #undef  USE_PPC64_OVERLAPPING_OPD
55
56 /* Define if the assembler generates debugging information directly.  */
57 #undef  HAVE_CPP_ASM_DEBUGINFO
58
59 /* Define if _Unwind_Find_FDE should be exported from glibc.  */
60 #undef  EXPORT_UNWIND_FIND_FDE
61
62 /* Define if using ELF and the assembler supports the `.previous'
63    directive.  */
64 #undef  HAVE_ASM_PREVIOUS_DIRECTIVE
65
66 /* Define if using ELF and the assembler supports the `.popsection'
67    directive.  */
68 #undef  HAVE_ASM_POPSECTION_DIRECTIVE
69
70 /* Define if versioning of the library is wanted.  */
71 #undef  DO_VERSIONING
72
73 /* Defined to the oldest ABI we support, like 2.1.  */
74 #undef GLIBC_OLDEST_ABI
75
76 /* Define if static NSS modules are wanted.  */
77 #undef  DO_STATIC_NSS
78
79 /* Define if the compiler supports __builtin_memset.  */
80 #undef  HAVE_BUILTIN_MEMSET
81
82 /* Define if the regparm attribute shall be used for local functions
83    (gcc on ix86 only).  */
84 #undef  USE_REGPARMS
85
86 /* Defined on PowerPC if the GCC being used has a problem with clobbering
87    certain registers (CR0, MQ, CTR, LR) in asm statements.  */
88 #undef  BROKEN_PPC_ASM_CR0
89
90 /* Defined on SPARC if GCC emits GOTDATA relocations.  */
91 #undef  HAVE_GCC_GOTDATA
92
93 /* Define if the linker supports the -z combreloc option.  */
94 #undef  HAVE_Z_COMBRELOC
95
96 /* Define if _rtld_local structure should be forced into .sdata section.  */
97 #undef  HAVE_SDATA_SECTION
98
99 /* Define if gcc supports SSE4.  */
100 #undef  HAVE_SSE4_SUPPORT
101
102 /* Define if gcc supports AVX.  */
103 #undef  HAVE_AVX_SUPPORT
104
105 /* Define if gcc supports VEX encoding.  */
106 #undef  HAVE_SSE2AVX_SUPPORT
107
108 /* Define if gcc supports FMA4.  */
109 #undef  HAVE_FMA4_SUPPORT
110
111 /* Define if the compiler\'s exception support is based on libunwind.  */
112 #undef  HAVE_CC_WITH_LIBUNWIND
113
114 /* Define if the access to static and hidden variables is position independent
115    and does not need relocations.  */
116 #undef  PI_STATIC_AND_HIDDEN
117
118 /* Define this to disable the 'hidden_proto' et al macros in
119    include/libc-symbols.h that avoid PLT slots in the shared objects.  */
120 #undef  NO_HIDDEN
121
122
123 /* Defined to some form of __attribute__ ((...)) if the compiler supports
124    a different, more efficient calling convention.  */
125 #if defined USE_REGPARMS && !defined PROF && !defined __BOUNDED_POINTERS__
126 # define internal_function __attribute__ ((regparm (3), stdcall))
127 #endif
128
129 /* Linux specific: minimum supported kernel version.  */
130 #undef  __LINUX_KERNEL_VERSION
131
132 /* Override abi-tags ABI version if necessary.  */
133 #undef  __ABI_TAG_VERSION
134
135 /* bash 2.0 introduced the _XXX_GNU_nonoption_argv_flags_ variable to help
136    getopt determine whether a parameter is a flag or not.  This features
137    was disabled later since it caused trouble.  We are by default therefore
138    disabling the support as well.  */
139 #undef USE_NONOPTION_FLAGS
140
141 /* Mach/Hurd specific: define if mig supports the `retcode' keyword.  */
142 #undef  HAVE_MIG_RETCODE
143
144 /* Mach specific: define if the `host_page_size' RPC is available.  */
145 #undef  HAVE_HOST_PAGE_SIZE
146
147 /* Mach/i386 specific: define if the `i386_io_perm_*' RPCs are available.  */
148 #undef  HAVE_I386_IO_PERM_MODIFY
149
150 /* Mach/i386 specific: define if the `i386_set_gdt' RPC is available.  */
151 #undef  HAVE_I386_SET_GDT
152
153 /* Defined if forced unwind support is available.  */
154 #undef  HAVE_FORCED_UNWIND
155
156 /* Defined of libidn is available.  */
157 #undef HAVE_LIBIDN
158
159 /* Define if inlined system calls are available.  */
160 #undef HAVE_INLINED_SYSCALLS
161
162 /* Define if your assembler and linker support R_PPC_REL16* relocs.  */
163 #undef HAVE_ASM_PPC_REL16
164
165 /* Define if your compiler defaults to -msecure-plt mode on ppc.  */
166 #undef HAVE_PPC_SECURE_PLT
167
168 /* Define if __stack_chk_guard canary should be randomized at program startup.  */
169 #undef ENABLE_STACKGUARD_RANDOMIZE
170
171 /* Define if multi-arch DSOs should be generated.  */
172 #undef USE_MULTIARCH
173
174 /* Define if `.ctors' and `.dtors' sections shouldn't be used.  */
175 #undef  NO_CTORS_DTORS_SECTIONS
176
177 /*
178 \f */
179
180 #ifndef _LIBC
181
182 /* These symbols might be defined by some sysdeps configures.
183    They are used only in miscellaneous generator programs, not
184    in compiling libc itself.   */
185
186 /* sysdeps/generic/configure.in */
187 #undef  HAVE_PSIGNAL
188
189 /* sysdeps/unix/configure.in */
190 #undef  HAVE_STRERROR
191
192 /* sysdeps/unix/common/configure.in */
193 #undef  HAVE_SYS_SIGLIST
194 #undef  HAVE__SYS_SIGLIST
195 #undef  HAVE__CTYPE_
196 #undef  HAVE___CTYPE_
197 #undef  HAVE___CTYPE
198 #undef  HAVE__CTYPE__
199 #undef  HAVE__CTYPE
200 #undef  HAVE__LOCP
201
202 #endif
203
204 /*
205 \f */
206
207 #ifdef  _LIBC
208
209 /* The zic and zdump programs need these definitions.  */
210
211 #define HAVE_STRERROR   1
212
213 /* The locale code needs these definitions.  */
214
215 #define HAVE_REGEX 1
216
217 #endif