Return to config.m4 CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / ext / json |
1.1 ! misho 1: dnl ! 2: dnl $Id: config.m4 282645 2009-06-23 13:09:34Z johannes $ ! 3: dnl ! 4: ! 5: PHP_ARG_ENABLE(json, whether to enable JavaScript Object Serialization support, ! 6: [ --disable-json Disable JavaScript Object Serialization support], yes) ! 7: ! 8: if test "$PHP_JSON" != "no"; then ! 9: AC_DEFINE([HAVE_JSON],1 ,[whether to enable JavaScript Object Serialization support]) ! 10: AC_HEADER_STDC ! 11: ! 12: PHP_NEW_EXTENSION(json, json.c utf8_to_utf16.c utf8_decode.c JSON_parser.c, $ext_shared) ! 13: PHP_INSTALL_HEADERS([ext/json], [php_json.h]) ! 14: PHP_SUBST(JSON_SHARED_LIBADD) ! 15: fi