summaryrefslogtreecommitdiff
path: root/gcc/config.in
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2000-05-23 17:42:19 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2000-05-23 17:42:19 +0000
commit07c927cb9ef632d1c55c3a87d4c1e9e41ab299ef (patch)
tree2d8c701cdb99568d7922c37d21a7fda0f8ea9913 /gcc/config.in
parente8f79093d0b9c14a499799f2ee0d8479931e8b43 (diff)
downloadgcc-07c927cb9ef632d1c55c3a87d4c1e9e41ab299ef.tar.gz
include:
* getopt.h (getopt): Also check HAVE_DECL_* when prototyping. * libiberty.h (basename): Likewise. gcc: * aclocal.m4 (gcc_AC_CHECK_DECL, gcc_AC_CHECK_DECLS): New macros rewritten from the internals of gcc_AC_NEED_DECLARATION{S}. * configure.in (gcc_AC_CHECK_DECLS): Call this instead of gcc_AC_NEED_DECLARATIONS. * dwarfout.c: Don't prototype time(). * gcc.c: Check HAVE_DECL_* instead of NEED_DECLARATION_*. * system.h: Likewise. * toplev.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34108 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config.in')
-rw-r--r--gcc/config.in102
1 files changed, 54 insertions, 48 deletions
diff --git a/gcc/config.in b/gcc/config.in
index 7efeda99654..6ef6a43ac37 100644
--- a/gcc/config.in
+++ b/gcc/config.in
@@ -316,77 +316,83 @@
/* Define if read-only mmap of a plain file works. */
#undef HAVE_MMAP_FILE
-/* Define if you need to provide a declaration for this function. */
-#undef NEED_DECLARATION_BCOPY
+/* Define to 1 if we found this declaration otherwise define to 0. */
+#undef HAVE_DECL_BCOPY
-/* Define if you need to provide a declaration for this function. */
-#undef NEED_DECLARATION_BZERO
+/* Define to 1 if we found this declaration otherwise define to 0. */
+#undef HAVE_DECL_BZERO
-/* Define if you need to provide a declaration for this function. */
-#undef NEED_DECLARATION_BCMP
+/* Define to 1 if we found this declaration otherwise define to 0. */
+#undef HAVE_DECL_BCMP
-/* Define if you need to provide a declaration for this function. */
-#undef NEED_DECLARATION_INDEX
+/* Define to 1 if we found this declaration otherwise define to 0. */
+#undef HAVE_DECL_INDEX
-/* Define if you need to provide a declaration for this function. */
-#undef NEED_DECLARATION_RINDEX
+/* Define to 1 if we found this declaration otherwise define to 0. */
+#undef HAVE_DECL_RINDEX
-/* Define if you need to provide a declaration for this function. */
-#undef NEED_DECLARATION_GETENV
+/* Define to 1 if we found this declaration otherwise define to 0. */
+#undef HAVE_DECL_GETENV
-/* Define if you need to provide a declaration for this function. */
-#undef NEED_DECLARATION_ATOL
+/* Define to 1 if we found this declaration otherwise define to 0. */
+#undef HAVE_DECL_ATOL
-/* Define if you need to provide a declaration for this function. */
-#undef NEED_DECLARATION_SBRK
+/* Define to 1 if we found this declaration otherwise define to 0. */
+#undef HAVE_DECL_SBRK
-/* Define if you need to provide a declaration for this function. */
-#undef NEED_DECLARATION_ABORT
+/* Define to 1 if we found this declaration otherwise define to 0. */
+#undef HAVE_DECL_ABORT
-/* Define if you need to provide a declaration for this function. */
-#undef NEED_DECLARATION_ATOF
+/* Define to 1 if we found this declaration otherwise define to 0. */
+#undef HAVE_DECL_ATOF
-/* Define if you need to provide a declaration for this function. */
-#undef NEED_DECLARATION_GETCWD
+/* Define to 1 if we found this declaration otherwise define to 0. */
+#undef HAVE_DECL_GETCWD
-/* Define if you need to provide a declaration for this function. */
-#undef NEED_DECLARATION_GETWD
+/* Define to 1 if we found this declaration otherwise define to 0. */
+#undef HAVE_DECL_GETWD
-/* Define if you need to provide a declaration for this function. */
-#undef NEED_DECLARATION_STRSIGNAL
+/* Define to 1 if we found this declaration otherwise define to 0. */
+#undef HAVE_DECL_STRSIGNAL
-/* Define if you need to provide a declaration for this function. */
-#undef NEED_DECLARATION_PUTC_UNLOCKED
+/* Define to 1 if we found this declaration otherwise define to 0. */
+#undef HAVE_DECL_PUTC_UNLOCKED
-/* Define if you need to provide a declaration for this function. */
-#undef NEED_DECLARATION_FPUTS_UNLOCKED
+/* Define to 1 if we found this declaration otherwise define to 0. */
+#undef HAVE_DECL_FPUTS_UNLOCKED
-/* Define if you need to provide a declaration for this function. */
-#undef NEED_DECLARATION_STRSTR
+/* Define to 1 if we found this declaration otherwise define to 0. */
+#undef HAVE_DECL_STRSTR
-/* Define if you need to provide a declaration for this function. */
-#undef NEED_DECLARATION_ENVIRON
+/* Define to 1 if we found this declaration otherwise define to 0. */
+#undef HAVE_DECL_ENVIRON
-/* Define if you need to provide a declaration for this function. */
-#undef NEED_DECLARATION_MALLOC
+/* Define to 1 if we found this declaration otherwise define to 0. */
+#undef HAVE_DECL_MALLOC
-/* Define if you need to provide a declaration for this function. */
-#undef NEED_DECLARATION_REALLOC
+/* Define to 1 if we found this declaration otherwise define to 0. */
+#undef HAVE_DECL_REALLOC
-/* Define if you need to provide a declaration for this function. */
-#undef NEED_DECLARATION_CALLOC
+/* Define to 1 if we found this declaration otherwise define to 0. */
+#undef HAVE_DECL_CALLOC
-/* Define if you need to provide a declaration for this function. */
-#undef NEED_DECLARATION_FREE
+/* Define to 1 if we found this declaration otherwise define to 0. */
+#undef HAVE_DECL_FREE
-/* Define if you need to provide a declaration for this function. */
-#undef NEED_DECLARATION_GETRLIMIT
+/* Define to 1 if we found this declaration otherwise define to 0. */
+#undef HAVE_DECL_BASENAME
-/* Define if you need to provide a declaration for this function. */
-#undef NEED_DECLARATION_SETRLIMIT
+/* Define to 1 if we found this declaration otherwise define to 0. */
+#undef HAVE_DECL_GETOPT
-/* Define if you need to provide a declaration for this function. */
-#undef NEED_DECLARATION_GETRUSAGE
+/* Define to 1 if we found this declaration otherwise define to 0. */
+#undef HAVE_DECL_GETRLIMIT
+
+/* Define to 1 if we found this declaration otherwise define to 0. */
+#undef HAVE_DECL_SETRLIMIT
+
+/* Define to 1 if we found this declaration otherwise define to 0. */
+#undef HAVE_DECL_GETRUSAGE
/* Define if host mkdir takes a single argument. */
#undef MKDIR_TAKES_ONE_ARG