代码拉取完成,页面将自动刷新
同步操作将从 viest/php-ext-xlswriter 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
// vim:ft=javascript
ARG_WITH("xlswriter", "xlswriter support", "no");
if (PHP_XLSWRITER != "no") {
if (
CHECK_HEADER_ADD_INCLUDE("minizip/zip.h", "CFLAGS_XLSWRITER", configure_module_dirname + "\\library\\libxlsxwriter\\third_party;" + PHP_EXTRA_INCLUDES) &&
CHECK_HEADER_ADD_INCLUDE("xlsxwriter.h", "CFLAGS_XLSWRITER", configure_module_dirname + "\\library\\libxlsxwriter\\include;" + PHP_EXTRA_INCLUDES) &&
CHECK_HEADER_ADD_INCLUDE("expat.h", "CFLAGS_XLSWRITER", configure_module_dirname + "\\library\\libexpat\\expat\\lib;" + PHP_EXTRA_INCLUDES) &&
CHECK_HEADER_ADD_INCLUDE("xlsxio_read.h", "CFLAGS_XLSWRITER", configure_module_dirname + "\\library\\libxlsxio\\include;" + PHP_EXTRA_INCLUDES) &&
CHECK_HEADER_ADD_INCLUDE("xlswriter.h", "CFLAGS_XLSWRITER", configure_module_dirname + "\\include;" + PHP_EXTRA_INCLUDES)
) {
EXTENSION("xlswriter", "xlswriter.c")
ADD_FLAG("CFLAGS_XLSWRITER", ' /D ENABLE_READER /D USE_SYSTEM_MINIZIP /D USE_MINIZIP /I "' + configure_module_dirname + '" ');
AC_DEFINE("HAVE_LXW_VERSION", 1, "lxw_version available in 0.7.7");
ADD_SOURCES(configure_module_dirname + "\\kernel", "\
chart.c \
common.c \
csv.c \
excel.c \
exception.c \
format.c \
help.c \
read.c \
resource.c \
rich_string.c \
validation.c \
write.c \
", "xlswriter");
ADD_SOURCES(configure_module_dirname + "\\library\\libxlsxwriter\\third_party\\minizip", "\
ioapi.c \
iowin32.c \
mztools.c \
unzip.c \
zip.c \
", "xlswriter", "libxlsxwriter");
ADD_SOURCES(configure_module_dirname + "\\library\\libxlsxwriter\\third_party\\tmpfileplus", "\
tmpfileplus.c \
", "xlswriter", "libxlsxwriter");
ADD_SOURCES(configure_module_dirname + "\\library\\libxlsxwriter\\third_party\\md5", "\
md5.c \
", "xlswriter", "libxlsxwriter");
ADD_SOURCES(configure_module_dirname + "\\library\\libxlsxwriter\\src", "\
app.c \
chart.c \
chartsheet.c \
comment.c \
content_types.c \
core.c \
custom.c \
drawing.c \
format.c \
hash_table.c \
metadata.c \
packager.c \
relationships.c \
shared_strings.c \
styles.c \
theme.c \
utility.c \
vml.c \
workbook.c \
worksheet.c \
xmlwriter.c \
", "xlswriter", "libxlsxwriter");
ADD_SOURCES(configure_module_dirname + "\\library\\libexpat\\expat\\lib", "\
loadlibrary.c \
xmlparse.c \
xmlrole.c \
xmltok.c \
xmltok_impl.c \
xmltok_ns.c \
", "xlswriter", "libexpat");
ADD_SOURCES(configure_module_dirname + "\\library\\libxlsxio\\lib", "\
xlsxio_read.c \
xlsxio_read_sharedstrings.c \
", "xlswriter", "libxlsxio");
} else {
WARNING("xlswriter not enabled, xlsxwriter.lib or headers not found");
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。