scons: warn if the SYSTEM_FONTS directory does not exist

This commit is contained in:
Dane Springmeyer 2009-03-02 23:53:28 +00:00
parent 194093d719
commit 8f56b0d5dc

View file

@ -448,7 +448,9 @@ if not env.GetOption('clean'):
thread_suffix = '' thread_suffix = ''
env.Append(LIBS = 'pthread') env.Append(LIBS = 'pthread')
if env['SYSTEM_FONTS']:
if not os.path.isdir(env['SYSTEM_FONTS']):
color_print(1,'Warning: Directory specified for SYSTEM_FONTS does not exist!')
#### Libraries and headers dependency checks #### #### Libraries and headers dependency checks ####
# Set up for libraries and headers dependency checks # Set up for libraries and headers dependency checks