Remove .weak, .weakext configure tests.
[platform/upstream/glibc.git] / config.h.in
1 #if !defined IS_IN_build && !defined __ASSEMBLER__ && !defined _ISOMAC \
2     && !defined __OPTIMIZE__
3 # error "glibc cannot be compiled without optimization"
4 #endif
5
6 /* Another evil option when it comes to compiling the C library is
7    --ffast-math since it alters the ABI.  */
8 #if defined __FAST_MATH__ && !defined TEST_FAST_MATH
9 # error "glibc must not be compiled with -ffast-math"
10 #endif
11
12 /* Define if building with SELinux support.  Set by --with-selinux.  */
13 #undef  HAVE_SELINUX
14
15 /* Defined if building with SELinux support & audit libs are detected. */
16 #undef  HAVE_LIBAUDIT
17
18 /* Defined if building with SELinux support & libcap libs are detected.  */
19 #undef  HAVE_LIBCAP
20
21 /* Define to the assembler line separator character for multiple
22    assembler instructions per line.  Default is `;'  */
23 #undef ASM_LINE_SEP
24
25 /* Define if __attribute__((section("foo"))) puts quotes around foo.  */
26 #undef  HAVE_SECTION_QUOTES
27
28 /* Define if the assembler supports the `.set' directive.  */
29 #undef  HAVE_ASM_SET_DIRECTIVE
30
31 /* Define if the assembler supports the gnu_unique_object symbol type.  */
32 #undef  HAVE_ASM_UNIQUE_OBJECT
33
34 /* On powerpc64, use overlapping .opd entries.  */
35 #undef  USE_PPC64_OVERLAPPING_OPD
36
37 /* Define if _Unwind_Find_FDE should be exported from glibc.  */
38 #undef  EXPORT_UNWIND_FIND_FDE
39
40 /* Define if static NSS modules are wanted.  */
41 #undef  DO_STATIC_NSS
42
43 /* Define if the compiler supports __builtin_memset.  */
44 #undef  HAVE_BUILTIN_MEMSET
45
46 /* Define if compiler accepts -ftree-loop-distribute-patterns.  */
47 #undef  HAVE_CC_INHIBIT_LOOP_TO_LIBCALL
48
49 /* Define if the regparm attribute shall be used for local functions
50    (gcc on ix86 only).  */
51 #undef  USE_REGPARMS
52
53 /* Defined on SPARC if GCC emits GOTDATA relocations.  */
54 #undef  HAVE_GCC_GOTDATA
55
56 /* Define on SPARC if AS supports VIS3 instructions.  */
57 #undef  HAVE_AS_VIS3_SUPPORT
58
59 /* Define if the linker supports the -z combreloc option.  */
60 #undef  HAVE_Z_COMBRELOC
61
62 /* Define if _rtld_local structure should be forced into .sdata section.  */
63 #undef  HAVE_SDATA_SECTION
64
65 /* Define if compiler supports AVX512.  */
66 #undef  HAVE_AVX512_SUPPORT
67
68 /* Define if assembler supports AVX512.  */
69 #undef  HAVE_AVX512_ASM_SUPPORT
70
71 /* Define if assembler supports vector instructions on S390.  */
72 #undef  HAVE_S390_VX_ASM_SUPPORT
73
74 /* Define if assembler supports Intel MPX.  */
75 #undef  HAVE_MPX_SUPPORT
76
77 /* Define if gcc supports AVX2.  */
78 #undef  HAVE_AVX2_SUPPORT
79
80 /* Define if the compiler\'s exception support is based on libunwind.  */
81 #undef  HAVE_CC_WITH_LIBUNWIND
82
83 /* Define if the access to static and hidden variables is position independent
84    and does not need relocations.  */
85 #undef  PI_STATIC_AND_HIDDEN
86
87 /* Define this to disable the 'hidden_proto' et al macros in
88    include/libc-symbols.h that avoid PLT slots in the shared objects.  */
89 #undef  NO_HIDDEN
90
91 /* AArch64 big endian ABI */
92 #undef HAVE_AARCH64_BE
93
94
95 /* Defined to some form of __attribute__ ((...)) if the compiler supports
96    a different, more efficient calling convention.  */
97 #if defined USE_REGPARMS && !defined PROF
98 # define internal_function __attribute__ ((regparm (3), stdcall))
99 #endif
100
101 /* Linux specific: minimum supported kernel version.  */
102 #undef  __LINUX_KERNEL_VERSION
103
104 /* Override abi-tags ABI version if necessary.  */
105 #undef  __ABI_TAG_VERSION
106
107 /* bash 2.0 introduced the _XXX_GNU_nonoption_argv_flags_ variable to help
108    getopt determine whether a parameter is a flag or not.  This features
109    was disabled later since it caused trouble.  We are by default therefore
110    disabling the support as well.  */
111 #undef USE_NONOPTION_FLAGS
112
113 /* Mach/Hurd specific: define if mig supports the `retcode' keyword.  */
114 #undef  HAVE_MIG_RETCODE
115
116 /* Mach specific: define if the `host_page_size' RPC is available.  */
117 #undef  HAVE_HOST_PAGE_SIZE
118
119 /* Mach/i386 specific: define if the `i386_io_perm_*' RPCs are available.  */
120 #undef  HAVE_I386_IO_PERM_MODIFY
121
122 /* Mach/i386 specific: define if the `i386_set_gdt' RPC is available.  */
123 #undef  HAVE_I386_SET_GDT
124
125 /* Defined if forced unwind support is available.  */
126 #undef  HAVE_FORCED_UNWIND
127
128 /* Defined of libidn is available.  */
129 #undef HAVE_LIBIDN
130
131 /* Define if inlined system calls are available.  */
132 #undef HAVE_INLINED_SYSCALLS
133
134 /* Define if your compiler defaults to -msecure-plt mode on ppc.  */
135 #undef HAVE_PPC_SECURE_PLT
136
137 /* Define if __stack_chk_guard canary should be randomized at program startup.  */
138 #undef ENABLE_STACKGUARD_RANDOMIZE
139
140 /* Define if lock elision should be enabled by default.  */
141 #undef ENABLE_LOCK_ELISION
142
143 /* Package description.  */
144 #undef PKGVERSION
145
146 /* Bug reporting address.  */
147 #undef REPORT_BUGS_TO
148
149 /* Define if multi-arch DSOs should be generated.  */
150 #undef USE_MULTIARCH
151
152 /* Define if `.ctors' and `.dtors' sections shouldn't be used.  */
153 #undef  NO_CTORS_DTORS_SECTIONS
154
155 /* Define if obsolete RPC code should be made available for user-level code
156    to link against.  */
157 #undef LINK_OBSOLETE_RPC
158
159 /* Define if Systemtap <sys/sdt.h> probes should be defined.  */
160 #undef USE_STAP_PROBE
161
162 /* Define if library functions should try to contact the nscd daemon.  */
163 #undef USE_NSCD
164
165 /* Define if the dynamic linker should consult an ld.so.cache file.  */
166 #undef USE_LDCONFIG
167
168 /* Define to 1 if STT_GNU_IFUNC support actually works.  */
169 #define HAVE_IFUNC 0
170
171 /* Define if linux/fanotify.h is available.  */
172 #undef HAVE_LINUX_FANOTIFY_H
173
174 /* Define if the linker defines __ehdr_start.  */
175 #undef HAVE_EHDR_START
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.ac */
187 #undef  HAVE_PSIGNAL
188
189 /* sysdeps/unix/configure.ac */
190 #undef  HAVE_STRERROR
191
192 /* sysdeps/unix/common/configure.ac */
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 /* The ARM hard-float ABI is being used.  */
218 #undef HAVE_ARM_PCS_VFP
219
220 /* The ARM movw/movt instructions using PC-relative relocs work right.  */
221 #define ARM_PCREL_MOVW_OK 0
222
223 /* The pt_chown binary is being built and used by grantpt.  */
224 #define HAVE_PT_CHOWN 0
225
226 /* Define if the compiler supports __builtin_trap without
227    any external dependencies such as making a function call.  */
228 #define HAVE_BUILTIN_TRAP 0
229
230 /* ports/sysdeps/mips/configure.in  */
231 /* Define if using the IEEE 754-2008 NaN encoding on the MIPS target.  */
232 #undef HAVE_MIPS_NAN2008
233
234 /* The PowerPC64 ELFv2 ABI is being used.  */
235 #undef HAVE_ELFV2_ABI
236
237 /* PowerPC32 uses fcfid for integer to floating point conversions.  */
238 #define HAVE_PPC_FCFID 0
239
240 /* PowerPC32 uses fctidz for floating point to long long conversions.  */
241 #define HAVE_PPC_FCTIDZ 0
242
243 #endif