From baf38393102dcf32e775558a1de095a411dade5a Mon Sep 17 00:00:00 2001 From: Paul Ramsey Date: Tue, 24 Apr 2012 17:58:15 +0000 Subject: [PATCH] libjson configure test doesn't include support for DLL (#1787) git-svn-id: http://svn.osgeo.org/postgis/trunk@9659 b70326c6-7e19-0410-871a-916f4a2858ee --- configure.ac | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index 292df9fb2..ea56e87cb 100644 --- a/configure.ac +++ b/configure.ac @@ -713,10 +713,13 @@ if test ! "x$JSONDIR" = "x"; then if test "x$JSONDIR" = "xyes"; then AC_MSG_ERROR([you must specify a parameter to --with-jsondir, e.g. --with-jsondir=/path/to]) else - dnl We need (libjson.so OR libjson.a) AND json/json.h - if test ! -e "${JSONDIR}/lib/libjson.so" -a \ - ! -e "${JSONDIR}/lib/libjson.a" -o \ - ! -e "${JSONDIR}/include/json/json.h" + dnl We need (libjson.so OR libjson.a OR libjson.dll) AND json/json.h + if test ! -e "${JSONDIR}/include/json/json.h" -o \ + ! \( -e "${JSONDIR}/lib/libjson.so" -o \ + -e "${JSONDIR}/lib/libjson.dll" -o \ + -e "${JSONDIR}/lib/libjson.dylib" -o \ + -e "${JSONDIR}/bin/libjson.dll" -o \ + -e "${JSONDIR}/lib/libjson.a" \) then AC_MSG_ERROR([Cannot find json dev files in "$JSONDIR"]) fi -- 2.40.0