config.m4 465 B

123456789101112131415
  1. dnl
  2. dnl $Id$
  3. dnl
  4. PHP_ARG_ENABLE(json, whether to enable JavaScript Object Serialization support,
  5. [ --disable-json Disable JavaScript Object Serialization support], yes)
  6. if test "$PHP_JSON" != "no"; then
  7. AC_DEFINE([HAVE_JSON],1 ,[whether to enable JavaScript Object Serialization support])
  8. AC_HEADER_STDC
  9. PHP_NEW_EXTENSION(json, json.c JSON_parser.c, $ext_shared)
  10. PHP_INSTALL_HEADERS([ext/json], [php_json.h])
  11. PHP_SUBST(JSON_SHARED_LIBADD)
  12. fi