diff --git a/aegisub/configure.in b/aegisub/configure.in index 43544e9e4..ba66ca8ee 100644 --- a/aegisub/configure.in +++ b/aegisub/configure.in @@ -490,8 +490,8 @@ WX_DEBUG=$DEBUG WX_UNICODE=$UNICODE WX_CONFIG_CHECK([wx_required_version],,,[std,gl,stc],[$WXCONFIG_FLAGS]) -AS_IF([test x$have_wxconfig = xno], - AC_MSG_FAILURE([wxWidgets detection failed, please set --with-wx* or add the libraries to your LIBS, CXX/CFLAGS.])) +AS_IF([test x$WX_VERSION = x], + [AC_MSG_FAILURE([wxWidgets detection failed, please set --with-wx* or add the libraries to your LIBS, CXX/CFLAGS.])]) AC_ARG_ENABLE(slow-wx-checks, AS_HELP_STRING([--disable-slow-wx-checks],[Disable slow-running checks for wx components.]))