[08/12] configure: Move print_3_columns() to a more suitable place

Message ID 20180417081638.3639-9-diego@biurrun.de
State New
Headers show
Series
  • [01/12] build: Group external library protocols separately
Related show

Commit Message

Diego Biurrun April 17, 2018, 8:16 a.m.
---
 configure | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Patch

diff --git a/configure b/configure
index 1afb03b9ce..77601c8b02 100755
--- a/configure
+++ b/configure
@@ -400,6 +400,10 @@  EOF
     exit 1
 }
 
+print_3_columns() {
+    printf "%-25s %-25s %-25s\n" $(cat | tr ' ' '\n' | sort)
+}
+
 # Avoid locale weirdness, besides we really just want to translate ASCII.
 toupper(){
     echo "$@" | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ
@@ -2824,10 +2828,6 @@  die_unknown(){
     exit 1
 }
 
-print_3_columns() {
-    printf "%-25s %-25s %-25s\n" $(cat | tr ' ' '\n' | sort)
-}
-
 show_list() {
     suffix=_$1
     shift