xref: /netbsd-src/external/gpl2/texinfo/dist/m4/strcase.m4 (revision 29619d2afe564e54d657b83e5a3ae89584f83720)
1*29619d2aSchristos# strcase.m4 serial 1
2*29619d2aSchristosdnl Copyright (C) 2002 Free Software Foundation, Inc.
3*29619d2aSchristosdnl This file is free software, distributed under the terms of the GNU
4*29619d2aSchristosdnl General Public License.  As a special exception to the GNU General
5*29619d2aSchristosdnl Public License, this file may be distributed as part of a program
6*29619d2aSchristosdnl that contains a configuration script generated by Autoconf, under
7*29619d2aSchristosdnl the same distribution terms as the rest of that program.
8*29619d2aSchristos
9*29619d2aSchristosAC_DEFUN([gl_STRCASE],
10*29619d2aSchristos[
11*29619d2aSchristos  gl_FUNC_STRCASECMP
12*29619d2aSchristos  gl_FUNC_STRNCASECMP
13*29619d2aSchristos])
14*29619d2aSchristos
15*29619d2aSchristosAC_DEFUN([gl_FUNC_STRCASECMP],
16*29619d2aSchristos[
17*29619d2aSchristos  AC_REPLACE_FUNCS(strcasecmp)
18*29619d2aSchristos  if test $ac_cv_func_strcasecmp = no; then
19*29619d2aSchristos    gl_PREREQ_STRCASECMP
20*29619d2aSchristos  fi
21*29619d2aSchristos])
22*29619d2aSchristos
23*29619d2aSchristosAC_DEFUN([gl_FUNC_STRNCASECMP],
24*29619d2aSchristos[
25*29619d2aSchristos  AC_REPLACE_FUNCS(strncasecmp)
26*29619d2aSchristos  if test $ac_cv_func_strncasecmp = no; then
27*29619d2aSchristos    gl_PREREQ_STRNCASECMP
28*29619d2aSchristos  fi
29*29619d2aSchristos])
30*29619d2aSchristos
31*29619d2aSchristos# Prerequisites of lib/strcasecmp.c.
32*29619d2aSchristosAC_DEFUN([gl_PREREQ_STRCASECMP], [
33*29619d2aSchristos  :
34*29619d2aSchristos])
35*29619d2aSchristos
36*29619d2aSchristos# Prerequisites of lib/strncasecmp.c.
37*29619d2aSchristosAC_DEFUN([gl_PREREQ_STRNCASECMP], [
38*29619d2aSchristos  :
39*29619d2aSchristos])
40