|
|
then | then |
if test ! -f "${WX_HOME}/${wx_config_binary}" | if test ! -f "${WX_HOME}/${wx_config_binary}" |
then | then |
|
# PP: here i have trouble, since on my machine |
|
# the WX_HOME point to /usr/local (old 2.5) and should be /usr... |
|
# lets try as last chance |
|
WX_HOME=/usr |
|
if test ! -f "${WX_HOME}/${wx_config_binary}" |
|
then |
{ { echo "$as_me:$LINENO: error: Could not find ${wx_config_binary}" >&5 | { { echo "$as_me:$LINENO: error: Could not find ${wx_config_binary}" >&5 |
echo "$as_me: error: Could not find ${wx_config_binary}" >&2;} |
echo "$as_me: error: Could not find ${wx_config_binary}" >&2;} |
{ (exit 1); exit 1; }; } | { (exit 1); exit 1; }; } |
else | else |
WX_CONFIG="${WX_HOME}/${wx_config_binary}" | WX_CONFIG="${WX_HOME}/${wx_config_binary}" |
fi | fi |
else | else |
|
WX_CONFIG="${WX_HOME}/${wx_config_binary}" |
|
fi |
|
else |
WX_CONFIG="${WX_HOME}/bin/${wx_config_binary}" | WX_CONFIG="${WX_HOME}/bin/${wx_config_binary}" |
fi | fi |
else | else |