mirror of https://github.com/BOINC/boinc.git
Build: fail if wxWidgets lib can not be found but is required
Currently the build system will silently disable the Manager build when wxWidgets is missing or not a recent enough version. Fix #1714
This commit is contained in:
parent
0a02ac343e
commit
d23e7736dd
|
@ -9,7 +9,9 @@ AC_DEFUN([BOINC_OPTIONS_WXWIDGETS],[
|
||||||
[])
|
[])
|
||||||
|
|
||||||
AM_OPTIONS_WXCONFIG
|
AM_OPTIONS_WXCONFIG
|
||||||
AM_PATH_WXCONFIG($1, [_ac_cv_have_wxwidgets=yes], [_ac_cv_have_wxwidgets=no])
|
AM_PATH_WXCONFIG([$1],
|
||||||
|
[_ac_cv_have_wxwidgets=yes],
|
||||||
|
[AC_MSG_ERROR([No suitable wxWidgets library found.])])
|
||||||
AC_CACHE_CHECK([if wxWidgets works],[ac_cv_have_wxwidgets],
|
AC_CACHE_CHECK([if wxWidgets works],[ac_cv_have_wxwidgets],
|
||||||
[ac_cv_have_wxwidgets="${_ac_cv_have_wxwidgets}"])
|
[ac_cv_have_wxwidgets="${_ac_cv_have_wxwidgets}"])
|
||||||
AC_CACHE_SAVE
|
AC_CACHE_SAVE
|
||||||
|
|
Loading…
Reference in New Issue