Config check for qsort_s/qsort_r
This commit is contained in:
parent
0b78c9ded0
commit
582bf3feb1
4 changed files with 24 additions and 1 deletions
9
configure
vendored
9
configure
vendored
|
|
@ -7006,6 +7006,15 @@ then :
|
|||
fi
|
||||
|
||||
|
||||
# Check to use freebsd:s qsort_s instead of linux qsort_r
|
||||
ac_fn_c_check_func "$LINENO" "qsort_s" "ac_cv_func_qsort_s"
|
||||
if test "x$ac_cv_func_qsort_s" = xyes
|
||||
then :
|
||||
printf "%s\n" "#define HAVE_QSORT_S 1" >>confdefs.h
|
||||
|
||||
fi
|
||||
|
||||
|
||||
|
||||
|
||||
test "x$prefix" = xNONE && prefix=$ac_default_prefix
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue