diff --git a/libs/mcomms.c b/libs/mcomms.c new file mode 100644 index 000000000..e69de29bb diff --git a/libs/meson.build b/libs/meson.build index 13d8a4dde..bccb064bb 100644 --- a/libs/meson.build +++ b/libs/meson.build @@ -63,6 +63,12 @@ string_sources = files( 'strlcpy.c', ) +if (get_option('mcomms')) + libfvwm3_sources += files( + 'mcomms.c' + ) +endif + # We don't build the string sources on macOS # We probably could check for target_system, but nobody is cross-compiling _to_ macOS if not (host_machine.system() == 'darwin') diff --git a/meson.build b/meson.build index 68e0e22f4..3c007d4e2 100644 --- a/meson.build +++ b/meson.build @@ -189,7 +189,7 @@ all_found_deps = [] # Required dependencies, we can easily iterate over these. summary_depvals = {} -all_req_deps = ['fontconfig', 'ice', 'libevent', 'x11', 'xft', 'xrandr', 'xt'] +all_req_deps = ['fontconfig', 'ice', 'libevent', 'mpack', 'x11', 'xft', 'xrandr', 'xt'] foreach rd : all_req_deps this_dep = dependency(rd, required: true) summary_depvals += {rd: this_dep} diff --git a/meson.options b/meson.options index ed9b82852..ecac7300e 100644 --- a/meson.options +++ b/meson.options @@ -57,6 +57,12 @@ option( value: false, description: 'Enable generation of man pages', ) +option( + 'mcomms', + type: 'boolean', + value: false, + description: 'Enable new module comms', +) option('nls', type: 'feature', value: 'auto', description: 'Enable NLS') option('png', type: 'feature', value: 'auto', description: 'Enable png support') option(