mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-26 23:30:17 +01:00
3rd attempt to Add the ability to build without trashing the source tree
Hopefully this take care of all situations.
This commit is contained in:
@@ -38,8 +38,8 @@ AC_DEFUN([AUDACITY_CHECKLIB_PORTAUDIO], [
|
||||
if test "$PORTAUDIO_LOCAL_AVAILABLE" = "yes"; then
|
||||
dnl We need to override the pkg-config check for portmixer by passing
|
||||
dnl PORTAUDIO_CFLAGS and PORTAUDIO_LIBS to the configure script of portmixer.
|
||||
portaudio_dir="$(pwd)/lib-src/portaudio-v19"
|
||||
PORTAUDIO_LOCAL_CONFIGURE_ARGS="PORTAUDIO_CFLAGS=-I${portaudio_dir}/include PORTAUDIO_LIBS=${portaudio_dir}/lib/libportaudio.la"
|
||||
pa_dir="$(pwd)/${srcdir}/lib-src/portaudio-v19"
|
||||
PORTAUDIO_LOCAL_CONFIGURE_ARGS="PORTAUDIO_CFLAGS=-I${pa_dir}/include PORTAUDIO_LIBS=${pa_dir}/lib/libportaudio.la"
|
||||
AC_MSG_NOTICE([portaudio19 library is available in the local tree])
|
||||
else
|
||||
AC_MSG_NOTICE([portaudio19 library is NOT available in the local tree])
|
||||
|
||||
Reference in New Issue
Block a user