Make av_always_inline a no-op when --disable-optimizations is supplied to
authorJeff Downs <heydowns@borg.com>
Thu, 30 Jul 2009 22:41:05 +0000 (22:41 +0000)
committerJeff Downs <heydowns@borg.com>
Thu, 30 Jul 2009 22:41:05 +0000 (22:41 +0000)
configure

Originally committed as revision 19555 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index c9c4816..6174f10 100755 (executable)
--- a/configure
+++ b/configure
@@ -2654,7 +2654,7 @@ print_config CONFIG_ $TMPH config.mak $CONFIG_LIST       \
 
 echo "#define restrict $_restrict" >> $TMPH
 
-if enabled small; then
+if enabled small || disabled optimizations; then
     echo "#define av_always_inline"  >> $TMPH
 fi