view m4/strcasestr.m4 @ 7185:90f5608d1c64

* stdint_h.m4 (gl_AC_HEADER_STDINT_H): Avoid compiler warning. * inttypes_h.m4 (gl_AC_HEADER_INTTYPES_H): Likewise. * longlong.m4 (AC_TYPE_LONG_LONG_INT): Likewise. * intmax_t.m4 (gt_AC_TYPE_INTMAX_T): Likewise.
author Paul Eggert <eggert@cs.ucla.edu>
date Tue, 22 Aug 2006 21:16:36 +0000
parents 015760832874
children 89b6dfd07076
line wrap: on
line source

# strcasestr.m4 serial 2
dnl Copyright (C) 2005 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.

AC_DEFUN([gl_FUNC_STRCASESTR],
[
  dnl No known system has a strcasestr() function that works correctly in
  dnl multibyte locales. Therefore we use our version always.
  AC_LIBOBJ(strcasestr)
  AC_DEFINE(strcasestr, rpl_strcasestr, [Define to rpl_strcasestr always.])
  gl_PREREQ_STRCASESTR
])

# Prerequisites of lib/strcasestr.c.
AC_DEFUN([gl_PREREQ_STRCASESTR], [
  AC_REQUIRE([gl_FUNC_MBRTOWC])
  :
])