From c906c3642f59d1ba3afdb81d1f52230bc64965c7 Mon Sep 17 00:00:00 2001 From: Paul Ramsey Date: Wed, 8 Feb 2012 06:42:26 +0000 Subject: [PATCH] configure_json.patch (#1539) from Evan Roualt git-svn-id: http://svn.osgeo.org/postgis/trunk@9094 b70326c6-7e19-0410-871a-916f4a2858ee --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index ec6e50c78..6edb4f218 100644 --- a/configure.ac +++ b/configure.ac @@ -674,6 +674,9 @@ LIBS="$LIBS_SAVE" if test "$HAVE_JSON" = "yes"; then AC_DEFINE([HAVE_LIBJSON], 1, [Define to 1 if libjson is present]) + if test "x$JSON_LDFLAGS" = "x"; then + JSON_LDFLAGS="-ljson" + fi fi AC_SUBST([JSON_CPPFLAGS]) -- 2.40.0