Skip to content

PHPC-2263: Detect strerror_r() implementation #1451

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

Closed
wants to merge 1 commit into from

Conversation

jmikola
Copy link
Member

@jmikola jmikola commented Aug 1, 2023

https://jira.mongodb.org/browse/PHPC-2263

Bumps libmongoc submodule to pull in changes for CDRIVER-4679


Opening this as a draft as CDRIVER-4679 may end up being reverted if libbson is changed to use strerror_l().

Bumps libmongoc submodule to pull in changes for CDRIVER-4679
# Check for strerror_r()

old_CPPFLAGS="$CPPFLAGS"
dnl PHP 8.2+ defines _GNU_SOURCE by default
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if test "$PHP_MONGODB_PHP_VERSION_ID" -ge "80200"; then
CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"
fi
AC_FUNC_STRERROR_R
Copy link
Member Author

@jmikola jmikola Aug 1, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jmikola
Copy link
Member Author

jmikola commented Aug 15, 2023

This PR was superseded by #1458.

@jmikola jmikola closed this Aug 15, 2023
@jmikola jmikola deleted the phpc-2263 branch August 15, 2023 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant