shithub: sox

Download patch

ref: b8b964961812cd3ce1b0fbadfa6580e5418223a8
parent: e548827ffcf4dffa7f21709b8e96b04b481c09b8
author: Mans Rullgard <mans@mansr.com>
date: Tue Aug 11 09:58:31 EDT 2020

configure: fix dlopen of libsndfile

An incorrect test meant dlopen of libsndfile was never enabled even
when configured with --enable-dl-sndfile.

--- a/configure.ac
+++ b/configure.ac
@@ -545,7 +545,7 @@
 	      AS_HELP_STRING([--enable-dl-sndfile], 
 			     [Dlopen sndfile instead of linking in.]),
 			     enable_dl_sndfile=$enableval, enable_dl_sndfile=no)
-if test "x$using_sndfile" = "xyes"; then
+if test "x$tmp_using_sndfile" = "xyes"; then
   if test "x$using_libltdl" = "xyes" -a "x$enable_dl_sndfile" = "xyes"; then
     AC_DEFINE(DL_SNDFILE, 1, [Define to dlopen() sndfile.]) 
     dnl When enable_dl_sndfile, do not let SOX_PATH_SNDFILE add libraries