Commit Graph

10 Commits

Author SHA1 Message Date
Jeremy Mikola
91a1585db1 Remove _DARWIN_C_SOURCE definition for bundled sources on macOS
Reverts a change introduced in ab44b0cbeb. This was previously in mongodb/mongo-c-driver#920 but removed before merging in mongodb/mongo-c-driver@9d2d8b157c.
2022-01-05 15:50:21 -05:00
Jeremy Mikola
ab44b0cbeb PHPC-1647: Use mongoc_client_new_from_uri_with_error
This allows PHPC to defer entirely to libmongoc for cross-option URI validation

Bump libmongoc to 1.21-dev

Build changes are ported from upstream CMake changes (see: CDRIVER-4249)
2022-01-05 13:10:45 -05:00
Andreas Braun
6abb38feb7 Update to latest libmongoc version 2019-12-19 15:38:04 +01:00
Jeremy Mikola
d145409286 PHPC-1364: Upgrade libmongoc to 1.14.0
Per src/libmongoc/doc/installing.rst, the VERSION_CURRENT and VERSION_RELEASED files must now be generated. This requires Python and the GitPython pip module to run src/libmongoc/build/calc_release_version.py. A new libmongoc-version-current Makefile target has been added.
2019-05-01 13:42:38 -04:00
Peter Kokot
644a2b355c Fix AC_CHECK_FUNC macro call syntax for rand_r()
The AC_CHECK_FUNC macro has only the following form:
AC_CHECK_FUNC(function, [action-if-found], [action-if-not-found])
In most cases adding more arguments to macro call don't cause errors,
but it also doesn't have any functionality either.
2018-10-02 13:54:32 +01:00
Jeremy Mikola
b9f1a1fcf8 PHPC-1198: Use PHP_MONGODB_BUNDLED_CFLAGS in bundled m4 scripts
This was missed in ce45de41fa.
2018-05-30 12:22:47 -04:00
Jeremy Mikola
73489c5463 PHPC-1174: Remove traces of bson-stdint.h
The output path for this file was left incorrect in the previous PR for PHPC-1174, but the file isn't actually even used anymore per mongodb/mongo-c-driver@abc882dec9 (CDRIVER-2473).
2018-05-24 15:57:54 -04:00
Jeremy Mikola
7c0ccd3e20 PHPC-1174: Upgrade bundled libmongoc to 1.10.0 2018-05-21 12:41:35 -04:00
Jeremy Mikola
ce45de41fa PHPC-1174: Bump libbson and libmongoc to 1.10.0-dev
This consolidates CFLAGS for bundled libraries, adds a new "common/" build path, and defines new constants as needed.
2018-05-18 11:45:35 -04:00
Jeremy Mikola
4d9dd87c2c Remove "build/" from autotools scripts path
GitHub's file finder filters out "build/" directories, among others, which can make it difficult to quickly access these files. Also, the "build/" directory doesn't provide much value here, since it only contains "autotools/".
2018-05-16 11:03:46 -04:00