configure: simplify set_default function

Originally committed as revision 15911 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Måns Rullgård 2008-11-23 12:36:31 +00:00
parent a8e4161333
commit 88268e944a

2
configure vendored
View File

@ -362,7 +362,7 @@ disabled_any(){
set_default(){
for opt; do
eval test -z "\$$opt" && eval $opt=\$${opt}_default
eval : \${$opt:=\$${opt}_default}
done
}