mirror of
https://github.com/cookiengineer/audacity
synced 2026-04-25 23:44:13 +02:00
Fix the handling of portmixer's configure parameter --with-pa-include.
This commit is contained in:
5
lib-src/portmixer/configure
vendored
5
lib-src/portmixer/configure
vendored
@@ -11833,6 +11833,9 @@ fi
|
|||||||
# Check which APIs are available
|
# Check which APIs are available
|
||||||
#
|
#
|
||||||
|
|
||||||
|
cppflags_save="$CPPFLAGS"
|
||||||
|
CPPFLAGS="$CPPFLAGS $PORTAUDIO_CFLAGS"
|
||||||
|
|
||||||
have_oss=no
|
have_oss=no
|
||||||
for ac_header in sys/soundcard.h linux/soundcard.h machine/soundcard.h
|
for ac_header in sys/soundcard.h linux/soundcard.h machine/soundcard.h
|
||||||
do :
|
do :
|
||||||
@@ -12046,6 +12049,8 @@ rm -f conftest*
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
CPPFLAGS="$cppflags_save"
|
||||||
|
|
||||||
#
|
#
|
||||||
# Set up to use the identified ones
|
# Set up to use the identified ones
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -56,6 +56,10 @@ AC_SUBST(PORTAUDIO_CFLAGS)
|
|||||||
# Check which APIs are available
|
# 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
|
have_oss=no
|
||||||
AC_CHECK_HEADERS([sys/soundcard.h linux/soundcard.h machine/soundcard.h], have_oss=yes)
|
AC_CHECK_HEADERS([sys/soundcard.h linux/soundcard.h machine/soundcard.h], have_oss=yes)
|
||||||
if [[ $have_oss = "yes" ]] ; then
|
if [[ $have_oss = "yes" ]] ; then
|
||||||
@@ -119,6 +123,9 @@ if [[ $have_portaudio = "yes" ]] ; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
dnl Restore pre-processor flags
|
||||||
|
CPPFLAGS="$cppflags_save"
|
||||||
|
|
||||||
#
|
#
|
||||||
# Set up to use the identified ones
|
# Set up to use the identified ones
|
||||||
#
|
#
|
||||||
|
|||||||
Reference in New Issue
Block a user