-
Notifications
You must be signed in to change notification settings - Fork 208
PHPC-1075: Import libbson and libmongoc Autotools configuration #829
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
While libmongoc's CheckSasl.m4 was able to detect Cyrus SASL 1.x, PHPC's config.m4 always required 2.x so we've not imported that bit. This also prefers native GSSAPI on macOS over Cyrus SASL (PHPC-1142).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this looks good - aside from the typo. I'm by far not an M4 expert though, so I'd be happy if it just works. I think we should set-up some test plan on what to test to make sure this all works.
config.m4
Outdated
|
||
AC_SUBST(MONGOC_NO_AUTOMATIC_GLOBALS, 1) | ||
|
||
dnl Capture user-set environment variables for metadata hankshake |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hanky panky.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -0,0 +1,334 @@ | |||
# =========================================================================== | |||
# http://www.gnu.org/software/autoconf-archive/ax_pthread.html |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do we use threads for?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's optional for libmongoc, but libbson requires it on non-Windows platforms for ObjectId generation: http://mongoc.org/libbson/current/threading.html
Created PHPC-1187 to track that. Likely something we can do after Evergreen is up and running. |
https://jira.mongodb.org/browse/PHPC-1075
https://jira.mongodb.org/browse/PHPC-1142
https://jira.mongodb.org/browse/PHPC-1185
https://jira.mongodb.org/browse/PHPC-1186