forked from liaoshouchuang/swoole_serialize
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.m4
27 lines (19 loc) · 977 Bytes
/
config.m4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
dnl $Id$
dnl config.m4 for extension swoole_serialize
dnl Comments in this file start with the string 'dnl'.
dnl Remove where necessary. This file will not work
dnl without editing.
dnl If your extension references something external, use with:
dnl PHP_ARG_WITH(swoole_serialize, for swoole_serialize support,
dnl Make sure that the comment is aligned:
dnl [ --with-swoole_serialize Include swoole_serialize support])
dnl Otherwise use enable:
PHP_ARG_ENABLE(swoole_serialize, whether to enable swoole_serialize support,
Make sure that the comment is aligned:
[ --enable-swoole_serialize Enable swoole_serialize support])
if test "$PHP_SWOOLE_SERIALIZE" != "no"; then
PHP_ADD_INCLUDE([$phpincludedir/ext/swoole])
PHP_ADD_INCLUDE([$phpincludedir/ext/swoole/include])
PHP_ADD_EXTENSION_DEP(swoole_serialize, swoole)
PHP_NEW_EXTENSION(swoole_serialize, swoole_serialize.c , $ext_shared,, -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1)
fi