[postgis-tickets] [PostGIS] #2539: Check for json-c/json.h presence/usability before json/json.h

PostGIS trac at osgeo.org
Fri Nov 8 16:33:54 PST 2013


#2539: Check for json-c/json.h presence/usability before json/json.h
-------------------------+--------------------------------------------------
 Reporter:  mwtoews      |       Owner:  pramsey      
     Type:  enhancement  |      Status:  new          
 Priority:  medium       |   Milestone:  PostGIS 2.1.2
Component:  postgis      |     Version:  2.1.x        
 Keywords:               |  
-------------------------+--------------------------------------------------
 Newer versions of the json-c library have changed their configuration:

 {{{
 #include <json/json.h>
 }}}
 has changed to:
 {{{
 #include <json-c/json.h>
 }}}
 and the compile flag {{{-ljson}}} has changed to {{{-ljson-c}}}.

 This order of preference to the newer style should be reflected in the
 {{{./configure}}} process.

 See related #2538.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2539>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list