You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
839 B

  1. --- a/m4/boost.m4
  2. +++ b/m4/boost.m4
  3. @@ -671,12 +671,15 @@ LDFLAGS=$boost_filesystem_save_LDFLAGS
  4. BOOST_DEFUN([Context],
  5. [boost_context_save_LIBS=$LIBS
  6. boost_context_save_LDFLAGS=$LDFLAGS
  7. -if test $boost_major_version -ge 157; then
  8. - BOOST_THREAD([$1], [$2])
  9. - m4_pattern_allow([^BOOST_THREAD_(LIBS|LDFLAGS)$])dnl
  10. - LIBS="$LIBS $BOOST_THREAD_LIBS"
  11. - LDFLAGS="$LDFLAGS $BOOST_THREAD_LDFLAGS"
  12. -fi
  13. +# This check is flawed and doesn't actually verify if BOOST::THREAD
  14. +# is required on the system, producing only false positives on the
  15. +# platforms supported by OpenWRT.
  16. +#if test $boost_major_version -ge 157; then
  17. +# BOOST_THREAD([$1], [$2])
  18. +# m4_pattern_allow([^BOOST_THREAD_(LIBS|LDFLAGS)$])dnl
  19. +# LIBS="$LIBS $BOOST_THREAD_LIBS"
  20. +# LDFLAGS="$LDFLAGS $BOOST_THREAD_LDFLAGS"
  21. +#fi
  22. if test $boost_major_version -ge 169; then