summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorMichael Stapelberg <michael@stapelberg.de>2019-07-11 15:23:08 +0200
committerMichael Stapelberg <michael@stapelberg.de>2019-07-11 15:23:08 +0200
commit1999d5cf555c6f373549840d40f8565dcabad93b (patch)
treecb8ac50e9f896f30a874c2c4764cb0db2bc9ea93 /Makefile.am
parent3a51673c05142b99f8db6a0bd9b8e4b806efeb72 (diff)
conditionally compile pulse.c only when using pulseaudio
fixes #352
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am7
1 files changed, 5 insertions, 2 deletions
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