Skip to content

Commit

Permalink
fixed config.w32
Browse files Browse the repository at this point in the history
  • Loading branch information
weltling committed Sep 18, 2013
1 parent 8eedf14 commit 28d98d0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions config.w32
@@ -1,10 +1,10 @@
ARG_WITH('sundown', 'sundown extension', 'no');

if (PHP_SUNDOWN != "no") {
if (CHECK_HEADER_ADD_INCLUDE("markdown.h", "CFLAGS_SUNDOWN", ".\\sundown\\src") &&
CHECK_HEADER_ADD_INCLUDE("html.h", "CFLAGS_SUNDOWN", ".\\sundown\\html")) {
ADD_SOURCES(configure_module_dirname + ".\\sundown\\src","buffer.c markdown.c autolink.c stack.c", "sundown");
ADD_SOURCES(configure_module_dirname + ".\\sundown\\html","html.c html_smartypants.c houdini_href_e.c houdini_html_e.c", "sundown");
if (CHECK_HEADER_ADD_INCLUDE("markdown.h", "CFLAGS_SUNDOWN", PHP_SUNDOWN + ";" + configure_module_dirname + "\\sundown\\src") &&
CHECK_HEADER_ADD_INCLUDE("html.h", "CFLAGS_SUNDOWN", PHP_SUNDOWN + ";" + configure_module_dirname + "\\sundown\\html")) {
ADD_SOURCES(configure_module_dirname + "\\sundown\\src","buffer.c markdown.c autolink.c stack.c", "sundown");
ADD_SOURCES(configure_module_dirname + "\\sundown\\html","html.c html_smartypants.c houdini_href_e.c houdini_html_e.c", "sundown");

EXTENSION("sundown", "php_sundown.c sundown_markdown.c render_base.c render_html.c render_html_toc.c render_xhtml.c");
} else {
Expand Down

0 comments on commit 28d98d0

Please sign in to comment.