Changeset 703 for trunk/SConstruct
- Timestamp:
- 06/29/08 06:58:29 (6 months ago)
- Files:
-
- 1 modified
-
trunk/SConstruct (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/SConstruct
r701 r703 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/ local/include'))49 opts.Add(PathOption('JPEG_LIBS', 'Search path for libjpeg library files', '/usr/ local/' + 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)) 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', '/ opt/proj4/include'))55 opts.Add(PathOption('PROJ_LIBS', 'Search path for PROJ.4 library files', '/ opt/proj4/' + 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)) 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' ,'osm']))59 opts.Add(ListOption('INPUT_PLUGINS','Input drivers to include','all',['postgis','shape','raster','gdal'])) 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 182 181 183 182 for count, libinfo in enumerate(BOOST_LIBSHEADERS): 184 183 if env['THREADING'] == 'multi' : 185 if not conf.CheckLibWithHeader('boost_%s%s%s' % (libinfo[0], thread_suffix,env['BOOST_APPEND']), libinfo[1], 'C++') and libinfo[2] :184 if not conf.CheckLibWithHeader('boost_%s%s%s' % (libinfo[0],env['BOOST_APPEND'],thread_suffix), libinfo[1], 'C++') and libinfo[2] : 186 185 color_print(1,'Could not find header or shared library for boost %s, exiting!' % libinfo[0]) 187 186 Exit(1) … … 205 204 206 205 # Build shapeindex and remove its dependency from the 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']: 206 if 'boost_program_options%s%s' % (env['BOOST_APPEND'],thread_suffix) in env['LIBS']: 209 207 SConscript('utils/shapeindex/SConscript') 210 env['LIBS'].remove('boost_program_options -mt-1_35')208 env['LIBS'].remove('boost_program_options%s%s' % (env['BOOST_APPEND'],thread_suffix)) 211 209 212 210 # Build the input plug-ins 213 214 211 if 'postgis' in inputplugins and 'pq' in env['LIBS']: 215 212 SConscript('plugins/input/postgis/SConscript') … … 225 222 SConscript('plugins/input/gdal/SConscript') 226 223 227 if ' osm' in inputplugins:228 SConscript('plugins/input/ osm/SConscript')224 if 'gigabase' in inputplugins and 'gigabase_r' in env['LIBS']: 225 SConscript('plugins/input/gigabase/SConscript') 229 226 230 227 # Build the Python bindings.
