]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
configure.ac: Sort features name in summary
authorNicolas Sterchele <sterchelen@gmail.com>
Mon, 6 Jul 2020 12:15:48 +0000 (14:15 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 12 Jul 2020 16:04:11 +0000 (18:04 +0200)
- Same as protocols

Closes #5656

configure.ac

index f0fbcb0aff4c1fbd09f9c9111cba8c4c92953110..ffce699a41a2b6888d5cb0da45985159b8f3e575 100755 (executable)
@@ -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