Revision bf0c4afa configure

View differences:

configure
936 936
}
937 937

  
938 938
show_list() {
939
    for part in $*; do
940
        echo $part | sed 's/_[^_]*$//'
941
    done | sort
939
    suffix=_$1
940
    shift
941
    echo $* | sed s/$suffix//g | tr ' ' '\n' | sort
942 942
    exit 0
943 943
}
944 944

  
......
1016 1016
  --list-*)
1017 1017
    NAME="${opt#--list-}"
1018 1018
    is_in $NAME $COMPONENT_LIST || die_unknown $opt
1019
    NAME=$(toupper ${NAME%s})
1020
    eval show_list \$${NAME}_LIST
1019
    NAME=${NAME%s}
1020
    eval show_list $NAME \$$(toupper $NAME)_LIST
1021 1021
  ;;
1022 1022
  --help|-h) show_help
1023 1023
  ;;

Also available in: Unified diff