summaryrefslogtreecommitdiff
path: root/m4/strcasestr.m4
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2009-12-10 20:28:30 +0100
committerBruno Haible <bruno@clisp.org>2009-12-10 20:28:30 +0100
commit441aa3044f43e5572f58c354f01e6bc070acd5c7 (patch)
treebef236e8058dd3469da28ffcd5a6a287222a4c50 /m4/strcasestr.m4
parent039ae97b8ae35a2446c5d62d72b21689c97da7e2 (diff)
downloadgnulib-441aa3044f43e5572f58c354f01e6bc070acd5c7.tar.gz
Use spaces for indentation, not tabs.
Diffstat (limited to 'm4/strcasestr.m4')
-rw-r--r--m4/strcasestr.m428
1 files changed, 14 insertions, 14 deletions
diff --git a/m4/strcasestr.m4 b/m4/strcasestr.m4
index 62991b1602..7a79990306 100644
--- a/m4/strcasestr.m4
+++ b/m4/strcasestr.m4
@@ -50,20 +50,20 @@ AC_DEFUN([gl_FUNC_STRCASESTR],
/* Check for quadratic performance. */
if (haystack && needle)
{
- memset (haystack, 'A', 2 * m);
- haystack[2 * m] = 'B';
- haystack[2 * m + 1] = 0;
- memset (needle, 'A', m);
- needle[m] = 'B';
- needle[m + 1] = 0;
- result = strcasestr (haystack, needle);
+ memset (haystack, 'A', 2 * m);
+ haystack[2 * m] = 'B';
+ haystack[2 * m + 1] = 0;
+ memset (needle, 'A', m);
+ needle[m] = 'B';
+ needle[m + 1] = 0;
+ result = strcasestr (haystack, needle);
}
return !result;]])],
- [gl_cv_func_strcasestr_linear=yes], [gl_cv_func_strcasestr_linear=no],
+ [gl_cv_func_strcasestr_linear=yes], [gl_cv_func_strcasestr_linear=no],
[dnl Only glibc >= 2.9 and cygwin >= 1.7.0 are known to have a
dnl strcasestr that works in linear time.
- AC_EGREP_CPP([Lucky user],
- [
+ AC_EGREP_CPP([Lucky user],
+ [
#include <features.h>
#ifdef __GNU_LIBRARY__
#if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 9) || (__GLIBC__ > 2)
@@ -76,10 +76,10 @@ AC_DEFUN([gl_FUNC_STRCASESTR],
Lucky user
#endif
#endif
- ],
- [gl_cv_func_strcasestr_linear=yes],
- [gl_cv_func_strcasestr_linear="guessing no"])
- ])
+ ],
+ [gl_cv_func_strcasestr_linear=yes],
+ [gl_cv_func_strcasestr_linear="guessing no"])
+ ])
])
if test "$gl_cv_func_strcasestr_linear" != yes; then
REPLACE_STRCASESTR=1