-
Notifications
You must be signed in to change notification settings - Fork 276
/
config.w32
35 lines (24 loc) · 928 Bytes
/
config.w32
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// vim:ft=javascript
ARG_ENABLE("seaslog", "enable seaslog support", "yes");
if (PHP_SEASLOG != "no") {
if (CHECK_HEADER_ADD_INCLUDE("SeasLog.h", "CFLAGS_SEASLOG", configure_module_dirname + "\\include;" + PHP_EXTRA_INCLUDES)) {
seaslog_source_file="Performance.c \
Analyzer.c \
StreamWrapper.c \
TemplateFormatter.c \
ExceptionHook.c \
Appender.c \
Datetime.c \
Logger.c \
Buffer.c \
ErrorHook.c \
Request.c \
Common.c"
EXTENSION("seaslog", "seaslog.c");
ADD_SOURCES(configure_module_dirname + "\\src", seaslog_source_file, "seaslog");
ADD_FLAG("CFLAGS_SEASLOG", ' /I "' + configure_module_dirname + '" ');
AC_DEFINE("HAVE_SEASLOG", 1, "Have Seaslog Support");
} else {
WARNING("seaslog not enabled, headers not found");
}
}