X-Git-Url: http://git.indexdata.com/?p=m4-moved-to-github.git;a=blobdiff_plain;f=boost.m4;fp=boost.m4;h=3ef2e7e435498250d01502a6e27492e7ed2585f7;hp=e66a6372dc470fe95ed10f3fb1b1eda85b70e918;hb=12f3277de6a4c46c27835d45890ab1732e3dab81;hpb=9582607a1a4c2c45046c16c1e6a1b9ae204e2a66 diff --git a/boost.m4 b/boost.m4 index e66a637..3ef2e7e 100644 --- a/boost.m4 +++ b/boost.m4 @@ -77,7 +77,7 @@ version_is:BOOST_VERSION AC_SUBST([BOOST_THREAD_LIB]) saveLIBS="${LIBS}" BOOST_THREAD_LIB="" - for l in ${BOOST_TOOLSET}-mt ${BOOST_TOOLSET}; do + for l in "${BOOST_TOOLSET}-mt" "${BOOST_TOOLSET}"; do trylib="-lboost_thread${l}" if test "$BOOST_GOT_VERSION" -ge 104100; then trylib="-lboost_system${l} ${trylib}"