meson: only add empty lines betwen active summary sections

Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
This commit is contained in:
Eric Engestrom
2019-06-25 10:13:17 +01:00
parent 5819bc0e5c
commit 6227e6faee

View File

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