2005-12-04 20:35:38 +00:00
|
|
|
dnl $Id$
|
|
|
|
dnl config.m4 for extension phar
|
|
|
|
|
2006-01-01 21:42:55 +00:00
|
|
|
PHP_ARG_ENABLE(phar, for phar support/phar zlib support,
|
|
|
|
[ --enable-phar Enable phar support, use --with-zlib-dir if zlib detection fails])
|
2005-12-04 20:35:38 +00:00
|
|
|
|
2006-01-01 21:42:55 +00:00
|
|
|
if test "$PHP_PHAR" != "no"; then
|
2007-02-04 13:21:40 +00:00
|
|
|
PHP_NEW_EXTENSION(phar, phar.c phar_object.c phar_path_check.c, $ext_shared)
|
2006-01-11 23:55:57 +00:00
|
|
|
PHP_ADD_EXTENSION_DEP(phar, zlib, true)
|
2006-01-12 21:16:29 +00:00
|
|
|
PHP_ADD_EXTENSION_DEP(phar, bz2, true)
|
2006-02-28 01:36:30 +00:00
|
|
|
PHP_ADD_EXTENSION_DEP(phar, spl, false)
|
2007-02-04 16:25:25 +00:00
|
|
|
PHP_ADD_MAKEFILE_FRAGMENT
|
2006-01-01 21:42:55 +00:00
|
|
|
fi
|