[12/12] configure: Move test_cmd() into canonical order

Message ID 20180417081638.3639-13-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 | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Patch

diff --git a/configure b/configure
index f6042937e1..95c4a2b7da 100755
--- a/configure
+++ b/configure
@@ -768,11 +768,6 @@  add_compat(){
     map 'add_cppflags -D$v' "$@"
 }
 
-test_cmd(){
-    log "$@"
-    "$@" >> $logfile 2>&1
-}
-
 cc_e(){
     eval printf '%s\\n' $CC_E
 }
@@ -801,6 +796,11 @@  hostcc_o(){
     eval printf '%s\\n' $HOSTCC_O
 }
 
+test_cmd(){
+    log "$@"
+    "$@" >> $logfile 2>&1
+}
+
 test_cpp(){
     log test_cpp "$@"
     cat > $TMPC