nis: Fix leak on realloc failure in nis_getnames [BZ #28150]
[glibc.git] / config.h.in
blob8b45a3a61d774714709eac2c014a9ae4457bcdc4
1 /* Define if building with SELinux support. Set by --with-selinux. */
2 #undef HAVE_SELINUX
4 /* Defined if building with SELinux support & audit libs are detected. */
5 #undef HAVE_LIBAUDIT
7 /* Defined if building with SELinux support & libcap libs are detected. */
8 #undef HAVE_LIBCAP
10 /* Define to the assembler line separator character for multiple
11 assembler instructions per line. Default is `;' */
12 #undef ASM_LINE_SEP
14 /* Define if __attribute__((section("foo"))) puts quotes around foo. */
15 #undef HAVE_SECTION_QUOTES
17 /* Define if the assembler supports the `.set' directive. */
18 #undef HAVE_ASM_SET_DIRECTIVE
20 /* On powerpc64, use overlapping .opd entries. */
21 #undef USE_PPC64_OVERLAPPING_OPD
23 /* On powerpc64, use @notoc. */
24 #undef USE_PPC64_NOTOC
26 /* On powerpc64, define if the compiler supports -mcpu=power10. */
27 #undef USE_PPC64_MCPU_POWER10
29 /* On powerpc*, define if scv should be used for syscalls (when available). */
30 #undef USE_PPC_SCV
32 /* Define if _Unwind_Find_FDE should be exported from glibc. */
33 #undef EXPORT_UNWIND_FIND_FDE
35 /* Define if static NSS modules are wanted. */
36 #undef DO_STATIC_NSS
38 /* Assume that the compiler supports __builtin_expect.
39 This macro is necessary for proper compilation of code
40 shared between GNU libc and GNU gettext projects. */
41 #define HAVE_BUILTIN_EXPECT 1
43 /* Define if the compiler supports __builtin_memset. */
44 #undef HAVE_BUILTIN_MEMSET
46 /* Define if compiler accepts -ftree-loop-distribute-patterns. */
47 #undef HAVE_CC_INHIBIT_LOOP_TO_LIBCALL
49 /* Define if compiler accepts -fno-stack-protector in an
50 __attribute__ ((__optimize__)). */
51 #undef HAVE_CC_NO_STACK_PROTECTOR
53 /* The level of stack protection in use for glibc as a whole.
54 May be overridden on a file-by-file basis. */
55 #ifndef STACK_PROTECTOR_LEVEL
56 #undef STACK_PROTECTOR_LEVEL
57 #endif
59 /* Define if the linker supports the -z combreloc option. */
60 #undef HAVE_Z_COMBRELOC
62 /* Define if _rtld_local structure should be forced into .sdata section. */
63 #undef HAVE_SDATA_SECTION
65 /* Define if compiler supports AVX512. */
66 #undef HAVE_AVX512_SUPPORT
68 /* Define if assembler supports AVX512DQ. */
69 #undef HAVE_AVX512DQ_ASM_SUPPORT
71 /* Define if assembler supports z10 zarch instructions as default on S390. */
72 #undef HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT
74 /* Define if assembler supports z196 zarch instructions as default on S390. */
75 #undef HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT
77 /* Define if assembler supports z13 zarch instructions as default on S390. */
78 #undef HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT
80 /* Define if assembler supports arch13 zarch instruction as default on S390. */
81 #undef HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT
83 /* Define if assembler supports vector instructions on S390. */
84 #undef HAVE_S390_VX_ASM_SUPPORT
86 /* Define if gcc supports vector registers as clobbers in inline assembly
87 on S390. */
88 #undef HAVE_S390_VX_GCC_SUPPORT
90 /* Define if assembler supports arch13 instructions on S390. */
91 #undef HAVE_S390_ARCH13_ASM_SUPPORT
93 /* Define if assembler supports Intel MPX. */
94 #undef HAVE_MPX_SUPPORT
96 /* Define if the compiler\'s exception support is based on libunwind. */
97 #undef HAVE_CC_WITH_LIBUNWIND
99 /* Define if the access to static and hidden variables is position independent
100 and does not need relocations. */
101 #undef PI_STATIC_AND_HIDDEN
103 /* Define this to disable the 'hidden_proto' et al macros in
104 include/libc-symbols.h that avoid PLT slots in PIE. */
105 #undef NO_HIDDEN_EXTERN_FUNC_IN_PIE
107 /* Define this to disable the 'hidden_proto' et al macros in
108 include/libc-symbols.h that avoid PLT slots in the shared objects. */
109 #undef NO_HIDDEN
111 /* Define this to disable in rtld the 'hidden_proto' et al macros in
112 include/libc-symbols.h that avoid PLT slots in the shared objects. */
113 #undef NO_RTLD_HIDDEN
115 /* Define this to disable lazy relocations in DSOs. */
116 #undef BIND_NOW
118 /* AArch64 big endian ABI */
119 #undef HAVE_AARCH64_BE
121 /* AArch64 BTI support enabled. */
122 #define HAVE_AARCH64_BTI 0
124 /* AArch64 PAC-RET code generation is enabled. */
125 #define HAVE_AARCH64_PAC_RET 0
127 /* Assembler support ARMv8.2-A SVE.
128 This macro becomes obsolete when glibc increased the minimum
129 required version of GNU 'binutils' to 2.28 or later. */
130 #define HAVE_AARCH64_SVE_ASM 0
132 /* ARC big endian ABI */
133 #undef HAVE_ARC_BE
135 /* C-SKY ABI version. */
136 #undef CSKYABI
138 /* C-SKY floating-point ABI. */
139 #undef CSKY_HARD_FLOAT
141 /* RISC-V integer ABI for ld.so. */
142 #undef RISCV_ABI_XLEN
144 /* RISC-V floating-point ABI for ld.so. */
145 #undef RISCV_ABI_FLEN
147 /* Linux specific: minimum supported kernel version. */
148 #undef __LINUX_KERNEL_VERSION
150 /* Override abi-tags ABI version if necessary. */
151 #undef __ABI_TAG_VERSION
153 /* Mach/Hurd specific: define if mig supports the `retcode' keyword. */
154 #undef HAVE_MIG_RETCODE
156 /* Mach specific: define if the `host_page_size' RPC is available. */
157 #undef HAVE_HOST_PAGE_SIZE
159 /* Mach/i386 specific: define if the `i386_io_perm_*' RPCs are available. */
160 #undef HAVE_I386_IO_PERM_MODIFY
162 /* Mach/i386 specific: define if the `i386_set_gdt' RPC is available. */
163 #undef HAVE_I386_SET_GDT
165 /* Define if inlined system calls are available. */
166 #undef HAVE_INLINED_SYSCALLS
168 /* Define if your compiler defaults to -msecure-plt mode on ppc. */
169 #undef HAVE_PPC_SECURE_PLT
171 /* Define if memory tagging support should be enabled. */
172 #undef USE_MTAG
174 /* Package description. */
175 #undef PKGVERSION
177 /* Bug reporting address. */
178 #undef REPORT_BUGS_TO
180 /* Define if multi-arch DSOs should be generated. */
181 #undef USE_MULTIARCH
183 /* Define if Systemtap <sys/sdt.h> probes should be defined. */
184 #undef USE_STAP_PROBE
186 /* Define if library functions should try to contact the nscd daemon. */
187 #undef USE_NSCD
189 /* Define if the dynamic linker should consult an ld.so.cache file. */
190 #undef USE_LDCONFIG
192 /* Define to 1 if STT_GNU_IFUNC support actually works. */
193 #define HAVE_IFUNC 0
195 /* Define if gcc supports attribute ifunc. */
196 #undef HAVE_GCC_IFUNC
198 /* Define if CC supports attribute retain. */
199 #undef HAVE_GNU_RETAIN
201 /* Define if the linker defines __ehdr_start. */
202 #undef HAVE_EHDR_START
204 /* Define to 1 if the assembler needs intermediate aliases to define
205 multiple symbol versions for one symbol. */
206 #define SYMVER_NEEDS_ALIAS 0
208 /* Define to 1 if libpthread actually resides in libc. */
209 #define PTHREAD_IN_LIBC 0
212 \f */
214 #ifndef _LIBC
216 /* These symbols might be defined by some sysdeps configures.
217 They are used only in miscellaneous generator programs, not
218 in compiling libc itself. */
220 /* sysdeps/generic/configure.ac */
221 #undef HAVE_PSIGNAL
223 /* sysdeps/unix/configure.ac */
224 #undef HAVE_STRERROR
226 /* sysdeps/unix/common/configure.ac */
227 #undef HAVE_SYS_SIGLIST
228 #undef HAVE__SYS_SIGLIST
229 #undef HAVE__CTYPE_
230 #undef HAVE___CTYPE_
231 #undef HAVE___CTYPE
232 #undef HAVE__CTYPE__
233 #undef HAVE__CTYPE
234 #undef HAVE__LOCP
236 #endif
239 \f */
241 #ifdef _LIBC
243 /* The zic and zdump programs need these definitions. */
245 #define HAVE_STRERROR 1
247 /* The locale code needs these definitions. */
249 #define HAVE_REGEX 1
251 /* The ARM hard-float ABI is being used. */
252 #undef HAVE_ARM_PCS_VFP
254 /* The ARM movw/movt instructions using PC-relative relocs work right. */
255 #define ARM_PCREL_MOVW_OK 0
257 /* The pt_chown binary is being built and used by grantpt. */
258 #define HAVE_PT_CHOWN 0
260 /* Define if the compiler supports __builtin_trap without
261 any external dependencies such as making a function call. */
262 #define HAVE_BUILTIN_TRAP 0
264 /* ports/sysdeps/mips/configure.in */
265 /* Define if using the IEEE 754-2008 NaN encoding on the MIPS target. */
266 #undef HAVE_MIPS_NAN2008
268 /* The PowerPC64 ELFv2 ABI is being used. */
269 #undef HAVE_ELFV2_ABI
271 /* PowerPC32 uses fcfid for integer to floating point conversions. */
272 #define HAVE_PPC_FCFID 0
274 /* PowerPC32 uses fctidz for floating point to long long conversions. */
275 #define HAVE_PPC_FCTIDZ 0
277 /* Build glibc with tunables support. */
278 #define HAVE_TUNABLES 0
280 /* Define if static PIE is supported. */
281 #undef SUPPORT_STATIC_PIE
283 /* Define if static PIE is enabled. */
284 #define ENABLE_STATIC_PIE 0
286 /* Some compiler options may now allow to use ebp in __asm__ (used mainly
287 in i386 6 argument syscall issue). */
288 #define CAN_USE_REGISTER_ASM_EBP 0
290 /* The default value of x86 CET control. */
291 #define DEFAULT_DL_X86_CET_CONTROL cet_elf_property
293 /* Define if x86 ISA level should be included in shared libraries. */
294 #undef INCLUDE_X86_ISA_LEVEL
296 /* Define if -msahf is enabled by default on x86. */
297 #undef HAVE_X86_LAHF_SAHF
299 /* Define if -mmovbe is enabled by default on x86. */
300 #undef HAVE_X86_MOVBE
302 #endif