+
+ case "$m_ourversion" in
+ 2.9)
+ is29orlater=1
+ ;;
+ 2.*)
+ # there is no 2.10 so currently everything else is <= 2.8
+ is29orlater=0
+ ;;
+ *)
+ # 3.x and later "is29orlater" too
+ is29orlater=1
+ ;;
+ esac
+
+ # use 2.8 or 2.9 version of the mask: the difference is the presence of
+ # debug type in pre-2.9
+ if [ $is29orlater = 1 ]; then
+ eval echo "\${$1_host:+\$$1_host-}\${$1_toolkit}\${$1_widgetset}-\${$1_chartype}\${$1_linkage:+-\$$1_linkage}-\${$1_version}\${$1_flavour}"
+ else
+ eval echo "\${$1_host:+\$$1_host-}\${$1_toolkit}\${$1_widgetset}-\${$1_chartype}-\${$1_debugtype}\${$1_linkage:+-\$$1_linkage}-\${$1_version}\${$1_flavour}"
+ fi