shithub: opus

Download patch

ref: 12fb15f42bdc047549ca3c77669861a746d03737
parent: 7d0e33f7f12ade89341b84c3339f5514a17e75c5
author: Jean-Marc Valin <jmvalin@jmvalin.ca>
date: Tue Aug 30 21:57:18 EDT 2016

Add configure option --enable-update-draft

--- a/configure.ac
+++ b/configure.ac
@@ -794,6 +794,15 @@
 AM_CONDITIONAL([EXTRA_PROGRAMS], [test "$enable_extra_programs" = "yes"])
 
 
+AC_ARG_ENABLE([update-draft],
+  AS_HELP_STRING([--enable-update-draft], [Enable bitstream changes from draft-ietf-codec-opus-update]),,
+  [enable_update_draft=no])
+
+AS_IF([test "$enable_update_draft" = "yes"], [
+  AC_DEFINE([ENABLE_UPDATE_DRAFT], [1], [Enable bitstream changes from draft-ietf-codec-opus-update])
+])
+
+
 saved_CFLAGS="$CFLAGS"
 CFLAGS="$CFLAGS -fvisibility=hidden"
 AC_MSG_CHECKING([if ${CC} supports -fvisibility=hidden])