Don't build the wx frontend if antigrain is not available

I don't want to clutter the source code with ifdef :)
This commit is contained in:
riccardom 2010-02-17 14:36:51 +00:00
parent 264b0987e8
commit af100c36dc
1 changed files with 5 additions and 1 deletions

View File

@ -238,7 +238,11 @@ if test "x$HAVE_SDL" = "xyes"; then
UI_DIR="gtk $UI_DIR"
fi
if test "x$wxwin" = "xyes"; then
if test "x$HAVE_LIBAGG" = "xyes"; then
UI_DIR="wx $UI_DIR"
else
AC_MSG_WARN([Antigrain library not found, wxWidgets frontend will be disabled])
fi
fi
if test "x$HAVE_LIBGLADE" = "xyes"; then