aboutsummaryrefslogtreecommitdiffstats
path: root/src/jtacs
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/jtacs
parent0b129d3c7fc28ab47d54ec256138c6e50e019c44 (diff)
Make sound card support (Alsa) optional
Diffstat (limited to 'src/jtacs')
-rw-r--r--src/jtacs/Makefile.am8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/jtacs/Makefile.am b/src/jtacs/Makefile.am
index 70b7587..f2b051b 100644
--- a/src/jtacs/Makefile.am
+++ b/src/jtacs/Makefile.am
@@ -24,11 +24,15 @@ jtacs_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
+jtacs_LDADD += \
+ $(top_builddir)/src/libsound/libsound.a \
+ $(ALSA_LIBS)
+endif
+
if HAVE_SDR
jtacs_LDADD += \
$(top_builddir)/src/libsdr/libsdr.a \