diff options
author | Ian Lance Taylor <ian@airs.com> | 1996-08-07 18:23:08 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1996-08-07 18:23:08 +0000 |
commit | 5cece5267784495835c2fb2fb4141612d4c3c02b (patch) | |
tree | a7d7b04d6fca609aa19a2c99636365f51f327356 /gas/conf.in | |
parent | 85fe9d3e46ca45f86886f8baf9aa21fa6ec2ece7 (diff) | |
download | gdb-5cece5267784495835c2fb2fb4141612d4c3c02b.zip gdb-5cece5267784495835c2fb2fb4141612d4c3c02b.tar.gz gdb-5cece5267784495835c2fb2fb4141612d4c3c02b.tar.bz2 |
Wed Aug 7 14:19:03 1996 Philippe De Muyter <phdm@info.ucl.ac.be>
* configure.in: Make GAS_CHECK_DECL_NEEDED include <string.h> or
<strings.h> if they exist. Call GAS_CHECK_DECL_NEEDED on strstr
and sbrk.
* acconfig.h (NEED_DECLARATION_STRSTR): New macro.
(NEED_DECLARATION_SBRK): New macro.
* configure, conf.in: Rebuild.
* as.h: Only include <strings.h> if HAVE_STRINGS_H.
(strstr): Declare if NEED_DECLARATION_STRSTR.
* as.c: If HAVE_SBRK and NEED_DECLARATION_SBRK, declare sbrk.
Diffstat (limited to 'gas/conf.in')
-rw-r--r-- | gas/conf.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gas/conf.in b/gas/conf.in index 5260c30..29288ba 100644 --- a/gas/conf.in +++ b/gas/conf.in @@ -44,12 +44,18 @@ #undef TARGET_OS #undef TARGET_VENDOR +/* Sometimes the system header files don't declare strstr. */ +#undef NEED_DECLARATION_STRSTR + /* Sometimes the system header files don't declare malloc and realloc. */ #undef NEED_DECLARATION_MALLOC /* Sometimes the system header files don't declare free. */ #undef NEED_DECLARATION_FREE +/* Sometimes the system header files don't declare sbrk. */ +#undef NEED_DECLARATION_SBRK + /* Sometimes errno.h doesn't declare errno itself. */ #undef NEED_DECLARATION_ERRNO |