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

boost_cv_pthread_flag= gets never set #81

Open
jelmd opened this issue Dec 18, 2015 · 0 comments
Open

boost_cv_pthread_flag= gets never set #81

jelmd opened this issue Dec 18, 2015 · 0 comments

Comments

@jelmd
Copy link

jelmd commented Dec 18, 2015

On Solaris with boost 1.59 and gcc 4.8.2 'boost_cv_pthread_flag' gets never set and thus thread tests fail (testing target http://cvc4.cs.nyu.edu/builds/src/unstable/).

Using this workaround for now (sufficient for g++):

AC_DEFUN([_BOOST_PTHREAD_FLAG],
[AC_REQUIRE([AC_PROG_CXX])dnl
AC_REQUIRE([AC_CANONICAL_HOST])dnl
AC_LANG_PUSH([C++])dnl
AC_CACHE_CHECK([for the flags needed to use pthreads], [boost_cv_pthread_flag],
[ boost_cv_pthread_flag=-pthreads ])
AC_LANG_POP([C++])dnl
])# _BOOST_PTHREAD_FLAG
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

No branches or pull requests

1 participant