---- audacity-src-1.3.2-beta/acinclude.m4.orig 2006-12-29 17:01:36.794372000 +0100
-+++ audacity-src-1.3.2-beta/acinclude.m4 2006-12-29 17:23:30.465234287 +0100
-@@ -48,12 +48,22 @@
- [Define if libtwolame (MP2 export) support should be enabled])
- fi
-
-- dnl Libtwolame is so new, we should really use our patched local version for now
-- dnl FIXME: Might want to change this at some point of time in the future...
-- LIBTWOLAME_SYSTEM_AVAILABLE="no"
--
- dnl see if libtwolame is available locally
-
-+ PKG_CHECK_MODULES(TWOLAME, twolame,
-+ twolame_available_system="yes",
-+ twolame_available_system="no")
-+
-+ if test "x$twolame_available_system" = "xyes" ; then
-+ LIBTWOLAME_SYSTEM_AVAILABLE="yes"
-+ LIBTWOLAME_SYSTEM_LIBS="$TWOLAME_LIBS"
-+ LIBTWOLAME_SYSTEM_CXXFLAGS="$TWOLAME_CFLAGS"
-+ AC_MSG_NOTICE([Twolame libraries are available as system libraries])
-+ else
-+ LIBTWOLAME_SYSTEM_AVAILABLE="no"
-+ AC_MSG_NOTICE([Twolame libraries are NOT available as system libraries])
-+ fi
-+
- AC_CHECK_FILE(${srcdir}/lib-src/twolame/libtwolame/twolame.h,
- twolame_h_found="yes",
- twolame_h_found="no")
-@@ -88,11 +98,19 @@
-
- dnl see if soundtouch is installed on the system
-
-- dnl ... TODO: I don't know if stock, unmodified soundtouch is
-- dnl suitable for audacity, so I don't allow it
--
-- LIBSOUNDTOUCH_SYSTEM_AVAILABLE="no"
--
-+ PKG_CHECK_MODULES(SOUNDTOUCH, soundtouch-1.0,
-+ soundtouch_available_system="yes",
-+ soundtouch_available_system="no")
-+
-+ if test "x$soundtouch_available_system" = "xyes" ; then
-+ LIBSOUNDTOUCH_SYSTEM_AVAILABLE="yes"
-+ LIBSOUNDTOUCH_SYSTEM_LIBS="$SOUNDTOUCH_LIBS"
-+ LIBSOUNDTOUCH_SYSTEM_CXXFLAGS="$SOUNDTOUCH_CFLAGS"
-+ AC_MSG_NOTICE([SoundTouch libraries are available as system libraries])
-+ else
-+ LIBID3TAG_SYSTEM_AVAILABLE="no"
-+ AC_MSG_NOTICE([SoundTouch libraries are NOT available as system libraries])
-+ fi
- dnl see if libresample is available locally
-
- AC_CHECK_FILE(${srcdir}/lib-src/soundtouch/include/SoundTouch.h,
+--- audacity-src-1.3.2-beta/m4/audacity_checklib_libresample.m4.orig 2006-12-29 17:01:36.794372000 +0100
++++ audacity-src-1.3.2-beta/m4/audacity_checklib_libresample.m4 2006-12-29 17:23:30.465234287 +0100
@@ -133,7 +151,22 @@
dnl ... but libresample isn't generally installed as a system library...