autotools: add support for disabling libsonic (--without-sonic/--with-sonic=no)

This commit is contained in:
Reece H. Dunn
2013-09-16 11:14:58 +01:00
parent 83df50a40f
commit 00861d3bc3
4 changed files with 17 additions and 6 deletions
-2
View File
@@ -28,7 +28,6 @@
#include "speech.h"
#include "sonic.h"
#ifdef INCLUDE_SONIC
struct sonicStreamStruct {
short *inputBuffer;
@@ -969,4 +968,3 @@ int sonicChangeShortSpeed(
sonicDestroyStream(stream);
return numSamples;
}
#endif // INCLUDE_SONIC