diff options
author | msokolov <msokolov@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-01-21 01:51:42 +0000 |
---|---|---|
committer | msokolov <msokolov@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-01-21 01:51:42 +0000 |
commit | 6be275b67a883eee46e26ff379362b055331ef6e (patch) | |
tree | 6bce9255eb1f17d6ed66691c5330b891bc0f8474 /gcc/aclocal.m4 | |
parent | 7e1bb7bf2ef031607c299d5b06f9928caf98033a (diff) | |
download | gcc-6be275b67a883eee46e26ff379362b055331ef6e.tar.gz |
* aclocal.m4 (gcc_AC_FUNC_STRSTR): New macro.
* configure.in (gcc_AC_FUNC_STRSTR): Add invokation.
* configure, config.in: Regenerate.
* Makefile.in (STRSTR, HOST_STRSTR, USE_HOST_STRSTR): New variables.
(LIBDEPS, HOST_LIBDEPS, LIBS, HOST_LIBS): Add strstr handling.
(strstr.o, $(HOST_PREFIX_1)strstr.o): New rules.
(doprint.o): New rule.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39160 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/aclocal.m4')
-rw-r--r-- | gcc/aclocal.m4 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/aclocal.m4 b/gcc/aclocal.m4 index 4544c778503..1713a75fc49 100644 --- a/gcc/aclocal.m4 +++ b/gcc/aclocal.m4 @@ -69,6 +69,11 @@ AC_SUBST(vfprintf) AC_SUBST(doprint) ]) +dnl Check if we have strstr. +AC_DEFUN([gcc_AC_FUNC_STRSTR], + [AC_CHECK_FUNCS([strstr], [strstr=], [strstr=strstr.o]) + AC_SUBST([strstr])]) + dnl See if the printf functions in libc support %p in format strings. AC_DEFUN(gcc_AC_FUNC_PRINTF_PTR, [AC_CACHE_CHECK(whether the printf functions support %p, |