mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-10 16:43:33 +02:00
Set PORTAUDIO_CFLAGS and PORTAUDIO_LIBS for portmixer when using the local portaudio.
This commit is contained in:
3
configure
vendored
3
configure
vendored
@@ -8346,7 +8346,8 @@ fi
|
|||||||
PORTAUDIO_LOCAL_LIBS="libportaudio.a"
|
PORTAUDIO_LOCAL_LIBS="libportaudio.a"
|
||||||
PORTAUDIO_LOCAL_CXXFLAGS='-I$(top_srcdir)/lib-src/portaudio-v19/include'
|
PORTAUDIO_LOCAL_CXXFLAGS='-I$(top_srcdir)/lib-src/portaudio-v19/include'
|
||||||
|
|
||||||
PORTAUDIO_LOCAL_CONFIGURE_ARGS="--with-pa-include=$(pwd)/lib-src/portaudio-v19/include"
|
portaudio_dir="$(pwd)/lib-src/portaudio-v19"
|
||||||
|
PORTAUDIO_LOCAL_CONFIGURE_ARGS="PORTAUDIO_CFLAGS=-I${portaudio_dir}/include PORTAUDIO_LIBS=${portaudio_dir}/lib/.libs/libportaudio.a"
|
||||||
|
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: portaudio19 library is available in the local tree" >&5
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: portaudio19 library is available in the local tree" >&5
|
||||||
$as_echo "$as_me: portaudio19 library is available in the local tree" >&6;}
|
$as_echo "$as_me: portaudio19 library is available in the local tree" >&6;}
|
||||||
|
@@ -43,8 +43,10 @@ AC_DEFUN([AUDACITY_CHECKLIB_PORTAUDIO], [
|
|||||||
PORTAUDIO_LOCAL_LIBS="libportaudio.a"
|
PORTAUDIO_LOCAL_LIBS="libportaudio.a"
|
||||||
PORTAUDIO_LOCAL_CXXFLAGS='-I$(top_srcdir)/lib-src/portaudio-v19/include'
|
PORTAUDIO_LOCAL_CXXFLAGS='-I$(top_srcdir)/lib-src/portaudio-v19/include'
|
||||||
|
|
||||||
dnl set up configuring portaudio
|
dnl We need to override the pkg-config check for portmixer by passing
|
||||||
PORTAUDIO_LOCAL_CONFIGURE_ARGS="--with-pa-include=$(pwd)/lib-src/portaudio-v19/include"
|
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/.libs/libportaudio.a"
|
||||||
|
|
||||||
AC_MSG_NOTICE([portaudio19 library is available in the local tree])
|
AC_MSG_NOTICE([portaudio19 library is available in the local tree])
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user