build: Fix non-alsa builds

The code only checks whether HAVE_ALSA is defined, not its value,
so defining it to 0 doesn't work as expected ...
This commit is contained in:
Florian Müllner 2017-07-20 01:23:29 +02:00
parent 01e1fde6e5
commit 3f71aac04b

View File

@ -21,7 +21,7 @@ libpulse_glib = dependency('libpulse-mainloop-glib')
cdata = configuration_data() cdata = configuration_data()
cdata.set_quoted('GETTEXT_PACKAGE', get_option('package-name')) cdata.set_quoted('GETTEXT_PACKAGE', get_option('package-name'))
cdata.set_quoted('PACKAGE_VERSION', get_option('package-version')) cdata.set_quoted('PACKAGE_VERSION', get_option('package-version'))
cdata.set10('HAVE_ALSA', alsa.found()) cdata.set('HAVE_ALSA', alsa.found())
config = configure_file( config = configure_file(
input: 'config.h.meson', input: 'config.h.meson',