meson: only add empty lines betwen active summary sections
authorEric Engestrom <eric.engestrom@intel.com>
Tue, 25 Jun 2019 09:13:17 +0000 (10:13 +0100)
committerEric Engestrom <eric.engestrom@intel.com>
Fri, 28 Jun 2019 18:15:18 +0000 (19:15 +0100)
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
meson.build

index 6238f98b8cac0de10993f17e60cfc27d97b451a6..432b3f4ea871d671421c1413a1f420a7204bc1f5 100644 (file)
@@ -1544,8 +1544,8 @@ lines = ['',
                                                     with_gles2 ? 'yes' : 'no'),
 ]
 
-lines += ''
 if with_osmesa != 'none'
+  lines += ''
   suffix = ''
   if with_osmesa == 'gallium'
     suffix = '(Gallium)'
@@ -1555,8 +1555,8 @@ else
   lines += 'OSMesa:          no'
 endif
 
-lines += ''
 if with_dri
+  lines += ''
   lines += 'DRI platform:    ' + with_dri_platform
   if dri_drivers.length() != 0 and dri_drivers != ['']
     lines += 'DRI drivers:     ' + ' '.join(dri_drivers)
@@ -1566,8 +1566,8 @@ if with_dri
   lines += 'DRI driver dir:  ' + dri_drivers_path
 endif
 
-lines += ''
 if with_glx != 'disabled'
+  lines += ''
   if with_glx == 'dri'
     lines += 'GLX:             DRI-based'
   elif with_glx == 'xlib'