mirror of
https://github.com/cookiengineer/audacity
synced 2025-04-30 15:49:41 +02:00
Fix the handling of portmixer's configure parameter --with-pa-include.
This commit is contained in:
parent
6e6793543f
commit
ffd61debe8
5
lib-src/portmixer/configure
vendored
5
lib-src/portmixer/configure
vendored
@ -11833,6 +11833,9 @@ fi
|
||||
# Check which APIs are available
|
||||
#
|
||||
|
||||
cppflags_save="$CPPFLAGS"
|
||||
CPPFLAGS="$CPPFLAGS $PORTAUDIO_CFLAGS"
|
||||
|
||||
have_oss=no
|
||||
for ac_header in sys/soundcard.h linux/soundcard.h machine/soundcard.h
|
||||
do :
|
||||
@ -12046,6 +12049,8 @@ rm -f conftest*
|
||||
fi
|
||||
fi
|
||||
|
||||
CPPFLAGS="$cppflags_save"
|
||||
|
||||
#
|
||||
# Set up to use the identified ones
|
||||
#
|
||||
|
@ -56,6 +56,10 @@ AC_SUBST(PORTAUDIO_CFLAGS)
|
||||
# Check which APIs are available
|
||||
#
|
||||
|
||||
dnl The following tests need to have the header files of portaudio available.
|
||||
cppflags_save="$CPPFLAGS"
|
||||
CPPFLAGS="$CPPFLAGS $PORTAUDIO_CFLAGS"
|
||||
|
||||
have_oss=no
|
||||
AC_CHECK_HEADERS([sys/soundcard.h linux/soundcard.h machine/soundcard.h], have_oss=yes)
|
||||
if [[ $have_oss = "yes" ]] ; then
|
||||
@ -119,6 +123,9 @@ if [[ $have_portaudio = "yes" ]] ; then
|
||||
fi
|
||||
fi
|
||||
|
||||
dnl Restore pre-processor flags
|
||||
CPPFLAGS="$cppflags_save"
|
||||
|
||||
#
|
||||
# Set up to use the identified ones
|
||||
#
|
||||
|
Loading…
x
Reference in New Issue
Block a user