aboutsummaryrefslogtreecommitdiff
path: root/gcc/config.in
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>1998-09-03 06:52:00 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>1998-09-03 06:52:00 +0000
commitccc7d11a0bf6b47ce22cdf1d0ca37eb454edbe87 (patch)
tree9e61a0b27315e42bdf092bca252dacbc8c333d21 /gcc/config.in
parent127b53d549387b9c6842c304140ae307c952366d (diff)
downloadgcc-ccc7d11a0bf6b47ce22cdf1d0ca37eb454edbe87.zip
gcc-ccc7d11a0bf6b47ce22cdf1d0ca37eb454edbe87.tar.gz
gcc-ccc7d11a0bf6b47ce22cdf1d0ca37eb454edbe87.tar.bz2
aclocal.m4 (GCC_HEADER_STRING): New macro to detect if it is safe to include both string.h and strings.h together.
* aclocal.m4 (GCC_HEADER_STRING): New macro to detect if it is safe to include both string.h and strings.h together. (GCC_NEED_DECLARATION): Test STRING_WITH_STRINGS when deciding which headers to search for function declarations. Continue to prefer string.h over strings.h when both are not acceptable. * acconfig.h (STRING_WITH_STRINGS): Add stub. * configure.in: Call GCC_HEADER_STRING. * system.h: Test STRING_WITH_STRINGS when deciding which headers to include. Continue to prefer string.h over strings.h when both are not acceptable. From-SVN: r22204
Diffstat (limited to 'gcc/config.in')
-rw-r--r--gcc/config.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/config.in b/gcc/config.in
index b4e9898..3cd381a 100644
--- a/gcc/config.in
+++ b/gcc/config.in
@@ -1,4 +1,7 @@
/* config.in. Generated automatically from configure.in by autoheader. */
+/* Define if you can safely include both <string.h> and <strings.h>. */
+#undef STRING_WITH_STRINGS
+
/* Define if printf supports "%p". */
#undef HAVE_PRINTF_PTR