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
(cherry-picked from commit 8c587636dc)
This commit is contained in:
Sam Lantinga authored and Ozkan Sezer committed 2022-10-24 20:04:20 +03:00
1 parent 679d33ab44
commit 1b5bf2ac65
2 files changed
+3 -2

No files matched your search

Vendored
+2 -1
View File
@@ -17952,7 +17952,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.