diff options
author | Benny Prijono <bennylp@teluu.com> | 2008-03-12 22:44:24 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2008-03-12 22:44:24 +0000 |
commit | e81e215119ce967ecfcbd8d3de9bc136dac67a8f (patch) | |
tree | 43dd00443c55a369168482c5295f10b574bccea0 /third_party/build/portaudio/os-auto.mak.in | |
parent | e2aa3dae84706748ba106c352557c9d9cea90efc (diff) |
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
Diffstat (limited to 'third_party/build/portaudio/os-auto.mak.in')
-rw-r--r-- | third_party/build/portaudio/os-auto.mak.in | 10 |
1 files changed, 8 insertions, 2 deletions
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) |