shithub: sox

Download patch

ref: b1e21e6428895debdbf1af9fe72321571b6d2f5f
parent: 79359116f09f2e3b48aadb8a28e553ebcd763c9d
author: cbagwell <cbagwell>
date: Sun Jul 15 13:36:17 EDT 2007

FLAC doesn't link in with --disable-shared and current check thinks
it did.  Asks SoX if it supports FLAC for the real answer.

--- a/src/tests.sh
+++ b/src/tests.sh
@@ -144,7 +144,7 @@
 make sox_sample_test
 ./sox_sample_test || exit 1
 
-grep -q "^FLAC_LIBS *= *-lFLAC" Makefile || skip="flac $skip"
+./sox --help | grep -q "flac" || skip="flac $skip"
 grep -q "^OGG_LIBS *= *-logg"   Makefile || skip="ogg $skip"
 grep -q "^#define HAVE_SNDFILE_H" soxconfig.h || skip="caf $skip"