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