1 # strcasestr.m4 serial 2
2 dnl Copyright (C) 2005 Free Software Foundation, Inc.
3 dnl This file is free software; the Free Software Foundation
4 dnl gives unlimited permission to copy and/or distribute it,
5 dnl with or without modifications, as long as this notice is preserved.
7 AC_DEFUN([gl_FUNC_STRCASESTR],
9 dnl No known system has a strcasestr() function that works correctly in
10 dnl multibyte locales. Therefore we use our version always.
12 AC_DEFINE(strcasestr, rpl_strcasestr, [Define to rpl_strcasestr always.])
16 # Prerequisites of lib/strcasestr.c.
17 AC_DEFUN([gl_PREREQ_STRCASESTR], [
18 AC_REQUIRE([gl_FUNC_MBRTOWC])