Skip to content

Commit

Permalink
autotools: GNU sort isn't required, we just need the -V option to be …
Browse files Browse the repository at this point in the history
…supported.
  • Loading branch information
sezero committed Jan 1, 2023
1 parent b633019 commit 6d53386
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion configure
Original file line number Diff line number Diff line change
Expand Up @@ -13521,7 +13521,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: 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

case "$host" in
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ if [ test -z "$AWK" ]; then
fi

AC_CHECK_PROGS([SORT], [gsort sort], [false])
AS_IF([! "$SORT" -V </dev/null >/dev/null], [AC_MSG_ERROR([GNU sort(1) is required])])
AS_IF([! "$SORT" -V </dev/null >/dev/null], [AC_MSG_WARN([sort(1) that supports the -V option is required to find dynamic libraries])])

case "$host" in
*-*-beos*)
Expand Down

0 comments on commit 6d53386

Please sign in to comment.