]> git.sesse.net Git - vlc/commitdiff
* configure.ac: allow compilation of wxwidget module with wxwidgets 2.8.x
authorGildas Bazin <gbazin@videolan.org>
Sat, 26 May 2007 21:53:17 +0000 (21:53 +0000)
committerGildas Bazin <gbazin@videolan.org>
Sat, 26 May 2007 21:53:17 +0000 (21:53 +0000)
configure.ac

index 472e102811d7bf6954918eaa654a63c604a785e2..fcf0a1667134cff1bbc44529b2acfff46129919b 100644 (file)
@@ -4896,9 +4896,9 @@ then
   AC_PATH_PROG(WX_CONFIG, ${WXWIDGETS_NAME}, no, ${WXWIDGETS_PATH})
   if test "${WX_CONFIG}" != "no" -a "${CXX}" != ""
   then
-    if expr 2.6.0 \> `${WX_CONFIG} --version` >/dev/null ||  expr 2.7.0 \<= `${WX_CONFIG} --version` >/dev/null
+    if expr 2.6.0 \> `${WX_CONFIG} --version` >/dev/null
     then
-      AC_MSG_ERROR([You need wxWidgets of the 2.6 branch. Please upgrade/downgrade and try again. Better yet, you can configure with --disable-wxwidgets.])
+      AC_MSG_ERROR([You need wxWidgets version 2.6.0 or upwards. Please upgrade and try again.])
     fi
     AC_LANG_PUSH(C++)
     # Turn this error: