-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathconfig.w32
More file actions
14 lines (12 loc) · 810 Bytes
/
config.w32
File metadata and controls
14 lines (12 loc) · 810 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
ARG_WITH('sundown', 'sundown extension', 'no');
if (PHP_SUNDOWN != "no") {
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 {
WARNING( "sundown not enabled: headers not found");
}
ADD_EXTENSION_DEP('sundown','spl',true);
}