Fix SFCGAL tests to work with all versions (#2755)

git-svn-id: http://svn.osgeo.org/postgis/trunk@12654 b70326c6-7e19-0410-871a-916f4a2858ee
Fix warning: no previous prototype for 'lwgeom_sfcgal_version'

git-svn-id: http://svn.osgeo.org/postgis/trunk@12656 b70326c6-7e19-0410-871a-916f4a2858ee
Attempt re-adding support fo libjson < 0.10 (#2723)

See https://travis-ci.org/postgis/postgis/builds/28394436#L1330

git-svn-id: http://svn.osgeo.org/postgis/trunk@12658 b70326c6-7e19-0410-871a-916f4a2858ee
Oops, unterminated #ifdef

See https://travis-ci.org/postgis/postgis/builds/28397745#L1062

git-svn-id: http://svn.osgeo.org/postgis/trunk@12659 b70326c6-7e19-0410-871a-916f4a2858ee
Still build libjson code when having 0.9

git-svn-id: http://svn.osgeo.org/postgis/trunk@12660 b70326c6-7e19-0410-871a-916f4a2858ee
With latest changes, support for libjson 0.9 was restored :)

git-svn-id: http://svn.osgeo.org/postgis/trunk@12661 b70326c6-7e19-0410-871a-916f4a2858ee
Fix handling of bogus argument passed to --with-sfcgal (#2784)

Patch by Vincent Mora

git-svn-id: http://svn.osgeo.org/postgis/trunk@12664 b70326c6-7e19-0410-871a-916f4a2858ee
Fix potential memory fault in ST_MakeValid

The fault would be triggered by passing a non-empty collection
to ST_MakeValid where any "made-valid" component would result
being non accepted by the final geometry collection constructor.

I'm not sure an input exists right now to trigger that case,
but worth fixing anyway.

Bug found by Alvaro Huarte:
https://github.com/postgis/postgis/pull/21

git-svn-id: http://svn.osgeo.org/postgis/trunk@12666 b70326c6-7e19-0410-871a-916f4a2858ee
Add README.md to show nice travis link on the github mirror

See http://github.com/postgis/postgis

git-svn-id: http://svn.osgeo.org/postgis/trunk@12668 b70326c6-7e19-0410-871a-916f4a2858ee
Add note about ./autogen.sh

git-svn-id: http://svn.osgeo.org/postgis/trunk@12669 b70326c6-7e19-0410-871a-916f4a2858ee