Config check for qsort_s/qsort_r

This commit is contained in:
Olof hagsand 2024-10-25 19:24:37 +02:00
parent 0b78c9ded0
commit 582bf3feb1
4 changed files with 24 additions and 1 deletions

View file

@ -458,6 +458,9 @@ fi
# Dummy to disable native language support (nls) to remove warnings in buildroot
AC_ARG_ENABLE(nls)
# Check to use freebsd:s qsort_s instead of linux qsort_r
AC_CHECK_FUNCS(qsort_s)
AH_BOTTOM([#include <clixon_custom.h>])
test "x$prefix" = xNONE && prefix=$ac_default_prefix