diff --git a/configure b/configure index b39ddb2b8..6af0d6cac 100755 --- a/configure +++ b/configure @@ -226,6 +226,7 @@ EXPERIMENT_LIST=" switchable_interp tx16x16 newbestrefmv + rotation " CONFIG_LIST=" external_build diff --git a/examples/decoder_tmpl.c b/examples/decoder_tmpl.c index 8194f0ade..597fea200 100644 --- a/examples/decoder_tmpl.c +++ b/examples/decoder_tmpl.c @@ -12,6 +12,7 @@ /* @*INTRODUCTION */ +#include "vpx_config.h" #include #include #include diff --git a/vp8/common/predict_rotated.c b/vp8/common/predict_rotated.c index 29ef65cea..140189617 100644 --- a/vp8/common/predict_rotated.c +++ b/vp8/common/predict_rotated.c @@ -8,6 +8,8 @@ * be found in the AUTHORS file in the root of the source tree. */ +#include "vpx_config.h" + #if CONFIG_ROTATION typedef struct { int y; diff --git a/vp8/common/treecoder.c b/vp8/common/treecoder.c index 5c182d4dd..def4caa04 100644 --- a/vp8/common/treecoder.c +++ b/vp8/common/treecoder.c @@ -11,7 +11,7 @@ #include "vpx_config.h" -#if CONFIG_DEBUG +#if defined(CONFIG_DEBUG) && CONFIG_DEBUG #include #endif #include diff --git a/vpx_mem/vpx_mem.h b/vpx_mem/vpx_mem.h index 6ee5f5d7e..3246e9298 100644 --- a/vpx_mem/vpx_mem.h +++ b/vpx_mem/vpx_mem.h @@ -12,6 +12,7 @@ #ifndef __VPX_MEM_H__ #define __VPX_MEM_H__ +#include "vpx_config.h" #if defined(__uClinux__) # include #endif diff --git a/vpx_ports/asm_offsets.h b/vpx_ports/asm_offsets.h index 05da24f2b..6752463b2 100644 --- a/vpx_ports/asm_offsets.h +++ b/vpx_ports/asm_offsets.h @@ -18,7 +18,7 @@ static void assert_##name(void) UNUSED;\ static void assert_##name(void) {switch(0){case 0:case !!(cond):;}} -#if INLINE_ASM +#if defined(INLINE_ASM) && INLINE_ASM #define DEFINE(sym, val) asm("\n" #sym " EQU %0" : : "i" (val)); #define BEGIN int main(void) { #define END return 0; } diff --git a/vpxenc.c b/vpxenc.c index 5667abe1c..26c52d51c 100644 --- a/vpxenc.c +++ b/vpxenc.c @@ -8,6 +8,7 @@ * be found in the AUTHORS file in the root of the source tree. */ +#include "vpx_config.h" /* This is a simple program that encodes YV12 files and generates ivf * files using the new interface.