1# strcase.m4 serial 1 2dnl Copyright (C) 2002 Free Software Foundation, Inc. 3dnl This file is free software, distributed under the terms of the GNU 4dnl General Public License. As a special exception to the GNU General 5dnl Public License, this file may be distributed as part of a program 6dnl that contains a configuration script generated by Autoconf, under 7dnl the same distribution terms as the rest of that program. 8 9AC_DEFUN([gl_STRCASE], 10[ 11 gl_FUNC_STRCASECMP 12 gl_FUNC_STRNCASECMP 13]) 14 15AC_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 23AC_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. 32AC_DEFUN([gl_PREREQ_STRCASECMP], [ 33 : 34]) 35 36# Prerequisites of lib/strncasecmp.c. 37AC_DEFUN([gl_PREREQ_STRNCASECMP], [ 38 : 39]) 40