summaryrefslogtreecommitdiff
path: root/aconfigure.ac
diff options
context:
space:
mode:
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,