From 8abfdd6156e4ac9ff09a19f7425852c0a1203855 Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Sun, 13 May 2012 00:57:50 +0000 Subject: [PATCH] Actually fail if wx can't be found Originally committed to SVN as r6768. --- aegisub/configure.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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.]))