[HEIMDAL-646] aix
AIX qsort() is unstable and might change the order of the elements if they are equal, libwind require them to be in the same order as they were on the input, pull in FreeBSD qsort and use that instead of AIX version.
This commit is contained in:
@@ -9,7 +9,7 @@ case "$host" in
|
||||
*-*-aix3*)
|
||||
aix=3
|
||||
;;
|
||||
*-*-aix[4-9]*)
|
||||
*-*-aix[[4-9]]*)
|
||||
aix=4
|
||||
;;
|
||||
esac
|
||||
@@ -17,12 +17,14 @@ esac
|
||||
AM_CONDITIONAL(AIX, test "$aix" != no)dnl
|
||||
AM_CONDITIONAL(AIX4, test "$aix" = 4)dnl
|
||||
|
||||
|
||||
AC_ARG_ENABLE(dynamic-afs,
|
||||
AS_HELP_STRING([--disable-dynamic-afs],
|
||||
[do not use loaded AFS library with AIX]))
|
||||
|
||||
if test "$aix" != no; then
|
||||
|
||||
AC_DEFINE(NEED_QSORT, 1, [if your qsort is not a stable sort])
|
||||
|
||||
if test "$enable_dynamic_afs" != no; then
|
||||
AC_REQUIRE([rk_DLOPEN])
|
||||
if test "$ac_cv_func_dlopen" = no; then
|
||||
|
Reference in New Issue
Block a user