meson: set HAS_PULSEAUDIO for i3status --version output
related to https://github.com/i3/i3status/issues/459
This commit is contained in:
parent
c8e1c19f56
commit
90dd6b061d
@ -46,6 +46,10 @@ endif
|
|||||||
cdata.set('HAVE_STRNDUP', cc.has_function('strndup'))
|
cdata.set('HAVE_STRNDUP', cc.has_function('strndup'))
|
||||||
cdata.set('HAVE_MKDIRP', cc.has_function('mkdirp'))
|
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
|
# Instead of generating config.h directly, make vcs_tag generate it so that
|
||||||
# @VCS_TAG@ is replaced.
|
# @VCS_TAG@ is replaced.
|
||||||
config_h_in = configure_file(
|
config_h_in = configure_file(
|
||||||
|
Loading…
Reference in New Issue
Block a user