view modules/strverscmp @ 40171:fbfa1d6417d9

strtod, strtold tests: Simplify tests. * tests/test-strtod.c (main): Assume no rounding errors for 0.5. * tests/test-strtold.c (main): Likewise.
author Bruno Haible <bruno@clisp.org>
date Fri, 01 Feb 2019 02:51:20 +0100
parents 4ae1058b7455
children
line wrap: on
line source

Description:
Compare strings holding version numbers.

Files:
lib/strverscmp.c
m4/strverscmp.m4

Depends-on:
extensions
string

configure.ac:
gl_FUNC_STRVERSCMP
if test $HAVE_STRVERSCMP = 0; then
  AC_LIBOBJ([strverscmp])
  gl_PREREQ_STRVERSCMP
fi
gl_STRING_MODULE_INDICATOR([strverscmp])

Makefile.am:

Include:
<string.h>

License:
LGPLv2+

Maintainer:
Jim Meyering, glibc