Ticket #158 (closed enhancement: fixed)

Opened 21 months ago

Last modified 20 months ago

Default scons search paths could be improved

Reported by: jburgess777 Owned by: artem
Priority: normal Milestone: 0.6.0
Component: Scons Build Scripts Version: SVN Trunk
Severity: Normal Keywords:
Cc: Patch Needs Improvement: no
Needs Docmentation: no Has Patch?: yes
Design Decision Needed: no

Description

Using /usr/include for the search paths in SConstruct does not gain us much. The compiler will typically search this directory anyway.

The patch attached moves the default search paths for PostgreSQL and GDAL to other likely locations. The extra PathAccept? flag means that Scons will not generate an error if the directory does not exist.

Adding this flag might be a solution for ticket #141 as well.

Attachments

mapnik-improve-scons-search-paths.patch (1.5 kB) - added by jburgess777 21 months ago.
Imporve SCons search paths for Postgres & GDAL

Change History

Changed 21 months ago by jburgess777

Imporve SCons search paths for Postgres & GDAL

Changed 20 months ago by springmeyer

  • milestone set to 0.6.0

Changed 20 months ago by artem

  • status changed from new to closed
  • resolution set to fixed

applied with minor modifications to support SCons 1.2

Note: See TracTickets for help on using tickets.