From 7d557512bedfd608a9bd05dd7a2481656945e76b Mon Sep 17 00:00:00 2001 From: riccardom Date: Wed, 3 Feb 2010 21:29:51 +0000 Subject: [PATCH] Now that it build we can add the wx frontend, beware it will hurt your kittens if you try to run it. --- desmume/configure.ac | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/desmume/configure.ac b/desmume/configure.ac index b3865ebe9..271f05506 100644 --- a/desmume/configure.ac +++ b/desmume/configure.ac @@ -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],[