Skip to content

Commit

Permalink
Merge pull request #14 from computerquip/autotools-fix
Browse files Browse the repository at this point in the history
Minor change that fixes error message and sets a wxVersion variable
  • Loading branch information
jp9000 committed Dec 28, 2013
2 parents de7005f + ba6a32b commit fe8559a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions configure.ac
Expand Up @@ -75,17 +75,18 @@ 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.
Please check that wx-config is in path, the directory
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], )

Expand Down

0 comments on commit fe8559a

Please sign in to comment.