X-Git-Url: http://git.csclub.uwaterloo.ca/?p=kopensolaris-gnu%2Fglibc.git;a=blobdiff_plain;f=config.h.in;h=390b2285294d9fd3eac947e3c2dff6f2dd8c343e;hp=f3a096983a9461db2d5f8ebece4a6e000aa9e5c4;hb=1b0cbd16be088ee0236143fdaa2233fc74afa71d;hpb=fb3d7ca8426077f2fb96d877551833b15db1dfb8 diff --git a/config.h.in b/config.h.in index f3a096983a..390b228529 100644 --- a/config.h.in +++ b/config.h.in @@ -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 @@ -17,18 +27,43 @@ /* Define if the assembler supports the `.set' directive. */ #undef HAVE_ASM_SET_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 -/* */ -/* These symbols might be defined by some sysdeps configures. */ +/* Define to the name of the assembler's directive for + declaring a symbol global (default `.globl'). */ +#undef ASM_GLOBAL_DIRECTIVE + +/* Define to use GNU libio instead of GNU stdio. + This is defined by configure under --enable-libio. */ +#undef USE_IN_LIBIO + +/* Define if using ELF and the assembler supports the `.previous' + directive. */ +#undef HAVE_ASM_PREVIOUS_DIRECTIVE + +/* Define if using ELF and the assembler supports the `.popsection' + directive. */ +#undef HAVE_ASM_POPSECTION_DIRECTIVE + +/* Define if versioning of the library is wanted. */ +#undef DO_VERSIONING + +/* Define if static NSS modules are wanted. */ +#undef DO_STATIC_NSS + +/* + */ + +#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 @@ -38,3 +73,20 @@ #undef HAVE__CTYPE__ #undef HAVE__CTYPE #undef HAVE__LOCP + +#endif + +/* + */ + +#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