2005-12-04 20:35:38 +00:00
|
|
|
// $Id$
|
|
|
|
// vim:ft=javascript
|
|
|
|
|
|
|
|
ARG_ENABLE("phar", "enable phar support", "no");
|
2008-01-12 04:32:19 +00:00
|
|
|
ARG_WITH("phar-zip", "for zip-based phar support", "no");
|
2005-12-04 20:35:38 +00:00
|
|
|
|
|
|
|
if (PHP_PHAR != "no") {
|
2008-01-11 07:30:03 +00:00
|
|
|
EXTENSION("phar", "tar.c zip.c stream.c dirstream.c func_interceptors.c phar.c phar_object.c phar_path_check.c");
|
2008-01-12 04:32:19 +00:00
|
|
|
if (PHP_ZIP_SHARED) {
|
|
|
|
ADD_FLAG("CFLAGS_PHAR", "/D COMPILE_DL_ZIP ");
|
|
|
|
}
|
|
|
|
if (PHP_ZIP != "no") {
|
|
|
|
ADD_EXTENSION_DEP('phar', 'zip', true);
|
|
|
|
AC_DEFINE('HAVE_PHAR_ZIP', 1);
|
|
|
|
}
|
2007-12-21 19:02:20 +00:00
|
|
|
ADD_EXTENSION_DEP('phar', 'zlib', true);
|
|
|
|
ADD_EXTENSION_DEP('phar', 'bz2', true);
|
|
|
|
ADD_EXTENSION_DEP('phar', 'spl', true);
|
|
|
|
ADD_EXTENSION_DEP('phar', 'gnupg', true);
|
2005-12-04 20:35:38 +00:00
|
|
|
}
|