meson: set HAS_PULSEAUDIO for i3status --version output

related to https://github.com/i3/i3status/issues/459
This commit is contained in:
Michael Stapelberg 2021-10-31 19:19:37 +01:00
parent c8e1c19f56
commit 90dd6b061d

View File

@ -46,6 +46,10 @@ endif
cdata.set('HAVE_STRNDUP', cc.has_function('strndup'))
cdata.set('HAVE_MKDIRP', cc.has_function('mkdirp'))
if get_option('pulseaudio')
cdata.set('HAS_PULSEAUDIO', 1)
endif
# Instead of generating config.h directly, make vcs_tag generate it so that
# @VCS_TAG@ is replaced.
config_h_in = configure_file(