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
831 B

--- a/m4/boost.m4
+++ b/m4/boost.m4
@@ -667,12 +667,15 @@
BOOST_DEFUN([Context],
[boost_context_save_LIBS=$LIBS
boost_context_save_LDFLAGS=$LDFLAGS
-if test $boost_major_version -ge 157; then
- BOOST_THREAD([$1], [$2])
- m4_pattern_allow([^BOOST_THREAD_(LIBS|LDFLAGS)$])dnl
- LIBS="$LIBS $BOOST_THREAD_LIBS"
- LDFLAGS="$LDFLAGS $BOOST_THREAD_LDFLAGS"
-fi
+# This check is flawed and doesn't actually verify if BOOST::THREAD
+# is required on the system, producing only false positives on the
+# platforms supported by OpenWRT.
+#if test $boost_major_version -ge 157; then
+# BOOST_THREAD([$1], [$2])
+# m4_pattern_allow([^BOOST_THREAD_(LIBS|LDFLAGS)$])dnl
+# LIBS="$LIBS $BOOST_THREAD_LIBS"
+# LDFLAGS="$LDFLAGS $BOOST_THREAD_LDFLAGS"
+#fi
if test $boost_major_version -ge 161; then
BOOST_FIND_LIB([context], [$1],