This repository has been archived on 2020-03-30. You can view files and clone it, but cannot push or open issues or pull requests.
2018-03-21 08:21:28 +00:00
|
|
|
PHP_ARG_ENABLE(collections, for collections support,
|
|
|
|
[ --enable-collections Enable collections support])
|
|
|
|
|
2018-03-23 09:29:34 +00:00
|
|
|
PHP_ARG_ENABLE(collections-debug, for debug support,
|
|
|
|
[ --enable-collections-debug Compile with debug symbols], no, no)
|
2018-03-21 08:21:28 +00:00
|
|
|
|
|
|
|
if test "$PHP_COLLECTIONS" != "no"; then
|
|
|
|
if test "$PHP_COLLECTIONS_DEBUG" != "no"; then
|
2018-03-22 14:50:25 +00:00
|
|
|
CFLAGS="-g -O0"
|
2018-03-23 09:06:05 +00:00
|
|
|
else
|
|
|
|
CFLAGS="-O2"
|
2018-03-21 08:21:28 +00:00
|
|
|
fi
|
|
|
|
COLLECTIONS_SRC="collections.c collections_fe.c collections_methods.c"
|
2018-03-22 14:50:25 +00:00
|
|
|
PHP_NEW_EXTENSION(collections, $COLLECTIONS_SRC, $ext_shared)
|
2018-03-21 08:21:28 +00:00
|
|
|
fi
|