From cca28d702f5b78da349eaccd4feb51227588bda0 Mon Sep 17 00:00:00 2001 From: Artem Pavlenko Date: Mon, 19 Jan 2009 23:12:19 +0000 Subject: [PATCH] + issue a warning if boost_program_options is not available --- SConstruct | 2 ++ 1 file changed, 2 insertions(+) diff --git a/SConstruct b/SConstruct index 415b41754..9d2304c26 100644 --- a/SConstruct +++ b/SConstruct @@ -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']: