diff -r f6a72eb99631 -r 9d66d323c354 ccdemos/SConscript --- a/ccdemos/SConscript Tue Apr 29 23:31:08 2008 +0200 +++ b/ccdemos/SConscript Fri May 02 13:27:47 2008 +0200 @@ -4,7 +4,12 @@ myenv.Prepend(LIBS=['pyrit']) sdlenv = myenv.Clone() -sdlenv.ParseConfig('sh sdl-config --cflags --libs') +try: + sdlenv.ParseConfig('sh sdl-config --cflags --libs') +except: + print "SDL not found, some demos will not built." + myenv.Alias('cc-demos', None) + Return() l = [] l.append( sdlenv.Program(['realtime.cc']) )