meson: generate m4 preprocessor from config.h (#8914)
This commit is contained in:
committed by
Zbigniew Jędrzejewski-Szmek
parent
4b4ee0f781
commit
348b44372f
@@ -127,7 +127,7 @@ load_fragment_gperf_gperf = custom_target(
|
||||
'load-fragment-gperf.gperf',
|
||||
input : 'load-fragment-gperf.gperf.m4',
|
||||
output: 'load-fragment-gperf.gperf',
|
||||
command : [m4, '-P'] + m4_defines + ['@INPUT@'],
|
||||
command : [meson_apply_m4, config_h, '@INPUT@'],
|
||||
capture : true)
|
||||
|
||||
load_fragment_gperf_c = custom_target(
|
||||
|
||||
@@ -98,7 +98,7 @@ if conf.get('ENABLE_LOGIND') == 1
|
||||
'73-seat-late.rules',
|
||||
input : '73-seat-late.rules.m4',
|
||||
output: '73-seat-late.rules',
|
||||
command : [m4, '-P'] + m4_defines + ['@INPUT@'],
|
||||
command : [meson_apply_m4, config_h, '@INPUT@'],
|
||||
capture : true,
|
||||
install : true,
|
||||
install_dir : udevrulesdir)
|
||||
@@ -107,7 +107,7 @@ if conf.get('ENABLE_LOGIND') == 1
|
||||
'systemd-user',
|
||||
input : 'systemd-user.m4',
|
||||
output: 'systemd-user',
|
||||
command : [m4, '-P'] + m4_defines + ['@INPUT@'],
|
||||
command : [meson_apply_m4, config_h, '@INPUT@'],
|
||||
capture : true,
|
||||
install : pamconfdir != 'no',
|
||||
install_dir : pamconfdir)
|
||||
|
||||
Reference in New Issue
Block a user