Skip to content
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

misc OpenBSD 6 related fixes #318

Merged
merged 2 commits into from
Feb 24, 2017

Conversation

ggouaillardet
Copy link
Contributor

Thanks Paul Hargrove for bringing this to our attention

Refs open-mpi/ompi#2106

Author: Jeff Squyres <[email protected]>
Date:   Mon Mar 9 08:15:38 2015 -0700

pmix_check_package: use AC_SEARCH_LIBS instead of AC_CHECK_LIB

Per discussion on devel
(http://www.open-mpi.org/community/lists/devel/2015/02/17030.php), and
per Autoconf 2.69 docs, use the recommended AC_SEARCH_LIBS instead of
AC_CHECK_LIB (e.g., for functions that appear in libc on some
platforms and in a specific library on other platforms).

see open-mpi/ompi@d6530b0

Refs open-mpi/ompi#2106

Signed-off-by: Gilles Gouaillardet <[email protected]>
@rhc54
Copy link
Contributor

rhc54 commented Feb 24, 2017

@ggouaillardet If I read this correctly, we are indeed restoring the original LDFLAGS when we are done with searching - correct? I think it's important that we do so.

@rhc54
Copy link
Contributor

rhc54 commented Feb 24, 2017

I guess it also hits LIBS as well, but I gather we protect it too.

@ggouaillardet
Copy link
Contributor Author

@rhc54 @PHHargrove this is correct
_PMIX_CHECK_PACKAGE_LIB is an internal subroutine only invoked by PMIX_CHECK_PACKAGE.
and in PMIX_CHECK_PACKAGE we do save and restore CPPFLAGS, LDFLAGS and LIBS

so i think we are good

@PHHargrove
Copy link
Contributor

@ggouaillardet this resolves the issue that has been blocking my ability to test open-mpi/ompi#2107

@rhc54
Copy link
Contributor

rhc54 commented Feb 24, 2017

@ggouaillardet @PHHargrove Thanks to both of you!

@rhc54 rhc54 merged commit ff86485 into openpmix:master Feb 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants