You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AC_DEFINE(HAVE_BOOST_THREAD,,[define if the Boost::Thread library is available])
101
97
BOOSTLIBDIR=`echo $BOOST_LDFLAGS | sed -e 's/@<:@^\/@:>@*//'`
102
98
103
99
LDFLAGS_SAVE=$LDFLAGS
104
-
# case "x$build_os" in
105
-
# *bsd* )
106
-
# LDFLAGS="-pthread $LDFLAGS"
107
-
# break;
108
-
# ;;
109
-
# esac
100
+
case "x$host_os" in
101
+
*bsd* )
102
+
LDFLAGS="-pthread $LDFLAGS"
103
+
break;
104
+
;;
105
+
esac
110
106
if test "x$ax_boost_user_thread_lib" = "x"; then
111
-
for libextension in `ls $BOOSTLIBDIR/libboost_thread*.so* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^lib\(boost_thread.*\)\.so.*$;\1;'` `ls $BOOSTLIBDIR/libboost_thread*.a* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^lib\(boost_thread.*\)\.a*$;\1;'`; do
107
+
for libextension in `ls -r $BOOSTLIBDIR/libboost_thread* 2>/dev/null | sed 's,.*/lib,,' | sed 's,\..*,,'`; do
for libextension in `ls $BOOSTLIBDIR/boost_thread*.dll* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^\(boost_thread.*\)\.dll.*$;\1;'` `ls $BOOSTLIBDIR/boost_thread*.a* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^\(boost_thread.*\)\.a*$;\1;'` ; do
114
+
for libextension in `ls -r $BOOSTLIBDIR/boost_thread* 2>/dev/null | sed 's,.*/,,' | sed 's,\..*,,'`; do
0 commit comments