import MessagePack for PHP

This commit is contained in:
Hideyuki TAKEI 2010-04-05 00:10:28 +09:00
parent 254ee80c16
commit 99a2d28592
16 changed files with 2321 additions and 0 deletions

14
php/config.m4 Normal file
View file

@ -0,0 +1,14 @@
dnl $Id$
dnl config.m4 for extension msgpack
PHP_ARG_ENABLE(msgpack, whether to enable MessagePack support,
Make sure that the comment is aligned:
[ --enable-msgpack Enable MessagePack support])
if test "$PHP_MSGPACK" != "no"; then
dnl AC_DEFINE([HAVE_MSGPACK],1 ,[whether to enable MessagePack support])
dnl AC_HEADER_STDC
PHP_NEW_EXTENSION(msgpack, msgpack.c, $ext_shared)
dnl PHP_SUBST(MSGPACK_SHARED_LIBADD)
fi