"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. -- Måns Rullgård m...@mansr.com _______________________________________________ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel