aboutsummaryrefslogtreecommitdiffstats
path: root/src/anetz
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2018-01-21 10:43:45 +0100
committerAndreas Eversberg <jolly@eversberg.eu>2018-02-15 08:00:15 +0100
commit4cc33c5b0d10be5d0d6cdb424a02833cb35ed563 (patch)
tree920e0c76390a8e00dc32052c305be2dda553d60b /src/anetz
parent0b129d3c7fc28ab47d54ec256138c6e50e019c44 (diff)
Make sound card support (Alsa) optional
Diffstat (limited to 'src/anetz')
-rw-r--r--src/anetz/Makefile.am8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/anetz/Makefile.am b/src/anetz/Makefile.am
index ba993aa..175404d 100644
--- a/src/anetz/Makefile.am
+++ b/src/anetz/Makefile.am
@@ -30,11 +30,15 @@ anetz_LDADD = \
$(top_builddir)/src/libfilter/libfilter.a \
$(top_builddir)/src/libwave/libwave.a \
$(top_builddir)/src/libmncc/libmncc.a \
- $(top_builddir)/src/libsound/libsound.a \
$(top_builddir)/src/libsample/libsample.a \
- $(ALSA_LIBS) \
-lm
+if HAVE_ALSA
+anetz_LDADD += \
+ $(top_builddir)/src/libsound/libsound.a \
+ $(ALSA_LIBS)
+endif
+
if HAVE_SDR
anetz_LDADD += \
$(top_builddir)/src/libsdr/libsdr.a \