-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathconfig.w32
51 lines (46 loc) · 937 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
// $Id$
// vim:ft=javascript
ARG_ENABLE("qb", "qb support", "no");
ARG_WITH("sse", "Use SSE instructions on x86 processors", "no");
if (PHP_QB != "no") {
var cflags = "/GS-";
if (PHP_SSE != "no") {
if (!X64) {
if (PHP_SSE == "1") {
cflags += " /arch:SSE";
} else {
cflags += " /arch:SSE2";
}
}
}
var extra_sources="\
qb_build.c\
qb_compat.c\
qb_crc64.c\
qb_compiler.c\
qb_data_tables.c\
qb_debug_interface.c\
qb_encoder.c\
qb_exceptions.c\
qb_extractor.c\
qb_function_inliner.c\
qb_interpreter.c\
qb_interpreter_debug.c\
qb_interpreter_functions.c\
qb_interpreter_loop.c\
qb_native_compiler.c\
qb_op.c\
qb_op_factories.c\
qb_parser.c\
qb_parser_bison.c\
qb_parser_re2c.c\
qb_printer.c\
qb_storage.c\
qb_thread.c\
qb_translator_pbj.c\
qb_translator_php.c\
qb_types.c\
";
EXTENSION("qb", "qb.c" + extra_sources, null, cflags, "php_qb.dll");
AC_DEFINE('HAVE_QB', 1, 'Have qb');
}