]> granicus.if.org Git - postgis/commitdiff
Fix incorrect camel-casing for HAVE_JSON within configure.ac.
authorMark Cave-Ayland <mark.cave-ayland@siriusit.co.uk>
Sat, 14 Jan 2012 00:48:54 +0000 (00:48 +0000)
committerMark Cave-Ayland <mark.cave-ayland@siriusit.co.uk>
Sat, 14 Jan 2012 00:48:54 +0000 (00:48 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@8806 b70326c6-7e19-0410-871a-916f4a2858ee

configure.ac

index f642808ef2264c65f92e59a6c35602d1feb7fc9b..eb3258b87a1a1569a2848c06f126823c7873d957 100644 (file)
@@ -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