Now that it build we can add the wx frontend, beware it

will hurt your kittens if you try to run it.
This commit is contained in:
riccardom 2010-02-03 21:29:51 +00:00
parent b0596ab4a2
commit 7d557512be
1 changed files with 5 additions and 2 deletions

View File

@ -218,8 +218,8 @@ AC_ARG_ENABLE([wxwidget],
[wxwidget=no])
if test "x$wxwidget" = "xyes" ; then
m4_include(wxwin.m4)
AM_PATH_WXCONFIG([2.4.0], wxwin=1)
if test "x$wxwin" = "x1"; then
AM_PATH_WXCONFIG([2.4.0], wxwin=yes)
if test "x$wxwin" = "xyes"; then
AC_SUBST(WX_CPPFLAGS)
AC_SUBST(WX_LIBS)
AC_DEFINE([WANT_WX])
@ -237,6 +237,9 @@ if test "x$HAVE_SDL" = "xyes"; then
# GTK requires SDL
UI_DIR="gtk $UI_DIR"
fi
if test "x$wxwin" = "xyes"; then
UI_DIR="wx $UI_DIR"
fi
if test "x$HAVE_LIBGLADE" = "xyes"; then
AC_PROVIDE_IFELSE([IT_PROG_INTLTOOL],[