From 772f17c1c70b694b73d103006e4291c792aee3e1 Mon Sep 17 00:00:00 2001 From: nakeee Date: Thu, 8 Jan 2009 11:50:49 +0000 Subject: [PATCH] remove wx check in nowx git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1827 8ced0084-cf51-0410-be5f-012b33b47a6e --- SConstruct | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/SConstruct b/SConstruct index 07e4893811..6a832e00b3 100644 --- a/SConstruct +++ b/SConstruct @@ -230,7 +230,11 @@ if env['wxgl']: env['HAVE_X11'] = 0 env['HAVE_COCOA'] = 0 -env['HAVE_WX'] = conf.CheckWXConfig('2.8', wxmods, 0) +# Gui less build +if env['nowx']: + env['HAVE_WX'] = 0; +else: + env['HAVE_WX'] = conf.CheckWXConfig('2.8', wxmods, 0) # SDL backend env['USE_SDL'] = 0 @@ -253,10 +257,6 @@ if env['jittest']: conf.Define('JITTEST', env['JITTEST']) -# Gui less build -if env['nowx']: - env['HAVE_WX'] = 0; - # Creating config.h defines conf.Define('HAVE_SDL', env['HAVE_SDL']) conf.Define('USE_SDL', env['USE_SDL'])