config.m4 506 B

1234567891011
  1. dnl HAVE_JSON is always 1 as of php 8.0 and the constant will be removed in the future.
  2. dnl Note that HAVE_JSON was never defined for Windows builds (see config.w32)
  3. AC_DEFINE([HAVE_JSON],1 ,[whether to enable JavaScript Object Serialization support])
  4. PHP_NEW_EXTENSION(json,
  5. json.c \
  6. json_encoder.c \
  7. json_parser.tab.c \
  8. json_scanner.c,
  9. no,, -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1)
  10. PHP_INSTALL_HEADERS([ext/json], [php_json.h php_json_parser.h php_json_scanner.h])
  11. PHP_ADD_MAKEFILE_FRAGMENT()