From ba6a32b3c9228eac515c8bf3216f3e9ef03ad450 Mon Sep 17 00:00:00 2001 From: Zachary Lund Date: Fri, 27 Dec 2013 17:22:17 -0600 Subject: [PATCH] Minor change that fixes error message and sets a wxVersion variable --- configure.ac | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 9f4093867..cb887d1ab 100644 --- a/configure.ac +++ b/configure.ac @@ -75,9 +75,10 @@ AC_CHECK_LIB([swresample], [swr_convert], , AC_MSG_ERROR([libswresample not foun AC_CHECK_HEADER([jansson.h], , AC_MSG_ERROR([libjansson header not found])) AC_CHECK_LIB([jansson], [json_load_file], , AC_MSG_ERROR([libjansson not found])) +wxVersion=2.9.0 WX_CONFIG_OPTIONS WX_CONFIG_CHECK( - [2.9.0], [wxWin=1], [wxWin=0, + $wxVersion, [wxWin=1], [wxWin=0, AC_MSG_ERROR([ wxWidgets must be installed on your system. @@ -85,7 +86,7 @@ WX_CONFIG_CHECK( where wxWidgets libraries are installed (returned by 'wx-config --libs' or 'wx-config --static --libs' command) is in LD_LIBRARY_PATH or equivalent variable and - wxWidgets version is $reqwx or above. + wxWidgets version is $wxVersion or above. ]) ], [core], )