Przeglądaj źródła

Style(Config.w32): Format

viest 6 lat temu
rodzic
commit
8cd0f8b0ed
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      config.w32

+ 2 - 2
config.w32

@@ -4,7 +4,7 @@ ARG_WITH("xlswriter", "xlswriter support", "no");
 
 if (PHP_XLSWRITER != "no") {
 
-    if (CHECK_HEADER_ADD_INCLUDE("xlsxwriter.h", "CFLAGS_XLSWRITER", PHP_PHP_BUILD + "\\..\\include;" + PHP_XLSWRITER)) {
+    if (CHECK_HEADER_ADD_INCLUDE("xlsxwriter.h", "CFLAGS_XLSWRITER", PHP_PHP_BUILD + "\\include;")) {
         EXTENSION("xlswriter", "xls_writer.c")
 
         // ADD_FLAG("CFLAGS_XLSWRITER", "/I " + configure_module_dirname);
@@ -14,7 +14,7 @@ if (PHP_XLSWRITER != "no") {
         ADD_SOURCES(configure_module_dirname + "\\library\\src", "app.c chart.c content_types.c core.c custom.c drawing.c format.c hash_table.c packager.c relationships.c shared_strings.c styles.c theme.c utility.c workbook.c worksheet.c xmlwriter.c", "xlswriter");
         ADD_SOURCES(configure_module_dirname + "\\kernel", "common.c resource.c exception.c excel.c write.c format.c", "xlswriter");
     } else {
-        WARNING("path:"+PHP_PHP_BUILD+"---"+PHP_XLSWRITER);
+        WARNING("xlswriter not enabled, xlsxwriter.lib or headers not found");
     }
 
 }