[AD] SCons patches

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


The attached file modifies the SCons files:

 - Added ESD to SCons configure routine
 - Skip SCons configure checks when cleaning build

-- 
Regards,
Ryan Patterson <mailto:cgamesplay@xxxxxxxxxx>
Index: scons/unix.scons
===================================================================
--- scons/unix.scons	(revision 11026)
+++ scons/unix.scons	(working copy)
@@ -66,6 +66,7 @@
     platform["ALLEGRO_USE_SCHED_YIELD"] = config.CheckLib(["c", "posix4", "rt"], "sched_yield")
     platform["ALLEGRO_WITH_ALSADIGI"] = config.CheckALSADigi()
     platform["ALLEGRO_WITH_ALSAMIDI"] = config.CheckALSAMidi()
+    platform["ALLEGRO_WITH_ESDDIGI"] = config.CheckESDDigi()
     platform["ALLEGRO_WITH_JACKDIGI"] = config.CheckJackDigi()
     platform["ALLEGRO_WITH_MAGIC_MAIN"] = getOption("magic_main", "no")
 
Index: scons/helpers.py
===================================================================
--- scons/helpers.py	(revision 11026)
+++ scons/helpers.py	(working copy)
@@ -172,6 +172,9 @@
     platform = SimpleHash()
     env = context.defaultEnvironment()
 
+    if env.GetOption("clean"):
+        return [platform, env]
+
     configured = configure_state[name]
     config_file = None
 


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/