16 lines
521 B
Plaintext
16 lines
521 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="collections.c collections_fe.c collections_methods.c"
|
|
PHP_NEW_EXTENSION(collections, $COLLECTIONS_SRC, $ext_shared)
|
|
fi
|