File: config.m4

package info (click to toggle)
php-msgpack 2.1.2%2B0.5.7-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 3,544 kB
  • sloc: ansic: 7,749; xml: 800; php: 18; makefile: 2
file content (16 lines) | stat: -rw-r--r-- 469 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
dnl config.m4 for extension msgpack

PHP_ARG_WITH(msgpack, for msgpack support,
Make sure that the comment is aligned:
[  --with-msgpack             Include msgpack support])

if test "$PHP_MSGPACK" != "no"; then
  PHP_NEW_EXTENSION(msgpack, msgpack.c msgpack_pack.c msgpack_unpack.c msgpack_class.c msgpack_convert.c, $ext_shared)

  ifdef([PHP_INSTALL_HEADERS],
  [
    PHP_INSTALL_HEADERS([ext/msgpack], [php_msgpack.h])
  ], [
    PHP_ADD_MAKEFILE_FRAGMENT
  ])
fi