diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 1998-02-01 00:48:06 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1998-01-31 17:48:06 -0700 |
commit | a81fb89ebed2978466d24ea372dac5adc36337ec (patch) | |
tree | 3ce8146b54371c3e1f123fd38bfcb7b686a4b330 /gcc/acconfig.h | |
parent | f65a7138c4a7858f606aeaa17c6f7b6abd42d928 (diff) | |
download | gcc-a81fb89ebed2978466d24ea372dac5adc36337ec.zip gcc-a81fb89ebed2978466d24ea372dac5adc36337ec.tar.gz gcc-a81fb89ebed2978466d24ea372dac5adc36337ec.tar.bz2 |
aclocal.m4 (GCC_NEED_DECLARATION): Modify macro to accept a shell variable argument instead of only hard coded...
* aclocal.m4 (GCC_NEED_DECLARATION): Modify macro to accept a
shell variable argument instead of only hard coded functions.
(GCC_NEED_DECLARATIONS): New macro to accept multiple functions.
* configure.in: Collapse multiple calls to AC_CHECK_FUNCS into one
call. Collapse multiple calls to GCC_NEED_DECLARATION into one
call to GCC_NEED_DECLARATIONS (new macro.) Check if we need
declarations for bcopy, bcmp and bzero.
* acconfig.h: Add stubs for bcopy, bcmp and bzero declarations.
* gansidecl.h: If we have bcopy but don't declare it, then do so.
Likewise for bcmp and bzero. Only define macros for bcopy, bcmp,
bzero, index and rindex if they aren't already present.
From-SVN: r17563
Diffstat (limited to 'gcc/acconfig.h')
-rw-r--r-- | gcc/acconfig.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/acconfig.h b/gcc/acconfig.h index b1640d8..88da108 100644 --- a/gcc/acconfig.h +++ b/gcc/acconfig.h @@ -16,6 +16,15 @@ /* Whether free must be declared even if <stdlib.h> is included. */ #undef NEED_DECLARATION_FREE +/* Whether bcopy must be declared even if <string.h> is included. */ +#undef NEED_DECLARATION_BCOPY + +/* Whether bcmp must be declared even if <string.h> is included. */ +#undef NEED_DECLARATION_BCMP + +/* Whether bzero must be declared even if <string.h> is included. */ +#undef NEED_DECLARATION_BZERO + /* Whether index must be declared even if <string.h> is included. */ #undef NEED_DECLARATION_INDEX |