xref: /PHP-8.3/ext/json/config.m4 (revision 17649648)
1dnl HAVE_JSON is always 1 as of php 8.0 and the constant will be removed in the future.
2dnl Note that HAVE_JSON was never defined for Windows builds (see config.w32)
3AC_DEFINE([HAVE_JSON],1 ,[whether to enable JavaScript Object Serialization support])
4PHP_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)
10PHP_INSTALL_HEADERS([ext/json], [php_json.h php_json_parser.h php_json_scanner.h])
11PHP_ADD_MAKEFILE_FRAGMENT()
12