xf.li | bdd93d5 | 2023-05-12 07:10:14 -0700 | [diff] [blame] | 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 | /* On powerpc64, use overlapping .opd entries. */ |
| 32 | #undef USE_PPC64_OVERLAPPING_OPD |
| 33 | |
| 34 | /* Define if _Unwind_Find_FDE should be exported from glibc. */ |
| 35 | #undef EXPORT_UNWIND_FIND_FDE |
| 36 | |
| 37 | /* Define if static NSS modules are wanted. */ |
| 38 | #undef DO_STATIC_NSS |
| 39 | |
| 40 | /* Define if the compiler supports __builtin_memset. */ |
| 41 | #undef HAVE_BUILTIN_MEMSET |
| 42 | |
| 43 | /* Define if compiler accepts -ftree-loop-distribute-patterns. */ |
| 44 | #undef HAVE_CC_INHIBIT_LOOP_TO_LIBCALL |
| 45 | |
| 46 | /* Define if the regparm attribute shall be used for local functions |
| 47 | (gcc on ix86 only). */ |
| 48 | #undef USE_REGPARMS |
| 49 | |
| 50 | /* Defined on SPARC if GCC emits GOTDATA relocations. */ |
| 51 | #undef HAVE_GCC_GOTDATA |
| 52 | |
| 53 | /* Define on SPARC if AS supports VIS3 instructions. */ |
| 54 | #undef HAVE_AS_VIS3_SUPPORT |
| 55 | |
| 56 | /* Define if the linker supports the -z combreloc option. */ |
| 57 | #undef HAVE_Z_COMBRELOC |
| 58 | |
| 59 | /* Define if _rtld_local structure should be forced into .sdata section. */ |
| 60 | #undef HAVE_SDATA_SECTION |
| 61 | |
| 62 | /* Define if compiler supports AVX512. */ |
| 63 | #undef HAVE_AVX512_SUPPORT |
| 64 | |
| 65 | /* Define if assembler supports AVX512. */ |
| 66 | #undef HAVE_AVX512_ASM_SUPPORT |
| 67 | |
| 68 | /* Define if assembler supports vector instructions on S390. */ |
| 69 | #undef HAVE_S390_VX_ASM_SUPPORT |
| 70 | |
| 71 | /* Define if assembler supports Intel MPX. */ |
| 72 | #undef HAVE_MPX_SUPPORT |
| 73 | |
| 74 | /* Define if the compiler\'s exception support is based on libunwind. */ |
| 75 | #undef HAVE_CC_WITH_LIBUNWIND |
| 76 | |
| 77 | /* Define if the access to static and hidden variables is position independent |
| 78 | and does not need relocations. */ |
| 79 | #undef PI_STATIC_AND_HIDDEN |
| 80 | |
| 81 | /* Define this to disable the 'hidden_proto' et al macros in |
| 82 | include/libc-symbols.h that avoid PLT slots in the shared objects. */ |
| 83 | #undef NO_HIDDEN |
| 84 | |
| 85 | /* AArch64 big endian ABI */ |
| 86 | #undef HAVE_AARCH64_BE |
| 87 | |
| 88 | |
| 89 | /* Defined to some form of __attribute__ ((...)) if the compiler supports |
| 90 | a different, more efficient calling convention. */ |
| 91 | #if defined USE_REGPARMS && !defined PROF |
| 92 | # define internal_function __attribute__ ((regparm (3), stdcall)) |
| 93 | #endif |
| 94 | |
| 95 | /* Linux specific: minimum supported kernel version. */ |
| 96 | #undef __LINUX_KERNEL_VERSION |
| 97 | |
| 98 | /* Override abi-tags ABI version if necessary. */ |
| 99 | #undef __ABI_TAG_VERSION |
| 100 | |
| 101 | /* bash 2.0 introduced the _XXX_GNU_nonoption_argv_flags_ variable to help |
| 102 | getopt determine whether a parameter is a flag or not. This features |
| 103 | was disabled later since it caused trouble. We are by default therefore |
| 104 | disabling the support as well. */ |
| 105 | #undef USE_NONOPTION_FLAGS |
| 106 | |
| 107 | /* Mach/Hurd specific: define if mig supports the `retcode' keyword. */ |
| 108 | #undef HAVE_MIG_RETCODE |
| 109 | |
| 110 | /* Mach specific: define if the `host_page_size' RPC is available. */ |
| 111 | #undef HAVE_HOST_PAGE_SIZE |
| 112 | |
| 113 | /* Mach/i386 specific: define if the `i386_io_perm_*' RPCs are available. */ |
| 114 | #undef HAVE_I386_IO_PERM_MODIFY |
| 115 | |
| 116 | /* Mach/i386 specific: define if the `i386_set_gdt' RPC is available. */ |
| 117 | #undef HAVE_I386_SET_GDT |
| 118 | |
| 119 | /* Defined of libidn is available. */ |
| 120 | #undef HAVE_LIBIDN |
| 121 | |
| 122 | /* Define if inlined system calls are available. */ |
| 123 | #undef HAVE_INLINED_SYSCALLS |
| 124 | |
| 125 | /* Define if your compiler defaults to -msecure-plt mode on ppc. */ |
| 126 | #undef HAVE_PPC_SECURE_PLT |
| 127 | |
| 128 | /* Define if __stack_chk_guard canary should be randomized at program startup. */ |
| 129 | #undef ENABLE_STACKGUARD_RANDOMIZE |
| 130 | |
| 131 | /* Define if lock elision should be enabled by default. */ |
| 132 | #undef ENABLE_LOCK_ELISION |
| 133 | |
| 134 | /* Package description. */ |
| 135 | #undef PKGVERSION |
| 136 | |
| 137 | /* Bug reporting address. */ |
| 138 | #undef REPORT_BUGS_TO |
| 139 | |
| 140 | /* Define if multi-arch DSOs should be generated. */ |
| 141 | #undef USE_MULTIARCH |
| 142 | |
| 143 | /* Define if `.ctors' and `.dtors' sections shouldn't be used. */ |
| 144 | #undef NO_CTORS_DTORS_SECTIONS |
| 145 | |
| 146 | /* Define if obsolete RPC code should be made available for user-level code |
| 147 | to link against. */ |
| 148 | #undef LINK_OBSOLETE_RPC |
| 149 | |
| 150 | /* Define if Systemtap <sys/sdt.h> probes should be defined. */ |
| 151 | #undef USE_STAP_PROBE |
| 152 | |
| 153 | /* Define if library functions should try to contact the nscd daemon. */ |
| 154 | #undef USE_NSCD |
| 155 | |
| 156 | /* Define if the dynamic linker should consult an ld.so.cache file. */ |
| 157 | #undef USE_LDCONFIG |
| 158 | |
| 159 | /* Define to 1 if STT_GNU_IFUNC support actually works. */ |
| 160 | #define HAVE_IFUNC 0 |
| 161 | |
| 162 | /* Define if linux/fanotify.h is available. */ |
| 163 | #undef HAVE_LINUX_FANOTIFY_H |
| 164 | |
| 165 | /* Define if the linker defines __ehdr_start. */ |
| 166 | #undef HAVE_EHDR_START |
| 167 | |
| 168 | /* |
| 169 | */ |
| 170 | |
| 171 | #ifndef _LIBC |
| 172 | |
| 173 | /* These symbols might be defined by some sysdeps configures. |
| 174 | They are used only in miscellaneous generator programs, not |
| 175 | in compiling libc itself. */ |
| 176 | |
| 177 | /* sysdeps/generic/configure.ac */ |
| 178 | #undef HAVE_PSIGNAL |
| 179 | |
| 180 | /* sysdeps/unix/configure.ac */ |
| 181 | #undef HAVE_STRERROR |
| 182 | |
| 183 | /* sysdeps/unix/common/configure.ac */ |
| 184 | #undef HAVE_SYS_SIGLIST |
| 185 | #undef HAVE__SYS_SIGLIST |
| 186 | #undef HAVE__CTYPE_ |
| 187 | #undef HAVE___CTYPE_ |
| 188 | #undef HAVE___CTYPE |
| 189 | #undef HAVE__CTYPE__ |
| 190 | #undef HAVE__CTYPE |
| 191 | #undef HAVE__LOCP |
| 192 | |
| 193 | #endif |
| 194 | |
| 195 | /* |
| 196 | */ |
| 197 | |
| 198 | #ifdef _LIBC |
| 199 | |
| 200 | /* The zic and zdump programs need these definitions. */ |
| 201 | |
| 202 | #define HAVE_STRERROR 1 |
| 203 | |
| 204 | /* The locale code needs these definitions. */ |
| 205 | |
| 206 | #define HAVE_REGEX 1 |
| 207 | |
| 208 | /* The ARM hard-float ABI is being used. */ |
| 209 | #undef HAVE_ARM_PCS_VFP |
| 210 | |
| 211 | /* The ARM movw/movt instructions using PC-relative relocs work right. */ |
| 212 | #define ARM_PCREL_MOVW_OK 0 |
| 213 | |
| 214 | /* The pt_chown binary is being built and used by grantpt. */ |
| 215 | #define HAVE_PT_CHOWN 0 |
| 216 | |
| 217 | /* Define if the compiler supports __builtin_trap without |
| 218 | any external dependencies such as making a function call. */ |
| 219 | #define HAVE_BUILTIN_TRAP 0 |
| 220 | |
| 221 | /* ports/sysdeps/mips/configure.in */ |
| 222 | /* Define if using the IEEE 754-2008 NaN encoding on the MIPS target. */ |
| 223 | #undef HAVE_MIPS_NAN2008 |
| 224 | |
| 225 | /* The PowerPC64 ELFv2 ABI is being used. */ |
| 226 | #undef HAVE_ELFV2_ABI |
| 227 | |
| 228 | /* PowerPC32 uses fcfid for integer to floating point conversions. */ |
| 229 | #define HAVE_PPC_FCFID 0 |
| 230 | |
| 231 | /* PowerPC32 uses fctidz for floating point to long long conversions. */ |
| 232 | #define HAVE_PPC_FCTIDZ 0 |
| 233 | |
| 234 | #endif |