Changeset 703 for trunk/SConstruct

Show
Ignore:
Timestamp:
06/29/08 06:58:29 (6 months ago)
Author:
artem
Message:

reverting back to 700

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/SConstruct

    r701 r703  
    4646opts.Add(PathOption('PNG_INCLUDES', 'Search path for libpng include files', '/usr/include')) 
    4747opts.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)) 
     48opts.Add(PathOption('JPEG_INCLUDES', 'Search path for libjpeg include files', '/usr/include')) 
     49opts.Add(PathOption('JPEG_LIBS', 'Search path for libjpeg library files', '/usr/' + LIBDIR_SCHEMA)) 
    5050opts.Add(PathOption('TIFF_INCLUDES', 'Search path for libtiff include files', '/usr/include')) 
    5151opts.Add(PathOption('TIFF_LIBS', 'Search path for libtiff library files', '/usr/' + LIBDIR_SCHEMA)) 
    5252opts.Add(PathOption('PGSQL_INCLUDES', 'Search path for PostgreSQL include files', '/usr/include')) 
    5353opts.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)) 
     54opts.Add(PathOption('PROJ_INCLUDES', 'Search path for PROJ.4 include files', '/usr/local/include')) 
     55opts.Add(PathOption('PROJ_LIBS', 'Search path for PROJ.4 library files', '/usr/local/' + LIBDIR_SCHEMA)) 
    5656opts.Add(PathOption('GDAL_INCLUDES', 'Search path for GDAL include files', '/usr/include')) 
    5757opts.Add(PathOption('GDAL_LIBS', 'Search path for GDAL library files', '/usr/' + LIBDIR_SCHEMA)) 
    5858opts.Add(PathOption('PYTHON','Python executable', sys.executable)) 
    59 opts.Add(ListOption('INPUT_PLUGINS','Input drivers to include','all',['postgis','shape','raster','gdal','osm'])) 
     59opts.Add(ListOption('INPUT_PLUGINS','Input drivers to include','all',['postgis','shape','raster','gdal'])) 
    6060opts.Add(ListOption('BINDINGS','Language bindings to build','all',['python'])) 
    6161opts.Add(BoolOption('DEBUG', 'Compile a debug version of mapnik', 'False')) 
     
    155155 
    156156BOOST_LIBSHEADERS = [ 
    157     ['system', 'boost/system/system_error.hpp', True], # uncomment this on Darwin + boost_1_35 
     157    # ['system', 'boost/system/system_error.hpp', True], # uncomment this on Darwin + boost_1_35 
    158158    ['filesystem', 'boost/filesystem/operations.hpp', True], 
    159159    ['regex', 'boost/regex.hpp', True], 
     
    179179else: 
    180180    env['BOOST_APPEND']='' 
    181  
    182181     
    183182for count, libinfo in enumerate(BOOST_LIBSHEADERS): 
    184183    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] : 
    186185            color_print(1,'Could not find header or shared library for boost %s, exiting!' % libinfo[0]) 
    187186            Exit(1) 
     
    205204 
    206205# 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']: 
     206if 'boost_program_options%s%s' % (env['BOOST_APPEND'],thread_suffix) in env['LIBS']: 
    209207    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)) 
    211209 
    212210# Build the input plug-ins 
    213  
    214211if 'postgis' in inputplugins and 'pq' in env['LIBS']: 
    215212    SConscript('plugins/input/postgis/SConscript') 
     
    225222    SConscript('plugins/input/gdal/SConscript') 
    226223 
    227 if 'osm' in inputplugins : 
    228     SConscript('plugins/input/osm/SConscript') 
     224if 'gigabase' in inputplugins and 'gigabase_r' in env['LIBS']: 
     225    SConscript('plugins/input/gigabase/SConscript') 
    229226 
    230227# Build the Python bindings.