shithub: sox

Download patch

ref: 2a93b6ca695b0a2dffe77fbfc61f85a6d79244c2
parent: 47065fcecfff15c7c22837df86092b67c6382a48
author: Ulrich Klauer <ulrich@chirlu.de>
date: Fri Apr 6 13:35:12 EDT 2012

Use newer LT_INIT instead of AC_PROG_LIBTOOL

--- a/configure.ac
+++ b/configure.ac
@@ -44,14 +44,7 @@
     using_libltdl=$with_libltdl
 fi
 
-AC_LIBTOOL_DLOPEN
-case $target in
-  *cygwin* | *mingw*)
-  AC_LIBTOOL_WIN32_DLL
-  APP_LDFLAGS="-no-undefined"
-   ;;
-esac
-AC_PROG_LIBTOOL
+LT_INIT([dlopen win32-dll])
 AC_SUBST(LIBTOOL_DEPS)
 
 AC_ARG_WITH(dyn-default,AC_HELP_STRING([--with-dyn-default],[Default to loading optional formats dynamically]),opt_default=dyn,opt_default=yes)
@@ -120,7 +113,7 @@
       *linux* | *solaris*)
         LDFLAGS="$LDFLAGS -Wl,-z,defs"
         ;;
-      *os2*)
+      *os2* | *cygwin* | *mingw*)
         APP_LDFLAGS="-no-undefined"
         ;;
     esac