GNU sort isn't available on older macOS and some BSD systems

Don't prevent building entirely, just warn that we won't be able to find dynamic libraries in this case.

Fixes https://github.com/libsdl-org/SDL/pull/6338
This commit is contained in:
Sam Lantinga
2022-10-06 08:25:54 -07:00
parent e3b2830f99
commit 8c587636dc
2 changed files with 3 additions and 2 deletions

3
configure vendored
View File

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