forked from mongodb/mongo-php-driver-legacy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.w32
executable file
·24 lines (19 loc) · 1.49 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
// $ID$
// vim:ft=javascript
ARG_ENABLE("mongo", "MongoDB support", "no");
ARG_ENABLE("mongo-streams", "Mongo: Build with PHP streams wrapper support", "yes");
ARG_WITH("mongo-sasl", "Mongo: Build against Cyrus-SASL", "no");
if (PHP_MONGO != "no") {
EXTENSION('mongo', 'php_mongo.c mongo.c mongoclient.c bson.c collection.c command_cursor.c cursor.c cursor_shared.c db.c io_stream.c log_stream.c');
ADD_SOURCES(configure_module_dirname + "/exceptions", "exception.c connection_exception.c cursor_exception.c cursor_timeout_exception.c execution_timeout_exception.c gridfs_exception.c duplicate_key_exception.c result_exception.c write_concern_exception.c protocol_exception.c ", "mongo");
ADD_SOURCES(configure_module_dirname + "/gridfs", "gridfs.c gridfs_cursor.c gridfs_file.c gridfs_stream.c", "mongo");
ADD_SOURCES(configure_module_dirname + "/types", "bin_data.c code.c date.c db_ref.c id.c int32.c int64.c regex.c timestamp.c", "mongo");
ADD_SOURCES(configure_module_dirname + "/util", "log.c pool.c", "mongo");
ADD_SOURCES(configure_module_dirname + "/mcon", "bson_helpers.c collection.c connections.c io.c manager.c mini_bson.c parse.c read_preference.c str.c utils.c", "mongo");
ADD_SOURCES(configure_module_dirname + "/api", "batch.c wire.c wire_version.c", "mongo");
ADD_SOURCES(configure_module_dirname + "/batch", "delete.c insert.c update.c write.c", "mongo");
AC_DEFINE('HAVE_MONGO', 1);
}
if (PHP_MONGO_STREAMS != "no") {
AC_DEFINE('MONGO_PHP_STREAMS', 1)
}