From: Mark Cave-Ayland Date: Sat, 14 Jan 2012 00:48:54 +0000 (+0000) Subject: Fix incorrect camel-casing for HAVE_JSON within configure.ac. X-Git-Tag: 2.0.0alpha1~74 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9ac6d5be022ab3464ac1be1c2c4ff025d2d740d0;p=postgis 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 --- 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