summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Sterchele <sterchelen@gmail.com>2020-07-06 14:15:48 +0200
committerDaniel Stenberg <daniel@haxx.se>2020-07-12 18:04:11 +0200
commit3f6288e1e5bfcb499866fae09b71b3720072a8c9 (patch)
tree476e2902ed863da42e93218911c3e1856ea9ef31
parent4ef16f1f474787ac739717359c19885d1c6443d9 (diff)
downloadcurl-3f6288e1e5bfcb499866fae09b71b3720072a8c9.tar.gz
configure.ac: Sort features name in summary
- Same as protocols Closes #5656
-rwxr-xr-xconfigure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index f0fbcb0af..ffce699a4 100755
--- a/configure.ac
+++ b/configure.ac
@@ -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