--- configure.orig 2014-09-26 13:03:19.000000000 -0700 +++ configure 2014-12-02 16:43:13.000000000 -0800 @@ -17688,7 +17688,7 @@ do # Avoid testing twice the same lib case $boost_failed_libs in #( - *@$boost_lib@*) continue;; + *@$boost_lib\ $boost_rtopt_@*) continue;; esac # If with_boost is empty, we'll search in /lib first, which is not quite # right so instead we'll try to a location based on where the headers are. @@ -17822,10 +17822,9 @@ boost_cv_lib_unit_test_framework_LDFLAGS="-L$boost_ldpath $boost_cv_rpath_link_ldflag$boost_ldpath" boost_cv_lib_unit_test_framework_LDPATH="$boost_ldpath" break 6 - else - boost_failed_libs="$boost_failed_libs@$boost_lib@" fi done + boost_failed_libs="$boost_failed_libs@$boost_lib $boost_rtopt_@" done done done