view modules/strverscmp @ 15121:4ae1058b7455

strverscmp: Move AC_LIBOBJ invocations to module description. * m4/strverscmp.m4 (gl_FUNC_STRVERSCMP): Call AC_CHECK_FUNCS instead of AC_REPLACE_FUNCS. Move AC_LIBOBJ and gl_PREREQ_STRVERSCMP invocations from here... * modules/strverscmp (configure.ac): ... to here.
author Bruno Haible <bruno@clisp.org>
date Sun, 22 May 2011 14:56:07 +0200
parents 8d80c477e0ad
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