Use portable comparison syntax in wx-config.

"==" is not portable in test and while it works in most shells, it fails in
dash. Fix it by using "=".

Closes #11349.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2009-10-19 09:17:39 +00:00
parent 41084d1604
commit 0df5d67316

View File

@@ -386,7 +386,7 @@ get_mask()
# 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
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}"