phalcon/cphalcon — pull request #2775 by remicollet (2014-09-04 13:34:46+00:00)
Title: Fix JSON detection

Testing HAVE_JSON is not reliable.

PHP can be build --without-json, and json extension available from another build (ex: pecl/jsonc used in free linux distribution, debian, fedora, mageia, ...)