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:
parent
264b0987e8
commit
af100c36dc
|
@ -238,7 +238,11 @@ if test "x$HAVE_SDL" = "xyes"; then
|
||||||
UI_DIR="gtk $UI_DIR"
|
UI_DIR="gtk $UI_DIR"
|
||||||
fi
|
fi
|
||||||
if test "x$wxwin" = "xyes"; then
|
if test "x$wxwin" = "xyes"; then
|
||||||
|
if test "x$HAVE_LIBAGG" = "xyes"; then
|
||||||
UI_DIR="wx $UI_DIR"
|
UI_DIR="wx $UI_DIR"
|
||||||
|
else
|
||||||
|
AC_MSG_WARN([Antigrain library not found, wxWidgets frontend will be disabled])
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test "x$HAVE_LIBGLADE" = "xyes"; then
|
if test "x$HAVE_LIBGLADE" = "xyes"; then
|
||||||
|
|
Loading…
Reference in New Issue