Define !CONFIG_FOO in config.make if feature disabled
authorMåns Rullgård <mans@mansr.com>
Wed, 13 Jan 2010 17:48:13 +0000 (17:48 +0000)
committerMåns Rullgård <mans@mansr.com>
Wed, 13 Jan 2010 17:48:13 +0000 (17:48 +0000)
Originally committed as revision 21192 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index e90277b..1eed987 100755 (executable)
--- a/configure
+++ b/configure
@@ -482,6 +482,7 @@ print_config(){
             echo "${pfx}${ucname}=yes" >> $makefile
         else
             echo "#define ${pfx}${ucname} 0" >> $header
+            echo "!${pfx}${ucname}=yes" >> $makefile
         fi
     done
 }