Revision e0e335a0 configure

View differences:

configure
317 317
map(){
318 318
    m=$1
319 319
    shift
320
    for _; do eval $m; done
320
    for v; do eval $m; done
321 321
}
322 322

  
323 323
set_all(){
......
1592 1592
    --enable-debug=*) debuglevel="$optval"
1593 1593
    ;;
1594 1594
    --disable-everything)
1595
    map 'eval disable \${$(toupper ${_%s})_LIST}' $COMPONENT_LIST
1595
    map 'eval disable \${$(toupper ${v%s})_LIST}' $COMPONENT_LIST
1596 1596
    ;;
1597 1597
    --enable-*=*|--disable-*=*)
1598 1598
    eval $(echo "${opt%%=*}" | sed 's/--/action=/;s/-/ thing=/')
......
2955 2955
        libpostproc/Makefile
2956 2956
        libswscale/Makefile
2957 2957
    "
2958
    map 'mkdir -p $_' $DIRS;
2959
    map '$ln_s "$source_path/$_" $_' $FILES
2958
    map 'mkdir -p $v' $DIRS;
2959
    map '$ln_s "$source_path/$v" $v' $FILES
2960 2960
fi
2961 2961

  
2962 2962
enabled stripping || strip="echo skipping strip"

Also available in: Unified diff