view modules/strcase @ 40158:383f7a766b7c

test-framework-sh: Improve maintainability. * tests/init.sh: Clarify what belongs together. Reorder definitions.
author Bruno Haible <bruno@clisp.org>
date Sun, 27 Jan 2019 16:55:27 +0100
parents 1f14c6dd175d
children
line wrap: on
line source

Description:
Case-insensitive string comparison functions.

Files:
lib/strcasecmp.c
lib/strncasecmp.c
m4/strcase.m4

Depends-on:
strings

configure.ac:
gl_STRCASE
if test $HAVE_STRCASECMP = 0; then
  AC_LIBOBJ([strcasecmp])
  gl_PREREQ_STRCASECMP
fi
if test $HAVE_STRNCASECMP = 0; then
  AC_LIBOBJ([strncasecmp])
  gl_PREREQ_STRNCASECMP
fi

Makefile.am:

Include:
<strings.h>

License:
LGPLv2+

Maintainer:
all