From 1999d5cf555c6f373549840d40f8565dcabad93b Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Thu, 11 Jul 2019 15:23:08 +0200 Subject: conditionally compile pulse.c only when using pulseaudio fixes #352 --- Makefile.am | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index bb251f0..c2c1c0a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -68,8 +68,11 @@ i3status_SOURCES = \ src/print_volume.c \ src/print_wireless_info.c \ src/print_file_contents.c \ - src/process_runs.c \ - src/pulse.c + src/process_runs.c + +if PULSE +i3status_SOURCES += src/pulse.c +endif dist_sysconf_DATA = \ i3status.conf -- cgit v1.2.3