Commit 95d197ce authored by Christophe Mutricy's avatar Christophe Mutricy

Be more restrictiv wrt wx version.

parent f8df6736
...@@ -4703,9 +4703,9 @@ then ...@@ -4703,9 +4703,9 @@ then
AC_PATH_PROG(WX_CONFIG, ${WXWIDGETS_NAME}, no, ${WXWIDGETS_PATH}) AC_PATH_PROG(WX_CONFIG, ${WXWIDGETS_NAME}, no, ${WXWIDGETS_PATH})
if test "${WX_CONFIG}" != "no" -a "${CXX}" != "" if test "${WX_CONFIG}" != "no" -a "${CXX}" != ""
then then
if expr 2.3.0 \> `${WX_CONFIG} --version` >/dev/null if expr 2.6.0 \> `${WX_CONFIG} --version` >/dev/null || expr 2.7.0 \<= `${WX_CONFIG} --version` >/dev/null
then then
AC_MSG_ERROR([Your development package for wxWidgets is too old, you need at least version 2.3.0. Please upgrade and try again. Alternatively you can also configure with --disable-wxwidgets.]) AC_MSG_ERROR([You need wxWidgets of the 2.6 branch. Please upgrade and try again. Alternatively you can also configure with --disable-wxwidgets.])
fi fi
AC_LANG_PUSH(C++) AC_LANG_PUSH(C++)
# Turn this error: # Turn this error:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment