diff options
Diffstat (limited to 'config.h.in')
-rw-r--r-- | config.h.in | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/config.h.in b/config.h.in index 5761db2c5c..504f77021e 100644 --- a/config.h.in +++ b/config.h.in @@ -13,6 +13,13 @@ /* Define if using the GNU assembler, gas. */ #undef HAVE_GNU_AS + +/* 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. */ |