Hi, 2012/1/23 Måns Rullgård <m...@mansr.com>: > "Ronald S. Bultje" <rsbul...@gmail.com> writes: > >> This allows combining multiple conditionals in a single statement. >> --- >> >> diff --git a/configure b/configure >> index 3146641..bd3e4f1 100755 >> --- a/configure >> +++ b/configure >> @@ -542,7 +542,8 @@ print_config_mak(){ >> } >> >> print_config_asm(){ >> - enabled $1 && echo "%define $2" >> + enabled $1 && v=1 || v=0 >> + echo "%define $2 $v" >> } > > Why did we use %ifdef originally? Are there compatibility problems with > nasm or some widely installed yasm version? I vaguely recall some > discussion about this back when config.asm was added.
Likely because that's what we used before config.asm existed, and that was because that's what x264 used. Which reminds me: if we change this, likely x264 should make the same change, else our x86inc.asm files and shared h264 loopfilter code (&more) become incompatible. Ronald _______________________________________________ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel