- Proper support for raster band's isnodata flag in core API and loader.
- Additional default values for parameters of ST_Aspect and ST_HillShade
- #2178, ST_Summary now advertises presence of known srid with an [S] flag
+ - #2202, Make libjson-c optional (--without-json configure switch)
* Fixes *
The loader, and hence PostGIS, requires GNU gettext 0.14 or higher
(typically in libc on GNU/Linux, in which case 0.17 is required).
-* JSON-C (Required, Version 0.9 or higher)
+* JSON-C (Optional, Version 0.9 or higher)
JSON-C is used to import GeoJSON via the function ST_GeomFromGeoJson().
dnl Detect if json-c installed
dnl ===========================================================================
+CHECK_JSON=yes
HAVE_JSON=no
AC_SUBST([HAVE_JSON])
+AC_ARG_WITH([json],
+ [AS_HELP_STRING([--without-json], [build without json-c support])],
+ [CHECK_JSON="$withval"], [])
+
+if test "$CHECK_JSON" != "no"; then dnl {
+
AC_ARG_WITH([jsondir],
[AS_HELP_STRING([--with-jsondir=PATH], [specify the json-c installation directory])],
[JSONDIR="$withval"], [JSONDIR=])
AC_SUBST([JSON_CPPFLAGS])
AC_SUBST([JSON_LDFLAGS])
+fi dnl }
+
dnl ===========================================================================
dnl Detect GTK+2.0 for GUI
dnl ===========================================================================