Generate config.h

This allows us to remove a lot of #ifdef's. Either we want to use
a config.h or we don't. Since we'll want it for e.g. optional gsound
support later on let's have it.
This commit is contained in:
Guido Günther
2019-07-17 19:40:52 +02:00
parent c65583b911
commit dbc8cc14bc
30 changed files with 19 additions and 52 deletions

View File

@ -4,7 +4,10 @@ dbus_src = gnome.gdbus_codegen(
join_paths(meson.source_root() / 'data' / 'dbus', 'sm.puri.OSK0.xml')
)
config_h = configure_file(input: 'config.h.in', output: 'config.h',configuration: conf_data)
sources = [
config_h,
'imservice.c',
'server-context-service.c',
'server-main.c',