summaryrefslogtreecommitdiff
path: root/aconfigure.ac
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2008-03-17 14:24:21 +0000
committerBenny Prijono <bennylp@teluu.com>2008-03-17 14:24:21 +0000
commite3e6f48de6e5f7d8c51cbd5fc7850691fe8831a8 (patch)
treeccf47358a4cbb2f2a84ddb80c616ba41f604bfd6 /aconfigure.ac
parente14e1fddbedf8c03df686ecd7c7af0c0ca0f52c6 (diff)
More ticket #507: updated GNU build system with the G.722 codec and fixed minor warning about operator precedence
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1871 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'aconfigure.ac')
-rw-r--r--aconfigure.ac12
1 files changed, 12 insertions, 0 deletions
diff --git a/aconfigure.ac b/aconfigure.ac
index 5b0f2ae6..aa466138 100644
--- a/aconfigure.ac
+++ b/aconfigure.ac
@@ -475,6 +475,18 @@ AC_ARG_ENABLE(gsm-codec,
fi],
AC_MSG_RESULT([Checking if GSM codec is disabled...no]))
+dnl # Include G.722 codec
+AC_SUBST(ac_no_g722_codec)
+AC_ARG_ENABLE(g722-codec,
+ AC_HELP_STRING([--disable-g722-codec],
+ [Exclude G.722 codec in the build]),
+ [if test "$enable_g722_codec" = "no"; then
+ [ac_no_g722_codec=1]
+ AC_DEFINE(PJMEDIA_HAS_G722_CODEC,0)
+ AC_MSG_RESULT([Checking if G.722 codec is disabled...yes])
+ fi],
+ AC_MSG_RESULT([Checking if G.722 codec is disabled...no]))
+
dnl # Include Speex codec
AC_SUBST(ac_no_speex_codec)
AC_ARG_ENABLE(speex-codec,