Clarified that GNU sort isn't required, we just need the -V option to be supported

This commit is contained in:
Sam Lantinga 2022-10-06 09:00:57 -07:00
parent 8c587636dc
commit f687cbd4c6
2 changed files with 3 additions and 3 deletions

4
configure vendored
View File

@ -17955,8 +17955,8 @@ test -n "$SORT" || SORT="false"
if ! "$SORT" -V </dev/null >/dev/null if ! "$SORT" -V </dev/null >/dev/null
then : then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: GNU sort(1) is required to find dynamic libraries" >&5 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: sort(1) that supports the -V option is required to find dynamic libraries" >&5
printf "%s\n" "$as_me: WARNING: GNU sort(1) is required to find dynamic libraries" >&2;} printf "%s\n" "$as_me: WARNING: sort(1) that supports the -V option is required to find dynamic libraries" >&2;}
fi fi
# Check whether --enable-largefile was given. # Check whether --enable-largefile was given.

View File

@ -71,7 +71,7 @@ if [ test -z "$AWK" ]; then
fi fi
AC_CHECK_PROGS([SORT], [gsort sort], [false]) AC_CHECK_PROGS([SORT], [gsort sort], [false])
AS_IF([! "$SORT" -V </dev/null >/dev/null], [AC_MSG_WARN([GNU sort(1) is required to find dynamic libraries])]) AS_IF([! "$SORT" -V </dev/null >/dev/null], [AC_MSG_WARN([sort(1) that supports the -V option is required to find dynamic libraries])])
dnl 64-bit file offsets if possible unless --disable-largefile is specified dnl 64-bit file offsets if possible unless --disable-largefile is specified
AC_SYS_LARGEFILE AC_SYS_LARGEFILE