summaryrefslogtreecommitdiff
path: root/gcc/acconfig.h
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-02-01 00:48:06 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-02-01 00:48:06 +0000
commit4211624c6e0e76c52556064555b396a756dd3f23 (patch)
tree3ce8146b54371c3e1f123fd38bfcb7b686a4b330 /gcc/acconfig.h
parent4697710cb659e2b71e40c915a1d90837a747e725 (diff)
downloadgcc-4211624c6e0e76c52556064555b396a756dd3f23.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17563 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/acconfig.h')
-rw-r--r--gcc/acconfig.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/acconfig.h b/gcc/acconfig.h
index b1640d85473..88da1088157 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