configure.ac: Sort features name in summary

- Same as protocols

Closes #5656
This commit is contained in:
Nicolas Sterchele 2020-07-06 14:15:48 +02:00 committed by Daniel Stenberg
parent 4ef16f1f47
commit 3f6288e1e5
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2
1 changed files with 4 additions and 0 deletions

View File

@ -4897,6 +4897,10 @@ if test "x$ESNI_ENABLED" = "x1"; then
SUPPORT_FEATURES="$SUPPORT_FEATURES ESNI"
fi
dnl replace spaces with newlines
dnl sort the lines
dnl replace the newlines back to spaces
SUPPORT_FEATURES=`echo $SUPPORT_FEATURES | tr ' ' '\012' | sort | tr '\012' ' '`
AC_SUBST(SUPPORT_FEATURES)
dnl For supported protocols in pkg-config file