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: License: LGPLv2+ Maintainer: Paul Eggert