# SDL: Clarified that GNU sort isn't required, we just need the -V option to be supported (88e64)

**URL:** <https://discourse.libsdl.org/t/sdl-clarified-that-gnu-sort-isnt-required-we-just-need-the-v-option-to-be-supported-88e64/39527>\
**Category:** SDL Commits\
**Created:** [October 24, 2022, 5:06pm UTC](https://discourse.libsdl.org/t/sdl-clarified-that-gnu-sort-isnt-required-we-just-need-the-v-option-to-be-supported-88e64/39527 "2022-10-24T17:06:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SDLPushPostBot](https://discourse.libsdl.org/user_avatar/discourse.libsdl.org/sdlpushpostbot/32/4370_2.png) [@SDLPushPostBot](https://discourse.libsdl.org/u/SDLPushPostBot)\
**Post date:** [October 24, 2022, 5:06pm UTC](https://discourse.libsdl.org/t/sdl-clarified-that-gnu-sort-isnt-required-we-just-need-the-v-option-to-be-supported-88e64/39527/1 "2022-10-24T17:06:26Z")

</div>

> <https://github.com/libsdl-org/SDL/commit/88e64108f55bfd9d14d5657bb802850e27db4df4>
>
> (cherry-picked from commit f687cbd4c6277b27d342d71a694dbcb8d1275703)

```diff
From 88e64108f55bfd9d14d5657bb802850e27db4df4 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Thu, 6 Oct 2022 09:00:57 -0700
Subject: [PATCH] Clarified that GNU sort isn't required, we just need the -V
 option to be supported

(cherry-picked from commit f687cbd4c6277b27d342d71a694dbcb8d1275703)
---
 configure | 4 ++--
 configure.ac | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/configure b/configure
index 6f0d9e9cc090..aa7283a01f18 100755
--- a/configure
+++ b/configure
@@ -17952,8 +17952,8 @@ test -n "$SORT" || SORT="false"
 
 if ! "$SORT" -V </dev/null >/dev/null
 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: WARNING: GNU sort(1) is required to find dynamic libraries" >&2;}
+ { 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: sort(1) that supports the -V option is required to find dynamic libraries" >&2;}
 fi
 
 # Check whether --enable-largefile was given.
diff --git a/configure.ac b/configure.ac
index 91482f895de9..0ee6bcbd6480 100644
--- a/configure.ac
+++ b/configure.ac
@@ -71,7 +71,7 @@ if [test -z "$AWK"]; then
 fi
 
 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
 AC_SYS_LARGEFILE

```
