1
0
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:
benjamin.drung@gmail.com 2013-11-08 20:01:00 +00:00
parent 6e6793543f
commit ffd61debe8
2 changed files with 12 additions and 0 deletions

View File

@ -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
#

View File

@ -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
#