xref: /PHP-5.5/ext/json/config.m4 (revision 289bb339)
1dnl
2dnl $Id$
3dnl
4
5PHP_ARG_ENABLE(json, whether to enable JavaScript Object Serialization support,
6[  --disable-json          Disable JavaScript Object Serialization support], yes)
7
8if test "$PHP_JSON" != "no"; then
9  AC_DEFINE([HAVE_JSON],1 ,[whether to enable JavaScript Object Serialization support])
10  AC_HEADER_STDC
11
12  PHP_NEW_EXTENSION(json, json.c utf8_decode.c JSON_parser.c, $ext_shared)
13  PHP_INSTALL_HEADERS([ext/json], [php_json.h])
14  PHP_SUBST(JSON_SHARED_LIBADD)
15fi
16