diff options
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, |