blob: 80630785621bb46736b9e176bc129783ed10ff97 (
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
35
36
37
|
Description:
Reentrant sort function with GNU signature
Files:
lib/qsort.c
lib/qsort_r.c
m4/qsort_r.m4
Depends-on:
extensions
stdlib
configure.ac:
gl_FUNC_QSORT_R
dnl If the function is missing from the system or has an unknown signature:
gl_CONDITIONAL([GL_COND_OBJ_QSORT], [test $HAVE_QSORT_R = 0])
dnl If the function exists, but it has the BSD signature:
gl_CONDITIONAL([GL_COND_OBJ_QSORT_R],
[test $HAVE_QSORT_R = 1 && test $REPLACE_QSORT_R = 1])
gl_STDLIB_MODULE_INDICATOR([qsort_r])
Makefile.am:
if GL_COND_OBJ_QSORT
lib_SOURCES += qsort.c
endif
if GL_COND_OBJ_QSORT_R
lib_SOURCES += qsort_r.c
endif
Include:
<stdlib.h>
License:
LGPLv2+
Maintainer:
Paul Eggert
|