Changeset 701 for trunk/SConstruct
- Timestamp:
- 06/29/08 06:40:08 (6 months ago)
- Files:
-
- 1 modified
-
trunk/SConstruct (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/SConstruct
r679 r701 46 46 opts.Add(PathOption('PNG_INCLUDES', 'Search path for libpng include files', '/usr/include')) 47 47 opts.Add(PathOption('PNG_LIBS','Search path for libpng include files','/usr/' + LIBDIR_SCHEMA)) 48 opts.Add(PathOption('JPEG_INCLUDES', 'Search path for libjpeg include files', '/usr/ include'))49 opts.Add(PathOption('JPEG_LIBS', 'Search path for libjpeg library files', '/usr/ ' + LIBDIR_SCHEMA))48 opts.Add(PathOption('JPEG_INCLUDES', 'Search path for libjpeg include files', '/usr/local/include')) 49 opts.Add(PathOption('JPEG_LIBS', 'Search path for libjpeg library files', '/usr/local/' + LIBDIR_SCHEMA)) 50 50 opts.Add(PathOption('TIFF_INCLUDES', 'Search path for libtiff include files', '/usr/include')) 51 51 opts.Add(PathOption('TIFF_LIBS', 'Search path for libtiff library files', '/usr/' + LIBDIR_SCHEMA)) 52 52 opts.Add(PathOption('PGSQL_INCLUDES', 'Search path for PostgreSQL include files', '/usr/include')) 53 53 opts.Add(PathOption('PGSQL_LIBS', 'Search path for PostgreSQL library files', '/usr/' + LIBDIR_SCHEMA)) 54 opts.Add(PathOption('PROJ_INCLUDES', 'Search path for PROJ.4 include files', '/ usr/local/include'))55 opts.Add(PathOption('PROJ_LIBS', 'Search path for PROJ.4 library files', '/ usr/local/' + LIBDIR_SCHEMA))54 opts.Add(PathOption('PROJ_INCLUDES', 'Search path for PROJ.4 include files', '/opt/proj4/include')) 55 opts.Add(PathOption('PROJ_LIBS', 'Search path for PROJ.4 library files', '/opt/proj4/' + LIBDIR_SCHEMA)) 56 56 opts.Add(PathOption('GDAL_INCLUDES', 'Search path for GDAL include files', '/usr/include')) 57 57 opts.Add(PathOption('GDAL_LIBS', 'Search path for GDAL library files', '/usr/' + LIBDIR_SCHEMA)) 58 58 opts.Add(PathOption('PYTHON','Python executable', sys.executable)) 59 opts.Add(ListOption('INPUT_PLUGINS','Input drivers to include','all',['postgis','shape','raster','gdal' ]))59 opts.Add(ListOption('INPUT_PLUGINS','Input drivers to include','all',['postgis','shape','raster','gdal','osm'])) 60 60 opts.Add(ListOption('BINDINGS','Language bindings to build','all',['python'])) 61 61 opts.Add(BoolOption('DEBUG', 'Compile a debug version of mapnik', 'False')) … … 155 155 156 156 BOOST_LIBSHEADERS = [ 157 #['system', 'boost/system/system_error.hpp', True], # uncomment this on Darwin + boost_1_35157 ['system', 'boost/system/system_error.hpp', True], # uncomment this on Darwin + boost_1_35 158 158 ['filesystem', 'boost/filesystem/operations.hpp', True], 159 159 ['regex', 'boost/regex.hpp', True], … … 179 179 else: 180 180 env['BOOST_APPEND']='' 181 181 182 182 183 for count, libinfo in enumerate(BOOST_LIBSHEADERS): 183 184 if env['THREADING'] == 'multi' : 184 if not conf.CheckLibWithHeader('boost_%s%s%s' % (libinfo[0], env['BOOST_APPEND'],thread_suffix), libinfo[1], 'C++') and libinfo[2] :185 if not conf.CheckLibWithHeader('boost_%s%s%s' % (libinfo[0],thread_suffix,env['BOOST_APPEND']), libinfo[1], 'C++') and libinfo[2] : 185 186 color_print(1,'Could not find header or shared library for boost %s, exiting!' % libinfo[0]) 186 187 Exit(1) … … 204 205 205 206 # Build shapeindex and remove its dependency from the LIBS 206 if 'boost_program_options%s%s' % (env['BOOST_APPEND'],thread_suffix) in env['LIBS']: 207 # if 'boost_program_options%s%s-1_35' % (env['BOOST_APPEND'],thread_suffix) in env['LIBS']: 208 if 'boost_program_options-mt-1_35' in env['LIBS']: 207 209 SConscript('utils/shapeindex/SConscript') 208 env['LIBS'].remove('boost_program_options %s%s' % (env['BOOST_APPEND'],thread_suffix))210 env['LIBS'].remove('boost_program_options-mt-1_35') 209 211 210 212 # Build the input plug-ins 213 211 214 if 'postgis' in inputplugins and 'pq' in env['LIBS']: 212 215 SConscript('plugins/input/postgis/SConscript') … … 222 225 SConscript('plugins/input/gdal/SConscript') 223 226 224 if ' gigabase' in inputplugins and 'gigabase_r' in env['LIBS']:225 SConscript('plugins/input/ gigabase/SConscript')227 if 'osm' in inputplugins : 228 SConscript('plugins/input/osm/SConscript') 226 229 227 230 # Build the Python bindings.
