Distinguish anonymous mmap.
[glibc.git] / config.h.in
blobddb7357aad34701127189acac1073207991674f1
1 #if !defined ASSEMBLER && !defined _ISOMAC && !defined __OPTIMIZE__
2 # error "glibc cannot be compiled without optimization"
3 #endif
5 /* Define if using GNU ld, with support for weak symbols in a.out,
6 and for symbol set and warning messages extensions in a.out and ELF.
7 This implies HAVE_WEAK_SYMBOLS; set by --with-gnu-ld. */
8 #undef HAVE_GNU_LD
10 /* Define if using ELF, which supports weak symbols.
11 This implies HAVE_ASM_WEAK_DIRECTIVE and NO_UNDERSCORES; set by
12 --with-elf. */
13 #undef HAVE_ELF
15 /* Define if using XCOFF. Set by --with-xcoff. */
16 #undef HAVE_XCOFF
18 /* Define if C symbols are asm symbols. Don't define if C symbols
19 have a `_' prepended to make the asm symbol. */
20 #undef NO_UNDERSCORES
22 /* Define if weak symbols are available via the `.weak' directive. */
23 #undef HAVE_ASM_WEAK_DIRECTIVE
25 /* Define if weak symbols are available via the `.weakext' directive. */
26 #undef HAVE_ASM_WEAKEXT_DIRECTIVE
28 /* Define to the assembler line separator character for multiple
29 assembler instructions per line. Default is `;' */
30 #undef ASM_LINE_SEP
32 /* Define if not using ELF, but `.init' and `.fini' sections are available. */
33 #undef HAVE_INITFINI
35 /* Define if __attribute__((section("foo"))) puts quotes around foo. */
36 #undef HAVE_SECTION_QUOTES
38 /* Define if using the GNU assembler, gas. */
39 #undef HAVE_GNU_AS
41 /* Define if the assembler supports the `.set' directive. */
42 #undef HAVE_ASM_SET_DIRECTIVE
44 /* Define to the name of the assembler's directive for
45 declaring a symbol global (default `.globl'). */
46 #undef ASM_GLOBAL_DIRECTIVE
48 /* Define a symbol_name as a global .symbol_name for ld. */
49 #undef HAVE_ASM_GLOBAL_DOT_NAME
51 /* Define if _Unwind_Find_FDE should be exported from glibc. */
52 #undef EXPORT_UNWIND_FIND_FDE
54 /* Define to use GNU libio instead of GNU stdio.
55 This is defined by configure under --enable-libio. */
56 #undef USE_IN_LIBIO
58 /* Define if using ELF and the assembler supports the `.previous'
59 directive. */
60 #undef HAVE_ASM_PREVIOUS_DIRECTIVE
62 /* Define if using ELF and the assembler supports the `.popsection'
63 directive. */
64 #undef HAVE_ASM_POPSECTION_DIRECTIVE
66 /* Define to the prefix Alpha/ELF GCC emits before ..ng symbols. */
67 #undef ASM_ALPHA_NG_SYMBOL_PREFIX
69 /* Define if versioning of the library is wanted. */
70 #undef DO_VERSIONING
72 /* Defined to the oldest ABI we support, like 2.1. */
73 #undef GLIBC_OLDEST_ABI
75 /* Define if static NSS modules are wanted. */
76 #undef DO_STATIC_NSS
78 /* Define if gcc uses DWARF2 unwind information for exception support. */
79 #undef HAVE_DWARF2_UNWIND_INFO
81 /* Define if gcc uses DWARF2 unwind information for exception support
82 with static variable. */
83 #undef HAVE_DWARF2_UNWIND_INFO_STATIC
85 /* Define if the compiler supports __builtin_expect. */
86 #undef HAVE_BUILTIN_EXPECT
88 /* Define if the compiler supports __builtin_memset. */
89 #undef HAVE_BUILTIN_MEMSET
91 /* Define if the regparm attribute shall be used for local functions
92 (gcc on ix86 only). */
93 #undef USE_REGPARMS
95 /* Defined on PowerPC if the GCC being used has a problem with clobbering
96 certain registers (CR0, MQ, CTR, LR) in asm statements. */
97 #undef BROKEN_PPC_ASM_CR0
99 /* Define if the linker supports the -z combreloc option. */
100 #undef HAVE_Z_COMBRELOC
102 /* Define if the assembler supported .protected. */
103 #undef HAVE_PROTECTED
105 /* Define if the compiler supports __attribute__ ((visibility (...))). */
106 #undef HAVE_VISIBILITY_ATTRIBUTE
108 /* Define if _rtld_local structure should be forced into .sdata section. */
109 #undef HAVE_SDATA_SECTION
111 /* Define if binutils support TLS handling. */
112 #undef HAVE_TLS_SUPPORT
114 /* Define if the linker supports .preinit_array/.init_array/.fini_array
115 sections. */
116 #undef HAVE_INITFINI_ARRAY
119 /* Defined to some form of __attribute__ ((...)) if the compiler supports
120 a different, more efficient calling convention. */
121 #if defined USE_REGPARMS && !defined PROF && !defined __BOUNDED_POINTERS__
122 # define internal_function __attribute__ ((regparm (3), stdcall))
123 #endif
125 /* Linux specific: minimum supported kernel version. */
126 #undef __LINUX_KERNEL_VERSION
128 /* Override abi-tags ABI version if necessary. */
129 #undef __ABI_TAG_VERSION
131 /* An extension in gcc 2.96 and up allows the subtraction of two
132 local labels. */
133 #undef HAVE_SUBTRACT_LOCAL_LABELS
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
141 /* Mach/Hurd specific: define if mig supports the `retcode' keyword. */
142 #undef HAVE_MIG_RETCODE
144 /* Mach specific: define if the `host_page_size' RPC is available. */
145 #undef HAVE_HOST_PAGE_SIZE
147 /* Mach/i386 specific: define if the `i386_io_perm_*' RPCs are available. */
148 #undef HAVE_I386_IO_PERM_MODIFY
150 /* Sparc64 specific: define if .dynamic section comes before .got for
151 shared libs. */
152 #undef SPARC64_DYNAMIC_BEFORE_GOT
155 \f */
157 #ifndef _LIBC
159 /* These symbols might be defined by some sysdeps configures.
160 They are used only in miscellaneous generator programs, not
161 in compiling libc itself. */
163 /* sysdeps/generic/configure.in */
164 #undef HAVE_PSIGNAL
166 /* sysdeps/unix/configure.in */
167 #undef HAVE_STRERROR
169 /* sysdeps/unix/common/configure.in */
170 #undef HAVE_SYS_SIGLIST
171 #undef HAVE__SYS_SIGLIST
172 #undef HAVE__CTYPE_
173 #undef HAVE___CTYPE_
174 #undef HAVE___CTYPE
175 #undef HAVE__CTYPE__
176 #undef HAVE__CTYPE
177 #undef HAVE__LOCP
179 #endif
182 \f */
184 #ifdef _LIBC
186 /* The zic and zdump programs need these definitions. */
188 #define HAVE_STRERROR 1
190 /* The locale code needs these definitions. */
192 #define HAVE_REGEX 1
194 #endif