summaryrefslogtreecommitdiff
path: root/modules/strverscmp
blob: a80d1dd1d75a6ec1d07d8bb254ff5f08b84d1c9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Description:
Compare strings holding version numbers.

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

Depends-on:
extensions
libc-config  [test $HAVE_STRVERSCMP = 0]
stdint       [test $HAVE_STRVERSCMP = 0]
string

configure.ac:
gl_FUNC_STRVERSCMP
gl_CONDITIONAL([GL_COND_OBJ_STRVERSCMP], [test $HAVE_STRVERSCMP = 0])
AM_COND_IF([GL_COND_OBJ_STRVERSCMP], [
  gl_PREREQ_STRVERSCMP
])
gl_STRING_MODULE_INDICATOR([strverscmp])

Makefile.am:
if GL_COND_OBJ_STRVERSCMP
lib_SOURCES += strverscmp.c
endif

Include:
<string.h>

License:
LGPLv2+

Maintainer:
Jim Meyering, glibc