Lines Matching refs:strcasestr
1 # strcasestr.m4 serial 21
7 dnl Check that strcasestr is present and works.
12 dnl Persuade glibc <string.h> to declare strcasestr().
16 AC_CHECK_FUNCS([strcasestr])
24 AC_CACHE_CHECK([whether strcasestr works],
27 #include <string.h> /* for strcasestr */
31 ]], [[return !!strcasestr (HAYSTACK, NEEDLE);
36 dnl affected, since it uses different source code for strcasestr
71 dnl Additionally, check that strcasestr is efficient.
76 AC_CACHE_CHECK([whether strcasestr works in linear time],
80 #include <string.h> /* for strcasestr */
90 since all such platforms (mingw) also lack strcasestr. */
106 if (!strcasestr (haystack, needle))
113 dnl strcasestr that works in linear time.
143 # Prerequisites of lib/strcasestr.c.