forked from udan11/php-xz
-
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathconfig.w32
More file actions
17 lines (14 loc) · 561 Bytes
/
config.w32
File metadata and controls
17 lines (14 loc) · 561 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// vim:ft=javascript
ARG_ENABLE('xz', 'xz support', 'no');
if (PHP_XZ != 'no') {
// liblzma is included with the ext-zip dependencies in php8
if(CHECK_LIB('liblzma_a.lib;liblzma.lib', 'xz', PHP_PHP_BUILD + '\\lib') &&
CHECK_HEADER_ADD_INCLUDE('lzma.h', 'CFLAGS_XZ', PHP_PHP_BUILD + '\\include')
){
AC_DEFINE('HAVE_XZ', 1, 'xz support enabled');
EXTENSION('xz', 'xz.c xz_fopen_wrapper.c utils.c', PHP_XZ_SHARED, '/D LZMA_API_STATIC /DZEND_ENABLE_STATIC_TSRMLS_CACHE=1');
}
else{
WARNING('xz not enabled; libraries and headers not found');
}
}