+ issue a warning if boost_program_options is not available

This commit is contained in:
Artem Pavlenko 2009-01-19 23:12:19 +00:00
parent 5b5eb9d2ee
commit cca28d702f

View file

@ -256,6 +256,8 @@ SConscript('src/SConscript')
if 'boost_program_options%s' % env['BOOST_APPEND'] in env['LIBS']:
SConscript('utils/shapeindex/SConscript')
env['LIBS'].remove('boost_program_options%s' % env['BOOST_APPEND'])
else :
color_print(1,"WARNING: Cannot find boost_program_options. 'shapeindex' won't be available")
# Build the input plug-ins
if 'postgis' in inputplugins and 'pq' in env['LIBS']: