18 lines
541 B
Plaintext
18 lines
541 B
Plaintext
PHP_ARG_ENABLE(collections, for collections support,
|
|
[ --enable-collections Enable collections support])
|
|
|
|
PHP_ARG_ENABLE(collections-debug, for debug support,
|
|
[ --enable-collections-debug Compile with debug symbols], no, no)
|
|
|
|
if test "$PHP_COLLECTIONS" != "no"; then
|
|
if test "$PHP_COLLECTIONS_DEBUG" != "no"; then
|
|
CFLAGS="-g -O0"
|
|
else
|
|
CFLAGS="-O2"
|
|
fi
|
|
COLLECTIONS_SRC="src/collections.c
|
|
src/collections_me.c
|
|
src/collections_methods.c"
|
|
PHP_NEW_EXTENSION(collections, $COLLECTIONS_SRC, $ext_shared)
|
|
fi
|