summaryrefslogtreecommitdiff
path: root/pjmedia/build
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2010-01-14 14:46:54 +0000
committerBenny Prijono <bennylp@teluu.com>2010-01-14 14:46:54 +0000
commita9012f70f62c58f2311c8d69729d36947daa0ab2 (patch)
treef33c6d5174669ab3956953bd2cb37010dd1bd70f /pjmedia/build
parent0c93ac9d11ec67e86b2b5c8a9c2181cee8b5e391 (diff)
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
Diffstat (limited to 'pjmedia/build')
-rw-r--r--pjmedia/build/os-auto.mak.in8
1 files changed, 4 insertions, 4 deletions
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