Forwarded for info.
| From Ludwig Schwardt
| Thu, 22 Mar 2007 23:52:35 +0200
| Subject: [Audacity-help] fix for PortAudio v19
| Here is a patch to the main Audacity configure.in file to add support for the
| ASIHPI host API in PortAudio v19. It fixes a missing library dependency in
| the final linking of the executable.
| Nowadays, PortAudio produces a pkg-config file (portaudio-2.0.pc). It's
| probably safer to use it for build flags and libraries, although the
| PKG_CHECK_MODULES macro seems to expect the pc file in a standard system
| directory and not in lib-src/portaudio-v19, so I'm not sure how to check for
| Ludwig Schwardt
--- configure.in.orig 2007-03-18 03:42:53.000000000 +0200
+++ configure.in 2007-03-22 21:48:21.000000000 +0200
@@ -426,6 +426,10 @@
if [[ $have_jack = "yes" ]] ; then
+ AC_CHECK_LIB(hpi, HPI_SubSysCreate, have_asihpi=yes, have_asihpi=no, -lm)
+ if [[ $have_asihpi = "yes" ]] ; then
+ LIBS="$LIBS -lhpi"
AC_CHECK_LIB(rt, clock_gettime, [rt_libs=" -lrt"])
Outbound message virus free.
Tested on: 3/23/2007 9:03:32 AM