shithub: sox

Download patch

ref: f24b2b70d98b85432426dcb58598339dd9c4e5e8
parent: 41190aa441c0dad219431069f2707af302ecd392
author: cbagwell <cbagwell>
date: Thu Oct 9 20:49:17 EDT 2008

Need to clear out -lsamplerate when not found.

--- a/m4/samplerate.m4
+++ b/m4/samplerate.m4
@@ -59,6 +59,11 @@
   ])
   CFLAGS="$ac_save_CFLAGS"
   LIBS="$ac_save_LIBS"
+  if test "$have_samplereate" != "yes"
+  then
+    SAMPLERATE_LIBS=""
+    SAMPLERATE_CFLAGS=""
+  fi
 fi
 
 if test "$have_samplerate" != "yes"