]> granicus.if.org Git - postgis/commitdiff
Actually run GeoJSON input tests when libjson is available
authorSandro Santilli <strk@keybit.net>
Wed, 7 Mar 2012 11:39:46 +0000 (11:39 +0000)
committerSandro Santilli <strk@keybit.net>
Wed, 7 Mar 2012 11:39:46 +0000 (11:39 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9419 b70326c6-7e19-0410-871a-916f4a2858ee

configure.ac
regress/Makefile.in

index c413097ef8cd228574b004e8e9b829a21a9fb2c3..6f2b6b7fd985ab9c6311159e9b5a6aa46cf60195 100644 (file)
@@ -685,6 +685,7 @@ dnl Detect if json-c installed
 dnl ===========================================================================
 
 HAVE_JSON=no
+AC_SUBST([HAVE_JSON])
 
 AC_ARG_WITH([jsondir],
        [AS_HELP_STRING([--with-jsondir=PATH], [specify the json-c installation directory])],
index 222e294f4095ca4e7b8754653752f55cfe501336..f187b51e6ed7754b030d90d63b8492536c129c76 100644 (file)
@@ -135,7 +135,7 @@ ifeq ($(shell expr $(POSTGIS_GEOS_VERSION) ">=" 33),1)
                relate_bnr
 endif
 
-ifeq ($(HAVE_JSON),Yes)
+ifeq ($(HAVE_JSON),yes)
        # JSON-C adds:
        # ST_GeomFromGeoJSON()
        TESTS += \