From 9ac6d5be022ab3464ac1be1c2c4ff025d2d740d0 Mon Sep 17 00:00:00 2001 From: Mark Cave-Ayland Date: Sat, 14 Jan 2012 00:48:54 +0000 Subject: [PATCH] Fix incorrect camel-casing for HAVE_JSON within configure.ac. git-svn-id: http://svn.osgeo.org/postgis/trunk@8806 b70326c6-7e19-0410-871a-916f4a2858ee --- configure.ac | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index f642808ef..eb3258b87 100644 --- a/configure.ac +++ b/configure.ac @@ -622,7 +622,7 @@ dnl =========================================================================== dnl Detect if json-c installed dnl =========================================================================== -HAVE_JSON=No +HAVE_JSON=no AC_ARG_WITH([jsondir], [AS_HELP_STRING([--with-jsondir=PATH], [specify the json-c installation directory])], @@ -648,16 +648,16 @@ fi dnl Check that we can find the json/json.h header file CPPFLAGS_SAVE="$CPPFLAGS" CPPFLAGS="$JSON_CPPFLAGS" -AC_CHECK_HEADER([json/json.h], [HAVE_JSON=Yes], []) +AC_CHECK_HEADER([json/json.h], [HAVE_JSON=yes], []) CPPFLAGS="$CPPFLAGS_SAVE" dnl Ensure we can link against libjson LIBS_SAVE="$LIBS" LIBS="$JSON_LDFLAGS" -AC_CHECK_LIB([json], [json_object_get], [HAVE_JSON=Yes], [], []) +AC_CHECK_LIB([json], [json_object_get], [HAVE_JSON=yes], [], []) LIBS="$LIBS_SAVE" -if test "$HAVE_JSON" = "Yes"; then +if test "$HAVE_JSON" = "yes"; then AC_DEFINE([HAVE_LIBJSON], 1, [Define to 1 if libjson is present]) fi -- 2.50.1