Clean up the build command line another extra bit.
@@ -192,6 +192,4 @@ opus_sources_lib+=opus_sources_silk
env.drivers_sources+=opus_sources_lib
env.drivers_sources+=opus_sources
-env.Append(CFLAGS=["-DOPUS_HAVE_CONFIG_H"])
-
Export('env')
@@ -25,7 +25,7 @@
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifdef OPUS_HAVE_CONFIG_H
+#ifdef OPUS_ENABLED
#include "opus/opus_config.h"
#endif
@@ -27,7 +27,7 @@
/* Original code from libtheora modified to suit to Opus */
-#if defined(OPUS_HAVE_CONFIG_H)
+#if defined(OPUS_ENABLED)
# include "opus/opus_config.h"
#include "opus/celt/os_support.h"
@@ -30,7 +30,7 @@
heavily modified to better suit Opus */
#ifndef SKIP_CONFIG_H
-# ifdef OPUS_HAVE_CONFIG_H
+# ifdef OPUS_ENABLED
# endif
@@ -26,7 +26,7 @@
@@ -31,7 +31,7 @@
@@ -40,7 +40,7 @@
@@ -9,7 +9,7 @@
* by the Xiph.Org Foundation and contributors http://www.xiph.org/ *
* *
********************************************************************/
@@ -14,7 +14,7 @@
last mod: $Id: vorbisfile.c 17573 2010-10-27 14:53:59Z xiphmont $
@@ -31,7 +31,7 @@ POSSIBILITY OF SUCH DAMAGE.
/* Therefore the result is not accurate NLSFs, but the two */
/* functions are accurate inverses of each other */
@@ -25,7 +25,7 @@ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
***********************************************************************/
#ifdef OPUS_FIXED_POINT
@@ -32,7 +32,7 @@ POSSIBILITY OF SUCH DAMAGE.
* Can handle slowly varying filter coefficients *
* */
#include "opus/silk/API.h"
#include "opus/silk/define.h"