From a9012f70f62c58f2311c8d69729d36947daa0ab2 Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Thu, 14 Jan 2010 14:46:54 +0000 Subject: More #1025 (support for using external third party libraries): - support for using external libspeex and libgsm - replaced --with-pa-path with --with-external-pa git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3062 74dad513-b988-da41-8d7b-12977e46ad98 --- pjmedia/build/os-auto.mak.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'pjmedia/build') diff --git a/pjmedia/build/os-auto.mak.in b/pjmedia/build/os-auto.mak.in index a7a153e7..a1a4050d 100644 --- a/pjmedia/build/os-auto.mak.in +++ b/pjmedia/build/os-auto.mak.in @@ -86,12 +86,12 @@ endif # PortAudio # ifneq ($(findstring pa,$(AC_PJMEDIA_SND)),) -ifeq (x@ac_pa_path@,x) +ifeq (@ac_external_pa@,1) +# External PA +export CFLAGS += -DPJMEDIA_AUDIO_DEV_HAS_PORTAUDIO=1 +#else # Our PA in third_party export CFLAGS += -I$(THIRD_PARTY)/build/portaudio -I$(THIRD_PARTY)/portaudio/include -DPJMEDIA_AUDIO_DEV_HAS_PORTAUDIO=1 -else -# External PA -export CFLAGS += -I@ac_pa_path@/include -DPJMEDIA_AUDIO_DEV_HAS_PORTAUDIO=1 endif endif -- cgit v1.2.3