php-src/ext/json/config.m4

16 lines
495 B
Plaintext
Raw Normal View History

2005-12-06 06:23:24 +00:00
dnl
dnl $Id$
dnl
PHP_ARG_ENABLE(json, whether to enable JavaScript Object Serialization support,
2007-07-03 17:24:39 +00:00
[ --disable-json Disable JavaScript Object Serialization support], yes)
2005-12-06 06:23:24 +00:00
if test "$PHP_JSON" != "no"; then
2006-07-20 10:47:26 +00:00
AC_DEFINE([HAVE_JSON],1 ,[whether to enable JavaScript Object Serialization support])
2005-12-06 06:23:24 +00:00
AC_HEADER_STDC
PHP_NEW_EXTENSION(json, json.c utf8_to_utf16.c utf8_decode.c JSON_parser.c, $ext_shared)
PHP_INSTALL_HEADERS([ext/json], [php_json.h])
PHP_SUBST(JSON_SHARED_LIBADD)
2005-12-06 06:23:24 +00:00
fi