From e81e215119ce967ecfcbd8d3de9bc136dac67a8f Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Wed, 12 Mar 2008 22:44:24 +0000 Subject: Ticket #511: Add --disable-oss option to disable OSS in configure script git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1863 74dad513-b988-da41-8d7b-12977e46ad98 --- third_party/build/portaudio/os-auto.mak.in | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'third_party/build/portaudio') diff --git a/third_party/build/portaudio/os-auto.mak.in b/third_party/build/portaudio/os-auto.mak.in index 288c3f50..5cfd2a62 100644 --- a/third_party/build/portaudio/os-auto.mak.in +++ b/third_party/build/portaudio/os-auto.mak.in @@ -15,6 +15,9 @@ AC_PJMEDIA_SND=@ac_pjmedia_snd@ # For Unix, specify if ALSA should be supported AC_PA_USE_ALSA=@ac_pa_use_alsa@ +# For Unix, specify if OSS should be supported +AC_PA_USE_OSS=@ac_pa_use_oss@ + # Additional PortAudio CFLAGS are in @ac_pa_cflags@ @@ -31,11 +34,14 @@ export CFLAGS += -DPA_USE_ALSA=1 export PORTAUDIO_OBJS += pa_linux_alsa.o endif -export CFLAGS += -DPA_USE_OSS=1 export CFLAGS += @ac_pa_cflags@ -export PORTAUDIO_OBJS += pa_unix_oss.o endif +# Include OSS? +ifeq ($(AC_PA_USE_OSS),1) +export CFLAGS += -DPA_USE_OSS=1 +export PORTAUDIO_OBJS += pa_unix_oss.o +endif # # PortAudio on MacOS X (using current PortAudio) -- cgit v1.2.3