2006-05-05 23:49:42 +08:00
|
|
|
dnl
|
|
|
|
dnl $Id$
|
|
|
|
dnl
|
|
|
|
|
2006-07-20 00:17:15 +08:00
|
|
|
PHP_ARG_ENABLE(json, whether to enable JavaScript Object Serialization support,
|
|
|
|
[ --disable-json Disable JavaScript Object Serialization support], yes)
|
2006-05-05 23:49:42 +08:00
|
|
|
|
2006-07-20 18:11:15 +08:00
|
|
|
if test "$PHP_JSON" != "no"; then
|
2006-07-20 18:47:37 +08:00
|
|
|
AC_DEFINE([HAVE_JSON],1 ,[whether to enable JavaScript Object Serialization support])
|
2006-05-05 23:49:42 +08:00
|
|
|
AC_HEADER_STDC
|
|
|
|
|
2006-07-20 18:11:15 +08:00
|
|
|
PHP_NEW_EXTENSION(json, json.c utf8_to_utf16.c utf8_decode.c JSON_parser.c, $ext_shared)
|
|
|
|
PHP_SUBST(JSON_SHARED_LIBADD)
|
2006-05-05 23:49:42 +08:00
|
|
|
fi
|
|
|
|
|
|
|
|
# vim600: sts=2 sw=2 et
|