meson: generate m4 preprocessor from config.h (#8914)

This commit is contained in:
Yu Watanabe
2018-05-07 11:17:35 +02:00
committed by Zbigniew Jędrzejewski-Szmek
parent 4b4ee0f781
commit 348b44372f
7 changed files with 37 additions and 37 deletions
+1 -1
View File
@@ -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(
+2 -2
View File
@@ -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)