*** empty log message ***
[platform/upstream/glibc.git] / config.h.in
index 0b5a034..a02094a 100644 (file)
@@ -4,12 +4,22 @@
 #undef HAVE_GNU_LD
 
 /* Define if using ELF, which supports weak symbols.
-   This implies HAVE_WEAK_SYMBOLS; set by --with-elf.  */
+   This implies HAVE_ASM_WEAK_DIRECTIVE and NO_UNDERSCORES; set by
+   --with-elf.  */
 #undef HAVE_ELF
 
-/* Define if weak symbols are available in the assembler and
-   linker being used.  Set by --with-weak-symbols.  */
-#undef HAVE_WEAK_SYMBOLS
+/* Define if C symbols are asm symbols.  Don't define if C symbols
+   have a `_' prepended to make the asm symbol.  */
+#undef NO_UNDERSCORES
+
+/* Define if weak symbols are available via the `.weak' directive.  */
+#undef HAVE_ASM_WEAK_DIRECTIVE
+
+/* Define if weak symbols are available via the `.weakext' directive.  */
+#undef HAVE_ASM_WEAKEXT_DIRECTIVE
+
+/* Define if not using ELF, but `.init' and `.fini' sections are available.  */
+#undef HAVE_INITFINI
 
 /* Define if using the GNU assembler, gas.  */
 #undef HAVE_GNU_AS
    declaring a symbol global (default `.globl').  */
 #undef ASM_GLOBAL_DIRECTIVE
 
-/* ELF has weak symbols, and with GNU ld a.out does too.  */
-#ifndef HAVE_WEAK_SYMBOLS
-#if defined (HAVE_ELF) || defined (HAVE_GNU_LD)
-#define HAVE_WEAK_SYMBOLS
-#endif
-#endif
-/* \f */
-/* These symbols might be defined by some sysdeps configures.  */
+/* Define to use GNU libio instead of GNU stdio.
+   This is defined by configure under --enable-libio.  */
+#undef USE_IN_LIBIO
+
+/*
+\f */
+
+#ifndef        _LIBC
+
+/* These symbols might be defined by some sysdeps configures.
+   They are used only in miscellaneous generator programs, not
+   in compiling libc itself.   */
 
 /* sysdeps/generic/configure.in */
 #undef HAVE_PSIGNAL
 
+/* sysdeps/unix/configure.in */
+#undef HAVE_STRERROR
+
 /* sysdeps/unix/common/configure.in */
 #undef HAVE_SYS_SIGLIST
 #undef HAVE__SYS_SIGLIST
 #undef HAVE__CTYPE__
 #undef HAVE__CTYPE
 #undef HAVE__LOCP
+
+#endif
+
+/*
+\f */
+
+#ifdef _LIBC
+
+/* The zic and zdump programs need these definitions.  */
+
+#define        HAVE_STRERROR   1
+
+/* The locale code needs these definitions.  */
+
+#define HAVE_REGEX 1
+
+#endif