summaryrefslogtreecommitdiff
path: root/pjmedia/src/pjmedia-codec/gsm.c
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/src/pjmedia-codec/gsm.c
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/src/pjmedia-codec/gsm.c')
-rw-r--r--pjmedia/src/pjmedia-codec/gsm.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/pjmedia/src/pjmedia-codec/gsm.c b/pjmedia/src/pjmedia-codec/gsm.c
index 965c936d..11252137 100644
--- a/pjmedia/src/pjmedia-codec/gsm.c
+++ b/pjmedia/src/pjmedia-codec/gsm.c
@@ -28,13 +28,18 @@
#include <pj/pool.h>
#include <pj/string.h>
#include <pj/os.h>
-#include "../../third_party/gsm/inc/gsm.h"
/*
* Only build this file if PJMEDIA_HAS_GSM_CODEC != 0
*/
#if defined(PJMEDIA_HAS_GSM_CODEC) && PJMEDIA_HAS_GSM_CODEC != 0
+#if defined(PJMEDIA_EXTERNAL_GSM_CODEC) && PJMEDIA_EXTERNAL_GSM_CODEC
+# include <gsm/gsm.h>
+#else
+# include "../../third_party/gsm/inc/gsm.h"
+#endif
+
/* We removed PLC in 0.6 (and re-enabled it again in 0.9!) */
#define PLC_DISABLED 0