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.
ext-collections/config.m4

16 lines
535 B
Plaintext
Raw Normal View History

2018-03-21 08:21:28 +00:00
PHP_ARG_ENABLE(collections, for collections support,
[ --enable-collections Enable collections support])
PHP_ARG_ENABLE(collections, for debug support,
[ --enable-collections-debug Compile with debug symbols])
if test "$PHP_COLLECTIONS" != "no"; then
if test "$PHP_COLLECTIONS_DEBUG" != "no"; then
EXTRA_CFLAGS="-O2"
else
EXTRA_CFLAGS="-g -O0"
fi
COLLECTIONS_SRC="collections.c collections_fe.c collections_methods.c"
PHP_NEW_EXTENSION(collections, $COLLECTIONS_SRC, $ext_shared,, $EXTRA_CFLAGS)
fi