Revision 8b93ddc3 configure

View differences:

configure
1390 1390
    --enable-debug=*) debuglevel="$optval"
1391 1391
    ;;
1392 1392
    --enable-*=*|--disable-*=*)
1393
    eval $(echo "$opt" | sed 's/=/-/;s/--/action=/;s/-/ thing=/;s/-/ name=/')
1393
    eval $(echo "${opt%%=*}" | sed 's/--/action=/;s/-/ thing=/')
1394 1394
    is_in "${thing}s" $COMPONENT_LIST || die_unknown "$opt"
1395 1395
    eval list=\$$(toupper $thing)_LIST
1396
    $action $(filter "${optval}_${thing}" $list)
1396
    name=$(echo "${optval}" | sed "s/,/_${thing}|/g")_${thing}
1397
    $action $(filter "$name" $list)
1397 1398
    ;;
1398 1399
    --enable-?*|--disable-?*)
1399 1400
    eval $(echo "$opt" | sed 's/--/action=/;s/-/ option=/;s/-/_/g')

Also available in: Unified diff