ref: e3047e45ebb57a407385c59d78029e98ffb4b2b8
parent: 3ad2868c5747b3f11c798f6ae6803ca05dff6aa8
author: Witold Pilat <[email protected]>
date: Sun Jan 19 02:23:33 EST 2014
configure: Add option to disable libsamplerate. Some distros don't like automagic dependencies. Fixes #315.
--- a/configure.ac
+++ b/configure.ac
@@ -73,8 +73,13 @@
])
# Check for libsamplerate.
-
- AC_CHECK_LIB(samplerate, src_new)
+ AC_ARG_WITH([libsamplerate],
+ AS_HELP_STRING([--without-libsamplerate],
+ [Build without libsamplerate @<:@default=check@:>@]),
+ [],
+ [
+ AC_CHECK_LIB(samplerate, src_new)
+ ])
AC_CHECK_LIB(m, log)
AC_CHECK_HEADERS([linux/kd.h dev/isa/spkrio.h dev/speaker/speaker.h])