forked from brett19/php-couchbase
-
Notifications
You must be signed in to change notification settings - Fork 39
/
config.w32
112 lines (108 loc) · 4.12 KB
/
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
// -*- mode: js; -*-
// vim:ft=javascript:
ARG_WITH("couchbase", "Couchbase support", "no");
if (PHP_COUCHBASE != "no") {
if (CHECK_LIB("libcouchbase.lib", "couchbase", PHP_COUCHBASE) &&
CHECK_HEADER_ADD_INCLUDE("libcouchbase\\couchbase.h", "CFLAGS_COUCHBASE", PHP_COUCHBASE + "\\include;" + PHP_PHP_BUILD + "\\include\\libcouchbase")) {
if (CHECK_LIB("zlib_a.lib;zlib.lib", "couchbase") &&
CHECK_HEADER_ADD_INCLUDE("zlib.h", "CFLAGS", "..\\zlib;" + php_usual_include_suspects)) {
AC_DEFINE("HAVE_COUCHBASE_ZLIB", 1, "Whether zlib compressor is enabled");
}
root_sources =
"couchbase.c " +
"exception.c " +
"log.c " +
"opcookie.c " +
"transcoding.c ";
fastlz_sources =
"fastlz.c";
src_couchbase_sources =
"authenticator.c " +
"bucket.c " +
"cert_authenticator.c " +
"cluster.c " +
"cluster_options.c " +
"collection.c " +
"log_formatter.c " +
"lookup_spec.c " +
"metrics.c " +
"mutate_spec.c " +
"mutation_state.c " +
"password_authenticator.c " +
"pool.c " +
"result.c " +
"search_options.c " +
"tracing.c ";
src_couchbase_bucket_sources =
"cbas.c " +
"cbft.c " +
"counter.c " +
"exists.c " +
"expiry_util.c " +
"get.c " +
"get_multi.c " +
"get_replica.c " +
"health.c " +
"http.c " +
"n1ql.c " +
"remove.c " +
"remove_multi.c " +
"store.c " +
"subdoc.c " +
"touch.c " +
"unlock.c " +
"upsert_multi.c " +
"view.c ";
src_couchbase_managers_sources =
"bucket_manager.c " +
"collection_manager.c " +
"analytics_index_manager.c " +
"query_index_manager.c " +
"search_index_manager.c " +
"user_manager.c " +
"view_index_manager.c ";
src_couchbase_search_sources =
"sort.c " +
"sort_field.c " +
"sort_geo.c " +
"sort_id.c " +
"sort_score.c " +
"boolean_field_query.c " +
"boolean_query.c " +
"conjunction_query.c " +
"date_range_facet.c " +
"date_range_query.c " +
"disjunction_query.c " +
"doc_id_query.c " +
"geo_bounding_box_query.c " +
"geo_distance_query.c " +
"geo_polygon_query.c " +
"facet.c " +
"match_all_query.c " +
"match_none_query.c " +
"match_phrase_query.c " +
"match_query.c " +
"numeric_range_facet.c " +
"numeric_range_query.c " +
"phrase_query.c " +
"prefix_query.c " +
"search_query.c " +
"query_string_query.c " +
"regexp_query.c " +
"term_facet.c " +
"term_query.c " +
"term_range_query.c " +
"wildcard_query.c ";
EXTENSION("couchbase", root_sources, PHP_COUCHBASE_SHARED, "/I" + configure_module_dirname + " /DZEND_ENABLE_STATIC_TSRMLS_CACHE=1");
ADD_SOURCES(configure_module_dirname + "\\fastlz", fastlz_sources, "couchbase");
ADD_SOURCES(configure_module_dirname + "\\src\\couchbase", src_couchbase_sources, "couchbase");
ADD_SOURCES(configure_module_dirname + "\\src\\couchbase\\search", src_couchbase_search_sources, "couchbase");
ADD_SOURCES(configure_module_dirname + "\\src\\couchbase\\bucket", src_couchbase_bucket_sources, "couchbase");
ADD_SOURCES(configure_module_dirname + "\\src\\couchbase\\managers", src_couchbase_managers_sources, "couchbase");
AC_DEFINE('HAVE_COUCHBASELIB', 1, 'Have Couchbase library');
MESSAGE("\tlibcouchbase build");
} else {
WARNING("couchbase not enabled; libraries and headers not found");
PHP_COUCHBASE = "no";
}
}